Pools
Path parameters
tokenAstring · enumRequiredExample:
The name/symbol of the first token (URL encoded).
CCPossible values: tokenBstring · enumRequiredExample:
The name/symbol of the second token (URL encoded).
USDCxPossible values: Responses
200
Liquidity pool ID
application/json
amm_idstringRequiredExample:
The AMM pool identifier
TC CC/USDCx LP400
Liquidity pool not found or invalid token names given
application/json
get
/ammid/{tokenA}/{tokenB}Path parameters
tokenAstring · enumRequiredExample:
The name/symbol of the first token (URL encoded).
CCPossible values: tokenBstring · enumRequiredExample:
The name/symbol of the second token (URL encoded).
USDCxPossible values: Responses
200
Pool state
application/json
Detailed AMM pool state.
total_lp_token_supplynumber · doubleRequiredExample:
Total supply of LP tokens.
1000token_a_idstringRequiredExample:
Identifier for token A.
CCtoken_a_holdingsnumber · doubleRequiredExample:
Amount of token A in the pool.
5000token_b_idstringRequiredExample:
Identifier for token B.
USDCxtoken_b_holdingsnumber · doubleRequiredExample:
Amount of token B in the pool.
10000knumber · doubleRequiredExample:
The constant product (token_a_holdings * token_b_holdings).
50000000400
Pool not found or token unknown
application/json
get
/inspect/{tokenA}/{tokenB}Last updated
Was this helpful?
