select trunc(block_timestamp, 'minute') as time, avg(tx_count) as avg_tx_per_block, max(tx_count) as max_tx_per_block, min(tx_count) as min_tx_per_block
from avalanche.core.fact_blocks
where block_timestamp::date >= '2022-06-20'
group by 1
order by 1