Share this article

What Is a Blockchain Oracle?

An oracle sends data from the outside world to a blockchain so specific data, like temperature, can execute the disbursement of money.

Updated Feb 1, 2024, 6:28 p.m. Published Dec 22, 2020, 11:00 p.m.
viva-luna-studios-7s2ip7OVktg-unsplash

An "oracle" sends data from the outside world, such as the daily temperature or the number of votes a political candidate received, to a blockchain such as Ethereum. A smart contract on the blockchain can then use the data, typically to make a decision about whether to dispense money and to whom.

Here’s a more concrete example: Farmers sometimes purchase agricultural derivatives, which provide insurance in case drought wipes out her crops. If the weather doesn't go the farmer’s way one season, the derivative will pay her a lump sum to make up for the losses.

STORY CONTINUES BELOW
Don't miss another story.Subscribe to the The Protocol Newsletter today. See all newsletters

An oracle helps an Ethereum smart contract perform this sequence of tasks automatically. Smart contracts are tools made possible by blockchains such as Ethereum, which execute the terms of a relationship only if the correct conditions are met. Ethereum also happens to support the world’s second-largest cryptocurrency by market cap, ether.

For example, at the end of a season, a weather oracle described above might inform the smart contract that it rained only 10 days or less this season. It sends this information directly to the smart contract, which then knows it is supposed to pay the farmer.

Conversely, if the season sees more than enough rain, the weather oracle will inform the smart contract, and the farmer will not be paid.

What are the problems with oracles?

The defining quality of a blockchain like Ethereum is that it’s able to run smart contracts. Once programmed, the smart contract is fully controlled by the blockchain; no entity needs to be trusted to execute the rules, and no middleman can prevent the transaction from taking place, assuming the conditions for the smart contract are met. The contract simply does what it's programmed to do.

However, an oracle is a data feed run by an entity; in the above example, it’s a weather oracle. Blockchains like Ethereum were created to move away from third parties, yet an oracle is one.

Trusting a data source can lead to issues. The owner of an oracle’s data feed, for example, could post inaccurate data in order to sway smart contracts in favor of the data feed owner. Alternatively, someone could hack the data feed to sway the data in their favor.

Smart contracts that are not dependent on oracles don't have this problem. That said, researchers are exploring various ways to mitigate this issue and create oracles that are more decentralized or otherwise protected against bad actors. One such area of research is for oracle computers to use Trusted Execution Environments (TEEs), special areas of hardware with extra security, making them difficult to tamper with.

What applications use oracles?

Many Ethereum applications use oracles. Prediction market Augur, for instance, lets participants bet on what will happen in the future. For example, participants could have bet "yes" or "no" on the question: "Will Joe Biden win the 2024 election?" Augur would use data from oracles to figure out whether or not Biden won, thus settling the bet.

Other platforms, such as Chainlink, make oracles a central part of their platforms, and have explored various ways to make oracles resistant to false information.

More For You

Pudgy Penguins: A New Blueprint for Tokenized Culture

Pudgy Title Image

Pudgy Penguins is building a multi-vertical consumer IP platform — combining phygital products, games, NFTs and PENGU to monetize culture at scale.

What to know:

Pudgy Penguins is emerging as one of the strongest NFT-native brands of this cycle, shifting from speculative “digital luxury goods” into a multi-vertical consumer IP platform. Its strategy is to acquire users through mainstream channels first; toys, retail partnerships and viral media, then onboard them into Web3 through games, NFTs and the PENGU token.

The ecosystem now spans phygital products (> $13M retail sales and >1M units sold), games and experiences (Pudgy Party surpassed 500k downloads in two weeks), and a widely distributed token (airdropped to 6M+ wallets). While the market is currently pricing Pudgy at a premium relative to traditional IP peers, sustained success depends on execution across retail expansion, gaming adoption and deeper token utility.

More For You

MegaETH mainnet to go live Feb. 9 in major test of ‘real-time’ Ethereum scaling

(MegaLabs)

This follows its October 2025 $450 million token sale that was heavily oversubscribed.

What to know:

  • MegaETH, the much-watched high-performance Ethereum layer-2 network, announced that its public mainnet will go live Feb. 9, marking a major milestone for a project that has gained a lot of attention in the scaling landscape.
  • MegaETH positions itself as a “real-time” blockchain for Ethereum, designed to deliver ultra-low latency and massive transaction throughput.