eth_accounts
Returns a list of addresses owned by client.
Params
(0)Result
(Accounts)array[string]
Match pattern:
^0x[0-9a-fA-F]{40}$
Example
Request
await window.ethereum.request({
"method": "eth_accounts",
"params": []
});
Result
[
"0xd1f5279be4b4dd94133a23dee1b23f5bfc0db1d0"
]