Created
July 15, 2019 20:58
-
-
Save miguelmota/2da736107ece65629b7baa3d59288abc to your computer and use it in GitHub Desktop.
Web3.js get transaction hash from signed transaction data
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const txHash = web3.utils.sha3('<signed-transaction-data>', {encoding: 'hex'}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment