Skip to content

Documentation / js-sdk-core / getUserSmartWallet

Function: getUserSmartWallet()

getUserSmartWallet(user): any

Parameters

user: any

A privy user object

Returns

any

The user's smart wallet account

Description

Finds the embedded smart wallet account for a given user.

Example

ts
const account = getUserSmartWallet(user)