Remix VM (Cancun) cannot retrieve value from AggregatorV3Interface #6697
Replies: 2 comments
-
Hi @austinlight-aigeek No, you dont need to pay more gas. It works for Injected Provider - Metamask because you are probably using Sepolia testnet and there is AggregatorV3 contract deployed on Sepolia already under address If you run it locally and still using same address, so |
Beta Was this translation helpful? Give feedback.
-
The thing is, you have to use chainlink LINKS(you might have heard about them when you get sepolia tokens from chainlink website) to access data feeds from the chainlink network, as Remix VM (Cancun) is a devNet not a testNet it does not have any LINKS nor it has any connection with the chainLink datafeeds , this is the main reason |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to dig into details what AggregatorV3Interface does. I created simple library based on video tutorial.
When I deployed on Remix VM (Cancun), it fails to call
fetchPrice
function, only works for Injected Provider - Metamask.Is that I should pay some Gas for fetching function from Chainlink?
Beta Was this translation helpful? Give feedback.
All reactions