LEGACY.XRP
Testnet
← Index of sheets

Sheet 11 · 3 tools

Oracles

On-chain price oracles and aggregate price queries.

Margin note — new here? Start with this

Blockchains cannot see the outside world — they only know what someone writes onto them. An oracle is an account that publishes real-world data (like the XRP/USD price) on-chain so apps can read it. XRPL has native price oracles (the XLS-47 standard): publishers post price feeds, and anyone can read one feed or a trustworthy average across many.

An oracle is a weather station bolted to the town clock tower: an independent party keeps it updated, and everyone in town reads the same number. Averaging many oracles is checking five stations before trusting a forecast — one broken sensor cannot fool you.
Start here: Aggregate Oracle Price