Skip to content

Add mempool.recent protocol method #13

Closed

Description

@craigraw

This call is useful for Electrum clients to introduce additional traffic from the server for transport level obfuscation. With the information from this method, the wallet sets up additional temporary subscriptions which then mimic the normal call patterns so that the wallet appears to have transactions in a supermajority of available blocks.


mempool.recent

Return a list of the last 10 transactions to enter the mempool. Each transaction object contains simplified overview data, with the fields txid, fee and vsize.

Signature

mempool.recent()

Result

An array of dictionaries with the following keys:

  • txid: The transaction hash as a hexadecimal string.
  • fee: The fee paid by the transaction.
  • vsize: The virtual size of the transaction.

Result Example

[
  {
    "txid": "4b93c138293a7e3dfea6f0a63d944890b5ba571b03cc22d8c66995535e90dce8",
    "fee": 18277,
    "vsize": 2585
  }
]

Activity

  1. SomberNight commented on May 22, 2026

    @SomberNight
    Member

    I agree this looks useful, as discussed before.

  2. added this to the protocol 1.7 milestone on May 22, 2026
  3. SomberNight commented on Jul 1, 2026

    @SomberNight
    Member

    done in #2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions