9

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?

8

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 on the roadmap to be built at some point. 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.

1
  • 3
    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 '20 at 14:06
-1

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, privacy policy and cookie policy

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