getmempoolancestors
POST
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Modified in Groestlcoin Core 31.0.0 > 32.1.0:
- The
bip125-replaceableresponse field is omitted by default; available only with node startup flag-deprecatedrpc=bip125.
Returns all in-mempool ancestor transactions for a given transaction ID. An ancestor is a transaction whose outputs are used as inputs in another transaction. You can get a summary or detailed object output.
Body
application/json
jsonrpcstringrequiredidstringrequiredmethodstringgetmempoolancestorsrequiredparamsArray<string | boolean>requiredParameters:
txid(string, required) — Transaction ID to query.verbose(boolean, optional) — Whether to return a JSON object or just an array of txids. Default is false.
Response
200OK
Ancestor transaction(s) retrieved successfully
401Unauthorized
Unauthorized
500Internal Server Error
Internal Server Error