14

I was looking at feeds.chain.link and it's not immediately obvious if anyone can tap into all these price feeds without incurring a cost:

Chainlink Feeds

For instance, I did find the ETH/USD aggregator contract, which has a "latestAnswer" property that anyone can access for free. At the time of posting this question, its value is 37867000000 (1 ETH = $378.67).

Is there an aggregator for all pairs listed on feeds.chain.link?

2 Answers 2

17

On mainnet, sponsors are paying the LINK associated to keep those feeds live, decentralized, and secure, so they are not free. This allows the network to be a shared resource where everyone chips in a tiny bit and makes them even cheaper than running even your own centralized feed.

That being said, the price feeds are currently a simple view function, and anyone can technically use them as access controls are potentially on the roadmap. It’s not really economical or fair for those backers who are paying to support them for everyone else. Until access controls are built, please reach out if you are using them on mainnet and learn how you can contribute to keep them reliable honest, and secure.

3
  • 6
    Basically: "yes, it is free, but don't be a rent-seeker. Pay it forward if you're starting to derive a lot of value from Chainlink." Sep 15, 2020 at 14:06
  • "feeds" link is dead
    – MehmedB
    Mar 16 at 7:52
  • updated feeds link Apr 13 at 0:07
-2

Each request has a cost in LINK tokens. Usually it is 0.1 Link which includes the 18 decimals. So be sure to send some tokens to your contract before executing the oracle functions

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.