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

The getmempoolinfo method provides information about the current state of the transaction mempool, including the number of transactions and related details.

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 object containing information about the transaction mempool, such as the number of transactions, size, and other relevant details.
  • 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 getmempoolinfo method is useful for monitoring the status and contents of the transaction mempool. It can help in understanding the volume of pending transactions and the overall state of the network.

Body

application/json

Response

200 - application/json
Information about the current state of the transaction mempool

The response is of type object.