Skip to main content

createSellPtInstruction

Sells PT tokens for base assets in a single atomic operation. This is an alias for the sellPt instruction which handles the SY-to-base redemption internally via CPI remaining accounts. The caller supplies PT tokens and receives base tokens directly, without needing to manually redeem SY.

Usage

Accounts

Args

Returns

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