T
iTokenly
DefinitionDeFi

Oracle

A service that brings real-world or off-chain data onto a blockchain so smart contracts can use it.

An oracle is a data service that supplies a blockchain with information it cannot access on its own, such as asset prices, interest rates, weather data, sports results, or proof that a payment occurred elsewhere. Smart contracts are deterministic: they can read data already on the chain, but they cannot independently browse websites or verify outside events. Oracles bridge that gap by collecting, validating, and publishing external data in a format smart contracts can read.

Oracles matter because many DeFi applications depend on accurate outside data. A lending protocol may use a price oracle to determine the value of a borrower’s collateral, while a derivatives platform may use one to settle contracts based on market prices. For example, if a smart contract needs the ETH/USD price, it can query an oracle network rather than trusting a single exchange feed. Because bad or manipulated oracle data can cause losses or incorrect contract actions, many systems use multiple data sources, independent node operators, and aggregation methods to reduce reliance on any one provider.

Other terms in DeFi