Skip to main content

createWrapperStripInstruction

Builds a raw instruction that wraps a base asset into SY and strips it into PT + YT in a single atomic operation. This combines the SY minting and stripping steps.

Usage

Accounts

Args

Returns

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