Query editor
SELECTDATE_TRUNC('month', block_time) AS "Date",SUM((gas_price / CAST(POWER(10, 18) AS DOUBLE) * gas_used)) AS "Eth used"FROMethereum.transactionsWHEREblock_time > CAST('2021-08-01' AS TIMESTAMP)GROUP BY1ORDER BY"Date"
Query editor
1SELECT2DATE_TRUNC('month', block_time) AS "Date",3SUM(4(5gas_price / CAST(POWER(10, 18) AS DOUBLE) * gas_used6)7) AS "Eth used"8FROM9ethereum.transactions10WHERE11block_time > CAST('2021-08-01' AS TIMESTAMP)12GROUP BY13114ORDER BY15"Date"