# Blockchain oracles: getting observations into contract decisions

An oracle supplies information that a contract cannot obtain directly from its own chain state, such as an external market price. Blockchain consensus can agree on the stored answer without proving the outside fact is correct. A usable feed also needs the right asset, units, update timing and failure handling.

Evidence: [Oracles](https://ethereum.org/developers/docs/oracles/); [Data Feeds API Reference](https://docs.chain.link/data-feeds/api-reference)

Canonical: https://degreesofsatoshi.com/encyclopedia/blockchain-oracles/
Published: 2026-10-02
Substantively modified: 2026-10-02
Independently verified by an automated reviewer: 2026-10-02T15:08:18.373Z

AI-assisted research and drafting with a separate automated source-verification pass; no external expert or named human review is implied.

## Key facts

- **Boundary:** Recording data on-chain does not prove its external truth. ([Oracles](https://ethereum.org/developers/docs/oracles/))
- **Scaling:** Feed decimals are needed to interpret a reported answer. ([Data Feeds API Reference](https://docs.chain.link/data-feeds/api-reference))
- **Freshness:** latestRoundData exposes an updatedAt timestamp. ([Data Feeds API Reference](https://docs.chain.link/data-feeds/api-reference))

## A price can decide a financial state transition

A lending contract needs a common unit to compare collateral with debt. The balances may be on-chain, but their relative market value comes from observations. A price feed supplies the value used in that calculation.

The contract checks rules against its supplied input. If that input is stale, manipulated or scaled incorrectly, otherwise consistent code can produce an inappropriate result. Consensus on execution and correctness of the observation are separate properties.

Evidence: [Oracles](https://ethereum.org/developers/docs/oracles/)

## Interpret a value together with its metadata

Suppose a hypothetical feed reports 250,000,000 and specifies eight decimals. The represented value is 2.5 quote units, not 250 million. The token’s own decimals need not match the feed’s decimals.

A timestamp establishes when a reported observation was updated. It does not by itself state whether that age is acceptable: the application needs a policy suitable for the feed’s update model and the decision being made. Chainlink’s cited interface exposes these fields but does not choose every integrator’s limits.

Evidence: [Data Feeds API Reference](https://docs.chain.link/data-feeds/api-reference)

## Read the specific feed’s assumptions

Identify which market and asset a feed measures, the data providers or aggregation process, update conditions and what the consuming application does on failure. A feed for an underlying asset is not automatically a price for a bridged claim or a receipt token.

Redundancy can reduce some failure modes while leaving shared dependencies. Several data paths that ultimately depend on the same thin market can share the same weakness. Inspect sources and economic context rather than count endpoints.

Evidence: [Selecting Quality Data Feeds](https://docs.chain.link/data-feeds/selecting-data-feeds); [Oracles](https://ethereum.org/developers/docs/oracles/)

## Questions

### Can a blockchain prove an oracle’s price is correct?

It can verify the on-chain computation or signatures required by that oracle design. That does not by itself prove that the outside market observation accurately represents the intended asset and time.

Evidence: [Oracles](https://ethereum.org/developers/docs/oracles/)

## Claims and scope

### blockchain-oracles-quick-answer

An oracle supplies information that a contract cannot obtain directly from its own chain state, such as an external market price. Blockchain consensus can agree on the stored answer without proving the outside fact is correct. A usable feed also needs the right asset, units, update timing and failure handling.

Scope: {"collection":"defi","dataAsOf":null,"blockHeight":null}

### blockchain-oracles-fact-boundary

Boundary: Recording data on-chain does not prove its external truth.

Scope: {"collection":"defi","dataAsOf":null,"blockHeight":null}

### blockchain-oracles-fact-scaling

Scaling: Feed decimals are needed to interpret a reported answer.

Scope: {"collection":"defi","dataAsOf":null,"blockHeight":null}

### blockchain-oracles-fact-freshness

Freshness: latestRoundData exposes an updatedAt timestamp.

Scope: {"collection":"defi","dataAsOf":null,"blockHeight":null}

## Sources

- [Oracles](https://ethereum.org/developers/docs/oracles/) — ethereum.org contributors. External observations and the trust boundary between data and consensus. Locator: What is an oracle?; The oracle problem. Retrieved: 2026-10-02.
- [Data Feeds API Reference](https://docs.chain.link/data-feeds/api-reference) — Chainlink. Feed values, decimal scaling and the updatedAt timestamp. Locator: decimals; latestRoundData. Retrieved: 2026-10-02.
- [Selecting Quality Data Feeds](https://docs.chain.link/data-feeds/selecting-data-feeds) — Chainlink. Feed-specific assumptions, liquidity and integration risk. Locator: Data Feed Categories; Market pricing risk by category; Risk Mitigation. Retrieved: 2026-10-02.

## Revision history

- 2026-10-02: First publication after primary-source research and independent automated verification.
- 2026-10-02: Before first publication, independent review checked and revised: sources. Read Ethereum’s oracle boundary/problem and Chainlink decimals/latestRoundData plus feed-category/integration risks. Recomputed250000000/10^8=2.5. QA, facts and limitations distinguish consensus on recorded data from external truth and correctly require asset/units/freshness scope. Tightened source locator to actual Market pricing risk headings.

## Cite this entry

Degrees of Satoshi editorial project. “Blockchain oracles: getting observations into contract decisions.” Published 2026-10-02; updated 2026-10-02. https://degreesofsatoshi.com/encyclopedia/blockchain-oracles/
