Portfolio
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
Request
- Base URLhttps://damm-api.meteora.ag
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
userstring required
User's wallet address
Response
Successfully retrieved portfolio totals
Changes
No recorded changes to this operation across all 1 revision of this API.