Oracles: How Do Smart Contracts Know What Happens Off-Chain?
Blockchains can verify on-chain transactions, but they don’t inherently know the dollar exchange rate or whether a flight is delayed. Oracles relay this external information to contracts for use in rules such as loan liquidations and insurance payouts.
The key isn’t just “putting data on-chain,” but where the data comes from, how often it’s updated, and what happens when something goes wrong. Aggregating data from multiple sources can reduce single-point risk, but it can’t guarantee absolute accuracy; incorrect or outdated quotes may trigger unreasonable liquidations.
To understand a DeFi protocol, you need to look not only at its contracts but also at whose data it trusts. This educational content is not investment advice.