v1
latestOpenAPI 3.0.32026-07-263871106.2 KBPortfolio
Get total portfolio PnL across all pools
Returns the all-time total PnL in USD and percentage change across all user's pools. This aggregates data from all closed positions across the entire portfolio.
Arguments
- user - The wallet address of the user
Returns
- 200 - The user's total portfolio PnL
- 400 - Invalid user address or query parameters
get/portfolio/total
Query parameters
userstring required
User's wallet address
Response
Successfully retrieved portfolio totals