Appearance
Documentation / js-sdk-core / getUserEmbeddedWallet
Function: getUserEmbeddedWallet()
getUserEmbeddedWallet(
user
):any
Parameters
• user: any
A privy user object
Returns
any
The user's embedded wallet account
Description
Finds the embedded wallet account (if it exists) for a given user.
Example
ts
const account = getUserEmbeddedWallet(user)
console.log(account.address)