Aggregated Price Feed
1 min read
Pronunciation
[ə-greg-ay-təd prys feed]
Analogy
An aggregated price feed is like checking several weather apps and averaging their temperature forecasts to get a more accurate prediction.
Definition
A smart contract–based oracle that collects price data points from multiple sources, applies filtering (e.g. median, mean), and publishes a single reliable price to on‑chain consumers.
Key Points Intro
Aggregated feeds enhance on‑chain price reliability by combining multiple oracle inputs.
Key Points
Decentralization: Multiple independent nodes submit prices.
Outlier resistance: Median or trimmed mean filters remove anomalies.
Update cadence: Configurable rounds control freshness vs. cost.
Access control: Only authorized oracles may submit data.
Example
Chainlink’s ETH/USD Aggregator contract collects rates from 20 oracle nodes, discards the highest and lowest 2, and posts the median price every minute.
Technical Deep Dive
Aggregator contracts implement `submitRoundData` with parameters (roundId, answer, timestamp). On submission, the contract stores responses in a circular buffer, computes the median via on‑chain sorting algorithms, and emits `AnswerUpdated` events. Off‑chain nodes use keeper networks to trigger updates. Governance modules adjust `roundInterval`, `restartDelay`, and oracle list.
Security Warning
If a majority of oracles collude or are compromised, the aggregated price can be manipulated. Diversify data sources and monitor submission patterns.
Aggregated Price Feed - Related Articles
No related articles for this term.