Chio/Docs
LOGIN · JOIN

chio oracle

Read a price pair through the configured oracle exactly as the kernel does when it converts a budget.

Reference chio@5f63e6e

On this page

All command families · Global flags

chio oracle

Read price oracles exactly as the kernel does when it converts a budget.

Command synopsistext
chio oracle [OPTIONS] <COMMAND>

Example

Read USDC/USD with its age, divergence, and margin.

Terminalbash
chio oracle read USDC/USD
Output
chainlink   0.9998  age 41s of 600s
pyth        0.9997  divergence 1 bps of 500
sequencer   up
margin      200 bps
health      ok

chio oracle read

Read a pair through the configured oracle: the Chainlink and Pyth readings, age against the staleness limit, divergence, sequencer state, margin, and health.

Command synopsistext
chio oracle read [OPTIONS] <PAIR>
  • <PAIR> Currency pair, such as USDC/USD. Required.

Read more in Cross-Currency Budgets.