getrawmempool | Bitcoin

The getrawmempool method retrieves all transaction IDs currently in the mempool, providing a list of pending transactions.

👍

Get you own node endpoint today

Start for free and get your app to production levels immediately. No credit card required.

You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

  • None

Response

  • result — an array containing all transaction IDs in the mempool.
  • error — an object containing an error message if an error occurred, otherwise null.
  • id — an integer representing the ID of the request, used to match requests with responses.

Use case

The getrawmempool method is useful for obtaining a snapshot of all pending transactions in the mempool. It can be used to analyze the current state of the network and pending transaction activity.

Try the getrawmempool RPC method yourself

Language
Click Try It! to start a request and see the response here!