Skip to main content

createWrapperWithdrawLiquidityClassicInstruction

Withdraws liquidity from a CLMM market and returns PT tokens and base assets separately. This instruction removes the LP position, returns the PT component directly to the withdrawer, and redeems the SY portion for the underlying base asset. This is useful when the caller wants to retain their PT tokens rather than selling them.

Usage

Accounts

Args

Returns

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