getGasPrices
GET https://api.covalenthq.com/v1/:chainName/event/:eventType/gas_prices/?quote-currency=
Returns: GasPricesResponse{
"chain_id" : "{{INTEGER}}",
"chain_name" : "{{STRING}}",
"quote_currency" : "{{STRING}}",
"updated_at" : "{{DATETIME}}",
"event_type" : "{{STRING}}",
"gas_quote_rate" : "{{DOUBLE}}",
"items" : [ {
"gas_price" : "{{STRING}}",
"gas_spent" : "{{STRING}}",
"gas_quote" : "{{DOUBLE}}",
"other_fees" : {
"l1_gas_quote" : "{{DOUBLE}}"
},
"total_gas_quote" : "{{DOUBLE}}",
"pretty_total_gas_quote" : "{{STRING}}",
"interval" : "{{STRING}}"
} ]
}
Body
PARAM
Key | Datatype | Required | Description |
quote-currency
|
null |
HEADERS
Key | Datatype | Required | Description |
Content-Type
|
string |
RESPONSES
status
ENDPOINTS