Explore these demo oracles to see how DIA works. For production deployments,
request a custom oracle and unlock the full power
of tailored data feeds for your dApp.
Demo Oracles
Oracle Contracts
Mainnet
Oracle Configuration
Available Asset Feeds
How to Access Data
To consume price data, use theupdates method for Push-based oracles.
The price updates are stored in both methods in an updates mapping. When accessing the updates mapping through the key BTC/USD, it will return the most recent price of BTC in USD with 8 decimal places (e.g. 9601458065403 is $96,014.58065403) along with the Unix timestamp of the last price update.
Below is a sample contract that consumes the BTC/USD price feed:
updates Method
Additional Details
You can find the contract addresses for the Sonic bridge’s components on mainnet below: Learn more about DIA’s cross-chain messaging layer here.Oracle Grants Program
The DIA Oracle Grants Program provides zero-cost oracle access for up to 1 year, covering deployment and update costs to accelerate dApp development on Sonic. Learn more about the grant here:DIA Oracle Grants Program | Apply Now
Request a Custom Oracle
DIA offers highly customizable oracles that are individually tailored to each dApp’s needs. Each oracle can be customized in the following ways, including:- Data Sources & Asset Feeds
- Pricing Methodologies
- Update Triggers (Frequency, Deviation, Heartbeat, …etc)