// Web3 fundamentals

    What is Oracle?

    An oracle is a service that brings verified off-chain data — prices, interest rates, asset valuations, event outcomes — onto a blockchain so smart contracts can react to the real world.

    Also known as: blockchain oracle · oracle network · price feed

    In plain terms

    Blockchains cannot see outside themselves. An oracle is the messenger that tells a smart contract what the dollar price of an asset is, whether a loan payment arrived, or whether an insured event happened.

    The oracle is a point of trust: if it reports bad data, every contract relying on it acts on bad data.

    How it works

    Oracle networks collect data from multiple sources, aggregate it and publish it on-chain at regular intervals. Decentralized designs use many independent reporters and require consensus among them.

    Smart contracts read these on-chain values instead of calling the internet directly, which keeps execution deterministic.

    Design choices — how many sources, how often updates publish, what happens when data stalls — determine how much an application can rely on the feed.

    Example

    Hypothetical: a lending contract accepts a token as collateral against a stablecoin loan. It reads the token's price from an oracle feed, and when the price falls so the loan becomes under-collateralized, the contract liquidates part of the collateral automatically.

    Why it matters for founders and investors

    For tokenized assets and private credit, oracles are how off-chain facts — appraisals, payment status, NAV — become usable on-chain. Their quality defines how much the on-chain record can be trusted.

    For founders integrating oracles, the questions are source quality, update frequency and fallback behavior when a feed stops updating.

    Common misconceptions

    Oracles do not verify truth in any absolute sense; they report what their sources say, aggregated. A feed built on unreliable sources is unreliable no matter how decentralized its reporters are.

    Frequently asked questions

    Why do smart contracts need oracles?

    Smart contracts can only read data that exists on their blockchain. Anything from outside — market prices, documents, real-world events — must be delivered by an oracle for the contract to use it.

    What is an oracle attack?

    It is an exploit where an attacker manipulates the data an oracle reports, for example by distorting a thinly traded price feed, to trigger favorable liquidations or mispriced trades. Applications mitigate it with multiple sources and safeguards against thin markets.

    Related terms

    Last reviewed: 2026-10-12

    Educational content only. Not investment, legal, tax or financial advice. Rules vary by jurisdiction.