Skip to main content

transaction_entry RPC Method

Retrieves information on a single transaction from a specific ledger version

Updated on
Jun 11, 2026
This method does not support retrieving information from the current in-progress ledger. You must specify a ledger version in either ledger_index or ledger_hash.

Parameters

object
object
REQUIRED

The transaction_entry request object.

tx_hash
string

The unique hash of the transaction you are looking up

ledger_index
integer

The ledger index of the ledger to use, or a shortcut string to choose a ledger automatically

Returns

result
object

An object which contains the following fields:

tx_json
object

The tx_json object with the following fields:

Account
string

The unique address of the account that initiated the transaction

Amount
string

The amount of the transaction

Destination
string

The recipient of the transaction

Fee
string

The amount of XRP, in drops, to be destroyed as a cost for distributing this transaction to the network

Flags
integer

The set of bit-flags for this transaction

LastLedgerSequence
integer

The highest ledger index this transaction can appear in

Memos
array

The additional arbitrary information used to identify this transaction

Sequence
integer

The sequence number of the account sending the transaction

SigningPubKey
string

The hex representation of the public key that corresponds to the private key used to sign this transaction

TransactionType
string

The type of transaction. Valid transaction types include: Payment, OfferCreate, TrustSet, and many others

TxnSignature
string

The signature that verifies this transaction as originating from the account it says it is from

hash
string

The hash of the transaction

metadata
object

The metadata object which contain the following fields:

AffectedNodes
array

The AffectedNodes object which contain the following fields:

ModifiedNode
object

The ModifiedNode object which contain the following fields:

FinalFields
object

The content fields of the ledger object after applying any changes from this transaction

Account
string

The account related to the modified node

Balance
string

The balance of the account

Flags
integer

The set of bit-flags for this transaction

OwnerCount
integer

The number of owners for the account

Sequence
integer

The sequence number of the account

LedgerEntryType
string

The type of ledger object that was deleted

LedgerIndex
string

The ID of this ledger object in the ledger's state tree

PreviousFields
object

The previous values for all fields of the object that were changed as a result of this transaction

Balance
string

The previous balance of the account

Sequence
integer

The previous sequence number of the account

PreviousTxnID
string

The identifying hash of the previous transaction to modify this ledger object

PreviousTxnLgrSeq
integer

The Ledger Index of the ledger version containing the previous transaction to modify this ledger object

TransactionIndex
integer

The transaction's position within the ledger that included it

TransactionResult
string

A result code indicating whether the transaction succeeded or how it failed

delivered_amount
string

The currency Amount actually received by the Destination account

ledger_index
integer

The index of the ledger to retrieve information from

ledger_hash
string

The hash of the ledger where the transaction is stored

validated
boolean

It indicates whether the result has been validated

status
string

The status of the request

warnings
array

An array of warning objects, each containing the following fields:

id
integer

The ID of the warning

message
string

The warning message

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"result": {
6
"tx_json": {
7
"Account": "example_value",
8
"Amount": "example_value",
9
"Destination": "example_value",
10
"Fee": "example_value",
11
"Flags": 1,
12
"LastLedgerSequence": 1,
13
"Memos": [],
14
"Sequence": 1,
15
"SigningPubKey": "example_value",
16
"TransactionType": "example_value",
17
"TxnSignature": "example_value",
18
"hash": "example_value",
19
"metadata": {
20
"AffectedNodes": [
21
{
22
"ModifiedNode": {
23
"FinalFields": {
24
"Account": "example_value",
25
"Balance": "example_value",
26
"Flags": 1,
27
"OwnerCount": 1,
28
"Sequence": 1
29
},
30
"LedgerEntryType": "example_value",
31
"LedgerIndex": "example_value",
32
"PreviousFields": {
33
"Balance": "example_value",
34
"Sequence": 1
35
},
36
"PreviousTxnID": "example_value",
37
"PreviousTxnLgrSeq": 1
38
}
39
}
40
],
41
"TransactionIndex": 1,
42
"TransactionResult": "example_value",
43
"delivered_amount": "example_value"
44
}
45
},
46
"ledger_index": 1,
47
"ledger_hash": "example_value",
48
"validated": false,
49
"status": "example_value"
50
},
51
"warnings": [
52
{
53
"id": 1,
54
"message": "example_value"
55
}
56
]
57
}
58
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"result": {
6
"tx_json": {
7
"Account": "example_value",
8
"Amount": "example_value",
9
"Destination": "example_value",
10
"Fee": "example_value",
11
"Flags": 1,
12
"LastLedgerSequence": 1,
13
"Memos": [],
14
"Sequence": 1,
15
"SigningPubKey": "example_value",
16
"TransactionType": "example_value",
17
"TxnSignature": "example_value",
18
"hash": "example_value",
19
"metadata": {
20
"AffectedNodes": [
21
{
22
"ModifiedNode": {
23
"FinalFields": {
24
"Account": "example_value",
25
"Balance": "example_value",
26
"Flags": 1,
27
"OwnerCount": 1,
28
"Sequence": 1
29
},
30
"LedgerEntryType": "example_value",
31
"LedgerIndex": "example_value",
32
"PreviousFields": {
33
"Balance": "example_value",
34
"Sequence": 1
35
},
36
"PreviousTxnID": "example_value",
37
"PreviousTxnLgrSeq": 1
38
}
39
}
40
],
41
"TransactionIndex": 1,
42
"TransactionResult": "example_value",
43
"delivered_amount": "example_value"
44
}
45
},
46
"ledger_index": 1,
47
"ledger_hash": "example_value",
48
"validated": false,
49
"status": "example_value"
50
},
51
"warnings": [
52
{
53
"id": 1,
54
"message": "example_value"
55
}
56
]
57
}
58
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free