Lighter icon

Lighter

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

Account → Get Account Limits

AI-generated

Summary

Fetch account trading limits

Inputs

  • accountIndex — The account index to query limits for. Defaults to 0 if omitted.

Output shape

The JSON response from GET /api/v1/accountLimits?account_index={accountIndex}, containing the account's trading limits object.

The operation consumes one numeric parameter (accountIndex) and performs a GET request to the Lighter API endpoint /api/v1/accountLimits. The account index is optional and defaults to 0. No side effects beyond the API call.

Links

Discussion