Query editor
-- This query has been migrated to run on DuneSQL.-- If you need to change back because you’re seeing issues, use the Query History view to restore the previous version.-- If you notice a regression, please email [email protected].SELECTEXTRACT(HOURFROMblock_time) AS "Hour",ROUND(AVG(gas_price) / CAST(1e9 AS DOUBLE)) AS "Average",ROUND(APPROX_PERCENTILE(gas_price, 0.1) / CAST(1e9 AS DOUBLE)) AS "0.1 Percentile",ROUND(APPROX_PERCENTILE(gas_price, 0.5) / CAST(1e9 AS DOUBLE)) AS "Median",ROUND(APPROX_PERCENTILE(gas_price, 0.9) / CAST(1e9 AS DOUBLE)) AS "0.9 Percentile"FROMethereum.transactionsWHEREblock_time >= CURRENT_TIMESTAMP - INTERVAL '1' monthGROUP BY1ORDER BY 1