Skip to main content

GET /vault/:address/snapshot

The one shape the dashboard is built from. Highlights:
Semantics worth knowing:
  • statusidle (no capital) · planting · earning (all in range) · attention (≥1 position out of range) · exiting · suspended.
  • netUsd = valueUsd + capitalOutUsd − capitalInUsd — deposits can never appear as gains.
  • strategyDeltaUsd + marketDeltaUsd always sum to netUsd — the agent’s contribution and the market’s, kept separate by construction.
  • positions[].range is in price space (human prices, decimals-adjusted), not raw ticks.
  • suspension, when non-null, carries the reason and confirms exitsAvailable: true.

GET /vault/:address/equity

Time series of { ts, valueUsd, capitalInUsd, capitalOutUsd } for charting, downsampled server-side. Chart deltas are computed net of flows — a deposit is not a rally.

GET /vault/:address/events

The activity ledger, newest first, filterable by type, since, until, limit. Each row carries its transaction hash. See Events for the vocabulary.