DIA is a cross-chain oracle provider that sources granular market data from diverse exchanges, including CEXs and DEXs. Its data sourcing is thorough, enabling unparalleled transparency and customizability for resilient price feeds for 20,000+ assets. Its versatile data processing and delivery ensures adaptability and reliability for any decentralized application.Documentation Index
Fetch the complete documentation index at: https://www.diadata.org/docs/llms.txt
Use this file to discover all available pages before exploring further.
Oracle Details
| Chain | Address |
|---|---|
| Mainnet | Provider: diadata (hex. 64696164617461) Oracle Document ID: 42 |
| Testnet | Provider: diadata (hex: 64696164617461) Oracle Document ID: 1 |
Oracle Configuration
| Pricing Methodology | VWAPIR |
| Deviation (%) & Refresh Frequency | 1% and 120 seconds |
| Heartbeat | 24h |
Gas Wallets
The gas wallets used to push updates to the oracle are the following:| Chain | Address |
|---|---|
| Mainnet | rP24Lp7bcUHvEW7T7c8xkxtQKKd9fZyra7 |
| Testnet | r3U1mL5u2SCPr4mApqYyF96nvwvKoGf7aH |
Available Asset Feeds
| Asset Ticker | Asset Ticker (Hex) | Asset Markets |
|---|---|---|
| BTC | 4254430000000000000000000000000000000000 | BTC markets |
| ETH | 4554480000000000000000000000000000000000 | ETH markets |
| XRP | 5852500000000000000000000000000000000000 | XRP markets |
| RLUSD | 524C555344000000000000000000000000000000 | RLUSD markets |
| USDC | 5553444300000000000000000000000000000000 | USDC markets |
| USDT | 5553445400000000000000000000000000000000 | USDT markets |
| EUROP | 4555524F50000000000000000000000000000000 | EUROP markets |
How to Access Data
The DIA oracle object can be retrieved with the ledger_entry API call by specifying the account and oracle_document_id. This is the Request JSON for mainnet: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)