The ixWithdrawLiquidityClassic method on the MarketThree class withdraws liquidity from the CLMM pool. Unlike ixWithdrawLiquidityToBase which converts everything to base assets, this method returns the PT and SY components separately — the SY portion is redeemed for base, while PT tokens are returned directly to the withdrawer.
Usage
Use market.getPtAndSyOnWithdrawLiquidity(position) to preview the PT and SY amounts you would receive before withdrawing.
Required Parameters
Optional Parameters
Returns
Returns a Promise<PreparedInstruction> with the following structure: