Skip to main content
Defined in EIP-1474
Returns a list of addresses owned by the connected wallet. Unlike eth_requestAccounts, this method returns an empty array if no accounts are available or if the user has not authorized any accounts to the caller. This method does not prompt the user to approve connection.

Parameters

This method does not accept any parameters.

Returns

Array<string>
An array of Ethereum addresses (hexadecimal strings), which the connected user controls. The array will typically contain a single address, which is the currently selected account in the wallet. If the wallet is not connected or no accounts are authorized, this method returns an empty array.

Error Handling