Can anyone tell me if it is possible to reject transaction in metamask from javascript or java code after few minutes, if user didn't submit or reject it by himself?

The problem is that the user of my site can submit transaction to my smart-contract within 2-3 minutes.


This is not currently possible using the web3 API, you would have to suggest these steps to the user through your interface.

Source: I'm a MetaMask developer.

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.