Query editor
-- Headline counters. Pool tags v3. nat_to_adopting_pools = NAT credited to the 5 pools that have adopted (today's adopter set applied to every block since 885,588).-- *_t columns are the same figures in trillions of NAT for the dashboard counters; adopted_share_1008_pct = share of the last 1,008 blocks (~7 days) mined by adopting pools.with tip as (select max(height) as h from query_8739102)select sum(nat_emission) as nat_emitted_total,sum(case when miner_credited then nat_emission end) as nat_credited_to_miners,sum(case when miner_credited and pool_adopted then nat_emission end) as nat_to_adopting_pools,sum(case when miner_credited and not pool_adopted then nat_emission end) as nat_accrued_unclaimed,max(height) as tip,max_by(nat_emission, height) as nat_per_block_now,round(sum(case when miner_credited then nat_emission end) / 1e12, 1) as nat_to_miners_t,round(sum(case when miner_credited and pool_adopted then nat_emission end) / 1e12, 1) as nat_to_adopting_pools_t,round(sum(case when miner_credited and not pool_adopted then nat_emission end) / 1e12, 1) as nat_unclaimed_t,round(100.0 * sum(case when height > (select h from tip) - 1008 and pool_adopted then 1 else 0 end)/ sum(case when height > (select h from tip) - 1008 then 1 else 0 end), 1) as adopted_share_1008_pct,round(max_by(nat_emission, height) / 1e6, 2) as nat_per_block_now_mfrom query_8739102