Skip to content
On this page

getAddresses

Returns a list of account addresses owned by the wallet or client.

Usage

ts
import { walletClient } from '.'
 
const accounts = await walletClient.getAddresses() 
// ['0xa5cc3c03994DB5b0d9A5eEdD10CabaB0813678AC']

Returns

Address[]

A list of checksummed addresses.

JSON-RPC Methods

eth_accounts

Released under the MIT License.