Home

tx

POST
https://xrp.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Retrieves information about a specific transaction by its hash. This method searches across multiple ledgers to find the transaction and returns comprehensive details including the transaction data, metadata about ledger changes, and validation status.

Body

application/json

Retrieves information about a specific transaction by its hash. This method searches across multiple ledgers to find the transaction and returns comprehensive details including the transaction data, metadata about ledger changes, and validation status.

JSON-RPC request payload.

methodstringtxrequired

The JSON-RPC method name

paramsArray<object>required

Ordered JSON-RPC method parameters.

Show child attributes
transactionstringrequired

The unique hash of the transaction to look up. This is the primary identifier for transactions in the XRP Ledger.

binaryboolean

If true, return transaction data as hex strings instead of JSON. When false (recommended), transactions are returned in parsed JSON format.

min_ledgerinteger

(Optional) The minimum ledger index to search from.

max_ledgerinteger

(Optional) The maximum ledger index to search to.

api_versioninteger

(Optional) The API version to use. Version 2 provides enhanced response formatting including the CTID (Compact Transaction ID) field.

Response

200OK

HTTP 200 response for tx. The body contains either a successful result or a method-level JSON-RPC error.

400Bad Request

Bad Request. The request body is malformed or contains invalid JSON-RPC parameters.

401Unauthorized

Unauthorized: API key is present but rejected by the NOWNodes gateway.

405Method Not Allowed

Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.

422Unprocessable Entity

Missing API key. The NOWNodes gateway returns plain text for this error.

500Internal Server Error

Internal Server Error. The gateway or node failed while processing the request.