Query editor
with diff as (select time, height, date_diff('millisecond', lag(time,1) over (order by height), time) as block_timefrom solana.blocks where time >= date(now()-interval '1' year))select date_trunc('day', time) as day, count(distinct height) as block_count, avg(block_time*0.001) as avg_block_timefrom diffwhere time >= date(now()-interval '1' year)group by 1