getmempoolancestors
POST
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
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