A treasury holding stablecoins or pegged assets needs early warning when a peg starts to slip and a read on whether the broader market is calm or stressed. This workflow assembles that from peg, regime, and flow data.Documentation Index
Fetch the complete documentation index at: https://docs.alterscope.org/llms.txt
Use this file to discover all available pages before exploring further.
The workflow
Track the peg directly
GET /v2/asset/{assetId}/peg-history returns an asset’s deviation from its peg over time, sourced with block-level history — so a slow drift is visible before it becomes a break.Read the market regime
GET /v2/regime/current (and GET /v2/regime/morpho/markets for market-level regime) classifies whether conditions are calm or stressed — context for how seriously to treat a wobble.Follow the capital flows
GET /v2/flows/current, …/timeseries, and …/forecast show whether capital is moving toward or away from an asset or venue — flight is an early peg-stress signal. For liquid-staking assets specifically, GET /v2/graph/lido/depeg surfaces depeg risk.Get alerted
Combine this with the risk-events feed and webhooks so a peg or regime change pushes an alert to your systems rather than waiting for a manual check.