Skip to main content

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

ethereum-gasprice-1.0.0.tar.gz (4.9 kB view hashes)

Uploaded Source

Built Distribution

ethereum_gasprice-1.0.0-py3-none-any.whl (8.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page