Skip to main content
The ixWithdrawYt method on the YtPosition class creates a transaction instruction that withdraws YT tokens from the yield position back to the user’s token account.

Usage

Stage and collect any accrued yield before withdrawing YT. Withdrawing reduces your YT balance, which affects future yield accrual.

Required Parameters

Optional Parameters

Returns

Returns a TransactionInstruction that transfers YT from the yield position escrow back to the user.