Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

Latest commit

 

History

History

on-chain-data-by-address

Extracting on-chain data from a list of Ethereum public addresses


In this notebook, we leverage Etherscan API to extract the following information from a list of public addresses (retrieved from the file defined on ADDRESS_LIST):

  • Current ETH balance
  • Token transfers and swaps
  • Current tokens balance

To run this notebook locally, follow the steps below:

Install dependencies:

virtualenv venv
source venv/bin/activate
pip3 install -r requirements.txt

Add API keys:

Please add your Etherscan API info and the public address list to the .env file:

cp .env_example .env
vim .env

Start Jupyter server:

jupyter notebook

Output:

The three dataframes for this exercise are saved into .csv files inside the directory ./output.

◼️