Sandbox version
For experimental use only. Proceed with caution.
Account Methods
Get transaction history for an account
wss://honeycluster.io
rpc method: account_tx

Returns a list of transactions that affected the specified account. Supports pagination and ledger range filtering.

Try it now
Response · account_tx WS Response
{
  "result": {
    "account": "rG1QQv2nh2gr7RCZ1P8YYcBUKCCN633jCn",
    "ledger_index_min": 32570,
    "ledger_index_max": 89012345,
    "limit": 10,
    "transactions": [
      {
        "meta": {
          "TransactionResult": "tesSUCCESS"
        },
        "tx": {
          "Account": "rG1QQv2nh2gr7RCZ1P8YYcBUKCCN633jCn",
          "TransactionType": "Payment",
          "hash": "E08D6E9754025BA2534A78707605E0601F03ACE063687A0CA1BDDACFCD1698C7"
        },
        "validated": true
      }
    ]
  },
  "status": "success",
  "type": "response",
  "id": 1
}
Request Message
account_tx WS Request
application/json
Get transaction history for an account
FieldTypeDescription
command
required
string
WebSocket command name
id
object
Client-supplied identifier to correlate requests with responses.
account
string
The account whose transactions to retrieve.
ledger_index_min
integer
Minimum ledger index to search. Use -1 for the earliest available.
ledger_index_max
integer
Maximum ledger index to search. Use -1 for the latest available.
ledger_index
object
A ledger index (sequence number) or shortcut string identifying which ledger to use.
ledger_hash
string
256-bit hex hash identifying a specific ledger version.
binary
boolean
If true, return data in binary (hex) format instead of JSON.
forward
boolean
If true, return results sorted in ascending (oldest-first) order.
limit
integer
Maximum number of results to return. Clio servers may return more than this.
marker
object
Opaque pagination marker from a previous response. Pass unchanged to fetch the next page.
api_version
object
API version for the response format. Version 2 is the default for rippled 2.0+.
Example
Json
{
  "command": "account_tx",
  "id": 1,
  "account": "rG1QQv2nh2gr7RCZ1P8YYcBUKCCN633jCn",
  "ledger_index_min": -1,
  "ledger_index_max": -1,
  "limit": 10,
  "forward": false
}
Response Message
account_tx WS Response
application/json
WebSocket response for account_tx
FieldTypeDescription
result
object
status
enum<string>
Available
successerror
type
string
id
stringnumber
Echo of the client-provided correlation ID
Example
Json
{
  "result": {
    "account": "rG1QQv2nh2gr7RCZ1P8YYcBUKCCN633jCn",
    "ledger_index_min": 32570,
    "ledger_index_max": 89012345,
    "limit": 10,
    "transactions": [
      {
        "meta": {
          "TransactionResult": "tesSUCCESS"
        },
        "tx": {
          "Account": "rG1QQv2nh2gr7RCZ1P8YYcBUKCCN633jCn",
          "TransactionType": "Payment",
          "hash": "E08D6E9754025BA2534A78707605E0601F03ACE063687A0CA1BDDACFCD1698C7"
        },
        "validated": true
      }
    ]
  },
  "status": "success",
  "type": "response",
  "id": 1
}