getPortfolio
Get the assets in a user's portfolio to display in the UI.
Usage
const portfolio = await orchestrator.getPortfolio(
'd6f64241-a62c-4542-bb23-e78d7e1e0cd6',
)
Parameters
userId
- Type:
string
The ID of the user account to get the portfolio for.
Returns
portfolio
- Type:
Promise<Portfolio>
The portfolio of the user account.