Lighter icon

Lighter

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

Order → Export Orders

AI-generated

Summary

Export order data for a specific account from the Lighter API.

Inputs

  • orderAccountIndex — The account index to export orders for. Defaults to 0 if not specified.

Output shape

JSON

The Lighter API response from GET /api/v1/export?account_index=, returned as-is to the next node in the workflow.

Examples

Example 1: Export all orders for the default account (index 0)

Leave orderAccountIndex at its default value of 0.

Links

Discussion