Query editor
SELECTDATE_TRUNC('hour', time) AS hour,AVG(CAST(base_fee_per_gas AS double)) / 1e9 AS avg_base_fee_gwei,COUNT(*) AS block_countFROM ethereum.blocksWHERE time >= TIMESTAMP '2021-05-01 00:00'GROUP BY 1ORDER BY 1
Query editor
1SELECT2DATE_TRUNC('hour', time) AS hour,3AVG(CAST(base_fee_per_gas AS double)) / 1e9 AS avg_base_fee_gwei,4COUNT(*) AS block_count5FROM ethereum.blocks6WHERE time >= TIMESTAMP '2021-05-01 00:00'7GROUP BY 18ORDER BY 1