Get peg state by mint address
Path Parameters
Response
Current state + transition timestamp
Timestamp of the most recent transition into the current state: the
first snapshot of the current contiguous run. Constant across
recomputes; it changes ONLY on a real state transition. For an asset
that has only ever held one state it is that asset's first observed
snapshot, which is NOT a transition: see since_is_lower_bound and
history_start. When stale is true it collapses to updated_at, the
moment data stopped.
true when updated_at is older than the 15-minute freshness bound the
list/detail endpoints enforce; i.e. the feed has likely frozen. Unlike
list/detail, /state still returns the last value rather than 404-hiding
it; read this flag to fail safe. Consumers needing a tighter bound can
derive their own from updated_at.
Class-aware peg state. Mirrors the engine PegState enum and the
peg_state Postgres enum. Used for state, from_state, and to_state
fields across the API.
The state is CLASS-AWARE: an LST reading a −1.4% discount (normal unstaking
spread) is PEGGED, while a fiat stable at far less would be DRIFT. Trust
this value directly rather than imposing a naive discount cut.
PEGGED, DRIFT, DEPEG, CRITICAL, BLACK_SWAN, UNKNOWN Timestamp the current snapshot was computed (the latest
discount_snapshots.ts). Distinct from since (state-transition time):
this is the FRESHNESS signal. The engine stops writing snapshots when a
feed goes stale ("missing data is not confirming data"; H8), so a frozen
updated_at is exactly how a stale/frozen feed surfaces on this endpoint.
Pyth oracle confidence bucket: high | medium | low | unknown.
The PRICE-ORACLE confidence-interval signal (conf/price ratio); the field
integrators should gate automation on alongside state. Mirrors the list
endpoint's confidence. Collapses to unknown when the feed is stale (same
as state), so a frozen feed cannot read as confidently pegged. Omitted only
when no snapshot carries a confidence value (non-Pyth-dependent assets).
Advisory machine-readable reason for the current state (mirrors
discount_snapshots.state_reason and Receipt.state_reason).
Emitted today:
premium_sanity: engine NAV-sanity override: smoothed discount exceeded the premium-sanity bound, state forced to UNKNOWN (intrinsic anchor suspect).stale_source: API layer: no discount snapshot in the last 15 min (sources or engine dark), state collapsed to UNKNOWN.market_unavailable: API layer: no discount snapshot in the last 15 min, but the intrinsic leg IS fresh and no market tick exists in that window (thin market, no reliable quote). State UNKNOWN; the other fields are from the last discount snapshot (updated_at= when it stopped), likestale_source.
Reserved; not yet emitted (planned for depth-gate / oracle-crosscheck
work): no_oracle_crosscheck | intrinsic_unavailable | shallow_market | nominal.
Omitted when null.