This is a mininal API written in Python for the Etherscan API.
Unlike other APIs, returned data is processed and converted to expected units, rather than as a string.
Accounts (source)
Balance
BalanceMultiple
TransactionList
InternalTransactionList
InternalTransactionListByHash
InternalTransactionListByBlock
ERC20TokenTransferEvents
ERC721TokenTransferEvents
BlocksMined
HistoricalEtherBalance
Proxies (source)
BlockNumber
BlockByNumber
UncleByBlockNumberAndIndex
BlockTransactionCountByNumber
TransactionByHash
TransactionByBlockNumberAndIndex
TransactionCount
SendRawTransaction
TransactionReceipt
Call
Code
GasPrice
EstimateGas
Firstly you'll need an Etherscan API key.
After, you can pip-install
git clone https://github.com/MathieuTuli/etherscan-python-api.git
cd etherscan-python-api
pip install .
PyPi coming soon
- Add PRO endpoints
- Add add optional formattings to accounts urls
- Default url formats for certain options