Skip to main content
POST
Quote 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 quote a two-sided liquidity deposit.

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 deposit

quote_token_amount
required

Amount of quote token to deposit

slippage_pct

Maximum slippage percentage

Response

Successful Response

Response with a two-sided deposit quote.

baseLimited
boolean
required

Whether the base side is the limiting side

baseTokenAmount
string
required

Base token amount to deposit

Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
quoteTokenAmount
string
required

Quote token amount to deposit

Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
baseTokenAmountMax
string
required

Max base token amount

Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
quoteTokenAmountMax
string
required

Max quote token amount

Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$