Actions46
- Account Actions
- Market Actions
- Order Actions
- Position Actions
- Trade Actions
- Trading Actions
- Transaction Actions
- System Actions
Order → Get Inactive Orders
AI-generatedSummary
Fetch account inactive orders from the Lighter API
Inputs
- orderAccountIndex — The account index to query orders for
- orderMarketIndex — Filter by market index; -1 returns orders from all markets
Output shape
JSON response containing inactive order data from the Lighter API
Returned data is pushed as a JSON paired item per input batch
Examples
Example 1: Get inactive orders for a specific account and market
Set orderAccountIndex to the desired account index and orderMarketIndex to a specific market index (or -1 for all markets)