In the industry txid is known as "transaction hash". Why wasn't the "hash" field called "wtxid"?

1 Answer 1


The idea is that it is returning the hash of the entire transaction data. Currently, that is always identical to the wtxid.

But in a hypothetical future, where more data may get added to transaction serializations, in addition to the base data (covered by txid) and witness data, hash would change to always cover everything.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.