This question already has an answer here:

Is it possible to get transaction hash before send transaction to node? How transactionHash is calculated?

marked as duplicate by Thomas Clowes, Richard Horrocks, Roman Frolov, eth Jan 11 '18 at 21:22

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


The transaction hash is the rlp hash of the signed transaction: i.e.

https://medium.com/@codetractio/inside-an-ethereum-transaction-fa94ffca912f example

  • Is it the same hash as received by ETHEREUMJS-TX.hash()? [ethereumjs.Util.sha3(ethereumjs.RLP.encode(tx_.raw)).toString('hex')] – user3184743 Jan 12 '18 at 20:08

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