Parameters
- objectobjectREQUIRED
The transaction_entry request object.
- tx_hashstring
The unique hash of the transaction you are looking up
- ledger_indexinteger
The ledger index of the ledger to use, or a shortcut string to choose a ledger automatically
Returns
- resultobject
An object which contains the following fields:
- tx_jsonobject
The tx_json object with the following fields:
- Accountstring
The unique address of the account that initiated the transaction
- Amountstring
The amount of the transaction
- Destinationstring
The recipient of the transaction
- Feestring
The amount of XRP, in drops, to be destroyed as a cost for distributing this transaction to the network
- Flagsinteger
The set of bit-flags for this transaction
- LastLedgerSequenceinteger
The highest ledger index this transaction can appear in
- Memosarray
The additional arbitrary information used to identify this transaction
- Sequenceinteger
The sequence number of the account sending the transaction
- SigningPubKeystring
The hex representation of the public key that corresponds to the private key used to sign this transaction
- TransactionTypestring
The type of transaction. Valid transaction types include: Payment, OfferCreate, TrustSet, and many others
- TxnSignaturestring
The signature that verifies this transaction as originating from the account it says it is from
- hashstring
The hash of the transaction
- metadataobject
The metadata object which contain the following fields:
- AffectedNodesarray
The AffectedNodes object which contain the following fields:
- ModifiedNodeobject
The ModifiedNode object which contain the following fields:
- FinalFieldsobject
The content fields of the ledger object after applying any changes from this transaction
- Accountstring
The account related to the modified node
- Balancestring
The balance of the account
- Flagsinteger
The set of bit-flags for this transaction
- OwnerCountinteger
The number of owners for the account
- Sequenceinteger
The sequence number of the account
- LedgerEntryTypestring
The type of ledger object that was deleted
- LedgerIndexstring
The ID of this ledger object in the ledger's state tree
- PreviousFieldsobject
The previous values for all fields of the object that were changed as a result of this transaction
- Balancestring
The previous balance of the account
- Sequenceinteger
The previous sequence number of the account
- PreviousTxnIDstring
The identifying hash of the previous transaction to modify this ledger object
- PreviousTxnLgrSeqinteger
The Ledger Index of the ledger version containing the previous transaction to modify this ledger object
- TransactionIndexinteger
The transaction's position within the ledger that included it
- TransactionResultstring
A result code indicating whether the transaction succeeded or how it failed
- delivered_amountstring
The currency Amount actually received by the Destination account
- ledger_indexinteger
The index of the ledger to retrieve information from
- ledger_hashstring
The hash of the ledger where the transaction is stored
- validatedboolean
It indicates whether the result has been validated
- statusstring
The status of the request
- warningsarray
An array of warning objects, each containing the following fields:
- idinteger
The ID of the warning
- messagestring
The warning message
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": 129},30"LedgerEntryType": "example_value",31"LedgerIndex": "example_value",32"PreviousFields": {33"Balance": "example_value",34"Sequence": 135},36"PreviousTxnID": "example_value",37"PreviousTxnLgrSeq": 138}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": 129},30"LedgerEntryType": "example_value",31"LedgerIndex": "example_value",32"PreviousFields": {33"Balance": "example_value",34"Sequence": 135},36"PreviousTxnID": "example_value",37"PreviousTxnLgrSeq": 138}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}