getmempoolancestors

Returns the in-mempool ancestors of a given transaction.

Path parameters

apiKeystringRequiredDefaults to docs-demo

Request

This endpoint expects an object.
txidstringRequiredformat: "^[a-fA-F0-9]{64}$"
The transaction ID whose ancestors to retrieve.
verbosebooleanOptionalDefaults to false

Whether to return detailed info (true) or just txids (false).

Response

The mempool ancestors of the specified transaction.
list of strings
A list of ancestor transaction IDs.
OR
map from strings to objects