2

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?

1 Answer 1

3

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.

2
  • 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, 2020 at 18:43
  • They use an RPC call to get the state of the chain. eth.wiki/json-rpc/API Jul 8, 2020 at 19:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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