Price Oracles
Decentralised finance is a fascinating tool in which individuals (be it tech or financial savvy or not) may participate with the potential to make gains or even losses.
There are a lot of uncertainties in the decentralised finance space, and understanding one more factor to how things work function will be beneficial to your decision-making.
Jumping into the main topic, Price Oracles what are they? To be more accurate, they should be referred to as “Data Aggregators”.
Popular Price Oracles:
- Chain Link
- Band Protocol
- Wink Link
- Razor Network
What is a Price Oracle?
They are a bridge to provide an accurate on-chain price feed of a certain token or coin (asset) by aggregating the price of the targeted asset from various sources.
Sources can be from other on-chain platforms like decentralised exchanges and off-chain platforms like centralised exchanges and other price aggregating sites.
How do they work?
These Price Oracles obtain the relevant information from various sources and assign a weightage based on the reliability of the source of information. Aggregation of the data by weightage is performed before pushing it on-chain for decentralised platforms to use.
Get Crypto Facts’s stories in your inbox
Join Medium for free to get updates from this writer.
How are they decentralised?
True decentralisation only happens when the price is pushed on-chain, before that the price aggregation is done off-chain within the Price Oracle’s network of sub-aggregators who act as validators to validate that the price provided by each sub-aggregator is accurate before it is taken into account to the final aggregated price of the asset.
The only point of centralisation is at the aggregated price complier before the price is pushed on-chain.
How are they incentivised?
The sub-aggregators are incentivised to provide accurate data in order to receive an allocation of Price Oracle tokens which can be minted on-chain to be sold or exchanged to sustain their operations.
The Price Oracle tokens are bought by other protocols or users to pay the Price Oracles for services to provide a certain token price or data feeds on-chain.
Why Data Aggregators and Not Price Oracles?
Simply because they provide more than price feed services, some other services are like validation of data and number randomisation services.
Validation of data is similar to validating price feeds but in data sets, like historical prices or other number sets that analysts require to perform their predictions. Hence, the integrity of the information is important.
Number randomisation services are required, for integrity purposes for certain protocols like those which provide gambling games and prefer a third-party service provider to provide the random numbers to calculate the outcome of the games.
Fun fact, true randomness is not random enough, hence pseudo-randomness had to be used for more randomness.
Why does Decentralised Finance need Price Oracles?
Before the use of Price Oracles, Decentralised Finance Protocols relied on price references from a single source, namely from DEXs. It was sub-optimal at best but did not pose a huge problem until the creation of flash loans.
Flash loans allowed for price manipulation of the prices from DEX liquidity pools, where the price reference was obtained, creating over or under valuation of collaterals from borrowing protocols. Resulting in the draining of lending pools.
Hence, more sources of price reference were required to mitigate these events.








