Skip to main content
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.

Oracle Details

Oracle Configuration

Available Asset Feeds

The Stacks oracle includes the following asset feeds:

How to Access Data

You can query for assets like "STX/USD" or "stSTX/USD" in the get-value() read function. It returns two values:
  1. The price of STX/USD with 8 decimals
  2. The timestamp of the last update (UTC timezone)
Below is the DIA oracle contract implementation in Clarity:

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 Stacks. 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)
Get a tailored oracle for your dApp, request one below:

Request Custom Oracle

Support

For developer assistance, connect with the DIA team directly on Discord or Telegram.