Skip to main content
POST
Zap-In — Generate transaction to add liquidity to a pool

Authorizations

x-api-key
string
header
required

API key for authentication

Path Parameters

poolId
string
required

The pool address

Body

application/json
stratergy
enum<string>
required

The distribution strategy to use

Available options:
Spot,
Curve,
BidAsk
owner
string
required

Owner wallet address

inputSOL
number

Amount of SOL to input

percentX
number

Percentage of capital to allocate to token X (0-1)

Required range: 0 <= x <= 1
fromBinId
integer

Starting bin ID for liquidity distribution

toBinId
integer

Ending bin ID for liquidity distribution

amountX
number

Specific amount of token X (alternative to percentX)

amountY
number

Specific amount of token Y (required with amountX)

slippage_bps
integer
default:500

Slippage tolerance in basis points (e.g., 500 = 5%)

Required range: 0 <= x <= 10000
provider
enum<string>
default:JUPITER_ULTRA

Swap provider to use for token swaps

Available options:
OKX,
JUPITER_ULTRA
mode
enum<string>
default:zap-in

Add liquidity mode

Available options:
normal,
zap-in

Response

Successfully generated zap-in transactions

status
string
Example:

"success"

data
object