Skip to main content

tx_history RPC Method

Returns some of the most recent transactions made

Updated on
Oct 4, 2023

tx_history RPC Method

This method is deprecated, and may be removed without further notice.

Parameters

start
integer
REQUIRED
The number of transactions to skip over

Returns

result
object
The details of the result
index
integer
status
string
txs
array
The transaction object which contains the following fields:
Account
string
The account address
Fee
string
The fee paid for the NFT transaction
Flags
integer
The flag value associated with the transaction
Sequence
integer
The sequence number of the account that sent the NFT transaction
SigningPubKey
string
The public key used for signing the NFT transaction
TakerGets
object
The TakerGets object which contains the following fields:
currency
string
The currency of the taker
issuer
string
The issuer of the currency
value
string
The value of the amount
TakerPays
object
The TakerPays object which contains the following fields:
currency
string
The type of currency
issuer
string
The iaddress of the account that issued the currency
value
string
The value of the amount
TransactionType
string
The type of transaction
TxnSignature
string
The cryptographic signature of the transaction
hash
string
The unique hash value that identifies the transaction
inLedger
integer
The ledger index in which the transaction was included
ledger_index
integer
he ledger index in which the transaction was included
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
1
curl https://docs-demo.xrp-mainnet.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{
5
"method": "tx_history",
6
"params": [{
7
"start": 0,
8
"ledger_index": "current"
9
}],"id":1,"jsonrpc":"2.0"}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free