docs/examples/asset-consumer/.
Is this asset pegged right now?
Read the class-aware verdict — don’t re-thresholddiscount yourself.
Watch the whole universe in one call
{ ok, generated_at, count, data } — read the rows from
.data. Prefer risk_score (0–100) for a single sortable number, or branch on state. To
join by Solana mint, use GET /v1/peg/feed (also a data array; each signal carries mint).
Only surface what’s off-peg
Chart the discount history
bucket=raw for per-sample, 1m for 1-minute aggregates. Newest-first; window with
from/to (see Pagination & limits).
Verify a state transition on your own machine
Every alert emits a public receipt with frozen inputs and an on-chain commit.Gauge systemic (leverage) exposure
WebSocket
Sub-second push instead of polling.
Webhooks
Signed POST on every state transition.
MCP for agents
Point an LLM agent straight at the oracle.
Errors
Codes + the
x-request-id header.