Tool for fetching actual gasprice in ethereum blockchain
Project description
Ethereum gasprice: Actual gasprice for ethereum blockchain
Installation
TBD
Quickstart
from ethereum_gasprice import GaspriceController, GaspriceStrategy
ETHERSCAN_API_KEY = "..."
controller = GaspriceController(etherscan_api_key=ETHERSCAN_API_KEY)
actual_gasprice = controller.get_gasprice_by_strategy(GaspriceStrategy.FAST) # output: 69
Documentation
TBD
License
Ethereum gasprice is licensed under the terms of the MIT License (see the file LICENSE).
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ethereum-gasprice-1.0.0.tar.gz
.
File metadata
- Download URL: ethereum-gasprice-1.0.0.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.0 Darwin/17.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5515714fbe6d94b452597d958d145a48527af8281cb6ada9df1cfc82f7483ea |
|
MD5 | abda2a2ebe22489e091123363e745c4d |
|
BLAKE2b-256 | b78f2b6aeffb0d5badd95c14d65cc776241128ddf89ae4322692135909547f79 |
File details
Details for the file ethereum_gasprice-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: ethereum_gasprice-1.0.0-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.0 Darwin/17.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 227e1a671dfebba5b050782257e5a319ab9491f33c798daeb2802a4c8294bcab |
|
MD5 | 230c40fe6707c44de26082fd5581b2c1 |
|
BLAKE2b-256 | 39b762636b1bf98fc86279c4f2646b7a4b1834bf7f7e420dfe2d124db9fa09c5 |