Appearance
Documentation / js-sdk-core / getWallet
Function: getWallet()
getWallet(
client
,wallet_id
):Promise
<OAuthProviderType
>
Fetches a wallet through the Wallet API.
Parameters
• client: default
An instance of the Privy client
• wallet_id: Object
The ID of the wallet to fetch
• wallet_id.wallet_id: string
Returns
Promise
<OAuthProviderType
>
The response from the Wallet API get request