You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
This method will request/enable the accounts from the current environment it is running (Metamask, Status or Mist).
1724
+
It doesn't work if you're connected to a node with a default Web3.js provider. (WebsocketProvider, HttpProvidder and IpcProvider)
1725
+
This method will only work if you're using the injected provider from a application like Status, Mist or Metamask.
1726
+
1727
+
For further information about the behavior of this method please read the EIP of it: `EIP-1102 <https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1102.md>`_
1728
+
1729
+
----------
1730
+
Parameters
1731
+
----------
1732
+
1733
+
1. ``Function`` - (optional) Optional callback, returns an error object as first parameter and the result as second.
1734
+
1735
+
-------
1736
+
Returns
1737
+
-------
1738
+
1739
+
``Promise<Array>`` - Returns an array of enabled accounts.
0 commit comments