Nov 18 - Nov 18, 2026
This classification is governed by specific rules for each output type. For example, Pay-to-PubKey-Hash (P2PKH) and Pay-to-Witness-PubKey-Hash (P2WPKH) outputs are counted if their program appears in pubkey_hash_index.bin, while Pay-to-Script-Hash (P2SH) outputs are included if present in either pubkey_hash_index.bin or script_hash_index_20.bin. Pay-to-Witness-Script-Hash (P2WSH) outputs must be listed in script_hash_index_32.bin. Output types such as Pay-to-Taproot (P2TR), Pay-to-PubKey (P2PK), and bare multisig always count towards exposure, as the key is embedded directly in the output script. Other output forms do not contribute to this tally.
Significant proportions of exposed BTC are concentrated in particular output types. P2PK, P2TR, and bare multisig outputs, which are considered exposed by virtue of their form, collectively account for 1,937,232.46 BTC. The remainder, totaling 5,227,521.66 BTC, is distributed among P2PKH, P2WPKH, P2SH, and P2WSH outputs, counting only when their programs align with those found in the established reference tables. Within these categories, the share of exposed BTC varies: P2PKH shows a 25.8% exposure, P2WPKH 25.7%, P2SH 32.0%, and P2WSH 44.6%. Outputs categorized as "Other" do not contribute to the exposed total.
An examination of key reuse patterns within the blockchain highlights notable overlaps. A total of 40,385 public keys have received payments via both P2PK and P2PKH formats. The most substantial overlap occurs between P2PKH and P2WPKH formats, with 189,857 keys utilized across any encoding variant. Furthermore, 5,011 keys have been used in both compressed and uncompressed ECDSA pubkey formats for P2PKH or P2WPKH outputs. These counts reflect all public keys identified on-chain up to block 975,019, matched across six encoding schemes, with each key considered for a format if it has ever received an output, regardless of whether that output has been spent.
Analysis of same-hash reuse, restricted to unspent outputs, indicates that 6,927 distinct 20-byte hashes—each typically corresponding to a unique serialized key—have unspent outputs under both P2PKH and P2WPKH. These encompass 93,972.89 BTC, figures already integrated into the aforementioned breakdowns. Of these, 3,301 hashes holding a combined value of 49,154.61 BTC could reveal the underlying key on-chain for both forms upon being spent, as there is currently no match in the tables.
The construction of the reference tables and the UTXO census tool was undertaken to support the development of BIP 362. However, discrepancies exist between what the tables measure and the definition of EXPOSED_AT_REST in BIP 362. Some differences arise due to ambiguities in the draft specification, with certain cases remaining unmeasured. An in-depth comparison of these distinctions can be found in section 11 of the extraction rules, available at this link. It is important to note that some outputs not counted here may be classified as UNDETERMINED by the draft, meaning the set of uncounted outputs does not correspond to the draft's EXPOSED_ON_SPEND category. Moreover, keys or scripts associated with uncounted outputs might still have been disclosed, either on-chain in locations not parsed by these rules or off-chain.
A random sampling of 250 uncounted outputs from each of P2PKH, P2WPKH, P2SH, and P2WSH revealed no instance where a scriptPubKey had been spent from at or before block 975,019. This provides a one-sided 95% upper confidence bound of 1.19% for each type. The
Thread Summary (0 replies)
Nov 18 - Nov 18, 2026
1 messages
TLDR
We’ll email you summaries of the latest discussions from high signal bitcoin sources, like bitcoin-dev, lightning-dev, and Delving Bitcoin.
We'd love to hear your feedback on this project.
Give Feedback