eth_requestAccounts
Last updated
Was this helpful?
Last updated
Was this helpful?
Important
This method will send a wallet activation request if the user hasn't activated their wallet in your dapp, you can read more about the Stargazer wallet activation process .
Request the user to grant access to their Ethereum (EVM) accounts. This method follows the specification.
Parameters
None
Return Type
Address[]
- User accounts available.
Important
The account at index 0 will always be the active account in Stargazer.
Example