wss://honeycluster.iotxRetrieves information about a transaction by its hash or CTID. Searches all available ledger versions.
{
"result": {
"Account": "rG1QQv2nh2gr7RCZ1P8YYcBUKCCN633jCn",
"Amount": "1000000",
"Destination": "rPT1Sjq2YGrBMTttX4GZHjKu9dyfzbpAYe",
"Fee": "12",
"Sequence": 42,
"TransactionType": "Payment",
"hash": "E08D6E9754025BA2534A78707605E0601F03ACE063687A0CA1BDDACFCD1698C7",
"inLedger": 89012345,
"ledger_index": 89012345,
"meta": {
"TransactionResult": "tesSUCCESS"
},
"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. |
transaction | string | The 256-bit hex hash of the transaction. Provide this OR ctid. |
ctid | string | The Compact Transaction Identifier (CTID). Provide this OR transaction. |
binary | boolean | If true, return data in binary (hex) format instead of JSON. |
min_ledger | integer | Minimum ledger index to search for the transaction. |
max_ledger | integer | Maximum ledger index to search for the transaction. |
api_version | object | API version for the response format. Version 2 is the default for rippled 2.0+. |
{
"command": "tx",
"id": 1,
"transaction": "E08D6E9754025BA2534A78707605E0601F03ACE063687A0CA1BDDACFCD1698C7"
}| Field | Type | Description |
|---|---|---|
result | object | |
status | enum<string> | Available successerror |
type | string | |
id | stringnumber | Echo of the client-provided correlation ID |
{
"result": {
"Account": "rG1QQv2nh2gr7RCZ1P8YYcBUKCCN633jCn",
"Amount": "1000000",
"Destination": "rPT1Sjq2YGrBMTttX4GZHjKu9dyfzbpAYe",
"Fee": "12",
"Sequence": 42,
"TransactionType": "Payment",
"hash": "E08D6E9754025BA2534A78707605E0601F03ACE063687A0CA1BDDACFCD1698C7",
"inLedger": 89012345,
"ledger_index": 89012345,
"meta": {
"TransactionResult": "tesSUCCESS"
},
"validated": true
},
"status": "success",
"type": "response",
"id": 1
}