Lumaktaw patungo sa pangunahing content

Paano pabilisin o kanselahin ang isang nakabinbing transaksyon

Does this article need to be translated?

info

Have you tried MetaMask Activity?

MetaMask Activity is a new tool that can analyze your transactions and automatically suggest possible resolutions, and it has a built-in function dedicated to pending transactions. Why not try it out? Tingnan dito ang karagdagang impormasyon.

Kapag nagsumite ka ng transaksyon sa Ethereum o isang compatible na network, bahagi ng gas na binabayaran mo ay isang bid sa network para iproseso ang iyong transaksyon nang mas maaga — kilala ang elementong ito bilang priority fee.

Although MetaMask will assist you by calculating a total gas fee likely to have your transaction picked up, you can end up waiting a long time if you submit with a low gas price. For advice on what gas prices will result in a transaction being finalized in a reasonable amount of time, please refer to sources such as Etherscan's gas tracker, or a similar tracker for whichever network you're using.

Bukod pa rito, minsan may mga pagkakataon kung saan may nangyayaring mali, at ang isang transaksyon ay natigil lang, o nakabinbin nang napakahabang panahon.

Umabot ka man sa puntong ito, may ilang iba't ibang paraan para matugunan ito.

Bago ka gumawa ng anumang karagdagang aksyon, ang una mong hakbang ay dapat na ganap na i-exit at isara ang iyong browser, buksan itong muli, at i-unlock ang MetaMask (sa mobile, isara lang ang app at buksan itong muli). Kung hindi nito malulutas ang problema, magpatuloy sa sumusunod:

Pagpapabilis ng isang transaksyon

MetaMask speed up pending transaction extension

Subukan ang isa sa mga pagpipilian sa ibaba:

  • Maghintay hanggang ang network ay handa na magproseso ng mga transaksyon sa presyong ito
  • If you haven't done so already, click that button that says 'Speed up'. Hahayaan ka nitong muling isumite ang parehong transaksyon, ngunit may mas mataas na bayad sa gas na dapat magpapahintulot sa transaksyon na maproseso nang mas mabilis. Dahil ginagamit muli ng prosesong ito ang parehong nonce tulad ng orihinal, hindi mo kailangang magbayad para sa gas nang dalawang beses.

Bear in mind that speeding up the transaction will increase the amount you're spending for the transaction.

Canceling a transaction

Method 1: In-app cancellation

If you haven't done this already, to cancel the transaction, simply select Cancel, as in the screenshot above. Please note, a cancellation can only be attempted if the transaction is still pending on the network. Transactions that have already been confirmed cannot be reversed.

MetaMask cancel pending transaction extension

Method 2: Custom nonce

note

To make the custom nonce box visible, you need to turn off the Smart Transactions feature. You can do this by going to "Advanced Settings" and toggling the feature off. After clearing the pending transaction, you can easily re-enable Smart Transactions by toggling it back on.

Kasangkot sa prosesong ito ang pagpapadala ng bagong transaksyon na may parehong nonce (isang numerong pantukoy para sa bawat transaksyon, na hinango sa pariralang 'number only used once'). The transaction does not actually have to have any value — e.g. you could send 0 ETH. What matters is that you pay enough gas for the network to prioritize it.

When using this method, you will need to work backwards from the oldest pending transaction in the queue that you want to cancel. For example, you cannot attempt to cancel a transaction with a nonce of 10 before canceling nonce 9.

Note also that you may be able to cancel multiple transactions at once if they have the same nonce. Since a nonce—by definition—can only be used once, cancelling one of them will cancel all that have the same nonce.

Kinuha ang mga screenshot sa ibaba sa magkakaibang oras, kaya maaaring mag-iba-iba ang mga bayad sa gas na ipinapakita sa mga ito, maging sa bawat hakbang. Huwag hayaang panghinaan ka ng loob dahil dito! Kapag ikaw mismo ang gagawa nito, awtomatikong mag-a-update ang MetaMask nang real time para ipakita ang mga rate sa merkado.

  1. In advanced settings, turn on Customize transaction nonce. You'll need this turned on so you can send a replacement transaction (using the same nonce). Find out how to locate a transaction's nonce here.

MetaMask customize transaction nonce settings

  1. Magpadala ng bagong transaksyon. Sa bagong transaksyon, ipadala SA iyong sarili, ibig sabihin ang iyong pampublikong address sa MetaMask. Ilagay sa 'Custom Nonce' ang kaparehong nonce ng sa transaksyon na nakabinbin pa rin:

Metamask custom transaction nonce Extension

  1. Next to the estimated fee on the transaction confirmation screen, you'll see a pencil icon to edit the fee. Click the edit icon and then select 'Advanced' at the bottom:

MetaMask advanced gas controls find

To make sure your cancellation request is picked up as a priority, and before the original, you will need to pay more for gas. On this screen, follow these instructions:

  • Set your gas limit comparable to or slightly higher than your original transaction.
  • Set your priority fee to at least 10% higher (in Gwei) than the gas fee of the original (pending) transaction (e.g. if that transaction had a gas fee of 30 Gwei, set the max priority fee in the replacement/cancellation transaction to 33-35 Gwei).
  • Siguraduhin na ang iyong max fee ay hindi bababa sa 30% na mas mataas kaysa sa max fee ng transaksyon na pinapalitan mo. Halimbawa, kung ang iyong dating bayad ay 150 Gwei, pumili ng mas malapit sa 200 Gwei sa pagkakataong ito.

Suriin ang gas tracker tulad ng Etherscan para sa gabay sa mga inirerekumendang max fee.