I am using web3 and Metamask in chrome. I'd like to get all accounts connected to my website with below code:
I have created two accounts in Metamask and connected both of them to this website. However, the above code only return the current selected accounts. Is there a way to get all connects from the wallet?