v19

latestOpenAPI 3.0.0raw.githubusercontent.com2026-05-25200153.4 KB
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/position/decrease-tx

Request body

position_idstring required

The position ID

bpsinteger required

Basis points for the amount to decrease (0-10000)

ownerstring required

The owner's wallet address

slippage_bpsinteger required

Slippage tolerance in basis points (0-10000)

output'allToken0' | 'allToken1' | 'both' | 'allBaseToken'

The output token for the swap

provider'OKX' | 'JUPITER_ULTRA'

The swap provider to use

type'meteora' | 'meteora_damm_v2'

The pool type

fromBinIdnumber

Starting bin ID

toBinIdnumber

Ending bin ID

Response

Transaction data prepared successfully