Last active
July 22, 2019 07:35
-
-
Save hadv/da20e96d1cab02930cc2e78008c298c5 to your computer and use it in GitHub Desktop.
sendSignedTransaction
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
web3.eth.sendSignedTransaction(raw) | |
.on('transactionHash', (hash) => { | |
console.log('sent tx with hash: ' + hash); | |
}) | |
.on('error', (err) => { | |
console.log('error: ' + err); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment