Skip to content

Extract Etherscan indexed data to csv format

License

Notifications You must be signed in to change notification settings

Git-on-my-level/etherscan-to-csv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

etherscan-to-csv

Extract Etherscan indexed data to csv format

Get started

Install

yarn install

Copy .env.example into .env and put in your Etherscan API key

You're ready to go!

Example commands

Run an extract for a token with address 0x45804880De22913dAFE09f4980848ECE6EcbAf78 starting at block 11300000 and endingn at block 11331000

yarn extract 0x45804880De22913dAFE09f4980848ECE6EcbAf78 11300000 11331000

Todos

  • Add test coverage
  • Add ability to export to json
  • Account for API throttling when not using an API key
  • Make querying logic more intelligent or more flexible to support higher tx throughput tokens
  • Support queries other than just token tx history

About

Extract Etherscan indexed data to csv format

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published