Lighter icon

Lighter

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

Account → Get Accounts by L1 Address

AI-generated

Summary

Retrieve all accounts associated with a given Ethereum L1 address via the Lighter DEX API.

Inputs

None.

Output shape

JSON array of account objects

Returned per workflow item; each item's JSON body contains the API response.

Examples

Example 1: Find accounts for a specific L1 address

Set the L1 Address parameter to the desired Ethereum Layer 1 address. The node selects the base URL (mainnet or testnet) based on the configured lighterApi credential's environment setting. The operation queries /api/v1/accountsByL1Address?l1_address=<address> and returns matching account records.

Links

Discussion