orb.misc.mempool module

orb.misc.mempool.get_fees(which=None, use_prefs=True, network='mainnet')

Get Mempool fees from mempool.space.

>>> fees = get_fees()
>>> fees['fastestFee'] >= 1
True
>>> fees["halfHourFee"] >= 1
True
>>> fees['hourFee'] >= 1
True
>>> fees['minimumFee'] >= 1
True
>>> get_fees('fastestFee') >= 1
True