0

I'm trying to call a function contract from web3. The web3 provider is metamask and the metamask popup opens up when it should however when I click confirm I just see a loader and nothing happens. When I click away and open metamask again, it just says that the transaction is approved but not confirmed. The code I'm using is pretty much exactly whats in the docs. Why is this happening?

  • You say nothing we can check. What is your code? What is the doc you are following? Did you get a transaction id from metamask? Are you testing agains mainnet or a testnet? Usually transaction not being confirmed quickly might be the gas price is too low, but metamask suggest a fair price. – Ismael Apr 20 '18 at 3:47
  • @ismael I posted over on SO as well: stackoverflow.com/questions/49908044/… – ninesalt Apr 20 '18 at 11:40
0

The problem might be related to metamask history.

Try following this guide: https://metamask.helpscoutdocs.com/article/36-resetting-an-account

If you're using local ganache-cli o similiar things such as testrpc restart those and change network Id.

This bug might lead to blank metamask too, https://github.com/MetaMask/metamask-extension/issues/1999.

  • Tried that, not working. – ninesalt Apr 21 '18 at 10:16

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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