Skip to main content
GET
Stablecoin peg deviation
Template stable.depeg@1 · Derived · stablecoin peg · reads EVM, Solana

Authorizations

Authorization
string
header
required

Session token from POST /v1/session (sign in with the subscription owner's or a delegate's wallet). Each value uses one round of the plan's quota.

Query Parameters

chain
enum<string>
required

CAIP-2 id or alias (EVM, Solana chains)

Available options:
ethereum,
eip155:1,
sepolia,
eip155:11155111,
eip155:137,
eip155:143,
arbitrum,
eip155:42161,
bnb,
eip155:56,
base,
eip155:8453,
base-sepolia,
eip155:84532,
hyperevm,
eip155:999,
solana,
solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp,
solana-devnet,
solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1
finality
string
default:final

"final" or "fast", or a raw mode: "finalized", "safe", "confirmations:" (EVM, Starknet), "confirmed" (Solana)

price
string
required

EVM: "pool:

" (a Uniswap v3-style pool of the stablecoin against its quote) or "chainlink:"; Solana: "pool:" (an Orca Whirlpool, Raydium CLMM pool or Meteora DLMM pair) or "pyth:"

invert
enum<string>
default:false

pool only. false: token1 per token0; true: token0 per token1

Available options:
false,
true
peg
string
default:1

the peg, in quote units per stablecoin (a positive decimal)

result
enum<string>
default:deviation

deviation = |price - peg| / peg in basis points; flag = deviation > bandBps

Available options:
deviation,
flag
bandBps
string
default:50

the band of result=flag, basis points

Pattern: ^(0|[1-9][0-9]*)$
maxAge
string
default:86400

Chainlink and Pyth only: seconds; a feed updated longer ago than this before the round fails it

Pattern: ^(0|[1-9][0-9]*)$
agreeBps
string

Solana only: nodes agree when their deviations are within this many basis points of the median deviation (the absolute tolerance band; 5 when not set)

Pattern: ^(0|[1-9][0-9]*)$
signaturesRequired
integer
default:3

Signatures the round needs (default 3). Tolerance-mode sources need at least 3; the gateway bounds it by the protocol minimum, your plan and the live nodes.

Required range: 1 <= x <= 255

Response

The threshold-signed value (data.attestation) and its rendering (data.value); Molpha-Source-Id names the derived source.

data
object
status
string
Example:

"completed"