Skip to definition

Transactions & network Advanced

wtxid (Witness Transaction ID)

In brief An identifier that includes an ordinary transparent transaction's witness data, unlike its TXID when witness data is present.

Also referred to as: witness transaction ID · witness ID · witness hash · wtxids

Full explanation

An identifier calculated from an ordinary transparent transaction's serialization including its witness data. For a SegWit transaction with witness data, it differs from the TXID that excludes that data. Both identify transaction data; neither alone proves broadcast, confirmation or recipient credit.

For exampleA decoded SegWit payment can report one value under txid and a different witness transaction hash under hash.

Common mistakeTreating two different identifier fields as two separate payments, or assuming a computed identifier proves a node accepted the transaction.

Put it into practice: Check a transaction →

Primary sources: BIP141: transaction IDs with and without witness Litecoin Core: decoded txid and hash fields

Definition checked:

Quick answers about wtxid (Witness Transaction ID)

What does wtxid (Witness Transaction ID) mean in Litecoin?
An identifier that includes an ordinary transparent transaction's witness data, unlike its TXID when witness data is present. An identifier calculated from an ordinary transparent transaction's serialization including its witness data. For a SegWit transaction with witness data, it differs from the TXID that excludes that data. Both identify transaction data; neither alone proves broadcast, confirmation or recipient credit.
What is a common mistake with wtxid (Witness Transaction ID)?
Treating two different identifier fields as two separate payments, or assuming a computed identifier proves a node accepted the transaction.
How is wtxid (Witness Transaction ID) applied in practice?
A decoded SegWit payment can report one value under txid and a different witness transaction hash under hash. You can explore this hands-on with our Check a transaction.
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