Returns a list of addresses for the accounts owned by the user.
Params (0)
Result (AddressList)
array[string]
Match pattern:^0x[0-9,a-f,A-F]{40}$
Request
await window.ethereum.request({
"method": "eth_accounts",
"params": []
});
For any additional questions, please view our other knowledge base articles or contact a Product Support team member via the chat button. Examples are for illustrative purposes only.