How to use it
- Get a scriptPubKey in hex, for example from
bitcoin-cli getrawtransaction <txid> 1(thescriptPubKey.hexof an output) or a block explorer's raw view. Or use a plain address. - Paste it into the box and press Check.
- Read the type, the exposure line and the note under it. An address is first turned back into its script.
Reads P2PK, P2PKH, P2SH, P2WPKH, P2WSH and P2TR, plus bare multisig and OP_RETURN. Base58 and bech32 or bech32m addresses are checksum-checked on mainnet and testnet.
What the types mean
- P2PK and bare multisig show a public key in the output from the start.
- P2TR (taproot) puts a 32-byte output key in the output from the start.
- P2PKH and P2WPKH hold only a hash of the key until the first spend. P2SH and P2WSH hold a hash of a script.
- Shapes follow the templates matched by Solver() in Bitcoin Core (
src/script/solver.cpp). The classifier is a port ofclassify_spk.py, tested on the same vectors and cross-checked against the Python version.
Honest limits
- It reads the script only. It cannot see the chain, so it cannot tell whether an address has already spent. A reused address can have its key public already.
- It matches standard script shapes. It does not run or fully validate scripts, and anything unusual shows as nonstandard.
- It says nothing about balances, ownership or what you should do with coins.
- Whether quantum computers will matter, and when, is an open question. This tool only shows which outputs show a key today.
- Educational only. Not financial advice.
