Get a quote for adding liquidity
GET /v2/liquidity/quote/add
GET
/v2/liquidity/quote/add
Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” poolId
required
string
token0Amount
required
string
token1Amount
required
string
Responses
Section titled “ Responses ”Add liquidity quote
object
poolInfo
required
Current pool state and pricing information
object
token0Symbol
required
Token symbol for token0 (e.g., “USDC”)
string
token1Symbol
required
Token symbol for token1 (e.g., “ETH”)
string
token0Reserve
required
Current amount of token0 in the pool
string
token1Reserve
required
Current amount of token1 in the pool
string
token0Price
required
Exchange rate: How much token1 you get for 1 token0
string
token1Price
required
Exchange rate: How much token0 you get for 1 token1
string
expectedLpTokens
required
Number of LP tokens you will receive
string
requiredToken0
required
Actual amount of token0 needed for balanced provision
string
requiredToken1
required
Actual amount of token1 needed for balanced provision
string
priceImpact
required
How much this trade will affect the price (in percent)
string
poolShare
required
Your ownership percentage of the pool after adding liquidity
string