getPoolByAddress
GET https://api.covalenthq.com/v1/:chainName/xyk/:dexName/pools/address/:poolAddress/
Returns: PoolByAddressResponse{
"updated_at" : "{{DATETIME}}",
"chain_id" : "{{INTEGER}}",
"chain_name" : "{{STRING}}",
"items" : [ {
"exchange" : "{{STRING}}",
"swap_count24h" : "{{STRING}}",
"total_liquidity_quote" : "{{STRING}}",
"volume24h_quote" : "{{STRING}}",
"fee24h_quote" : "{{STRING}}",
"total_supply" : "{{STRING}}",
"quote_rate" : "{{STRING}}",
"chain_id" : "{{STRING}}",
"dex_name" : "{{STRING}}",
"volume7d_quote" : "{{STRING}}",
"annualized_fee" : "{{STRING}}",
"pretty_total_liquidity_quote" : "{{STRING}}",
"pretty_volume24h_quote" : "{{STRING}}",
"pretty_fee24h_quote" : "{{STRING}}",
"pretty_volume7d_quote" : "{{STRING}}",
"token0" : {
"contract_address" : "{{STRING}}",
"contract_name" : "{{STRING}}",
"volume_in24h" : "{{STRING}}",
"volume_out24h" : "{{STRING}}",
"quote_rate" : "{{STRING}}",
"reserve" : "{{STRING}}",
"logo_url" : "{{STRING}}",
"contract_ticker_symbol" : "{{STRING}}",
"contract_decimals" : "{{STRING}}",
"volume_in7d" : "{{STRING}}",
"volume_out7d" : "{{STRING}}"
},
"token1" : "{{Token}}",
"token0_reserve_quote" : "{{STRING}}",
"token1_reserve_quote" : "{{STRING}}",
"volume_timeseries7d" : [ {
"dex_name" : "{{STRING}}",
"chain_id" : "{{STRING}}",
"dt" : "{{STRING}}",
"exchange" : "{{STRING}}",
"sum_amount0in" : "{{STRING}}",
"sum_amount0out" : "{{STRING}}",
"sum_amount1in" : "{{STRING}}",
"sum_amount1out" : "{{STRING}}",
"volume_quote" : "{{STRING}}",
"pretty_volume_quote" : "{{STRING}}",
"token_0_quote_rate" : "{{STRING}}",
"token_1_quote_rate" : "{{STRING}}",
"swap_count24" : "{{STRING}}"
} ],
"volume_timeseries30d" : [ "{{VolumeTimeseries}}" ],
"liquidity_timeseries7d" : [ {
"dex_name" : "{{STRING}}",
"chain_id" : "{{STRING}}",
"dt" : "{{STRING}}",
"exchange" : "{{STRING}}",
"r0_c" : "{{STRING}}",
"r1_c" : "{{STRING}}",
"liquidity_quote" : "{{STRING}}",
"pretty_liquidity_quote" : "{{STRING}}",
"token_0_quote_rate" : "{{STRING}}",
"token_1_quote_rate" : "{{STRING}}"
} ],
"liquidity_timeseries30d" : [ "{{LiquidityTimeseries}}" ],
"price_timeseries7d" : [ {
"dex_name" : "{{STRING}}",
"chain_id" : "{{STRING}}",
"dt" : "{{STRING}}",
"exchange" : "{{STRING}}",
"price_of_token0_in_token1" : "{{STRING}}",
"pretty_price_of_token0_in_token1" : "{{STRING}}",
"price_of_token0_in_token1_description" : "{{STRING}}",
"price_of_token1_in_token0" : "{{STRING}}",
"pretty_price_of_token1_in_token0" : "{{STRING}}",
"price_of_token1_in_token0_description" : "{{STRING}}",
"quote_currency" : "{{STRING}}",
"price_of_token0_in_quote_currency" : "{{STRING}}",
"price_of_token1_in_quote_currency" : "{{STRING}}"
} ],
"price_timeseries30d" : [ "{{PriceTimeseries}}" ]
} ],
"pagination" : {
"has_more" : "{{BOOLEAN}}",
"page_number" : "{{INTEGER}}",
"page_size" : "{{INTEGER}}",
"total_count" : "{{INTEGER}}"
}
}
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
Content-Type
|
string |
RESPONSES
ENDPOINTS