Query editor
SELECT tx.block_height - tx.block_height % 5000 as block_height, ox.script_pub_key.type, COUNT(*) AS output_count, ROUND(SUM(ox.value),8) as output_valueFROM bitcoin.transactions txCROSS JOIN UNNEST(tx.output) AS oxWHERE tx.is_coinbaseGROUP BY 1, 2ORDER BY 1, 2