3

I am trying to send a transaction using Go Ethereum 1.4.18-stable JSON-RPC and I am getting the following error:

     {'message': 'Nonce too low', 'code': -32000}

This is a single transaction on dedicated node on Ethereum testnet. My question is that what could be the cause for this issue

  • Have internal file structures of node damaged (it has lost track of nonce

  • Is node simply out of sync

2

Got the same issue, fixed it by indicating nonce in a transaction:

let nonce = web3js.eth.getTransactionCount(myAddress);
let transactionObject = {
        ...
        nonce: web3js.utils.toHex(nonce)
    };

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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