Skip to main content

Oracle Providers

Oracles exist on the Stellar network to bring off-chain data onto the blockchain. For example, a popular use-case of oracles is the inclusion of token pricing into smart contract logic. Since a smart contract can't access data from outside the Stellar network, oracles provide a means by which the data can be accessed on-chain.

RedStone​

RedStone is a modular oracle that secures billions in collateral across 200+ protocols on 110+ chains, with a focus on real-world assets, yield-bearing tokens, and stablecoins. On Stellar, RedStone delivers price feeds for XLM, BTC, ETH, USDC, EURC, PYUSD, USDT0, Ethena's USDe and sUSDe, and a growing set of tokenized assets including Franklin Templeton's BENJI and iBENJI, Etherfuse's CETES, EUROB, GILTS, KTB, MXNe, TESOURO, and USTRY, Ondo's USDY, Centrifuge's deJAAA and deJTRSY, Solv's SolvBTC and xSolvBTC, Matrixdock's XAUm, STBL's USST, Gami Capital's earnUSDC, Avant's savUSD, and ProShares' SPXU.

RedStone on Stellar uses a Push model. Off-chain relayers write signed, multi-source aggregated prices to on-chain contracts built in Rust on Soroban whenever a feed moves beyond its deviation threshold (0.01% to 0.5%, depending on the asset), or at least once per heartbeat (typically 12 or 24 hours) during quiet markets. Freshness is enforced at read time, so consuming contracts do not need their own staleness checks. Feeds are available two ways:

  • A single SEP-40-compliant contract that serves the supported Stellar assets through the standard lastprice, price, and prices interface. Protocols already integrated with a SEP-40 oracle can add RedStone without changing their contract logic.
  • Dedicated per-asset price feed contracts (MultiFeed), including BTC and ETH. Each one serves one feed and reads its latest value and timestamp from a shared adapter contract that stores all feeds.

The Stellar contracts were audited by Veridise and Zenith, and the code is open source in the stellar-connector package, which also ships a TypeScript client. Consuming contracts written in Rust can use the RedStone Rust SDK.

To integrate, see the RedStone Stellar documentation, including the Rust tutorial and TypeScript tutorial.

Integrations​

Deployed RedStone contracts​

AddressContractNetwork
CBMGLKUQZVSAIL5CPDDAWSUY7MAKXISHMOZEVLMBUWBMFGHRJSR4WYRFSEP-40 price oracle (supported Stellar assets)Mainnet
CBLEPHLNPTCW3DY2NF5BYCZVECIP2K6YWBA3JDTU3HMQV6AKXB5GKTXABTC/USD price feedMainnet
CBC3S2VH7CM3DLGC62QXM4UD4YKCQULRLENAEEO7ZZ6U4OMZIQ5B777OETH/USD price feedMainnet
CAXRDLYBL7ZNE754UX33XTVGTA7MNTIFWURTFJBTRKHPTNP2P36TU2ZFXLM/USD price feedMainnet
CC2GB2TZTX24XIAM375YDWUDXA3PR2GDMNFUL2Z5VNXUMKPPOBES3CXMUSDC/USD price feedMainnet
CA526Y2NQWGWVVQ7RFFPGAZMU66PSYJ3UC2MTVAV4ZU7OM5BOPHDXUSGMulti-feed adapter (stores all mainnet MultiFeed prices)Mainnet
CBIHT4HVRIT5OMVLSXZ44J2ZAXYBDDGOSCN3LTN2DOC6SWHDS5IP6BK3Multi-feed adapter (BTC, ETH, XLM, USDC, PYUSD, SolvBTC)Testnet
CA4ANRUJLWRNEY6JT46LP2O7YM2R7HJWYWWIQUPW3WQEYXTV7GHIPC3LBTC/USD price feedTestnet
CBCT7A5D5SBYUNXYD223N7ODZGENYJPEK32XNVWM3DJ4YFIWQGZUHWIMETH/USD price feedTestnet

The full list of Stellar feeds, per-asset contract addresses, and update conditions is in the RedStone app.

Request a custom feed​

For assets not yet available, or applications that need a specific configuration, RedStone can deploy custom feeds with a configurable pricing methodology, update conditions, and asset coverage.

→ Contact RedStone

Reflector Network​

The Reflector oracle protocol is a combination of specialized smart contracts and peer-to-peer consensus of data provider nodes maintained by trusted Stellar ecosystem organizations. Feeds include on-chain and off-chain asset prices, CEX & DEX exchange rates, foreign exchange rates, etc. Reflector nodes process, normalize, aggregate, and store trades information from Stellar Classic DEX, Soroban protocols, as well as external sources.

Publicly availble free price oracles are compatible with SEP40 ecosystem standard interface. Learn how to integrate Reflector feeds in their documentation.

Reflector Subscriptions provide a service for user-defined customized triggers invoked automatically once the price change for a specified symbol reaches a certain threshold. When the condition is met, cluster nodes simultaneously push a notification to the WebHook URL provided in the subscription and publish an on-chain proof of the triggered event.

