wss://honeycluster.iotransaction_entryRetrieves a transaction from a specific ledger version. Unlike tx, this requires specifying the exact ledger.
{
"result": {
"ledger_hash": "4BC50C9B0D8515D3EAAE1E74B29A95804346C491EE1A95BF25E4AAB854A6A652",
"ledger_index": 89012345,
"metadata": {
"AffectedNodes": [],
"TransactionIndex": 0,
"TransactionResult": "tesSUCCESS"
},
"tx_json": {
"Account": "rG1QQv2nh2gr7RCZ1P8YYcBUKCCN633jCn",
"TransactionType": "Payment",
"hash": "E08D6E9754025BA2534A78707605E0601F03ACE063687A0CA1BDDACFCD1698C7"
}
},
"status": "success",
"type": "response",
"id": 1
}| Field | Type | Description |
|---|---|---|
commandrequired | string | WebSocket command name |
id | object | Client-supplied identifier to correlate requests with responses. |
tx_hash | string | The 256-bit hex hash of the transaction to look up. |
ledger_index | object | The specific ledger version to retrieve the transaction from. Required. |
ledger_hash | string | 256-bit hex hash identifying a specific ledger version. |
api_version | object | API version for the response format. Version 2 is the default for rippled 2.0+. |
{
"command": "transaction_entry",
"id": 1,
"tx_hash": "E08D6E9754025BA2534A78707605E0601F03ACE063687A0CA1BDDACFCD1698C7",
"ledger_index": 89012345
}| Field | Type | Description |
|---|---|---|
result | object | |
status | enum<string> | Available successerror |
type | string | |
id | stringnumber | Echo of the client-provided correlation ID |
{
"result": {
"ledger_hash": "4BC50C9B0D8515D3EAAE1E74B29A95804346C491EE1A95BF25E4AAB854A6A652",
"ledger_index": 89012345,
"metadata": {
"AffectedNodes": [],
"TransactionIndex": 0,
"TransactionResult": "tesSUCCESS"
},
"tx_json": {
"Account": "rG1QQv2nh2gr7RCZ1P8YYcBUKCCN633jCn",
"TransactionType": "Payment",
"hash": "E08D6E9754025BA2534A78707605E0601F03ACE063687A0CA1BDDACFCD1698C7"
}
},
"status": "success",
"type": "response",
"id": 1
}