Skip to content
On this page

getAccounts

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

Usage

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

Returns

'0x${string}'[]

A list of checksummed addresses.

Released under the MIT License.