0

I have installed metamask. When I open any page in the browser, go into the console and type web3 I can see that the object is present:

> web3
Proxy { <target>: {…}, <handler>: {…} }

How do I check the version of web3 injected into the page? The command web3.version fails.

1 Answer 1

1

Due to this Summary of Breaking Changes. I think web3 have been replaced, so u can use ethereum instead for your purpose.

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.