Parameters
- objectobjectREQUIRED
The tx request object.
- transactionstringREQUIRED
The 256-bit hash of the transaction, as hex
- binaryboolean
If true, return transaction data and metadata as binary serialized to hexadecimal strings
Returns
- resultobject
An object which contains 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
- dateinteger
The timestamp of the transaction, represented as the number of seconds since the Unix epoch
- 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"Account": "example_value",7"Amount": "example_value",8"Destination": "example_value",9"Fee": "example_value",10"Flags": 1,11"LastLedgerSequence": 1,12"Memos": [],13"Sequence": 1,14"SigningPubKey": "example_value",15"TransactionType": "example_value",16"TxnSignature": "example_value",17"hash": "example_value",18"metadata": {19"AffectedNodes": [20{21"ModifiedNode": {22"FinalFields": {23"Account": "example_value",24"Balance": "example_value",25"Flags": 1,26"OwnerCount": 1,27"Sequence": 128},29"LedgerEntryType": "example_value",30"LedgerIndex": "example_value",31"PreviousFields": {32"Balance": "example_value",33"Sequence": 134},35"PreviousTxnID": "example_value",36"PreviousTxnLgrSeq": 137}38}39],40"TransactionIndex": 1,41"TransactionResult": "example_value",42"delivered_amount": "example_value"43},44"ledger_index": 1,45"date": 1,46"validated": false,47"status": "example_value"48},49"warnings": [50{51"id": 1,52"message": "example_value"53}54]55}56}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"result": {6"Account": "example_value",7"Amount": "example_value",8"Destination": "example_value",9"Fee": "example_value",10"Flags": 1,11"LastLedgerSequence": 1,12"Memos": [],13"Sequence": 1,14"SigningPubKey": "example_value",15"TransactionType": "example_value",16"TxnSignature": "example_value",17"hash": "example_value",18"metadata": {19"AffectedNodes": [20{21"ModifiedNode": {22"FinalFields": {23"Account": "example_value",24"Balance": "example_value",25"Flags": 1,26"OwnerCount": 1,27"Sequence": 128},29"LedgerEntryType": "example_value",30"LedgerIndex": "example_value",31"PreviousFields": {32"Balance": "example_value",33"Sequence": 134},35"PreviousTxnID": "example_value",36"PreviousTxnLgrSeq": 137}38}39],40"TransactionIndex": 1,41"TransactionResult": "example_value",42"delivered_amount": "example_value"43},44"ledger_index": 1,45"date": 1,46"validated": false,47"status": "example_value"48},49"warnings": [50{51"id": 1,52"message": "example_value"53}54]55}56}