Crypto & digital assets

Blockchain oracle

AdvancedAlso called price oracle, oracle network, decentralised oracle network

Plain meaning

A service that feeds outside information, such as prices, weather or sports scores, into a blockchain so smart contracts can act on it.

Like I’m three

A blockchain cannot look out of the window by itself. An oracle is like a friend who checks the weather and tells it, so it knows whether to hand out umbrellas.

In detail

Blockchains cannot fetch data from the outside world on their own; they only know what is recorded on-chain. An oracle bridges that gap by bringing in external data, most often asset prices, and publishing it for smart contracts to use. DeFi depends on oracles: a lending protocol needs the price of ether to decide when to liquidate a loan, and a stablecoin needs prices to check the value of its collateral. That creates the oracle problem: a contract is only as reliable as its data. If an attacker can push a price feed off, for example by trading heavily in a thin market, a protocol may lend too much or liquidate wrongly. Decentralised oracle networks such as Chainlink combine many independent sources to reduce the damage from a single bad feed. A common confusion: blockchain oracles have nothing to do with Oracle, the software company.

Example

Say a lending protocol reads a token's price from a single thinly traded exchange where it normally trades at $1. An attacker buys heavily and lifts it to $3, so 1 million tokens pledged as collateral appear to be worth $3 million instead of $1 million; at a 50% loan limit, the attacker can borrow $1.5 million against collateral really worth $1 million.

Save it, revise it

Open this word in the interactive dictionary to save it, quiz yourself and see every term it links to.

Open in the interactive dictionary

From the Finspire Dictionary, compiled by Finspire, the finance club of IPM at IIM Ranchi. Last updated . How entries are written and checked