POST
/
788f110831fe13808302bd79796d55e8
curl --request POST \
  --url https://nd-202-842-353.p2pify.com/788f110831fe13808302bd79796d55e8 \
  --header 'Content-Type: application/json' \
  --data '{
  "jsonrpc": "1.0",
  "method": "getrawmempool",
  "params": "<any>",
  "id": 1
}'
{
  "result": [
    "<any>"
  ],
  "error": {},
  "id": 123
}

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.

Body

application/json
jsonrpc
string
default:1.0
method
string
default:getrawmempool
params
any
id
integer
default:1

Response

200 - application/json
All transaction IDs in the mempool
result
any[]

An array of transaction IDs in the mempool

error
object
id
integer