Sandbox version
For experimental use only. Proceed with caution.
Transaction Methods
Get transaction from a specific ledger
wss://honeycluster.io
rpc method: transaction_entry

Retrieves a transaction from a specific ledger version. Unlike tx, this requires specifying the exact ledger.

Try it now
Response · transaction_entry WS Response
{
  "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
}
Request Message
transaction_entry WS Request
application/json
Get transaction from a specific ledger
FieldTypeDescription
command
required
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+.
Example
Json
{
  "command": "transaction_entry",
  "id": 1,
  "tx_hash": "E08D6E9754025BA2534A78707605E0601F03ACE063687A0CA1BDDACFCD1698C7",
  "ledger_index": 89012345
}
Response Message
transaction_entry WS Response
application/json
WebSocket response for transaction_entry
FieldTypeDescription
result
object
status
enum<string>
Available
successerror
type
string
id
stringnumber
Echo of the client-provided correlation ID
Example
Json
{
  "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
}