API REFERENCE

Alert Schema

The standardized JSON structure emitted by REST and WebSocket endpoints.

Schema Fields

FieldTypeDescription
idstringUnique hex identifier for the alert.
protocolstringPublic key of the monitored protocol.
rule_triggeredstringOne of: FLASH_LOAN_DRAIN, TVL_VELOCITY, BRIDGE_SPIKE.
severitynumberCalculated score (0–99).
estimated_at_risk_usdnumberEstimated USD value affected in the slot.
slotnumberThe Solana slot number where the event occurred.
on_chain_txstring | nullTransaction signature of the automated pause CPI, if executed.
created_atstringISO 8601 timestamp.

Example Payload

A real alert object returned by the REST API or emitted over the WebSocket feed.

alert.jsonjson
{
  "id": "a1b2c3d4e5f6",
  "protocol": "9W95BjbZuXdwf6p7X3bHu3wnMb2R5y7A4K",
  "rule_triggered": "TVL_VELOCITY",
  "severity": 87,
  "estimated_at_risk_usd": 125000,
  "on_chain_tx": "5KtPn1LGuxhFiwjxErkxTb57Jvmh4Me5GA4K9v7FWE1vL4jE8D2m8HrZ3bVtBQzPLr",
  "slot": 245012344,
  "created_at": "2026-05-15T10:23:41.000Z"
}

Was this page helpful?