Query editor
-- THE HALVING STAIRCASE - fifteen eras: five measured, ten scheduled.---- Rows 1-5 are MEASURED, read off the BSI series (query_8742754) so the definition cannot drift-- between panels. Eras are cut on the halving DATES because the source is a daily series.---- Rows 6-15 are MATH, NOT A FORECAST, and the Basis column says so on every row. The block-- subsidy is exact and already fixed by the protocol; the BSI those rows show is what the measure-- would read IF fees stayed at today's level per block and market capitalisation did not move.-- BOTH ARE ASSUMPTIONS AND NEITHER WILL HOLD. They are stated rather than hidden because a-- a schedule is not a prediction: the subsidy step happens on time whatever the price does.-- Supply at each future era start is exact too - 21,000,000 * (1 - 2^-(n-1)).---- What the scheduled rows show is the floor: as the subsidy falls away BSI converges on whatever-- fees alone can pay for, and fee share rises mechanically without fees growing at all.with hist as (selectcasewhen day < date '2012-11-28' then 1when day < date '2016-07-09' then 2when day < date '2020-05-11' then 3when day < date '2024-04-20' then 4else 5end as n,avg(bsi_spot_pct) as bsi,avg(fee_share_pct) as feefrom query_8742754where day >= date '2010-08-01'group by 1),recent as (select sum(total_fees) / cast(count(*) as double) as fees_per_blockfrom bitcoin.blockswhere time >= now() - interval '7' day),fut as (select * from (values(6, '1.5625 BTC (from 2028)', cast(1.5625 as double)),(7, '0.78125 BTC (from 2032)', cast(0.78125 as double)),(8, '0.390625 BTC (from 2036)', cast(0.390625 as double)),(9, '0.1953125 BTC (from 2040)', cast(0.1953125 as double)),(10, '0.09765625 BTC (from 2044)', cast(0.09765625 as double)),(11, '0.048828125 BTC (from 2048)', cast(0.048828125 as double)),(12, '0.0244140625 BTC (from 2052)', cast(0.0244140625 as double)),(13, '0.01220703125 BTC (from 2056)', cast(0.01220703125 as double)),(14, '0.006103515625 BTC (from 2060)', cast(0.006103515625 as double)),(15, '0.0030517578125 BTC (from 2064)', cast(0.0030517578125 as double))) as t (n, label, subsidy))select n as "Era", label as "Block subsidy", bsi as "BSI %", fee as "Fee share %", basis as "Basis"from (select h.n,case h.nwhen 1 then '50 BTC (2009-2012)'when 2 then '25 BTC (2012-2016)'when 3 then '12.5 BTC (2016-2020)'when 4 then '6.25 BTC (2020-2024)'else '3.125 BTC (2024-2028)'end as label,round(h.bsi, 2) as bsi,round(h.fee, 2) as fee,