nonce: Number - (optional) Integer of a nonce. This allows to overwrite your own pending transactions that use the same nonce.
In my code I am using sendRawTransaction() and if I set the nonce to the same as my last tx while it is still pending it bounces and never gets accepted to the pool. Is this what should be expected for sendRawTransaction?
I am re-signing the transaction each time with the same/previous nonce. I get a txid returned but after many attempts it has never overwritten the tx and I can never get working txid.
Is this the expected behavior?
I am having trouble using web3.eth.pendingTransactions it always returns an empty array. So i cant use eth.resend(web3.eth.pendingTransactions, newGasPrice). Ultimately my goal is to overwrite a transactions with a higher gas price when certain conditions are met.