What is a blockchain oracle?
Key points
- Blockchain oracles are algorithms that relay data between a smart contract and an off-chain source outside the network where the contract is deployed.
- Decentralised applications widely use oracles across DeFi, GameFi, insurance, NFTs and other sectors.
- The largest oracle provider is Chainlink. Other players include Band Protocol, Berry Data, Kylin Protocol, DIA and others.
What problem do blockchain oracles solve?
Most actions in decentralised applications are executed via smart contracts. To function, they may need diverse data from external sources—for example, to compute an accurate exchange rate between two cryptocurrencies during a swap.
External data—particularly from platforms that aggregate trading and price information across many exchanges—enable the calculation of a “fair” price that closely tracks the market.
Yet a smart contract cannot fetch information beyond the blockchain on which it runs. Oracles bridge this gap, mediating between the contract and the required data source.
Blockchain oracles are algorithms that typically run on nodes of a given blockchain.
What types of blockchain oracles exist?
Oracles are classified by operating model, data sources and flow direction, and by organisational form. Below are the most common types.
Software and hardware
Software oracles pull data from digital sources—databases, servers and cloud storage—and relay it in real time. Hardware oracles collect data via physical devices: smart sensors, chips, barcode scanners, RFID tags and so on.
Inbound and outbound
Oracles can specialise—either delivering information to contracts or sending it from contracts to external systems. Such specialisation can improve reliability and reduce single points of failure.
Centralised and decentralised
A centralised oracle is run by a single operator, typically for its own application. This model appeared first, but concerns over vulnerabilities have pushed the industry towards decentralised oracle networks. These combine many oracles; a subset of nodes is chosen, and each handles part of a request. Chainlink was the first project to implement decentralised blockchain oracles.
Contract-specific
An expensive, labour-intensive model in which a dedicated oracle serves a single smart contract. If several contracts are deployed, a corresponding number of oracles must be developed.
Cross-chain compatible
Services designed to pass data between different blockchains, solving network incompatibility. They are useful for decentralised applications that perform cross-chain operations, such as converting one crypto-asset into another.
Computational
Specialised oracles whose task is to perform resource-intensive computations that are impractical to execute on-chain owing to technical and cost constraints.
Where are blockchain oracles used?
Today, oracles in crypto are used to deliver data streams, notably price feeds. These are tables listing price values by date alongside their sources. Feeds allow smart contracts to obtain cryptocurrency quotes from centralised trading platforms and trade aggregators.
For example, in the Band oracle project, as of June 2022, reference prices are available for 75 cryptocurrencies, each with its own set of sources. The price of Cosmos (ATOM) is derived by aggregating quotes from CoinGecko, CryptoCompare, CoinMarketCap, Binance, Huobi Pro and Coinbase Pro.
Oracle technology is used in algorithmic stablecoins. One example is Ampleforth. The AMPL stablecoin maintains its peg through a rebasing model. To keep a 1:1 relationship with the dollar, the number of tokens in holders’ wallets changes in proportion to AMPL’s market price.
To do this, Chainlink oracles provide the Ampleforth protocol with aggregated AMPL/USD data from several aggregators. In addition, oracles also deliver the current US consumer price index from official sources, allowing the protocol to account for dollar inflation during rebasing.
Data sources are not limited to crypto-related applications. Depending on the use case, oracles can be connected to providers of, for example, weather statistics or a country’s consumer price index.
What else can blockchain oracles do?
Oracles can do more than deliver quotes. Chainlink provides verifiable randomness (VRF) for contracts in applications where a random outcome is important, such as blockchain games.

The Polychain Monsters project uses VRF to determine loot-box contents, randomise NFT attributes and select winners in airdrops.
Games also use VRF to create engaging and unpredictable gameplay, in particular to randomise character attributes. In Aavegotchi, a user collects valuable crystals on the game map and takes part in various mini-games with “NFT ghosts” (Aavegotchi). When a participant receives an Aavegotchi at the start of the game, a random level is assigned via VRF.
Which projects are developing blockchain oracles?
Chainlink is the acknowledged leader in decentralised oracles. Its ecosystem comprises more than 1300 projects across DeFi, NFTs and GameFi. Chainlink has no standalone network: it deploys nodes across various blockchains whose applications it serves. Chainlink oracles run on Solana, Ethereum and EVM-compatible networks including BNB Chain, Arbitrum, Optimism, Polygon, Avalanche and Fantom.
Band Protocol is another notable provider, with roughly 80 integrations. Unlike Chainlink, the project runs on its own BandChain blockchain built with Cosmos SDK. Band also develops WebAssembly tools that let developers create oracles. BandChain is governed by a network of validators. It works with applications on Celo, Oasis and Cronos. The native coin is BAND.
Other sizeable oracle providers include:
- Berry Data — an oracle system on BNB Chain. When off-chain data are requested, Berry Data operators compete to submit values to a shared “data bank” (Berry data bank) available to all applications on BNB Chain. In April 2022 it counted about 170 integrations.
- DIA (Decentralised Information Asset) — a cross-chain, open-source information platform that provides access to verified market data for decentralised applications. The project has a DIA governance token.
- Kylin Network — a decentralised oracle and data-infrastructure platform for DeFi and Web3 based on the Polkadot Substrate framework.
Рассылки ForkLog: держите руку на пульсе биткоин-индустрии!