Query editor
selectdate_trunc('hour', time) + INTERVAL '1' minute * FLOOR(EXTRACT(minute FROM time) / 5) * 5 AS time,avg(gas_limit) / 1e6 - 30 as gas_limit,max(gas_limit) / 1e6 - 30 as max_gas_limit,min(gas_limit) / 1e6 - 30 as min_gas_limit,6 as new_targetfrom ethereum.blockswhere time > cast('2025-02-01' as timestamp)group by 1