Actions46
- Account Actions
- Market Actions
- Order Actions
- Position Actions
- Trade Actions
- Trading Actions
- Transaction Actions
- System Actions
Account → Get Liquidations
AI-generatedSummary
Fetch liquidation history for an account
Inputs
- accountIndex — The account index to query liquidations for; defaults to 0 if omitted
Output shape
JSON array of liquidation records returned by the Lighter API
Each item corresponds to one workflow execution item; the node returns the parsed API response body as JSON
Examples
Example 1: Get liquidations for the default account (index 0)
Leave accountIndex at its default value; the node will request liquidation history for account index 0 from the Lighter mainnet or testnet endpoint based on credential settings.