ethereum.request({ method: 'eth_requestAccounts' })
first. Since you're asking about MetaMask specifically, I'll also refer you to the relevant section of our [documentation](https://docs.metamask.io/guide/ethereum-provider.html#using-the-provider).
#4561
Hi @flexsurfer, that's because MetaMask implements EIP-1102. You have to call
ethereum.request({ method: 'eth_requestAccounts' })
first. Since you're asking about MetaMask specifically, I'll also refer you to the relevant section of our documentation.Originally posted by @rekmarks in #2319 (comment)
The text was updated successfully, but these errors were encountered: