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

Usage

To collect a specific amount:

Required Parameters

Optional Parameters

Returns

Returns a TransactionInstruction that transfers staged SY interest to the owner.
You must stage yield before collecting. Staging and collecting can be combined in the same transaction.