getmempoolancestors

Returns the in-mempool ancestors of a given transaction.

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
txidstringRequiredformat: "^[a-fA-F0-9]{64}$"

The transaction ID whose ancestors to retrieve.

verbosebooleanRequired

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
Getmempoolancestors Result1map from strings to objects