Skip to main content
The ixCollectEmission method on the YtPosition class creates a transaction instruction that collects a specific emission reward from the yield position. Emissions are auxiliary reward tokens (e.g., governance tokens) distributed to YT depositors.

Usage

To collect a specific amount:

Required Parameters

Optional Parameters

Returns

Returns a TransactionInstruction that transfers accrued emission rewards to the owner.
Use ytPosition.getClaimableEmissions() to check available emissions and their amounts before collecting.