Query editor
SELECT--rewardsdate_trunc('day',time) as time,sum(mint_reward) as total_mint_reward,max(mint_reward) as max_mint_reward,avg(total_fees) as avg_total_fees,--sizeavg(transaction_count) as transaction_count,block_limit,avg(case when height >= 481824 then weight else 0 end) as block_weight,avg(total_fees/stripped_size)*1e8 as cost_per_byte,--difficultyavg(difficulty) as difficulty,10 as target_pace,avg(difficulty * pow(2,32)/600) as hash_rate,avg(EXTRACT(minute from block_pace)) as avg_block_pacefrom(SELECT *,time - lag(time) over (order by height asc ) as block_pace,case when height < 481824 then 1e6 else 4*1e6 end as block_limitFROM bitcoin.blocks)group by 1,block_limitorder by 1 asc