I'm working on developing an ETH wallet, and I ran into some weird behavior. I'm using nethereum and etherscan.io. I'm creating a raw transaction using nethereum and then I'm posting it to the blockchain using etherscan's eth_sendRawTransaction endpoint.
It works most of the times, but there are ocasions in which the transaction cannot be found on etherscan after submitting it even after a couple of days. I'm getting the Sorry, We are unable to locate this TxnHash error.
The nonce on the transaction is correct, this was my first thought.
Why can a transaction disappear like this, and what can be done to avoid this?