decode-eth-tx | Decode and Publish Ethereum raw transaction | Messaging library
kandi X-RAY | decode-eth-tx Summary
kandi X-RAY | decode-eth-tx Summary
Decode and Publish Ethereum raw transaction
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of decode-eth-tx
decode-eth-tx Key Features
decode-eth-tx Examples and Code Snippets
Community Discussions
Trending Discussions on decode-eth-tx
QUESTION
I've been attempting to broadcast transactions to both Kovan & Rinkeby, I'm building and signing them offline and using the Etherscan API to broadcast the signed transactions. I see them in the explorer labelled as:
Pending This TxHash was found in our secondary node and should be picked up by our indexer in a short while.
They sit there for between 4-8 hours then just vanish. I've tried increasing the gas price and gas limit a few times. And I'm assuming because they get accepted by the API at all I've correctly signed them (I'm using an external method to sign the hash and stitch together the transactions). I'm not sure if there's a way to validate the transaction to see if the one I've created is valid and properly signed.
The most recent one I've tried to broadcast to Kovan is:
...ANSWER
Answered 2019-Apr-01 at 20:13It looks like your nonce
is too high, at least for that transaction. The from address, 0xE6652CA72B030B1c426b3e9654bd02E466943D54
, has sent no prior transactions, so its correct nonce
is 0
.
Trying to send a transaction with nonce
1
means it has to wait around until a transaction with nonce
0
has been sent. If that doesn't happen, the transaction eventually just gets dropped.
A good way to get the correct nonce
is to use web3.eth.getTransactionCount()
.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install decode-eth-tx
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page