Metamask: Guide to Unblock an Ethereum Network Pending Transaction

Metamask: Guide to Unblock an Ethereum Network Pending Transaction

By CryptoTrips | CryptoTrips | 7 Sep 2020


One of the hottest topics these days was the transactions gas price on the Ethereum Network. While that cost is down a bit today from last week, it is still insane. Due to this, among other things, the Ethereum Network becomes congested and many times transactions can be pending for a long time without confirming.

To find out why this happens, we have to know what gas is and how it works on the Ethereum network.
Gas is the internal unit that defines the price of putting into operation the power to calculate and run the Ethereum network.
The cost of gas can be seen at Ethgasstation:

44243574e89c1650c081c95f4478eadcb5134522baab63339fae4131a5210f29.jpeg

The more “gas units” we offer for a transaction, the greater the chance that it will be confirmed faster.
The network works the same as any asset, prices go up when there is more demand and more is paid for your transaction to occur, and they go down when the opposite happens.
So, if we use an amount of GAS less than that indicated by “STANDARD”, the transaction could be “blocked” because the miners in charge of processing the transactions can leave it as pending, choosing others of higher value.
But if we want the transaction to be faster we can "dropping and replace it" in the following way:

As an example we are going to go to Uniswap to exchange ETH for a token.

6723e15539aa432cb5dd57fae229fcdd5ab65ff42683221967035dee0449ded9.jpeg

When we click Swap, Metamask automatically opens, and there we will change the amount of GAS for a very low value, for example 20 Gwei, and click Confirm.

530cd664e4c69643836f7bc9908f0ddd70c14209ff8493b9f6b2c389b3d8c4d3.jpeg

With the transaction code we go to the Ethereum transaction explorer, Etherscan, to see the status.

e9f50501e21e65b80114ffbf2ede2520aa73c1744a7de15c2bb3d32e2d6a41ff.jpeg


If we see that the Estimated Confirmation Duration is too long, we can cancel this transaction, sending another transaction to drop and replace the previous one. For that it is important to copy the Nonce of the transaction, a number that we will find by going down in the previous screen and clicking on the option “click to see more”.

bc604fbcceeb191cf8ae03ddf44a2ee57ecfca8b6c9d7a8b32bffd39a80e63b5.jpeg

Now we go back to Metamask and self-send a 0 ETH transaction but in this case with a higher GAS rate than the one indicated on ethgasstation as “TRADER”. For this we use our own Metamask address, manually placing the same Nonce of our transaction that we previously consulted in Etherscan.

d5a4824af4e8dd8d29a39d03c958b5a0cc4a9e29c14b97dec665705f4a1588d2.jpeg

It may happen that you do not have the Custom Nonce option enabled. You can do it manually in Settings> Advance Settings> Turn ON Nonce as seen in the following image:

fa92813cb88e22d860842b204569d203245d9b0345986dc6d066e332b24c7b23.jpeg

Once we send the new transaction with the same Nonce to drop the previous one, we enter Etherscan with the ID to verify the status.

6a40ddf5d6ecd18998a4e6214f46589567b364a09a5099d3e002900a62c07e00.jpeg

Finally we can see that the blocked transaction changed to dropped and replaced.

f5575905506ffa45d14a2e16defca61ef7d9a61ca5e0686559b8fbc474fc8e86.jpeg

And that's it: we already have our Ethereum at home again.

I hope this post is useful to you, and remember: read, learn, enjoy, follow me on my new Twitter (or the less important one: tip me if you liked it)... and with or without Metamask, be happy!

How do you rate this article?

12


CryptoTrips
CryptoTrips

Cryptocurrency enthusiast, tour guide, radio broadcast producer and graphic designer. Freedom of Thought and Solidarity Supporter. https://twitter.com/crypto_trips


CryptoTrips
CryptoTrips

A journey towards a new society with freedom of thought. https://twitter.com/crypto_trips

Publish0x

Send a $0.01 microtip in crypto to the author, and earn yourself as you read!

20% to author / 80% to me.
We pay the tips from our rewards pool.