P2PKH
script · address
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
Address
→A network-specific identifier that describes a destination or spending condition for a cryptocurrency payment.
wallet · technical
Public Key
→Cryptographic data used to verify signatures made by the corresponding private key.
cryptography · technical
Hash
→A fixed-size digest produced by a one-way function, used for data integrity, identifiers, signatures, and proof-of-work.
cryptography · security
Unspent Transaction Output (UTXO)
→A discrete spendable output on a UTXO blockchain, similar to a digital coin that must be spent whole.
technical · blockchain
Transaction
→A serialized state transition that a blockchain can validate, relay, and include in a block.
blockchain · technical