Skip to content

Aggregatorv3interface #4571

Answered by shivamt24
h0leee asked this question in Q&A
Jan 22, 2023 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

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: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@alymurtazamemon
Comment options

@h0leee
Comment options

@h0leee
Comment options

Answer selected by alymurtazamemon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants