Skip to content

getAddresses

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

Usage

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

Returns

Address[]

A list of checksummed addresses.

JSON-RPC Methods

eth_accounts