Skip to main content
The gas.fees table provides transaction-level gas fee data across 55 EVM chains, including fee breakdowns via the tx_fee_breakdown MAP column.

Table Schema

ColumnTypeDescription
blockchainVARCHARBlockchain name
block_monthDATEBlock month (partition key)
block_dateDATEBlock date
block_timeTIMESTAMPBlock timestamp in UTC
block_numberBIGINTBlock number
tx_hashVARBINARYTransaction hash
tx_fromVARBINARYAddress that initiated the transaction
tx_toVARBINARYAddress that received the transaction
gas_priceUINT256Gas price per unit in gwei
gas_usedBIGINTGas units consumed by the transaction
currency_symbolVARCHARNative token symbol for the blockchain
tx_feeDOUBLETotal gas fee in native tokens
tx_fee_usdDOUBLETotal gas fee in USD
tx_fee_rawUINT256Raw transaction fee
tx_fee_breakdownMAP(VARCHAR,DOUBLE)Fee breakdown in native tokens
tx_fee_breakdown_usdMAP(VARCHAR,DOUBLE)Fee breakdown in USD
tx_fee_breakdown_rawMAP(VARCHAR,UINT256)Raw fee breakdown
tx_fee_currencyVARBINARYFee currency address
block_proposerVARBINARYBlock validator/proposer address
gas_limitUINT256Maximum gas units allowed
gas_limit_usageDOUBLEPercentage of gas used relative to gas limit

Table sample

Query performance

Partition keys: blockchain, block_month, block_date. Always include blockchain and a date filter.
-- ✅ Good: chain + date filter
SELECT * FROM gas.fees
WHERE blockchain = 'ethereum'
  AND block_date = CURRENT_DATE