get
https://sandbox.kyan.sh/account_history
Retrieves the trading history and account events for a specified smart account address. This includes trades, transfers (deposits/withdrawals), settlements, and funding events with standardized event structures, advanced filtering, and cursor-based pagination for efficient retrieval.
Features:
- Cursor-based pagination: Efficient retrieval of large datasets with
cursorandnext_cursor - Advanced filtering: Filter by event types, actions, and transfer types
- Sorting: Sort results by timestamp (ascending or descending)
- Standardized events: Consistent event structure across all event types
Available Event Types:
trade: Trade execution events (buy/sell)transfer: Deposit and withdrawal eventssettlement: Option settlement eventsfunding: Funding rate payment events
Available Actions (for filtering):
- Trade actions:
buy,sell - Transfer actions:
deposit,withdrawal - Settlement actions:
settlement - Funding actions:
funding
Endpoint Path: /v2/account_history
