0

In my DApp, I want to check whether the MetaMask in connected to BSC Minnet RPC network using JQuery. Is it possible to check the Connected RPC network in MetaMask using JQuery?

Thanks a bunch in advance!!

New contributor
Tapas is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
0

jQuery is a JavaScript library for DOM manipulation. jQuery is unrelated to MetaMask that interacts with JavaScript.

0

To get the current network connection you could use its chainId.

ethereum.request({ method: 'eth_chainId' })

Your Answer

Tapas is a new contributor. Be nice, and check out our Code of Conduct.

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.