Generates serialized zap-out transactions to withdraw liquidity from a position. Supports both Meteora DLMM and DAMM V2 positions.
API key for authentication
The position ID
Basis points for the amount to decrease (0-10000)
0 <= x <= 10000The owner's wallet address
Slippage tolerance in basis points (0-10000)
0 <= x <= 10000The output token for the swap
allToken0, allToken1, both, allBaseToken The swap provider to use
OKX, JUPITER_ULTRA The pool type
meteora, meteora_damm_v2 Starting bin ID
Ending bin ID
Transaction data prepared successfully