Skip to main content

eth_accounts

MetaMaskRestricted

Returns a list of addresses for the accounts owned by the user.

Params

(0)

Result

(AddressList)
array[string]

Request

await window.ethereum.request({
"method": "eth_accounts",
"params": []
});