Coins pegged on-chain via oracle::set_fixed_price (wound-down markets).
The ws update_prices cron mirrors the peg into pythPrice every ~10s.
The pegged value — zero included, it is the chain's valuation — must reach
USD math unchanged, so these coins accept zero and never fall back to
CoinGecko: the market quote is not what the chain enforces, and substituting
it would inflate collateral and liquidation-limit math.
Keep in sync with PEGGED_COIN_TYPES in alphalend-sdk-rust
src/blockchain/coin_registry.rs.
Caveat: a pegged price carries no independent staleness signal. The client
fetches coin metadata once and does not refresh it, so a long-lived client
serves the first mirrored value it saw. The liquidator adds its own
freshness check (PEGGED_ROW_MAX_AGE_MS); this SDK does not.
Coins pegged on-chain via
oracle::set_fixed_price(wound-down markets). The wsupdate_pricescron mirrors the peg intopythPriceevery ~10s. The pegged value — zero included, it is the chain's valuation — must reach USD math unchanged, so these coins accept zero and never fall back to CoinGecko: the market quote is not what the chain enforces, and substituting it would inflate collateral and liquidation-limit math. Keep in sync withPEGGED_COIN_TYPESin alphalend-sdk-rustsrc/blockchain/coin_registry.rs.Caveat: a pegged price carries no independent staleness signal. The client fetches coin metadata once and does not refresh it, so a long-lived client serves the first mirrored value it saw. The liquidator adds its own freshness check (
PEGGED_ROW_MAX_AGE_MS); this SDK does not.