Path Parameters
- chainNamestring
The blockchain name for which data is being queried (e.g., base-mainnet, bsc)
- eventTypestring
The type of event being queried. Supports erc20 transfer events, uniswapv3 swap events and nativetokens transfers
Query Parameters
- quote-currencystring
The currency to convert. Supports USD, CAD, EUR, SGD, INR, JPY, VND, CNY, KRW, RUB, TRY, NGN, ARS, AUD, CHF, and GBP
Returns
- dataobject
The main response object containing gas price details and metadata
- updated_atstring
The timestamp of the last update in ISO 8601 format
- chain_idinteger
The unique identifier for the blockchain (e.g., 1 for Ethereum)
- chain_namestring
The name of the blockchain (e.g., base-mainnet)
- event_typestring
The type of event queried (e.g., uniswapv3)
- gas_quote_rateinteger
The gas price in the quoted currency
- quote_currencystring
The currency in which gas prices are quoted (e.g., USD)
- base_feestring
The base fee for gas in wei
- itemsarray
An array of gas price details for specific intervals
- gas_pricestring
The gas price in wei for the specific interval
- gas_spentstring
The amount of gas spent during the specific interval
- gas_quoteinteger
The cost of the gas in the quoted currency
- other_feesobject
Additional fees incurred during the transaction
- l1_gas_quotestring
The Layer 1 gas quote, if applicable
- total_gas_quoteinteger
The total cost of gas in the quoted currency
- pretty_total_gas_quotestring
The total gas cost in a human-readable format
- intervalstring
The time interval for which the gas price data applies
- errorboolean
Indicates whether there was an error in the response
- error_messagestring
The error message, if any
- error_codeinteger
The error code, if any