Getmempoolancestors

getmempoolancestors

post

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.

Authorizations
api-keystringRequired
Body
jsonrpcstringRequiredExample: 1.0
idstringRequiredExample: getmempoolancestors
methodstring · enumRequiredPossible values:
Responses
chevron-right
200

Ancestor transaction(s) retrieved successfully

application/json
resultone ofOptional

If verbose is true, returns a JSON object where keys are txids and values are details about each ancestor. Otherwise, returns a simple array of txids.

string[]Optional

List of ancestor txids (if verbose = false)

or
errorobject · nullableOptional

Null if successful; otherwise contains error details

idstringOptional

The ID of the request

post
/

Last updated