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
| Chain | Address |
|---|---|
| Boba ETH Mainnet | 0xB3519a1760F3A16934a890F19E67A98cBF1e0859 |
| Boba ETH Sepolia | 0x907e7f6bd9653e4188da89e4f2d3ea949dcec076 |
Oracle Configuration
| Parameter | Value |
|---|---|
| Pricing Methodology | VWAPIR |
| Deviation (%) & Refresh Frequency | Mainnet: 0.2% and 60 seconds, Testnet: 0.2% and 15 seconds |
| Heartbeat | 1h |
Available Asset Feeds
| Asset Ticker | AssetQuery Key | Asset Markets |
|---|---|---|
| BTC | BTC/USD | BTC Markets |
| ETH | ETH/USD | ETH Markets |
| USDC | USDC/USD | USDC Markets |
| USDT | USDT/USD | USDT Markets |
| DAI | DAI/USD | DAI Markets |
| BOBA | BOBA/USD | BOBA Markets |
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)