Actions46
- Account Actions
- Market Actions
- Order Actions
- Position Actions
- Trade Actions
- Trading Actions
- Transaction Actions
- System Actions
Transaction → Get Transaction
AI-generatedSummary
Retrieve a transaction by hash from the Lighter DEX API.
Inputs
- txHash (required) — The transaction hash to look up.
Output shape
JSON object
Contains the transaction details as returned by the Lighter API endpoint GET /api/v1/tx?by=hash&value=
.
Examples
Example 1: Fetch a single transaction
Set Transaction Hash to the desired hash value. The node queries the Lighter API and returns the matching transaction object.