Skip to content
Alchemy Logo

getmempoolancestors

POST
/{apiKey}

Returns the in-mempool ancestors of a given transaction.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

stringformat: "^[a-fA-F0-9]{64}$"required

The transaction ID whose ancestors to retrieve.

booleanoptionaldefaults to false

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

Responses

200

The mempool ancestors of the specified transaction.

Was this page helpful?