Skip to main content
POST
Add Amm Liquidity

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json

Request to add two-sided liquidity to an AMM pool.

connector
string
required

AMM connector (e.g., 'meteora', 'raydium', 'uniswap')

network
string
required

Network ID in 'chain-network' format (e.g., 'solana-mainnet-beta')

pool_address
string
required

Pool contract address

base_token_amount
required

Amount of base token to add

quote_token_amount
required

Amount of quote token to add

slippage_pct

Maximum slippage percentage; omit to use the connector's configured slippagePct

wallet_address
string | null

Wallet address (optional, uses default)

position_address
string | null

Meteora position to add to (omit = new position)

Response

Successful Response

Chain-neutral write response. signature holds the tx signature (Solana) or tx hash (EVM).

signature
string
required

Transaction signature (Solana) or transaction hash (EVM)

status
string
required

Transaction status: SUBMITTED, CONFIRMED or FAILED. Mapped from Gateway's TransactionStatus enum by the same helper the swap and CLMM surfaces use, so one vocabulary spans all three.

data
Data · object | null

Connector-specific confirmed-tx details