2

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?

1

At the moment, the price feeds are a simple view function. So as of right now yes. There are backers who are sponsoring to keep paying the costs associated with keeping those feeds live, decentralized, and secure.

That being said, it’s not really economical or fair for those backers who are paying to support them for everyone else, so it’s subject to change.

The price feeds are a shared community resource, where ideally everyone who uses them chips in a tiny amount to keep them going, this makes them even more cost affective than even a centralized oracle.

| improve this answer | |
  • 1
    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." – Paul Razvan Berg Sep 15 at 14:06
0

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

| improve this answer | |

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.