calculate Estimates
fun calculateEstimates(mempoolSnapshots: List<MempoolSnapshot>, numOfBlocks: Double? = null): FeeEstimate(source)
Calculates fee estimates based on historical mempool snapshots.
This method analyzes the provided mempool snapshots to generate fee estimates for each block target and confidence level.
Return
A FeeEstimate object containing the calculated estimates.
Parameters
mempool Snapshots
A list of historical mempool snapshots, ideally covering at least the past 24 hours.
num Of Blocks
Optional specific block target to estimate for. If null or not positive, uses all default block targets.