Query editor
1SELECT2 date_trunc('hour', time) AS hora_utc,3 AVG(gas_used * 1.0 / gas_limit) AS congestion_promedio,4 COUNT(*) AS bloques_en_hora5FROM ethereum.blocks6WHERE time >= NOW() - INTERVAL '30' DAY7GROUP BY 18ORDER BY 1 ASC
SELECT
date_trunc('hour', time) AS hora_utc,
AVG(gas_used * 1.0 / gas_limit) AS congestion_promedio,
COUNT(*) AS bloques_en_hora
FROM ethereum.blocks
WHERE time >= NOW() - INTERVAL '30' DAY
GROUP BY 1
ORDER BY 1 ASC