-
Couldn't load subscription status.
- Fork 3.3k
-
I looked it up in google and didn't find a godd explanation. What is aggregatorv3interface and what does it do???
Beta Was this translation helpful? Give feedback.
All reactions
In simple terms,
To interact and get realtime data from the outside world ( beyond the blockchain ), we need an oracle which will provide the smart contract with the real time data in the most decentralized way as possible. The way to communicate and fetch data from the oracle is through the API's or the interface which is exposed by the oracle.
In this case, aggregatorv3interface is an interface exposed by the chain link to get the realtime currency conversion rates (eg. USD to ETH) which can be used in the smart contract. So, just by calling the functions in aggregatorv3interface, the smart contract has access to the realtime currency conversion rates.
For detailed doc, you should refer...
Replies: 2 comments 3 replies
-
In simple terms,
To interact and get realtime data from the outside world ( beyond the blockchain ), we need an oracle which will provide the smart contract with the real time data in the most decentralized way as possible. The way to communicate and fetch data from the oracle is through the API's or the interface which is exposed by the oracle.
In this case, aggregatorv3interface is an interface exposed by the chain link to get the realtime currency conversion rates (eg. USD to ETH) which can be used in the smart contract. So, just by calling the functions in aggregatorv3interface, the smart contract has access to the realtime currency conversion rates.
For detailed doc, you should refer to: ChainLink PriceFeed
Beta Was this translation helpful? Give feedback.
All reactions
-
@h0leee In simple terms, it is a central hub which collects price data of different assets from nodes (which provides data) and provides the users with accurate data on-chain.
Beta Was this translation helpful? Give feedback.
All reactions
-
thanks so much guys
Beta Was this translation helpful? Give feedback.
All reactions
-
can you clarify one more thing? Im looking for the documentation of the deploy function that takes 2 parameters... Where can I find it?
Beta Was this translation helpful? Give feedback.
All reactions
-
Chainlink has changed it's github repo and FROZEN its contracts directory since 1st July 2025, and moved it to another repo.
Whoever needs to access their interfaces should go to the link ChainLink
image
Beta Was this translation helpful? Give feedback.