Skip to main content

What Is a Price Oracle and How Does It Prevent Manipulation in DeFi?

A price oracle is a third-party service that provides real-world data, such as asset prices, to smart contracts on the blockchain. Since blockchains are closed systems, they cannot access external data directly.

Oracles act as a bridge. To prevent manipulation, they often use a decentralized network of nodes to source data from multiple reputable exchanges and sources.

By aggregating this data and using mechanisms like weighted averages or medianizers, they create a single, reliable price point that is resistant to manipulation from a single source.

How Do Decentralized Derivatives Platforms Use Oracles to Prevent Manipulation of Collateral Value?
What Is the Danger of an “Oracle Manipulation Attack”?
How Does the Calculation of the Reference Rate Prevent Price Manipulation?
How Does a TWAP Oracle Differ from a Volume-Weighted Average Price (VWAP) Oracle?