Lighter icon

Lighter

Interact with Lighter (zkLighter) DEX API - High-performance perpetuals trading

Transaction → Get Transaction

AI-generated

Summary

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.

Links

Discussion