Zap-Out — Generate transaction to withdraw liquidity
Position
Zap-Out — Generate transaction to withdraw liquidity
Generates serialized zap-out transactions to withdraw liquidity from a position. Supports both Meteora DLMM and DAMM V2 positions.
POST
Zap-Out — Generate transaction to withdraw liquidity
Authorizations
API key for authentication
Body
application/json
The position ID
Basis points for the amount to decrease (0-10000)
Required range:
0 <= x <= 10000The owner's wallet address
Slippage tolerance in basis points (0-10000)
Required range:
0 <= x <= 10000The output token for the swap
Available options:
allToken0, allToken1, both, allBaseToken The swap provider to use
Available options:
OKX, JUPITER_ULTRA The pool type
Available options:
meteora, meteora_damm_v2 Starting bin ID
Ending bin ID
Response
Transaction data prepared successfully