Skip to main content

createWrapperCollectInterestInstruction

Builds a raw instruction that collects accrued interest from a yield position and unwraps the SY to the base asset in a single atomic operation.

Usage

Accounts

Args

Returns

TransactionInstruction — a transaction instruction ready to be added to a transaction.