Get transaction header
Returns the indexed header of one transaction: ledger, close time, success, fee charged, operation count and memo. For the envelope, result or meta XDR call RPC getTransaction (RPC keeps about 7 days); the decoded events are at GET /transactions/{hash}/activity.
- An unknown hash returns 404 not_found. On Mainnet that lookup costs the route’s minimum credit, because it searched the indexed history; Testnet requests cost no credits.
- Unknown or repeated query parameters return 400, so a typo or an unsupported filter never returns unfiltered data.
Authorizations
Send Authorization: Bearer <key>. Testnet: lum_test_…; Mainnet: lum_live_…. A key works only on its own network, so pick the server that matches it (the other network answers 401). Publishable lum_pub_… keys call the GET data routes only, from an allowed browser origin. Webhook keys (whk_…) are not accepted here.
Headers
Optional; reads do not need it. When sent it must be 8 to 128 printable ASCII characters (0x21-0x7E: no spaces or control characters) in one header, otherwise 400. Prepaid accounts use it to recover a read without paying again; for every other account a valid key is accepted and has no effect.
8 - 128^[\x21-\x7E]{8,128}$Path Parameters
64-character hexadecimal transaction hash.
^[0-9a-fA-F]{64}$"1ae3b48681d8b27f31ee8f1893281e9a56fd7c45cf9909cf6a0599949079c2ce"
Query Parameters
Index generation (read_view.generation of an earlier page). Send it together with snapshot_ledger.
Read at this published snapshot. Requires generation.
x >= 1Response
The transaction header.
^[0-9a-fA-F]{64}$^[0-9a-fA-F]{64}$pubnet, testnet Charged fee in stroops, currently encoded as an integer.