2.5. Fee Estimates¶
The Fee Estimates class is available in all explorers.
2.5.1. Usage¶
from bloxplorer import bitcoin_testnet_explorer as explorer
result = explorer.fees.get_estimates()
print(result.data)
"""
{
'2': 1,
'3': 1,
'4': 1,
'6': 1,
'10': 1,
'20': 1,
'144': 1,
'504': 1,
'1008': 1
}
"""
-
class
bloxplorer.fees.
Fees
(*args, **kwargs)¶ Wrapper class around the Esplora Fee Estimates endpoint.
Blockstream Esplora Fee Estimates API Docs
-
get_estimates
(**kwargs)¶ Get an object where the key is the confirmation target (in number of blocks) and the value is the estimated feerate (in sat/vB). The available confirmation targets are 2, 3, 4, 6, 10, 20, 144, 504 and 1008 blocks.
- Parameters
**kwargs – (Optional) Arguments that Requests takes.
- Returns
- class
Response object.
-