P2PKH
A common script type where the output can be spent by proving knowledge of the private key corresponding to a hashed public key.
- Also known as
- Pay to Public Key Hash
P2PKH locks an output to the hash of a public key. To spend it, the spender provides a signature and the public key, which hashes to the expected value.
P2PKH improved on early P2PK outputs by revealing the public key only when the output is spent, not when it is created. It remains important because many wallets, explorers, and signing tools still need to understand this standard script pattern.
Related terms
5 linkedExplore connected entries beyond the alphabetical index.
Address
→A public identifier used to receive cryptocurrency on a blockchain network.
Public Key
→A cryptographic identifier derived from a private key; used to verify signatures and derive addresses.
Hash
→A fixed-size digest produced by a one-way function, used for data integrity, identifiers, signatures, and proof-of-work.
Unspent Transaction Output (UTXO)
→A discrete spendable output on a UTXO blockchain, similar to a digital coin that must be spent whole.
Transaction
→A signed data message that asks a blockchain to transfer value, execute code, or update state.
All terms and definitions may update as the Cryptionary improves.
