Query editor
with block_now as (select height, time from bitcoin.blocksorder by 1 desc limit 1), block_adjust as (select height, time from bitcoin.blockswhere height % 2016 = 0order by 1 desc limit 1)select now.height - adj.height as blocks_elapsed, date_diff('minute', adj.time, now.time)/10 as blocks_expected, date_diff('minute', adj.time, now.time) * 1.00 / (now.height - adj.height) as block_time, date_format(date_add('minute', 2016 * date_diff('minute', adj.time, now.time) / (now.height - adj.height), adj.time), '%Y-%m-%d %H:%i UTC') as next_adjustfrom block_now now cross join block_adjust adj