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 userPortfolio | Get portfolio details of the current user |
Get portfolio details of the current user
async userPortfolio()
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 | Future<UserPortfolioResponse> | Returns information about current user's portfolio |