DIA Technical Structure
Tutorials for Contributors
Access the Oracle
Crypto Index Value
DeFi Protocol Lending and Borrowing Rates
Polkadot Offchain Worker
NEAR Request Oracle
Overview of Data Points
Contributor Covenant Code of Conduct
Security Bounty Program
How do I access DEX quotations using the DIA oracle system?
The oracle contains information about Fiat prices. You can access a quotation of the current fiat price rate as well as the timestamp of the last update.
oracle smart contract
being the short fiat name such as
. You can use the "Read" section on Etherscan to execute this call.
The response of the call contains four values:
The fiat price in USD with a fix-comma notation of five decimals.
Not used in this asset class.
of the last oracle update.
The short name of the protocol, e.g.,
Export as PDF