Skip to main content
POST
Zap-Out - Generate transaction to withdraw liquidity

授权

x-api-key
string
header
必填

API key for authentication

请求体

application/json
position_id
string
必填

The position ID

bps
integer
必填

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

必填范围: 0 <= x <= 10000
owner
string
必填

The owner's wallet address

slippage_bps
integer
必填

Slippage tolerance in basis points (0-10000)

必填范围: 0 <= x <= 10000
output
enum<string>

The output token for the swap

可用选项:
allToken0,
allToken1,
both,
allBaseToken
provider
enum<string>

The swap provider to use

可用选项:
OKX,
JUPITER_ULTRA
type
enum<string>
默认值:meteora

The pool type

可用选项:
meteora,
meteora_damm_v2
fromBinId
number

Starting bin ID

toBinId
number

Ending bin ID

响应

Transaction data prepared successfully

data
object