In briefA SegWit output that uses a spending script, such as a multisig rule, rather than the single-key P2WPKH model.
Also referred to as: pay to witness script hash · pay-to-witness-script-hash · witness script hash
Full explanation
A SegWit version-0 output type that commits to a script through its SHA-256 hash. Spending supplies the witness script and the data that satisfies it. It can support conditions such as multisignature spending. Native P2WSH and P2WPKH both use the ltc1q address prefix on Litecoin mainnet, but their input sizes differ.
For exampleA native SegWit multisignature output can be P2WSH and require a script-aware size estimate instead of the site's P2WPKH input model.
Common mistakeApplying a single-key P2WPKH fee estimate to every native SegWit transaction.
Quick answers about P2WSH (Pay to Witness Script Hash)
What does P2WSH (Pay to Witness Script Hash) mean in Litecoin?
A SegWit output that uses a spending script, such as a multisig rule, rather than the single-key P2WPKH model. A SegWit version-0 output type that commits to a script through its SHA-256 hash. Spending supplies the witness script and the data that satisfies it. It can support conditions such as multisignature spending. Native P2WSH and P2WPKH both use the ltc1q address prefix on Litecoin mainnet, but their input sizes differ.
What is a common mistake with P2WSH (Pay to Witness Script Hash)?
Applying a single-key P2WPKH fee estimate to every native SegWit transaction.
How is P2WSH (Pay to Witness Script Hash) applied in practice?
A native SegWit multisignature output can be P2WSH and require a script-aware size estimate instead of the site's P2WPKH input model. You can explore this hands-on with our Explore transparent transaction examples.
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.