get_mempool_ancestors
Retrieve all unconfirmed ancestor transactions for a given mempool transaction to analyze CPFP (Child Pays For Parent) scenarios and understand transaction dependencies.
Instructions
Get all unconfirmed ancestor transactions of a mempool transaction. Useful for CPFP analysis.
Args: txid: Transaction hash (64 hex characters)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"txid": "<txid>"
},
"name": "get_mempool_ancestors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| txid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |