Query editor
-- WHERE IS ALL THE NAT: BITCOIN SIDE. One row of counters, shown on both the Bitcoin and the Ethereum dashboard.-- $NAT is a native Bitcoin token. Every block's NAT is set by the block header (bits). Blocks 0..885,587 were minted first-come-first-served;-- from block 885,588 the NAT is credited to the pool that mined the block. Built on query_8739102; the all-time total sums bitcoin.blocks directly.with allblocks as (select sum((bytearray_to_bigint(bits) / 16777216) * 16777216 + (bytearray_to_bigint(bits) % 16777216)) as nat_all_timefrom bitcoin.blocks),since as (selectsum(case when miner_credited then nat_emission end) as credited,sum(case when miner_credited and pool_adopted then nat_emission end) as claimed,sum(case when miner_credited and not pool_adopted then nat_emission end) as unclaimedfrom query_8739102)selecta.nat_all_time as total_nat_ever_minted,a.nat_all_time - s.credited as minted_first_come_first_served,s.credited as credited_to_miners_since_885588,s.claimed as claimed_by_adopting_pools,s.unclaimed as unclaimed_by_other_pools,round(100.0 * s.credited / a.nat_all_time, 1) as pct_of_all_nat_credited_to_minersfrom allblocks a cross join since s