In this track: How people use Ethereum
intermediate · 3 MIN READ

Oracles in financial apps

Price inputs can determine borrowing, liquidations and swaps.

LET’S PICTURE IT

A cashier using the wrong price board can follow the arithmetic perfectly and still produce the wrong economic outcome.

SEE IT FOR YOURSELF
Receive, check and share across independent nodesStep 1 / 4
Receive, check and share across independent nodesIncoming dataCandidate instructionNot yet trustedNode AReceives the messageApplies local checksEach participant has a local view of incoming informationNode A checksAuthorizationProtocol validityValid candidateEligible for next stepsNot a finality promiseApplication safety is a different claim from protocol validityNode AShares checked dataNode BChecks for itselfNode CChecks for itselfNode ARules checked✓Node BRules checked✓Node CRules checked✓Agreement on history adds the consensus mechanism

A node receives a proposed transaction or block-related message. Receipt is not the same as accepting its claims.

Animated local teaching model. No wallet, RPC or live blockchain data. Some labels and hashes are abbreviated for readability.

The application needs a reference

A contract may need to compare two assets or decide whether collateral is sufficient. Its oracle mechanism supplies a value under an explicit data and verification process.

Freshness and units matter

A signed or authenticated value can still be stale or interpreted with the wrong decimal scale. A correct signature does not automatically establish that the price is timely or appropriate.

Manipulation resistance depends on design

A spot quote from a thin market can have different properties from an aggregate or time-based mechanism. The contract must use the intended source and handle exceptional conditions.

Trace the consequences

Ask which actions use the value and how a bad input propagates. Learning the ABI shape helps inspect a call, while assessing oracle safety needs implementation and market context.

QUICK CHECK · NO PRESSURE

Does a validly signed price automatically prove it is fresh?

Your progress stays in this browser.
Keep exploring the original referenceethereum.org ↗

Original explanations by EtherTools. Examples are educational and source-linked; this site is independent of the Ethereum Foundation. Our approach.