getPools
GET https://api.covalenthq.com/v1/:chainName/xyk/:dexName/pools/?page-size=&page-number=
Returns: PoolResponse{
"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}}",
"pretty_total_liquidity_quote" : "{{STRING}}",
"pretty_volume24h_quote" : "{{STRING}}",
"pretty_fee24h_quote" : "{{STRING}}",
"pretty_volume7d_quote" : "{{STRING}}",
"chain_name" : "{{STRING}}",
"chain_id" : "{{STRING}}",
"dex_name" : "{{STRING}}",
"volume7d_quote" : "{{STRING}}",
"annualized_fee" : "{{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}}"
} ],
"pagination" : {
"has_more" : "{{BOOLEAN}}",
"page_number" : "{{INTEGER}}",
"page_size" : "{{INTEGER}}",
"total_count" : "{{INTEGER}}"
}
}
Body
PARAM
Key | Datatype | Required | Description |
page-size
|
null | ||
page-number
|
null |
HEADERS
Key | Datatype | Required | Description |
Content-Type
|
string |
RESPONSES
status
ENDPOINTS