0

I am using the Web3 2.0 library to call web3.eth.sendTransaction and send Ether from one address to another.

When I check the nonce of my wallet in my program using the following web3 functions, it shows that I have multiple pending transactions

await web3.eth.getTransactionCount(myAddress, 'pending'); 1005

await web3.eth.getTransactionCount(myAddress); 1000

But these pending transactions are not showing on Etherscan. Once I send a transaction from Metamask with a custom nonce, all 5 of my pending transactions go through at once.

Why are my pending transactions not being picked up by Etherscan?

3
  • Etherscan is a private company. You should reach out to their customer support service. Commented Jan 13, 2022 at 18:24
  • Sure, but there might be a reason technically like "Eth txs with a gasprice set to 0 are discarded by some nodes" or whatever Commented Jan 13, 2022 at 18:39
  • Yup, that's why I didn't vote for this question to be closed. But most likely this is related to the Etherscan indexing software. Commented Jan 13, 2022 at 20:25

1 Answer 1

0

If you use an RPC that is not up to date, it will show as pending in your Metamask but never resolve, and eventually be dropped.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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