Etherscan.io API wrapper
Project description
Etherscan.io API wrapper
An Etherscan.io API wrapper, for Python.
Installation
pip3 install etherscan
Usage
import etherscan
es = etherscan.Client(
api_key='YOUR_API_KEY',
)
eth_price = es.get_eth_price()
eth_supply = es.get_eth_supply()
eth_balance = es.get_eth_balance('0x39eB410144784010b84B076087B073889411F878')
eth_balances = es.get_eth_balances([
'0x39eB410144784010b84B076087B073889411F878',
'0x39eB410144784010b84B076087B073889411F879',
])
gas_price = es.get_gas_price()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
etherscan-0.1.1.tar.gz
(2.1 kB
view hashes)
Built Distribution
Close
Hashes for etherscan-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49f6fd39d45d74314ccc5f5927e5281e0ca62bc8384bc51ff5fb6ea2d67ddf13 |
|
MD5 | 98f8874e25763cd0137202444817b1b9 |
|
BLAKE2b-256 | 9805bdb5815136416342f0a3c9084382d337d400325efbfebc58956f4a1f1755 |