How to cancel a pending ethereum transaction using MetaMask?
How to cancel a pending ethereum transaction using MetaMask? How to cancel a pending ethereum transaction using MetaMask?

Having apending transaction in your MetaMask can be quite annoying. This usually happens when the network is heavily loaded and fees are soaring. Your transaction

may have a

gas fee set too low, and the miners

will simply ignore it, directing their attention to other transactions…

This causes you to be stuck because until the problem is resolved, you may not be able to send any other

transactions.

Annoying, right?

As the

topic was only hinted at in the recently published MetaMask tutorial, and you have been asking in emails for more information on how to deal with this, we decided to take a look at this issue a bit more broadly and in more detail.

..

Gather all the necessary information

Prerequisite

The first step is to go to etherscan and paste

the

tx

hash of the pending transaction. You can also paste your ethereum address and then you will be able to find all pending transactions. Przykład oczekującej transakcji w etherscan Example of a pending transaction in etherscan

Find the oldest pending transaction, click it and then click Click to see More ↓ to get

the

Nonce

number of that transaction. How to cancel a pending ethereum transaction using MetaMask?

All ethereum address transactions have

a

nonce

number that increases after each transaction. How to cancel a pending ethereum transaction using MetaMask? Location of Nonce information we needThe concept of

cancelling a pending transaction is to actually send yourself a new transaction with the same nonce, but with higher fees, which the miner will verify and confirm. Once this is done, the previous pending transaction with the same nonce will simply be cancelled and forgotten by the network, as there can only be a unique nonce transaction per ETH address.

See also  Karura para-chain deploys first Kusama Network DEX (KSM)

To proceed to the next step, you need the following

:

  • Your Ethereum address
  • Nonce of your pending transaction
  • Installed and running MetaMask with your Ethereum address

How can I send my own custom transaction?

Under

The stock MetaMask configuration does not allow you to use a custom nonce, but you can enable this option in the configuration.

Enabling custom gas and custom nonce settings

  1. Click this button:

How to cancel a pending ethereum transaction using MetaMask?

  1. Go to settings:

How to cancel a pending ethereum transaction using MetaMask?

  • 3. Now click Advanced4
  • . I suggest enabling both Advanced gas controls and Customize Transaction nonce.

    Sending a custom transaction to fix a pending transaction

    1. Once you’ve done that, close the configuration, and now click the submit button.

    How to cancel a pending ethereum transaction using MetaMask?

    2. Paste your ETH address and then add 10 GWEI

    to the gas

    price of the transaction fee to make sure you are above the average gas price on the network so this transaction doesn’t get stuck in pending status either. Leave the gas limit unchanged (21000). Click the Next button.

    How to cancel a pending ethereum transaction using MetaMask?

    3. On this screen you should be able to set your own custom nonce if you enable it correctly in the MetaMask configuration. Save the nonce of your blocked pending transaction and click Confirm.

    How to cancel a pending ethereum transaction using MetaMask?

    4. MetaMask will ask you to sign the transaction. After signing the transaction will be sent and the blocked pending transaction should now be cancelled.

    If you had another pending transaction after the one that is still blocked, you will have to repeat the process for each of them, from oldest to newest, until you finally clear the whole pending transaction stack.

    source: link

    See also  Airdrop dYDX wart nawet 100 000 USD

    You may be interested in:

    = 728 ) betterads_el_width = [“728”, “90”]; else if ( betterads_el_width >= 468 ) betterads_el_width = [“468”, “60”]; else if ( betterads_el_width >= 336 ) betterads_el_width = [“336”, “280”]; else if ( betterads_el_width >= 300 ) betterads_el_width = [“300”, “250”]; else if ( betterads_el_width >= 250 ) betterads_el_width = [“250”, “250”]; else if ( betterads_el_width >= 200 ) betterads_el_width = [“200”, “200”]; else if ( betterads_el_width >= 180 ) betterads_el_width = [“180”, “150”]; if ( betterads_screen_width >= 1140 ) { document.getElementById(‘sanzydwxt-192260-1514655070-place’).innerHTML = ”; (adsbygoogle = window.adsbygoogle || []).push({});}else if ( betterads_screen_width >= 1019 && betterads_screen_width < 1140 ) { document.getElementById(‘sanzydwxt-192260-1514655070-place’).innerHTML = ”; (adsbygoogle = window.adsbygoogle || []).push({});}else if ( betterads_screen_width >= 768 && betterads_screen_width < 1019 ) { document.getElementById(‘sanzydwxt-192260-1514655070-place’).innerHTML = ”; (adsbygoogle = window.adsbygoogle || []).push({});}else if ( betterads_screen_width < 768 ) { document.getElementById(‘sanzydwxt-192260-1514655070-place’).innerHTML = ”; (adsbygoogle = window.adsbygoogle || []).push({});}]]>