eth_accounts
Retrieves the active account in the wallet for Ethereum's provider.
Parameters
None
Return Type
Address[]
- User's active account.
Example
await provider.request({ method: "eth_accounts", params: [] });
// ["0x407d73d8a49eeb85d32cf465507dd71d507100c1"]
Last updated
Was this helpful?