Etherscan API

Etherscan is a really useful website but fairly recently I discovered they also have a pretty handy Developer API. I used it to analyse gas a contract was using over a period of time and thought it might be useful to record.

Getting Started

First of all an API key is required and this can be created for free by logging in and going to: https://etherscan.io/myapikey.

I’m going to paste my code with comments which should be easy enough to follow. The API covers a whole lot of other end point such as Logs, Tokens, etc that I didn’t use but the docs are good and worth a scan.

Example

Photo by Markus Spiske on Unsplash

SITIR 6

🀝 Eth Network Discord Community – I liked the idea about this from DeFi Dudes tweet.

πŸ₯§ I’ve used RaspberryPi a lot and the new Pi 400 seems cool.

🎧 Uncommon Core seems like a good podcast to add to the list and this was an interesting thread discussing some of points made in the last episode.

πŸ§‘β€πŸ’» Then new Ethereum.org dev portal was released and is probably a go to resource now.

πŸ₯ͺ Mmmmmhhhh sandwiches!

πŸ‘©β€πŸ« 40 things I learned by age 40 by Sunday Soother has some really good advice worth re-reading every now and then.

I don’t really know much about yield curves and things but fixed rate lending/borrowing on Ethereum would be πŸ‘Œ

And along similar lines this Rise of the Cryptodollar article from Bankless discusses savings rates for crypto dollars.

πŸŒοΈβ€β™‚οΈ Didn’t realise half this stuff about the Masters finances and thought it was pretty interesting.

🧘 This so true:

Working on a problem reduces the fear of it.

It’s hard to fear a problem when you are making progress on itβ€”even if progress is imperfect and slow.

Action relieves anxiety.

James Clear 3-2-1