Skip to definition

Transactions & network Advanced

P2WPKH (Pay to Witness Public Key Hash)

In brief A single-key SegWit output type; Litecoin's ltc1q prefix alone does not distinguish it from P2WSH.

Also referred to as: pay to witness public key hash · pay-to-witness-public-key-hash · native P2WPKH

Full explanation

A SegWit version-0 output type that commits to a public-key hash. Spending it places the signature and public key in witness data. Its native Litecoin mainnet address uses ltc1q, but that prefix also covers P2WSH, so the prefix alone is insufficient for a precise fee model.

For exampleThe fee estimator's native SegWit input option models P2WPKH. Check the wallet's actual script type before selecting it.

Common mistakeAssuming every ltc1q output is the single-key P2WPKH type or confusing its witness bytes with full-price base bytes.

Try it live: Quick prefix detector

Put it into practice: Explore transparent transaction size and fees →

Primary sources: BIP 141: witness programs and P2WPKH Litecoin Core: version-0 witness script validation

Definition checked:

Quick answers about P2WPKH (Pay to Witness Public Key Hash)

What does P2WPKH (Pay to Witness Public Key Hash) mean in Litecoin?
A single-key SegWit output type; Litecoin's ltc1q prefix alone does not distinguish it from P2WSH. A SegWit version-0 output type that commits to a public-key hash. Spending it places the signature and public key in witness data. Its native Litecoin mainnet address uses ltc1q, but that prefix also covers P2WSH, so the prefix alone is insufficient for a precise fee model.
What is a common mistake with P2WPKH (Pay to Witness Public Key Hash)?
Assuming every ltc1q output is the single-key P2WPKH type or confusing its witness bytes with full-price base bytes.
How is P2WPKH (Pay to Witness Public Key Hash) applied in practice?
The fee estimator's native SegWit input option models P2WPKH. Check the wallet's actual script type before selecting it. You can explore this hands-on with our Explore transparent transaction size and fees.
Jarosław Wasiński
Editor-in-chief · Financial markets and Litecoin education

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.

Background, selected work and editorial responsibility →

Founder of MyBank.pl Financial education and market analysis Named editorial responsibility