A pre-aggregated view of the wallet’s P/L. One row perDocumentation Index
Fetch the complete documentation index at: https://hypernode-docs.polynode.dev/llms.txt
Use this file to discover all available pages before exploring further.
outcome_id the wallet has touched, plus a cross-market totals block. Sorted by best-performing market first.
Endpoint
Response
| Field | Description |
|---|---|
realized_pnl | Σ of intraday-close PnL per fill (wavg cost basis) |
unrealized_pnl_estimate | Mark-to-mid: Σ amount × (current_mid − avg_cost) over open positions |
settlement_realized_pnl | PnL booked at resolution: payout − cost_basis_at_settle |
settlement_payout | USDH credited at resolution (winner side gets share count, loser gets 0) |
fees_total | All fees combined (base + builder + deployer) for this market |
net_pnl_after_fees | Top-level: realized_pnl + settlement_realized_pnl − fees_paid |
Use cases
- PnL dashboard — render summary cards + per-market table in one query.
- Tax/audit export — group by
outcome_status='resolved'for finalized P/L. - Best/worst markets for a wallet — markets are pre-sorted by
realized + settlement_realized_pnl DESC.
Examples
Notes
- For active markets,
unrealized_pnl_estimateis mark-to-mid using the latest poll snapshot. Mids can be stale or absent for sides with no active maker. settlement_realized_pnlis0until the market resolves. For the canonical “what did this wallet make on this market” once settled, userealized_pnl + settlement_realized_pnl.net_pnl_after_feesdoes NOT subtract unrealized — it’s the booked P/L only.