User
Consolidated portfolio (balance, stats, counts, summary)
Changed onReturns the user's full portfolio in a single batched query: vault balance, trading stats, RFQ status counts, and active-bet summary. Balance is null when the user has no vault (never traded).
get/v1/portfolio
Request
- Base URLhttps://api.totalis.trade
- Auth
- HTTP bearer
- or API key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
OK
Changes
- info
endpoint added
- info