Lighter icon

Lighter

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

Transaction → Get Withdraw History

AI-generated

Summary

Fetch withdrawal history

Inputs

  • txAccountIndex — The account index (default: 0)
  • txLimit — Maximum number of withdrawals to return (default: 50)

Output shape

Array of withdrawal record objects from the Lighter API

Returned data corresponds to the JSON response from GET /api/v1/withdraw/history

Examples

Example 1: Get last 20 withdrawals for account index 3

txAccountIndex: 3, txLimit: 20

Links

Discussion