Skip to main content

createWrapperWithdrawLiquidityInstruction

Withdraws liquidity from a CLMM market and converts the proceeds to base assets in a single atomic operation. This instruction removes the LP position, sells the PT component for SY on the market, and then redeems all SY for the underlying base asset. The caller receives base tokens directly.

Usage

Accounts

Args

Returns

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