So you just got into crypto, heard it was going to moon ya? So you purchased some ETH and now want to play around with DAPS/NFT (Decentralized apps, and Non fungible tokens).
So you make a transaction to purchase a funny hat on decentraland and go to sleep, only to find in the morning the transaction is still pending and any other transaction you made after is also pending….
You are a degenerate gambler and you need your funds now !! Well fear not, to fix this it is as simple as following the steps below:
Send your own address (yes your wallet / stuck address) a 0ETH transaction but edit the nonce to overwrite the stuck transaction, this means set the nonce to the same as the stuck transaction.
Whats a nonce you ask, well when you make a new ETH wallet with zero transactions your nonce is 0 (funny word i know) and with each transaction it goes up by 1.
So how to do this, lets assume you have metamask we will need to go into advanced settings and turn on the ability to set a nonce (this will allow us to set the nonce on the confirmation page before we send the transaction and in turn overwriting the old one and canceling it).
Go into settings:
Click advanced, then set the “Customize transaction nonce” flag to on:
Now it is as simple as creating a new transaction (click send from main metamask window) and send to yourself 0ETH, then click next and on the confirmation page you will be given the chance to set a custom nonce, set this to the nonce of the stuck transaction (to find this just click on the transaction in your activity feed and note the nonce).
Whola!! Fin !! You are ready to rumble.