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.2.tar.gz
(2.0 kB
view hashes)
Built Distribution
Close
Hashes for etherscan-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e15aeefec4481114ff5e3e86531e37a53c8bf1a708060867a6e4c4cdd8664bc6 |
|
MD5 | dd2c72c4508c0d213594177eb0bb7ecb |
|
BLAKE2b-256 | f9d09e533ed898df5c14a76be8ce4b2d627d2efea1a0ae65beba836dcd13e108 |