curl --request POST \
--url https://nd-202-842-353.p2pify.com/788f110831fe13808302bd79796d55e8 \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "1.0",
"method": "getmempooldescendants",
"params": [
"48b46e5905386ea21ff94d2be67dd7a75cc177c53e301d1ca29c5721d502793e"
],
"id": 1
}
'{
"result": "<array>",
"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": "getmempooldescendants",
"params": [
"48b46e5905386ea21ff94d2be67dd7a75cc177c53e301d1ca29c5721d502793e"
],
"id": 1
}
'{
"result": "<array>",
"error": {},
"id": 123
}getmempooldescendants method retrieves all in-mempool descendants for a specific transaction in the mempool.
txid (required) — the transaction ID for which to retrieve in-mempool descendants.result — an array containing all in-mempool descendant transactions for the specified transaction.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.getmempooldescendants method is useful for exploring the descendants of a transaction in the mempool. It provides insights into the chain of transactions that depend on the specified transaction.Was this page helpful?