from Mempool Transactions
fun fromMempoolTransactions(transactions: List<MempoolTransaction>, blockHeight: Int, timestamp: Instant = Instant.now()): MempoolSnapshot(source)
Creates a mempool snapshot from a list of mempool transactions.
This method processes the raw transactions, buckets them by fee rate, and creates a snapshot that can be used for fee estimation.
Return
A new MempoolSnapshot instance
Parameters
transactions
List of mempool transactions
block Height
Current block height
timestamp
When the snapshot is taken (defaults to now)