Oracle
A blockchain oracle is a system that provides smart contracts with information from outside the blockchain, such as asset prices, interest rates, sports results, weather data, or other external information.
✦ Key Insight
Blockchains cannot automatically know what happens outside their own network. DeFi lending, derivatives, stablecoins, prediction markets, and synthetic assets often depend on reliable oracle data. If an oracle provides inaccurate or manipulated information, smart contracts can make incorrect decisions.
✕ Common Misconceptions
Assuming oracle data is automatically accurate
Ignoring update frequency
Using protocols with weak oracle design
Confusing an oracle with a block explorer
Underestimating manipulation risk in illiquid assets
Detailed Explanation
How It Works
An oracle network may gather data from:
Crypto exchanges
Market-data providers
APIs
Banks
Sensors
Other blockchains
It then aggregates and publishes the information on-chain.
FAQs
Why can’t a smart contract check prices directly?
Blockchains need an external mechanism to bring off-chain information into the network.
Can oracles fail?
Yes.
Are decentralised oracles safer?
They can reduce single-source risk, but design quality still matters.
In Practice
Dig Deeper
Smart Contract
A smart contract is self-executing code stored on a blockchain that automatically performs actions when certain conditions are met.
DeFi
Short for “Decentralized Finance,” it refers to financial applications built on blockchain networks that operate without traditional intermediaries.
Liquidation
Liquidation occurs when a leveraged trading platform forcibly reduces or closes a position because the trader no longer has enough margin to satisfy the required maintenance margin.
