How to cancel a pending transaction

Here is the link to the transaction on moonbeam.

You can use your metamask wallet to do this. If you would like to watch a tutorial I have on my YouTube channel, it will show you how on EVM Based networks.

You would need to replace the current pending tx. To do this, you need to create new transaction and replace the nonce on the new transaction with the nonce from the pending transaction. If there are more than one pending, you need to start with the first pending one.

Say you have 3 pending transactions and the nonces are 55 56 & 57, you need to replace each tx, in that order. Make sure the tx is still pending before going forward.

1 Like