تخطَّ إلى المحتوى الرئيسي

Oracle

Intermediate

أوراكل البلوك تشين

Also known as: Blockchain Oracle, Data Oracle

Cryptocurrencies
Last updated

Definition reviewed before publishing

Our content team writes and reviews every definition before it is published, and revisits it when the way a term is used in the markets changes. The date shows the latest change to this term.

Last updated on 9 November 2026

A blockchain oracle is a service that brings data from the outside world into smart contracts, such as currency and share prices, event results and weather conditions, because smart contracts cannot access off-chain data on their own. It acts as a bridge between the blockchain and external sources. Chainlink is one of the best-known oracle networks.

Quick summary

• A service that feeds external data into smart contracts. • Essential for pricing in decentralised finance. • Bad data can cause liquidations and losses.

How it works

Decentralised finance applications need accurate, up-to-date prices to work: a lending protocol needs the collateral price to know when to liquidate a position, and a derivatives platform needs the asset price to settle contracts. An oracle gathers prices from multiple sources, such as centralised exchanges and data providers, calculates an aggregate value and sends it to the contract on the chain. Decentralised oracle networks rely on many independent operators to reduce dependence on a single source. The oracle problem is one of the main weak points of decentralised finance, because wrong or manipulated data can trigger unfair liquidations or theft of funds; attackers have previously exploited oracles that relied on a thinly traded price source to manipulate entire protocols.

Example

A lending protocol uses an oracle for the price of ether. A user deposits 10 ether as collateral when the price is 3,000 dollars, worth 30,000 dollars, and borrows 20,000 dollars. If the oracle sends a wrong price of 2,000 dollars, the collateral appears to be worth only 20,000 dollars, and the position may be unfairly liquidated even though the real price has not changed.

Where you will see it

In decentralised finance project documentation that names its price sources, in security audit reports, in news about hacks involving price manipulation, and on oracle network websites.

Why it matters

It highlights one of the main sources of risk in decentralised finance and explains why protocols use multiple, reliable price sources.

How it is calculated

Aggregate price is often = the median of prices from several sources. Source deviation = (source price - aggregate price) ÷ aggregate price × 100.

How it differs from similar terms

• Smart contract: the program that uses oracle data to execute its conditions. • Traditional API: moves data between centralised systems, while an oracle delivers it to contracts on a blockchain. • Cross-chain bridge: moves assets between different chains, not external data.

Common mistakes

Assuming smart contracts know prices automatically, or that data recorded on a chain is always correct. They rely on oracles, and data quality depends on the quality of its sources.

Related terms