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.
Oracle Contracts
Oracle Configuration
Available Asset Feeds
How to Access Data
getValue Method
Call thegetValue() function on the oracle contract with the Query Symbol (e.g., “BTC/USD”). The function returns the asset price with 8 decimal precision and the timestamp of the last update.
Solidity Example
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)