Home

getmempoolancestors

POST
https://xvg.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-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
jsonrpcstringrequired
idstringrequired
methodstringgetmempoolancestorsrequired
paramsArray<string | boolean>required

Parameters:

  1. txid (string, required) — Transaction ID to query.
  2. verbose (boolean, optional) — Whether to return a JSON object or just an array of txids. Default is false.
Show child attributes
One of
string
boolean

Response

200OK

Ancestor transaction(s) retrieved successfully

401Unauthorized

Unauthorized

500Internal Server Error

Internal Server Error