Calculate the transaction hash in advanced #3276
Unanswered
khoanguyen-yang
asked this question in
Q&A
Replies: 1 comment 3 replies
-
The hash1 should be the proper hash. Is it really not equal to the resulted hash? const signature = await signer.signTransaction(rawTransaction);
const hash1 = ethers.utils.keccak256(signature);
console.log('hash1', hash1); |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys,
I want to get the transaction hash of a smart contract transaction before sending it to the network. How can I achieve that?
I tried some ways but none worked. None of the hashes match the generated one
Really appreciate any help 🙏
Beta Was this translation helpful? Give feedback.
All reactions