Skip to main content
The ixCollectInterest method on the Vault class creates a transaction instruction that collects accrued interest (paid in SY) from a yield position.

Usage

To collect a specific amount:

Required Parameters

Optional Parameters

Returns

Returns a TransactionInstruction that transfers accrued SY interest to the owner.
You must stage yield before collecting. Staging computes the earned interest from the exchange rate delta.