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].SELECTDATE_TRUNC('day', block_time) AS dt,(APPROX_PERCENTILE(gas_price, 0.5)) / cast(1e9 as double) AS median_gas_price_gweiFROMethereum.transactionsWHEREblock_time >= (DATE_TRUNC('day', CURRENT_TIMESTAMP) - interval '90' day)GROUP BY1ORDER BY1