A service that feeds real-world data (prices, weather, sports scores) to smart contracts on the blockchain.
A blockchain oracle is a service that provides external, real-world data to smart contracts, which otherwise cannot access information outside their blockchain. Smart contracts are deterministic — they can only process on-chain data. To execute logic based on asset prices, weather conditions, sports scores, or election results, they need oracles as trusted data bridges. Chainlink is the dominant oracle network, securing tens of billions in DeFi value by feeding reliable price data to lending protocols (which need accurate prices for liquidations) and DEXs. The 'oracle problem' is fundamental: if smart contracts are only as reliable as their data feeds, the oracle becomes a critical trust assumption. Solutions include decentralized oracle networks (Chainlink, Band Protocol), first-party oracles (API3), and on-chain oracles (Uniswap TWAP). Oracle manipulation remains a significant attack vector — several DeFi exploits have occurred through manipulating price feeds.
Blockchain oracles are the critical data bridges connecting smart contracts to the real world. Smart contracts are deterministic — they can only process on-chain data. Without oracles feeding price data, lending protocols couldn't calculate liquidation thresholds, derivatives couldn't settle, and insurance contracts couldn't verify claims. Chainlink dominates the oracle market, securing over $15 billion in DeFi value through its decentralized oracle network. Oracle manipulation remains one of the most common DeFi attack vectors: by feeding incorrect price data, attackers can trigger illegitimate liquidations or drain lending protocol reserves. Solutions include decentralized oracle networks with multiple independent data sources, time-weighted average prices (TWAPs) that resist short-term manipulation, and first-party oracles where data providers sign data directly. The 'oracle problem' — how to trustlessly bring off-chain data on-chain — is fundamental to blockchain's interaction with the real world.
When Aave liquidates an underwater borrower, it relies on Chainlink price feeds to determine the asset's value — if the oracle reported a wrong price, billions in DeFi positions could be incorrectly liquidated.
Smart contracts are only as reliable as their data. If an oracle reports an incorrect ETH price, lending protocols could liquidate healthy positions or allow undercollateralized borrowing. Oracle manipulation has caused hundreds of millions in DeFi losses. This is why oracle decentralization and multiple data source verification are critical.