I use the market.link to check available jobs and each job has its own price in terms of link. My question is how many times this fee will be paid?

For example:

Let's say the API GET request costs 0.01 link. If I trigger a function that triggers ORACLE for a GET call, are we going to pay only 0.01 no matter how many miners execute it? Or is it going to cost 0.01 x numberOfMiners since each transaction will run by all the miners of the network?

  • 1
    Miners get their payment in Ether. This 0.01 link fee sounds like something related specifically to Chainlink's system, which has nothing to do with mining of course. And as I explained to you in an answer on your previous question, the number of miners on the network has nothing to do with how much gas fee you pay for a given transaction. As far as you're concerned, you may assume that there's a single miner that you are paying to. Dec 3 '20 at 4:53

A few clarifications

  1. Chainlink is not mined, but paid to operators to request data
  2. Node operators set their own prices, so when you see a node operator is charging 0.1 LINK that is per API call / data request.
  3. When you make a request, you choose the specific oracle you want to use. 1 request goes to 1 oracle. If you want a decentralized answer (which you should) you make requests to several oracles. Each oracle you make a request to is paid the amount they charge. So if you want 7 oracles to respond, you send 7 individual requests each with their own payment.
  4. Price Feeds are examples of data that has already gone through the process above, and posted the data to make it public. So you don't have to make any requests since the data is already on-chain.

Similar to how blockchains have their own transaction gas, oracles have this oracle gas.

  • Thank you for your response. I am still unclear regarding the number of times the link needs to be paid. A transaction that requests, says ETH price, will send this request to oracles. This cost 0.1 link for example. To reach consensus on the ethereum network, this call will run by the other nodes. Do they need to pay as well? Dec 3 '20 at 15:30
  • @EmrahSarıboz I have updated the response Dec 3 '20 at 16:29
  • I realized that my question is not detailed enough to remove the uncertainty I have. Thus, I asked a new questions regarding this. I would appreaciate if you can look at it. Dec 4 '20 at 2:05

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.