Home

transaction_entry

POST
https://xrp.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns information about a specific transaction from a particular ledger version. This method allows you to retrieve transaction details by specifying both the transaction hash and the ledger index where it was included. This is more specific than the tx method which searches across multiple ledgers.

Body

application/json

Returns information about a specific transaction from a particular ledger version. This method allows you to retrieve transaction details by specifying both the transaction hash and the ledger index where it was included. This is more specific than the tx method which searches across multiple ledgers.

JSON-RPC request payload.

methodstringtransaction_entryrequired

The JSON-RPC method name

paramsArray<object>required

Ordered JSON-RPC method parameters.

Show child attributes
tx_hashstringrequired

The 256-bit hash of the transaction to look up. This uniquely identifies the transaction across the entire ledger history.

ledger_hashstring

(Optional) A 20-byte hex string identifying a specific ledger version to search in. Either ledger_hash or ledger_index must be specified.

ledger_indexinteger

The ledger index of the ledger to search in. Either ledger_hash or ledger_index must be specified.

binaryboolean

If true, return transaction data as hex strings instead of JSON.

Response

200OK

HTTP 200 response for transaction_entry. 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.