Oracle Feed
1 min read
Pronunciation
[awr-uh-kl feed]
Analogy
Like a live news ticker updating stock prices on your screen every few seconds.
Definition
A continuous stream of data—such as prices, weather, or random numbers—provided by an oracle network and updated on‑chain at defined intervals.
Key Points Intro
Oracle feeds deliver regularly updated external data to smart contracts.
Key Points
Update interval: Frequency of on‑chain data refresh.
Data type: Numeric, boolean, or structured payloads.
Reliability: Guaranteed by SLA and collateralization.
Versioning: Round IDs track historical values.
Example
Chainlink’s BTC/USD feed updates every minute with the latest median price.
Technical Deep Dive
Feed contract stores `rounds[roundId] = { answer, startedAt, updatedAt }`. Nodes call `submitAnswer(roundId, answer)` and contract emits `AnswerUpdated` events.
Security Warning
Stale feeds can trigger incorrect contract logic; monitor `updatedAt` against threshold.
Caveat
High-frequency feeds increase gas costs; balance freshness with expense.
Oracle Feed - Related Articles
No related articles for this term.