Home

getmempoolancestors

POST
https://grs.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Modified in Groestlcoin Core 31.0.0 > 32.1.0:

  • The bip125-replaceable response field is omitted by default; available only with node startup flag -deprecatedrpc=bip125.

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