.portfolio

Endpoint to retrieve portfolio overview for the current user.

Account portfolio overview

const { body: portfolioOverview } = await api.portfolio.getPortfolio()

console.log(`  
  Asset: ${portfolioOverview.asset}  
  Total Amount: ${portfolioOverview.totalAmount}  
  Staked Amount: ${portfolioOverview.stakedAmount}  
`)