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
transactionactive
Create / Update Price Oracle
Publish or update an on-chain price oracle with up to 10 asset-pair price entries (XLS-47).
OracleSet2 credits
transactionactive
Delete Price Oracle
Delete one of your on-chain price oracles and reclaim its reserve.
OracleDelete2 credits
queryactive
Aggregate Oracle Price
Compute mean/median/trimmed-mean statistics across up to 200 price oracles for an asset pair.
get_aggregate_pricefree