zpywallet.fees.doge package
Submodules
zpywallet.fees.doge.blockcypher module
- class BlockcypherFeeEstimator(request_interval=(3, 1), api_key=None)[source]
Bases:
objectA class representing a Dogecoin fee rate estimator using Blockcypher.
- __init__(request_interval=(3, 1), api_key=None)[source]
Initializes an instance of the BlockcypherFeeEstimator class.
- Parameters:
request_interval (tuple) – A pair of integers indicating the number of requests allowed during a particular amount of seconds. Set to (0, N) for no rate limiting, where N > 0.
api_key (str) – The API key for accessing the Blockcypher API.
- get_fee_rate()[source]
Retrieves the current fee rate for Dogecoin transactions.
- Raises:
NetworkException – If the API request fails or the fee rate cannot be retrieved