When I start a transaction, MetaMask shows it with Cancel button.

When does this Cancel button disappear? Maybe after one confirmation? After N (what is N?) confirmations?


MetaMask removes the "cancel" (as well as "speed up") button as soon as the node they are running (which is Infura) sees that the transaction has been mined.

  • Then how does Infura see it? Does it wait for the first confirmation? or whatever? How to catch this moment from my web3.js code? – porton Jul 8 '20 at 18:43
  • They use an RPC call to get the state of the chain. eth.wiki/json-rpc/API – Shane Fontaine Jul 8 '20 at 19:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.