btc

Bitcoin (BTC)

Method: POST getmempooldescendants

dropdown

POST getmempooldescendants

If txid is in the mempool, returns all in-mempool descendants.

Parameters

txid - string, required

The transaction id (must be in mempool)

verbose - boolean, optional, default=false

True for a json object, false for array of transaction ids

Request

curl --location --request POST 'https://btc.getblock.io' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json' 
--data-raw '{"jsonrpc": "2.0",
"method": "getmempooldescendants",
"params": ["a4aef4dd6721ff3e39a6f9b55d87ec2b72bc5bb55ea806ba75aa6c27b2a335df", null],
"id": "getblock.io"}'


Response

{
    'result': ['ed01bd6ab467dd75c39f3659853a3b3a53d31397df02bcaf00f1c888e088fd05'], 
    'error': None, 
    'id': 'getblock.io'
}
GetBlock.io

Get access to 40+ blockchain nodes right now! GetBlock provides a fast and reliable connection for the most popular cryptocurrencies` nodes.

Subscribe

Email is invalid

Products
For developers
Contact

Technical support:

support@getblock.io

General inquiries:

marketing@getblock.io

To contact Us:

Schedule a Call

2019 - 2021 GetBlock