Example code for the getmempooldescendants json-rpc method. Сomplete guide on how to use getmempooldescendants json-rpc in GetBlock.io Web3 documentation.
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