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

MethodsDescription
async getPortfolioGet 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 NameTypeDescription
resultPromise<PortfolioData>Returns information about current user's portfolio

On this page