Integrations​

Deployed Reflector public oracles​

AddressData SourceNetwork
CALI2BYU2JE6WVRUFYTS6MSBNEHGJ35P4AVCZYF3B6QOE3QKOB2PLE6MStellar Mainnet DEXMainnet
CAFJZQWSED6YAWZU3GWRTOCNPPCGBN32L7QV43XX5LZLFTK6JLN34DLNExternal CEXs & DEXsMainnet
CBKGPWGKSKZF52CFHMTRR23TBWTPMRDIYZ4O2P5VS65BMHYH4DXMCJZCFiat exchange ratesMainnet
CAVLP5DH2GJPZMVO7IJY4CVOD5MWEFTJFVPD2YY2FQXOQHRGHK4D6HLPStellar Mainnet DEXTestnet
CCYOZJCOPG34LLQQ7N24YXBM7LL62R7ONMZ3G6WZAAYPB5OYKOMJRN63External CEXs & DEXsTestnet
CCSSOHTBL3LEWUCBBEB5NJFC2OKFRC74OWEIJIZLRJBGAAU4VMU5NV4WFiat exchange ratesTestnet

Band​

Band is a cross-chain data oracle aggregating and connecting real-world data and APIs to smart contracts.

The protocol is built on top of BandChain, a Cosmos-SDK-based blockchain designed to be compatible with most smart contract and blockchain development frameworks.

The network is designed to modularize and offload the task of constatly monitoring price data and react to price changes across all asset classes from the smart contract platforms onto itself. This not only prevents such tasks from congesting or causing high transaction fees on the destination network, but the same data points can be packaged, used, and verified efficiently across multiple blockchains.

AddressNetwork
CCQXWMZVM3KRTXTUPTN53YHL272QGKF32L7XEDNZ2S6OSUFK3NFBGG5MMainnet
CBRV5ZEQSSCQ4FFO64OF46I3UASBVEJNE5C2MCFWVIXL4Z7DMD7PJJMFTestnet

To learn more about this oracle, please see their docs or visit their GitHub.

DIA Oracles​

DIA is a cross-chain, trustless oracle network that delivers verifiable price feeds. dApps on Stellar can consume these feeds from DIA's deployed contracts. DIA sources raw trade data directly from primary markets and supplies aggregated values on-chain, ensuring transparency and data integrity.

Key Features​

  • Complete verifiability from source to destination smart contract.
  • Direct data sourcing from 100+ primary markets eliminating intermediary risk.
  • Support for 20,000+ assets across all major asset classes.
  • Custom oracle configuration with tailored sources and methodologies.

Deployed DIA Oracles​

Oracle Contracts​

AddressData SourceNetwork
CAEDPEZDRCEJCF73ASC5JGNKCIJDV2QJQSW6DJ6B74MYALBNKCJ5IFP4External CEXs & DEXsTestnet

Supported Assets​

The DIA oracle on Stellar includes price feeds for the following assets:

AssetBlockchainAddressMarkets Overview
USDCEthereum0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48USDC Markets
BTCBitcoin0x0000000000000000000000000000000000000000BTC Markets
DIAEthereum0x84cA8bc7997272c7CfB4D0Cd3D55cd942B3c9419DIA Markets

Request a Custom Oracle​

For assets not currently available or dApps requiring specific configurations, DIA deploys production-grade custom oracles tailored to your requirements with configurable data sources, pricing methodologies, update triggers, and coverage for any of 20,000+ supported assets.

→ Request a Custom Oracle

Resources​

Pyth​

Pyth delivers real-time market data published first-party by exchanges, market makers, and banks: 3,500+ feeds across crypto, equities, ETFs, FX, commodities, and fixed income (US Treasury yields and prices) via Pyth Pro, plus Pyth Indices for 24/7 pricing of assets whose underlying markets follow exchange hours.

Pyth on Stellar uses a pull model. Applications obtain signed price updates off-chain over WebSocket or REST, then verify them on-chain through a cross-contract call to Pyth's deployed verifier contract using the pyth-lazer-stellar-sdk crate. On-chain verification is permissionless; receiving the data feeds requires a subscription (a 14-day free trial is available). The Stellar contracts were audited by Zellic.

To integrate, see the Pyth Pro Stellar integration guide. For background on the launch, how the pull model works on Stellar, and steps to verify the mainnet deployment yourself, read Real-Time Prices for Stellar's $4B Tokenized Assets Economy on the Stellar blog.

Deployed Pyth verifier contracts​

AddressNetwork
CACZ3GBAKUPIAFRILUFO27J5RUH5GJ2VSJ46LP6GJYSKGDRTQ5MS3HCHMainnet
CAYFT5JE3UQTKT4Q6ZOZK4FXVYVT6RE3MFC7STA4UB6WAEGBT65MRU52Testnet