Appearance
Documentation / js-sdk-core / getAllUserEmbeddedSolanaWallets
Function: getAllUserEmbeddedSolanaWallets()
getAllUserEmbeddedSolanaWallets(
user
):PrivySolanaEmbeddedWalletAccount
[]
Parameters
• user: any
A privy user object
Returns
PrivySolanaEmbeddedWalletAccount
[]
The user's embedded Solana wallet accounts, sorted by wallet_index.
Description
Finds all of the embedded Solana wallet accounts for a user.
Example
ts
const accounts = getAllUserEmbeddedSolanaWallet(user)