wss://honeycluster.ioaccount_txReturns a list of transactions that affected the specified account. Supports pagination and ledger range filtering.
{
"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
}| Field | Type | Description |
|---|---|---|
commandrequired | 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+. |
{
"command": "account_tx",
"id": 1,
"account": "rG1QQv2nh2gr7RCZ1P8YYcBUKCCN633jCn",
"ledger_index_min": -1,
"ledger_index_max": -1,
"limit": 10,
"forward": false
}| Field | Type | Description |
|---|---|---|
result | object | |
status | enum<string> | Available successerror |
type | string | |
id | stringnumber | Echo of the client-provided correlation ID |
{
"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
}