- Notifications
You must be signed in to change notification settings - Fork0
A minimal, yet complete, python API for Etherscan.io.
License
secureonelabs/etherscan-python
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
A minimal python API foretherscan.io.
Most of the free webhooks from theAccounts,Contracts,Transactions andTokens modules are supported. Their example use-cases are summarizedhere.
Before proceeding, you should register an account on etherscan.io and generate a personal API key to use.
Assumingconda is already installed on your system, first create the environment:
conda env create -f env.yml
Activate the environment:
conda activate etherscan-python
Then, install the package:
pip install.conda activate etherscan-python&& bash run_tests.shInpython, create a client with your personal etherscan.io API key:
frometherscan.clientimportClientapi_key=YOUR_API_KEYconfig_path="etherscan/configs/stable.json"client=Client.from_config(config_path,api_key)
Then you can call all available methods, e.g.:
client.get_eth_balance(address="0xddbd2b932c763ba5b1b7ae3b362eac3e8d40121a")> ('40891631566070000000000','OK')
Powered byEtherscan.io APIs.
About
A minimal, yet complete, python API for Etherscan.io.
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Languages
- Python99.8%
- Shell0.2%