Skip to main content
POST
Quote Clmm Position

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 candidate CLMM position before opening or adding.

Mirrors Gateway's GET /trading/clmm/quote-position: given the price range and one or both deposit amounts, returns the actual base/quote split the pool would take (and which side limits it) without signing anything.

connector
string
required

CLMM connector (e.g., 'meteora', 'raydium', 'orca')

network
string
required

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

pool_address
string
required

Pool contract address

lower_price
required

Lower price bound

upper_price
required

Upper price bound

base_token_amount

Base amount to deposit (one side may be omitted)

quote_token_amount

Quote amount to deposit (one side may be omitted)

slippage_pct

Max acceptable slippage percentage

Response

Successful Response

Gateway's position quote: the deposit split the pool would actually take.

baseLimited
boolean
required

True when the base side limits the deposit

baseTokenAmount
string
required

Base amount the position would take

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

Quote amount the position would take

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

Base ceiling after slippage

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

Quote ceiling after slippage

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