In briefA traditional transparent output spent by supplying a matching public key and signature.
Also referred to as: pay to public key hash · pay-to-public-key-hash · legacy P2PKH
Full explanation
A traditional transparent output type that locks coins to a public-key hash. Spending it supplies a matching public key and a valid signature in the transaction's unlocking script. Its input size differs from SegWit types, so the type of the coins being spent matters to a fee estimate.
For exampleWhen spending a wallet output identified as P2PKH, use the legacy-input model even if the new recipient uses a native SegWit address.
Common mistakeChoosing the input type from the new recipient's address instead of checking the previous output being spent.
Quick answers about P2PKH (Pay to Public Key Hash)
What does P2PKH (Pay to Public Key Hash) mean in Litecoin?
A traditional transparent output spent by supplying a matching public key and signature. A traditional transparent output type that locks coins to a public-key hash. Spending it supplies a matching public key and a valid signature in the transaction's unlocking script. Its input size differs from SegWit types, so the type of the coins being spent matters to a fee estimate.
What is a common mistake with P2PKH (Pay to Public Key Hash)?
Choosing the input type from the new recipient's address instead of checking the previous output being spent.
How is P2PKH (Pay to Public Key Hash) applied in practice?
When spending a wallet output identified as P2PKH, use the legacy-input model even if the new recipient uses a native SegWit address. You can explore this hands-on with our Inspect a legacy L-address offline.
Editor-in-chief of Litecoin.watch and founder of MyBank.pl. His published work covers foreign exchange, financial education and Litecoin. On Litecoin.watch, his remit includes editorial direction, source transparency and the practical guides and research published by the site.