The amount of bitcoin in existence is not a function of block height alone, because some allowed rewards were never claimed and some issued coins are provably unspendable. A Bitcoin Core node reports the total from its own UTXO set: the gettxoutsetinfo RPC returns total_amount, the total of all unspent outputs.
Sources and checks
T1Bitcoin Core src/rpc/blockchain.cpp, gettxoutsetinfoSource code, says this directly
The total amount of coins in the UTXO set
gettxoutsetinfo, RPCResult total_amount, read 2026-11-20
T1Bitcoin Core src/rpc/blockchain.cpp, gettxoutsetinfoSource code, supports part of it
The total amount of coins permanently excluded from the UTXO set (only available if coinstatsindex is used)
gettxoutsetinfo, RPCResult total_unspendable_amount, read 2026-11-20
bitcoin/bitcoin at f498a5a671 contains this text in src/rpc/blockchain.cpp, and still does on the default branch.
Run it yourself
git clone https://github.com/bitcoin/bitcoin && git -C bitcoin show f498a5a6718d9157b6afb85412c3462439117702:src/rpc/blockchain.cpp | grep -nF 'The total amount of coins in the UTXO set'Checked at block 976,783, 20 Nov 2026, 20:55 UTC: recheck, quotes 2/2, code 1/1
History
Nothing is edited silently; every revision keeps what it replaced.
- 20 Nov 2026, 16:20 UTCblock 976,753
Published Revision 1, run 2026-11-20-seed-halvings-and-supply