0

So what I am trying to get is the top gas spenders, the following websites are displaying the data that I am interested in querying, but cannot find an endpoint for this information, so any knowledge on this much be appreciated.

https://ethgasstation.info/

https://etherscan.io/gastracker

Another question: With the web3 library, can I somehow get additional information regarding a token address, like images/icons?

1
  • You should focus on one issue at a time. For multiple issues, you can open additional questions. – Morten Sep 10 '20 at 9:43
0

ETH Gas Station has an API available which you can access through Defi Pulse. You can find the API documentation here. For the gas price specifically, use the api/ethgasAPI.json endpoint, which is described here. Note that you do need an API key, but you can get one for free on Defi Pulse.

1
  • that would get me that gas rates, I am looking for top gas spenders, if you see my websites that I listed as an example, you'd see that it is totally different data. – user63611 Sep 10 '20 at 9:52

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.