Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Aggregatorv3interface #4571

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

I looked it up in google and didn't find a godd explanation. What is aggregatorv3interface and what does it do???

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: 2 comments 3 replies

Comment options

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

You must be logged in to vote
3 replies
Comment options

@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.

Comment options

thanks so much guys

Comment options

can you clarify one more thing? Im looking for the documentation of the deploy function that takes 2 parameters... Where can I find it?

Answer selected by alymurtazamemon
Comment options

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

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

AltStyle によって変換されたページ (->オリジナル) /