getEcosystemChartData
GET https://api.covalenthq.com/v1/:chainName/xyk/:dexName/ecosystem/
Returns: EcosystemChartDataResponse{
"updated_at" : "{{DATETIME}}",
"chain_id" : "{{INTEGER}}",
"chain_name" : "{{STRING}}",
"items" : [ {
"dex_name" : "{{STRING}}",
"chain_id" : "{{STRING}}",
"quote_currency" : "{{STRING}}",
"gas_token_price_quote" : "{{DOUBLE}}",
"total_swaps24h" : "{{INTEGER}}",
"total_active_pairs7d" : "{{INTEGER}}",
"total_fees24h" : "{{DOUBLE}}",
"pretty_gas_token_price_quote" : "{{STRING}}",
"pretty_total_fees24h" : "{{STRING}}",
"volume_chart7d" : [ {
"dex_name" : "{{STRING}}",
"chain_id" : "{{STRING}}",
"dt" : "{{DATETIME}}",
"quote_currency" : "{{STRING}}",
"volume_quote" : "{{DOUBLE}}",
"pretty_volume_quote" : "{{STRING}}",
"swap_count24" : "{{INTEGER}}"
} ],
"volume_chart30d" : [ "{{VolumeEcosystemChart}}" ],
"liquidity_chart7d" : [ {
"dex_name" : "{{STRING}}",
"chain_id" : "{{STRING}}",
"dt" : "{{DATETIME}}",
"quote_currency" : "{{STRING}}",
"liquidity_quote" : "{{DOUBLE}}",
"pretty_liquidity_quote" : "{{STRING}}"
} ],
"liquidity_chart30d" : [ "{{LiquidityEcosystemChart}}" ]
} ],
"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
status
ENDPOINTS