Batch positions for one wallet across mints
Wallet PnL (v2)
Batch positions for one wallet across mints
Positions for one wallet across many mints (WHERE wallet=? AND mint IN(...)). Aligned to the input mints (null for missing). realized_breakdown always present. 1–100 mints; empty → 400, >100 → 400.
POST
Batch positions for one wallet across mints
Authorizations
Preferred for swaps-api endpoints (/swaps/*, /stats/*, /trending, /pool-events).
Path Parameters
Wallet address (base58, 32–44 characters).
Query Parameters
PnL accounting mode. strict (FIFO) and adjusted (weighted-avg cost) are realized-PnL figures; raw is net cash-flow (Σ sells − Σ buys), not realized PnL. Unknown values fall back to adjusted.
Available options:
raw, strict, adjusted Body
application/json
Required array length:
1 - 100 elementsResponse
Batch positions

