[INDEXER] Search for Transactions
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
CHANGELOG — Cardano Rosetta Java 2.3.3 → 2.4.0 Breaking response content: omit zero-value script-withdrawal reward operations; transactions[].transaction.operations may have fewer entries and shifted indexes. Describe operations in the response schema, previously missing from this page.
/search/transactions allows the caller to search for transactions that meet certain conditions. Some conditions include matching a transaction hash, containing an operation with a certain status, or containing an operation that affects a certain account. /search/transactions is considered an "indexer" endpoint and Rosetta implementations are not required to complete it to adhere to the Rosetta spec. However, any Rosetta "indexer" MUST support this endpoint.
Version 2.4.0 (breaking response-content change): Cardano Rosetta Java 2.4.0: zero-value script withdrawals are omitted from the transaction operations array (no reward-withdrawal operation is emitted for them). The array may therefore contain fewer operations than in 2.3.3, and subsequent operation_identifier.index values may shift. Non-zero withdrawals remain represented.
Body
Request value.
network_identifierNetworkIdentifierrequiredRosetta network identifier object.
operatorOperatororandOperator value.
max_blockinteger<int64>>= 0max_block is the largest block index to consider when searching for transactions. If this field is not populated, the current block is considered the max_block. If you do not specify a max_block, it is possible a newly synced block will interfere with paginated transaction queries (as the offset could become invalid with newly added rows).
offsetinteger<int64>>= 0offset is the offset into the query result to start returning transactions. If any search conditions are changed, the query offset will change and you must restart your search iteration.
limitinteger<int64>>= 0limit is the maximum number of transactions to return in one call. The implementation may return <= limit transactions.
transaction_identifierTransactionIdentifierRosetta transaction identifier object.
account_identifierAccountIdentifierRosetta account identifier object.
coin_identifierCoinIdentifierRosetta coin identifier object.
currencyCurrencyRosetta currency object.
statusstringstatus is the network-specific operation type.
typestringtype is the network-specific operation type.
addressstringaddress is AccountIdentifier.Address. This is used to get all transactions related to an AccountIdentifier.Address, regardless of SubAccountIdentifier.
successbooleansuccess is a synthetic condition populated by parsing network-specific operation statuses (using the mapping provided in /network/options).
Response
HTTP 200 response for searchTransactions.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or backend failed while processing the request.