curl --request POST \
--url https://nd-202-842-353.p2pify.com/788f110831fe13808302bd79796d55e8 \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "1.0",
"method": "getmempoolinfo",
"params": "<unknown>",
"id": 1
}
'{
"result": {},
"error": {},
"id": 123
}curl --request POST \
--url https://nd-202-842-353.p2pify.com/788f110831fe13808302bd79796d55e8 \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "1.0",
"method": "getmempoolinfo",
"params": "<unknown>",
"id": 1
}
'{
"result": {},
"error": {},
"id": 123
}getmempoolinfo method provides information about the current state of the transaction mempool, including the number of transactions and related details.
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.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.Was this page helpful?