Get a quote for removing liquidity
GET /v2/liquidity/quote/remove
GET
/v2/liquidity/quote/remove
Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” poolId
required
string
lpTokenAmount
required
string
walletId
required
string
Responses
Section titled “ Responses ”Remove 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
expectedToken0
required
Amount of token0 you will receive
string
expectedToken1
required
Amount of token1 you will receive
string
priceImpact
required
How much this trade will affect the price (in percent)
string
remainingPoolShare
required
Your ownership percentage of the pool after removal
string