I receive an error when sending raw transactions. I get the following error message.
Error: Returned error: Transaction nonce is too low. Try incrementing the nonce.
I get my nonce this way:
const nonce = web3.eth.getTransactionCount(account);
I have double-checked and can guarantee that it returns the correct nonce.
Another thing I tried is to increment the nonce like the error message says but I still get the error.
Anyone has an idea why this is the case?
additional details network: Kovan
ethereum client: parity
error occurs after
const nonce = web3.eth.getTransactionCount(account) + 1;