Skip to content

Documentation / js-sdk-core / getAllUserEmbeddedEthereumWallets

Function: getAllUserEmbeddedEthereumWallets()

getAllUserEmbeddedEthereumWallets(user): PrivyEthereumEmbeddedWalletAccount[]

Parameters

user: any

A privy user object

Returns

PrivyEthereumEmbeddedWalletAccount[]

The user's embedded ethereum wallet accounts, sorted by wallet_index.

Description

Finds all of the embedded ethereum wallet accounts for a user.

Example

ts
const accounts = getAllUserEmbeddedEthereumWallet(user)