Okto Embedded WalletUsing Embedded Wallet
Get User Balance and Portfolio Details
Fetch details of the portfolio for the current user using the Okto SDK.
Methods Overview
Methods | Description |
---|---|
async getPortfolio | Get portfolio details of the current user |
Get portfolio details of the current user
async getPortfolio()
retrieves the portfolio details of the currently authenticated user.
Parameters
There are no parameters for this function.
Response
Success Response
Field Name | Type | Description |
---|---|---|
result | Promise<PortfolioData> | Returns information about current user's portfolio |