pub async fn fetch_mempool_transactions<Mempool>(
    mempool: Mempool,
    chain_tip_hash: Hash
) -> Result<Option<Vec<VerifiedUnminedTx>>>
where Mempool: Service<Request, Response = Response, Error = BoxError> + 'static, Mempool::Future: Send,
Expand description

Returns the transactions that are currently in mempool, or None if the last_seen_tip_hash from the mempool response doesn’t match the tip hash from the state.

You should call check_synced_to_tip() before calling this function. If the mempool is inactive because Zebra is not synced to the tip, returns no transactions.