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
}
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
}
getrawmempool
method retrieves all transaction IDs currently in the mempool, providing a list of pending transactions.
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.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.All transaction IDs in the mempool
The response is of type object
.
Was this page helpful?