The transaction's network-wide identifier: sha256(txs(stx.tx)).
The hash covers the protocolTransaction only — deliberately not the signatures wrapped around it. That
keeps the identifier stable under signature malleability, so a third party
cannot change the identity of an in-flight transaction by re-encoding its
signatures, and it matches what the chain uses to index transactions.
Not to be confused with the signature preimage, which is a different message
and does carry a domain separator and the network hash — see
transactionSignaturePreimage. This is what you look a transaction up
by; that is what you sign.
The transaction's network-wide identifier:
sha256(txs(stx.tx)).The hash covers the protocol
Transactiononly — deliberately not the signatures wrapped around it. That keeps the identifier stable under signature malleability, so a third party cannot change the identity of an in-flight transaction by re-encoding its signatures, and it matches what the chain uses to index transactions.Not to be confused with the signature preimage, which is a different message and does carry a domain separator and the network hash — see transactionSignaturePreimage. This is what you look a transaction up by; that is what you sign.