Skip to main content

createWrapperCollectInterestInstruction

Builds a raw instruction that collects accrued interest from the orderbook with automatic SY redemption to the base asset. This combines the interest collection and SY redemption steps atomically.

Usage

Accounts

Args

Returns

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