What Pegana does
Pegana watches 63 active pegged assets on Solana mainnet in real time (plus inactive entries kept for history). For every asset, we compare market price to intrinsic value, smooth the spread with an EWMA, and publish a peg state through a 5-state FSM: PEGGED · DRIFT · DEPEG · CRITICAL · BLACK_SWAN. (UNKNOWN is a separate non-alerting status — cold-start or a detectably broken anchor — not a severity band.) When the state changes, we emit an alert. That’s the whole product.Who reads from Pegana
Lending & perps
Adjust collateral risk before a depeg cascades into liquidations.
Insurance protocols
Trigger payouts on confirmed depeg with credible third-party events.
AI agents
Pre-flight peg check before a swap, via MCP. Free reads, paid streams.
Six ways to consume
REST API
GET /v1/assets/:asset/state · JSON over HTTPS · no key · soft rate limit.WebSocket
Sub-second peg-state stream. Subscribe per asset over WSS.
MCP
Native Model Context Protocol for Claude, Cursor, Cline. Free + paid.
Webhooks
Ed25519-signed POST on every state transition, with delivery history and replay.
Embed widget
320 × 86 iframe. ~3 KB HTML.
<iframe> and you’re done.Telegram bot
Human-readable alerts via
@PeganaWatchBot. No wallet, no API key.Coverage
63 active assets across 7 classes — mainnet only, no devnet feeds. Source of truth:assets.toml;
the canonical live list, with each asset’s current peg state, is always
GET /v1/assets. Of the 63, 50 are beta (monitoring_only):
their alerts are live and labeled beta, but the calibration is provisional, so those
reads should be treated as experimental until they graduate.
The asset set grows over time — treat this table as a snapshot and
GET /v1/assets
as the source of truth for what is live right now.
Inactive entries (in assets.toml with active = false, not polled, so not in
the 63): BRZ (BRL FX-pegged) and pbUSDC — deactivated 2026-06-01 (only thin dust
DEX pairs left, prices unreliable). dSOL was removed after the Drift exploit
(2026-04-01) and survives only as a historical comment.
What we promise
- Methodology is public. Every threshold, every source, every smoothing parameter lives in /methodology. No black box.
- Open methodology + verifier (MIT). The math behind every threshold and the
pegana-replayCLI that reproduces any receipt are public atgithub.com/lrafasouza/pegana-replay— re-derive any verdict yourself. The operational services run from a separate repo. - No API key for reads. REST, WebSocket and Embed are public. Only the MCP paid tools require x402 settlement.
- One source per asset class. We do not “blend” prices. Sanctum exchange rates — or a direct on-chain stake-pool read for LSTs outside the Sanctum registry — for LST intrinsic; Pyth for FX and for yield-bearing redemption rates; on-chain vault/CDP decode for Hylo, Solayer, and Perena USD*; Jupiter for routed market price.
Next step
Quickstart — 5 minutes
Pick a channel, copy the snippet, get a real response.