Live
Data: CoinGecko
Language: EN

Crypto Glossary

Oracle

What is Oracle?

A blockchain oracle is a service that delivers outside data, such as asset prices, weather or sports results, to smart contracts, which cannot fetch information from the internet on their own.

Blockchains are closed systems, so a lending protocol cannot see the price of ETH unless someone posts it on-chain. Oracle networks such as Chainlink aggregate data from many sources and publish it for contracts to use.

Because so much value depends on these inputs, oracles are a prime target. Attackers have used flash loans to distort prices on thin markets that a protocol relied on, triggering bad loans or liquidations.

Robust oracle design uses multiple independent sources, time-weighted averages and sanity checks to make manipulation expensive.

Updated

Related news

← All glossary terms