Skip to main content
The framing that makes peg monitoring tractable is two numbers, side by side:
  • Intrinsic — what the asset should be worth, per its own mechanism
  • Market — what you’d actually receive swapping it
Every other concept in Pegana — discount, state, threshold, alert — is derived from the gap between these two.

Why both, not one

A monitor that reads only market misses the case where the market is the broken side. The mSOL/Pyth incident is the canonical example: Marinade’s on-chain redemption (intrinsic) stayed at 1.18 SOL while a thin Mango pool printed 0.85 SOL for four minutes. A market-only oracle would have said “mSOL just crashed.” The right answer was “the market lied for 4 minutes; intrinsic held.” A monitor that reads only intrinsic misses the USDC/SVB case: Circle’s redemption claim was always $1, but the secondary market priced doubt at $0.87 for 36 hours. An intrinsic-only oracle would have said “USDC is fine.” The right answer was “intrinsic still claims $1, but the market won’t pay it until the backstop arrives.” Holding both numbers in the same signal — and publishing both — lets the consumer decide which side to act on for their use case.

How each side is sourced

Intrinsic comes from the asset’s own mechanism. Each class has its own canonical source: Sanctum for LSTs; the issuer’s own NAV for yield-bearing (Ondo’s RWADynamicOracle and the sUSDe ERC-4626 vault read on Ethereum via eth_call, on-chain decode for JLP, sUSD and USD*, Pyth Redemption Rate for the rest); on-chain decode for CDPs; a free two-venue FX median for fiat-pegged (EURC). See intrinsic value for the full table. Market comes from Jupiter’s routed quote, converted to USD via Pyth. We always swap to USDC and reprice USDC → USD via Pyth, so the numeraire is consistent across every asset and a USDC depeg doesn’t contaminate other assets’ spreads. See market value.

The two-numbers payload

Every Pegana peg reading carries both numbers explicitly. An illustrative GET /v1/assets/jitoSOL/state response (values are examples, not a live reading):
You receive the spread (discount) for fast checks and the underlying numbers for your own logic. For LSTs the asset card (GET /v1/assets/{symbol}) also carries sol_per_lst, the intrinsic SOL-per-token ratio behind intrinsic_usd.

Sign convention

  • discount > 0 → market trades below intrinsic (most common stress case)
  • discount < 0 → market trades above intrinsic (less common; often the LST case where MEV-driven yield outpaces the published sol_value)
  • |discount| < threshold → PEGGED
A common confusion: the API and the dashboard sign the same spread differently. The API discount field keeps the raw sign above, so "0.0120" means the market is offering the asset 1.20% below its book value (the trading-floor sense of “discount”). The dashboard shows the holder’s view of that same number, −1.20%: a holder marked to market is down 1.20% versus fair value. A premium is the reverse: a negative API discount, shown as + on the dashboard.

When intrinsic and market converge by construction

For a PEGGED fiat stable, intrinsic = $1 and market ≈ $1, so the spread hovers inside ±10 bps. That’s the calm regime — and it’s the regime where the two-numbers framing looks redundant. (“Just publish market — what could intrinsic add?”) The framing pays off precisely when they diverge. Holding both numbers in the same schema means the divergence is structural, not an afterthought. Your downstream consumer never has to wonder which number to act on — both are there.

Next

State machine

How the spread gets turned into a state, with hysteresis and dwell timers.