@0xarchive/sdk 0.8.3 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -249,10 +249,17 @@ interface FundingRate {
249
249
  /** Premium component of funding rate */
250
250
  premium?: string;
251
251
  }
252
+ /**
253
+ * Aggregation interval for OI and funding history.
254
+ * When omitted, raw ~1 min data is returned.
255
+ */
256
+ type OiFundingInterval = '5m' | '15m' | '30m' | '1h' | '4h' | '1d';
252
257
  /**
253
258
  * Parameters for getting funding rate history
254
259
  */
255
260
  interface FundingHistoryParams extends CursorPaginationParams {
261
+ /** Aggregation interval. When omitted, raw ~1 min data is returned. */
262
+ interval?: OiFundingInterval;
256
263
  }
257
264
  /**
258
265
  * Open interest snapshot with market context
@@ -283,6 +290,8 @@ interface OpenInterest {
283
290
  * Parameters for getting open interest history
284
291
  */
285
292
  interface OpenInterestHistoryParams extends CursorPaginationParams {
293
+ /** Aggregation interval. When omitted, raw ~1 min data is returned. */
294
+ interval?: OiFundingInterval;
286
295
  }
287
296
  /**
288
297
  * Liquidation event record
@@ -354,9 +363,111 @@ interface Candle {
354
363
  interface CandleHistoryParams extends CursorPaginationParams {
355
364
  /** Candle interval (default: 1h) */
356
365
  interval?: CandleInterval;
366
+ /** Maximum number of results to return (default: 100, max: 10000 for candles) */
367
+ limit?: number;
368
+ }
369
+ /** Pre-aggregated liquidation volume bucket */
370
+ interface LiquidationVolume {
371
+ /** Trading pair symbol */
372
+ coin: string;
373
+ /** Bucket timestamp (UTC) */
374
+ timestamp: string;
375
+ /** Total liquidation volume in USD (price * size) */
376
+ totalUsd: number;
377
+ /** Long liquidations volume */
378
+ longUsd: number;
379
+ /** Short liquidations volume */
380
+ shortUsd: number;
381
+ /** Total liquidation count */
382
+ count: number;
383
+ /** Long liquidation count */
384
+ longCount: number;
385
+ /** Short liquidation count */
386
+ shortCount: number;
387
+ }
388
+ /** Parameters for getting aggregated liquidation volume */
389
+ interface LiquidationVolumeParams extends CursorPaginationParams {
390
+ /** Aggregation interval (default: 1h). Valid: 5m, 15m, 30m, 1h, 4h, 1d */
391
+ interval?: OiFundingInterval;
392
+ }
393
+ /** Freshness data for a single data type */
394
+ interface DataTypeFreshnessInfo {
395
+ /** Last update timestamp */
396
+ lastUpdated?: string;
397
+ /** Lag in milliseconds */
398
+ lagMs?: number;
399
+ }
400
+ /** Per-coin freshness across all data types */
401
+ interface CoinFreshness {
402
+ /** Coin symbol */
403
+ coin: string;
404
+ /** Exchange name */
405
+ exchange: string;
406
+ /** When this measurement was taken */
407
+ measuredAt: string;
408
+ /** Orderbook freshness */
409
+ orderbook: DataTypeFreshnessInfo;
410
+ /** Trades freshness */
411
+ trades: DataTypeFreshnessInfo;
412
+ /** Funding freshness */
413
+ funding: DataTypeFreshnessInfo;
414
+ /** Open interest freshness */
415
+ openInterest: DataTypeFreshnessInfo;
416
+ /** Liquidations freshness (Hyperliquid only) */
417
+ liquidations?: DataTypeFreshnessInfo;
357
418
  }
358
- /** WebSocket channel types. Note: ticker/all_tickers are real-time only. Liquidations is historical only (May 2025+). */
359
- type WsChannel = 'orderbook' | 'trades' | 'candles' | 'liquidations' | 'ticker' | 'all_tickers' | 'lighter_orderbook' | 'lighter_trades' | 'lighter_candles' | 'hip3_orderbook' | 'hip3_trades' | 'hip3_candles';
419
+ /** Combined market summary for a coin */
420
+ interface CoinSummary {
421
+ /** Trading pair symbol */
422
+ coin: string;
423
+ /** Timestamp (UTC) */
424
+ timestamp: string;
425
+ /** Latest mark price */
426
+ markPrice?: string;
427
+ /** Latest oracle price */
428
+ oraclePrice?: string;
429
+ /** Latest mid price */
430
+ midPrice?: string;
431
+ /** Current funding rate */
432
+ fundingRate?: string;
433
+ /** Funding premium */
434
+ premium?: string;
435
+ /** Current open interest */
436
+ openInterest?: string;
437
+ /** 24h notional trading volume */
438
+ volume24h?: string;
439
+ /** 24h total liquidation volume in USD */
440
+ liquidationVolume24h?: number;
441
+ /** 24h long liquidation volume in USD */
442
+ longLiquidationVolume24h?: number;
443
+ /** 24h short liquidation volume in USD */
444
+ shortLiquidationVolume24h?: number;
445
+ }
446
+ /** Price snapshot from OI data */
447
+ interface PriceSnapshot {
448
+ /** Timestamp (UTC) */
449
+ timestamp: string;
450
+ /** Mark price */
451
+ markPrice?: string;
452
+ /** Oracle price */
453
+ oraclePrice?: string;
454
+ /** Mid price */
455
+ midPrice?: string;
456
+ }
457
+ /** Parameters for price history */
458
+ interface PriceHistoryParams extends CursorPaginationParams {
459
+ /** Aggregation interval. When omitted, raw ~1 min data is returned. */
460
+ interval?: OiFundingInterval;
461
+ }
462
+ /**
463
+ * WebSocket channel types.
464
+ *
465
+ * - ticker/all_tickers: real-time only
466
+ * - liquidations: historical only (May 2025+)
467
+ * - open_interest, funding, lighter_open_interest, lighter_funding,
468
+ * hip3_open_interest, hip3_funding: historical only (replay/stream)
469
+ */
470
+ type WsChannel = 'orderbook' | 'trades' | 'candles' | 'liquidations' | 'ticker' | 'all_tickers' | 'open_interest' | 'funding' | 'lighter_orderbook' | 'lighter_trades' | 'lighter_candles' | 'lighter_open_interest' | 'lighter_funding' | 'hip3_orderbook' | 'hip3_trades' | 'hip3_candles' | 'hip3_open_interest' | 'hip3_funding';
360
471
  /** Subscribe message from client */
361
472
  interface WsSubscribe {
362
473
  op: 'subscribe';
@@ -376,7 +487,10 @@ interface WsPing {
376
487
  /** Replay message from client - replays historical data with timing preserved */
377
488
  interface WsReplay {
378
489
  op: 'replay';
379
- channel: WsChannel;
490
+ /** Single channel for replay. Mutually exclusive with `channels`. */
491
+ channel?: WsChannel;
492
+ /** Multiple channels for multi-channel replay. Mutually exclusive with `channel`. */
493
+ channels?: WsChannel[];
380
494
  coin?: string;
381
495
  /** Start timestamp (Unix ms) */
382
496
  start: number;
@@ -406,7 +520,10 @@ interface WsReplayStop {
406
520
  /** Stream message from client - bulk download historical data */
407
521
  interface WsStream {
408
522
  op: 'stream';
409
- channel: WsChannel;
523
+ /** Single channel for streaming. Mutually exclusive with `channels`. */
524
+ channel?: WsChannel;
525
+ /** Multiple channels for multi-channel streaming. Mutually exclusive with `channel`. */
526
+ channels?: WsChannel[];
410
527
  coin?: string;
411
528
  /** Start timestamp (Unix ms) */
412
529
  start: number;
@@ -494,6 +611,20 @@ interface WsHistoricalData<T = unknown> {
494
611
  timestamp: number;
495
612
  data: T;
496
613
  }
614
+ /**
615
+ * Replay snapshot providing initial state for a channel before the timeline starts.
616
+ * Sent in multi-channel replay/stream mode to provide the most recent data point
617
+ * for each channel at the replay start time. This allows clients to initialize
618
+ * their state (e.g., current orderbook, latest funding rate) before timeline
619
+ * data begins arriving via `historical_data` messages.
620
+ */
621
+ interface WsReplaySnapshot<T = unknown> {
622
+ type: 'replay_snapshot';
623
+ channel: WsChannel;
624
+ coin: string;
625
+ timestamp: number;
626
+ data: T;
627
+ }
497
628
  /** Orderbook delta for tick-level data */
498
629
  interface OrderbookDelta {
499
630
  /** Timestamp in milliseconds */
@@ -573,7 +704,7 @@ interface WsGapDetected {
573
704
  duration_minutes: number;
574
705
  }
575
706
  /** Server message union type */
576
- type WsServerMessage = WsSubscribed | WsUnsubscribed | WsPong | WsError | WsData | WsReplayStarted | WsReplayPaused | WsReplayResumed | WsReplayCompleted | WsReplayStopped | WsHistoricalData | WsHistoricalTickData | WsStreamStarted | WsStreamProgress | WsHistoricalBatch | WsStreamCompleted | WsStreamStopped | WsGapDetected;
707
+ type WsServerMessage = WsSubscribed | WsUnsubscribed | WsPong | WsError | WsData | WsReplayStarted | WsReplayPaused | WsReplayResumed | WsReplayCompleted | WsReplayStopped | WsReplaySnapshot | WsHistoricalData | WsHistoricalTickData | WsStreamStarted | WsStreamProgress | WsHistoricalBatch | WsStreamCompleted | WsStreamStopped | WsGapDetected;
577
708
  /**
578
709
  * WebSocket connection options.
579
710
  *
@@ -1566,7 +1697,7 @@ declare class OpenInterestResource {
1566
1697
  * start: Date.now() - 86400000,
1567
1698
  * end: Date.now(),
1568
1699
  * interval: '1h',
1569
- * limit: 1000
1700
+ * limit: 10000
1570
1701
  * });
1571
1702
  *
1572
1703
  * // Get all pages
@@ -1577,7 +1708,7 @@ declare class OpenInterestResource {
1577
1708
  * end: Date.now(),
1578
1709
  * interval: '1h',
1579
1710
  * cursor: result.nextCursor,
1580
- * limit: 1000
1711
+ * limit: 10000
1581
1712
  * });
1582
1713
  * allCandles.push(...result.data);
1583
1714
  * }
@@ -1662,6 +1793,17 @@ declare class LiquidationsResource {
1662
1793
  * @returns CursorResponse with liquidation records and nextCursor for pagination
1663
1794
  */
1664
1795
  byUser(userAddress: string, params: LiquidationsByUserParams): Promise<CursorResponse<Liquidation[]>>;
1796
+ /**
1797
+ * Get aggregated liquidation volume in time-bucketed intervals
1798
+ *
1799
+ * Returns pre-aggregated data with total/long/short USD volumes per bucket,
1800
+ * reducing data transfer by 100-1000x compared to individual liquidation records.
1801
+ *
1802
+ * @param coin - The coin symbol (e.g., 'BTC', 'ETH')
1803
+ * @param params - Time range, cursor, and interval parameters
1804
+ * @returns CursorResponse with liquidation volume buckets
1805
+ */
1806
+ volume(coin: string, params: LiquidationVolumeParams): Promise<CursorResponse<LiquidationVolume[]>>;
1665
1807
  }
1666
1808
 
1667
1809
  /**
@@ -1882,7 +2024,30 @@ declare class HyperliquidClient {
1882
2024
  * HIP-3 builder-deployed perpetuals (February 2026+)
1883
2025
  */
1884
2026
  readonly hip3: Hip3Client;
2027
+ private http;
1885
2028
  constructor(http: HttpClient);
2029
+ /**
2030
+ * Get per-coin data freshness across all data types
2031
+ *
2032
+ * @param coin - The coin symbol (e.g., 'BTC', 'ETH')
2033
+ * @returns Per-coin freshness with last_updated and lag_ms for each data type
2034
+ */
2035
+ freshness(coin: string): Promise<CoinFreshness>;
2036
+ /**
2037
+ * Get combined market summary (price, funding, OI, volume, liquidations) in one call
2038
+ *
2039
+ * @param coin - The coin symbol (e.g., 'BTC', 'ETH')
2040
+ * @returns Combined market summary
2041
+ */
2042
+ summary(coin: string): Promise<CoinSummary>;
2043
+ /**
2044
+ * Get mark/oracle/mid price history (projected from OI data)
2045
+ *
2046
+ * @param coin - The coin symbol (e.g., 'BTC', 'ETH')
2047
+ * @param params - Time range, cursor, and interval parameters
2048
+ * @returns CursorResponse with price snapshots
2049
+ */
2050
+ priceHistory(coin: string, params: PriceHistoryParams): Promise<CursorResponse<PriceSnapshot[]>>;
1886
2051
  }
1887
2052
  /**
1888
2053
  * HIP-3 builder-deployed perpetuals client
@@ -1922,7 +2087,30 @@ declare class Hip3Client {
1922
2087
  * OHLCV candle data
1923
2088
  */
1924
2089
  readonly candles: CandlesResource;
2090
+ private http;
1925
2091
  constructor(http: HttpClient);
2092
+ /**
2093
+ * Get per-coin data freshness across all data types
2094
+ *
2095
+ * @param coin - The coin symbol (case-sensitive, e.g., 'km:US500')
2096
+ * @returns Per-coin freshness with last_updated and lag_ms for each data type
2097
+ */
2098
+ freshness(coin: string): Promise<CoinFreshness>;
2099
+ /**
2100
+ * Get combined market summary (price, funding, OI) in one call
2101
+ *
2102
+ * @param coin - The coin symbol (case-sensitive, e.g., 'km:US500')
2103
+ * @returns Combined market summary
2104
+ */
2105
+ summary(coin: string): Promise<CoinSummary>;
2106
+ /**
2107
+ * Get mark/oracle/mid price history (projected from OI data)
2108
+ *
2109
+ * @param coin - The coin symbol (case-sensitive, e.g., 'km:US500')
2110
+ * @param params - Time range, cursor, and interval parameters
2111
+ * @returns CursorResponse with price snapshots
2112
+ */
2113
+ priceHistory(coin: string, params: PriceHistoryParams): Promise<CursorResponse<PriceSnapshot[]>>;
1926
2114
  }
1927
2115
  /**
1928
2116
  * Lighter.xyz exchange client
@@ -1963,7 +2151,30 @@ declare class LighterClient {
1963
2151
  * OHLCV candle data
1964
2152
  */
1965
2153
  readonly candles: CandlesResource;
2154
+ private http;
1966
2155
  constructor(http: HttpClient);
2156
+ /**
2157
+ * Get per-coin data freshness across all data types
2158
+ *
2159
+ * @param coin - The coin symbol (e.g., 'BTC', 'ETH')
2160
+ * @returns Per-coin freshness with last_updated and lag_ms for each data type
2161
+ */
2162
+ freshness(coin: string): Promise<CoinFreshness>;
2163
+ /**
2164
+ * Get combined market summary (price, funding, OI) in one call
2165
+ *
2166
+ * @param coin - The coin symbol (e.g., 'BTC', 'ETH')
2167
+ * @returns Combined market summary
2168
+ */
2169
+ summary(coin: string): Promise<CoinSummary>;
2170
+ /**
2171
+ * Get mark/oracle price history (projected from OI data)
2172
+ *
2173
+ * @param coin - The coin symbol (e.g., 'BTC', 'ETH')
2174
+ * @param params - Time range, cursor, and interval parameters
2175
+ * @returns CursorResponse with price snapshots
2176
+ */
2177
+ priceHistory(coin: string, params: PriceHistoryParams): Promise<CursorResponse<PriceSnapshot[]>>;
1967
2178
  }
1968
2179
 
1969
2180
  /**
@@ -2111,6 +2322,7 @@ declare class OxArchiveWs {
2111
2322
  private batchHandlers;
2112
2323
  private replayStartHandlers;
2113
2324
  private replayCompleteHandlers;
2325
+ private replaySnapshotHandlers;
2114
2326
  private streamStartHandlers;
2115
2327
  private streamProgressHandlers;
2116
2328
  private streamCompleteHandlers;
@@ -2196,6 +2408,36 @@ declare class OxArchiveWs {
2196
2408
  /** Candle interval for candles channel (1m, 5m, 15m, 30m, 1h, 4h, 1d, 1w) */
2197
2409
  interval?: string;
2198
2410
  }): void;
2411
+ /**
2412
+ * Start a multi-channel historical replay with timing preserved.
2413
+ * Data from all channels is interleaved chronologically. Before the timeline
2414
+ * begins, `replay_snapshot` messages provide initial state for each channel.
2415
+ *
2416
+ * @param channels - Array of data channels to replay simultaneously
2417
+ * @param coin - Trading pair (e.g., 'BTC', 'ETH')
2418
+ * @param options - Replay options
2419
+ *
2420
+ * @example
2421
+ * ```typescript
2422
+ * ws.onReplaySnapshot((channel, coin, timestamp, data) => {
2423
+ * console.log(`Initial ${channel} state at ${new Date(timestamp).toISOString()}`);
2424
+ * });
2425
+ * ws.onHistoricalData((coin, timestamp, data) => {
2426
+ * // Interleaved data from all channels
2427
+ * });
2428
+ * ws.multiReplay(['orderbook', 'trades', 'funding'], 'BTC', {
2429
+ * start: Date.now() - 86400000,
2430
+ * speed: 10
2431
+ * });
2432
+ * ```
2433
+ */
2434
+ multiReplay(channels: WsChannel[], coin: string, options: {
2435
+ start: number;
2436
+ end?: number;
2437
+ speed?: number;
2438
+ granularity?: string;
2439
+ interval?: string;
2440
+ }): void;
2199
2441
  /**
2200
2442
  * Pause the current replay
2201
2443
  */
@@ -2237,6 +2479,38 @@ declare class OxArchiveWs {
2237
2479
  /** Candle interval for candles channel (1m, 5m, 15m, 30m, 1h, 4h, 1d, 1w) */
2238
2480
  interval?: string;
2239
2481
  }): void;
2482
+ /**
2483
+ * Start a multi-channel bulk stream for fast data download.
2484
+ * Data from all channels arrives in batches without timing delays.
2485
+ * Before batches begin, `replay_snapshot` messages provide initial state
2486
+ * for each channel.
2487
+ *
2488
+ * @param channels - Array of data channels to stream simultaneously
2489
+ * @param coin - Trading pair (e.g., 'BTC', 'ETH')
2490
+ * @param options - Stream options
2491
+ *
2492
+ * @example
2493
+ * ```typescript
2494
+ * ws.onReplaySnapshot((channel, coin, timestamp, data) => {
2495
+ * console.log(`Initial ${channel} state`);
2496
+ * });
2497
+ * ws.onBatch((coin, records) => {
2498
+ * // Batches contain data from all requested channels
2499
+ * });
2500
+ * ws.multiStream(['orderbook', 'trades', 'open_interest'], 'BTC', {
2501
+ * start: Date.now() - 3600000,
2502
+ * end: Date.now(),
2503
+ * batchSize: 1000
2504
+ * });
2505
+ * ```
2506
+ */
2507
+ multiStream(channels: WsChannel[], coin: string, options: {
2508
+ start: number;
2509
+ end: number;
2510
+ batchSize?: number;
2511
+ granularity?: string;
2512
+ interval?: string;
2513
+ }): void;
2240
2514
  /**
2241
2515
  * Stop the current bulk stream
2242
2516
  */
@@ -2266,6 +2540,27 @@ declare class OxArchiveWs {
2266
2540
  * Handle replay completed event
2267
2541
  */
2268
2542
  onReplayComplete(handler: (channel: WsChannel, coin: string, snapshotsSent: number) => void): void;
2543
+ /**
2544
+ * Handle replay snapshot events (multi-channel mode).
2545
+ * Called with the initial state for each channel before the replay/stream
2546
+ * timeline begins. Use this to initialize local state (e.g., set the current
2547
+ * orderbook or latest funding rate) before `historical_data` messages start
2548
+ * arriving.
2549
+ *
2550
+ * @param handler - Callback receiving channel, coin, timestamp (ms), and data payload
2551
+ *
2552
+ * @example
2553
+ * ```typescript
2554
+ * ws.onReplaySnapshot((channel, coin, timestamp, data) => {
2555
+ * if (channel === 'orderbook') {
2556
+ * currentOrderbook = data;
2557
+ * } else if (channel === 'funding') {
2558
+ * currentFundingRate = data;
2559
+ * }
2560
+ * });
2561
+ * ```
2562
+ */
2563
+ onReplaySnapshot<T = unknown>(handler: (channel: WsChannel, coin: string, timestamp: number, data: T) => void): void;
2269
2564
  /**
2270
2565
  * Handle stream started event
2271
2566
  */
@@ -2683,32 +2978,32 @@ declare const CandleSchema: z.ZodObject<{
2683
2978
  quoteVolume?: number | undefined;
2684
2979
  tradeCount?: number | undefined;
2685
2980
  }>;
2686
- declare const WsChannelSchema: z.ZodEnum<["orderbook", "trades", "candles", "liquidations", "ticker", "all_tickers"]>;
2981
+ declare const WsChannelSchema: z.ZodEnum<["orderbook", "trades", "candles", "liquidations", "ticker", "all_tickers", "open_interest", "funding", "lighter_orderbook", "lighter_trades", "lighter_candles", "lighter_open_interest", "lighter_funding", "hip3_orderbook", "hip3_trades", "hip3_candles", "hip3_open_interest", "hip3_funding"]>;
2687
2982
  declare const WsConnectionStateSchema: z.ZodEnum<["connecting", "connected", "disconnected", "reconnecting"]>;
2688
2983
  declare const WsSubscribedSchema: z.ZodObject<{
2689
2984
  type: z.ZodLiteral<"subscribed">;
2690
- channel: z.ZodEnum<["orderbook", "trades", "candles", "liquidations", "ticker", "all_tickers"]>;
2985
+ channel: z.ZodEnum<["orderbook", "trades", "candles", "liquidations", "ticker", "all_tickers", "open_interest", "funding", "lighter_orderbook", "lighter_trades", "lighter_candles", "lighter_open_interest", "lighter_funding", "hip3_orderbook", "hip3_trades", "hip3_candles", "hip3_open_interest", "hip3_funding"]>;
2691
2986
  coin: z.ZodOptional<z.ZodString>;
2692
2987
  }, "strip", z.ZodTypeAny, {
2693
2988
  type: "subscribed";
2694
- channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers";
2989
+ channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers" | "open_interest" | "funding" | "lighter_orderbook" | "lighter_trades" | "lighter_candles" | "lighter_open_interest" | "lighter_funding" | "hip3_orderbook" | "hip3_trades" | "hip3_candles" | "hip3_open_interest" | "hip3_funding";
2695
2990
  coin?: string | undefined;
2696
2991
  }, {
2697
2992
  type: "subscribed";
2698
- channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers";
2993
+ channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers" | "open_interest" | "funding" | "lighter_orderbook" | "lighter_trades" | "lighter_candles" | "lighter_open_interest" | "lighter_funding" | "hip3_orderbook" | "hip3_trades" | "hip3_candles" | "hip3_open_interest" | "hip3_funding";
2699
2994
  coin?: string | undefined;
2700
2995
  }>;
2701
2996
  declare const WsUnsubscribedSchema: z.ZodObject<{
2702
2997
  type: z.ZodLiteral<"unsubscribed">;
2703
- channel: z.ZodEnum<["orderbook", "trades", "candles", "liquidations", "ticker", "all_tickers"]>;
2998
+ channel: z.ZodEnum<["orderbook", "trades", "candles", "liquidations", "ticker", "all_tickers", "open_interest", "funding", "lighter_orderbook", "lighter_trades", "lighter_candles", "lighter_open_interest", "lighter_funding", "hip3_orderbook", "hip3_trades", "hip3_candles", "hip3_open_interest", "hip3_funding"]>;
2704
2999
  coin: z.ZodOptional<z.ZodString>;
2705
3000
  }, "strip", z.ZodTypeAny, {
2706
3001
  type: "unsubscribed";
2707
- channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers";
3002
+ channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers" | "open_interest" | "funding" | "lighter_orderbook" | "lighter_trades" | "lighter_candles" | "lighter_open_interest" | "lighter_funding" | "hip3_orderbook" | "hip3_trades" | "hip3_candles" | "hip3_open_interest" | "hip3_funding";
2708
3003
  coin?: string | undefined;
2709
3004
  }, {
2710
3005
  type: "unsubscribed";
2711
- channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers";
3006
+ channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers" | "open_interest" | "funding" | "lighter_orderbook" | "lighter_trades" | "lighter_candles" | "lighter_open_interest" | "lighter_funding" | "hip3_orderbook" | "hip3_trades" | "hip3_candles" | "hip3_open_interest" | "hip3_funding";
2712
3007
  coin?: string | undefined;
2713
3008
  }>;
2714
3009
  declare const WsPongSchema: z.ZodObject<{
@@ -2730,23 +3025,23 @@ declare const WsErrorSchema: z.ZodObject<{
2730
3025
  }>;
2731
3026
  declare const WsDataSchema: z.ZodObject<{
2732
3027
  type: z.ZodLiteral<"data">;
2733
- channel: z.ZodEnum<["orderbook", "trades", "candles", "liquidations", "ticker", "all_tickers"]>;
3028
+ channel: z.ZodEnum<["orderbook", "trades", "candles", "liquidations", "ticker", "all_tickers", "open_interest", "funding", "lighter_orderbook", "lighter_trades", "lighter_candles", "lighter_open_interest", "lighter_funding", "hip3_orderbook", "hip3_trades", "hip3_candles", "hip3_open_interest", "hip3_funding"]>;
2734
3029
  coin: z.ZodString;
2735
3030
  data: z.ZodUnknown;
2736
3031
  }, "strip", z.ZodTypeAny, {
2737
3032
  type: "data";
2738
3033
  coin: string;
2739
- channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers";
3034
+ channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers" | "open_interest" | "funding" | "lighter_orderbook" | "lighter_trades" | "lighter_candles" | "lighter_open_interest" | "lighter_funding" | "hip3_orderbook" | "hip3_trades" | "hip3_candles" | "hip3_open_interest" | "hip3_funding";
2740
3035
  data?: unknown;
2741
3036
  }, {
2742
3037
  type: "data";
2743
3038
  coin: string;
2744
- channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers";
3039
+ channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers" | "open_interest" | "funding" | "lighter_orderbook" | "lighter_trades" | "lighter_candles" | "lighter_open_interest" | "lighter_funding" | "hip3_orderbook" | "hip3_trades" | "hip3_candles" | "hip3_open_interest" | "hip3_funding";
2745
3040
  data?: unknown;
2746
3041
  }>;
2747
3042
  declare const WsReplayStartedSchema: z.ZodObject<{
2748
3043
  type: z.ZodLiteral<"replay_started">;
2749
- channel: z.ZodEnum<["orderbook", "trades", "candles", "liquidations", "ticker", "all_tickers"]>;
3044
+ channel: z.ZodEnum<["orderbook", "trades", "candles", "liquidations", "ticker", "all_tickers", "open_interest", "funding", "lighter_orderbook", "lighter_trades", "lighter_candles", "lighter_open_interest", "lighter_funding", "hip3_orderbook", "hip3_trades", "hip3_candles", "hip3_open_interest", "hip3_funding"]>;
2750
3045
  coin: z.ZodString;
2751
3046
  start: z.ZodNumber;
2752
3047
  end: z.ZodNumber;
@@ -2754,53 +3049,53 @@ declare const WsReplayStartedSchema: z.ZodObject<{
2754
3049
  }, "strip", z.ZodTypeAny, {
2755
3050
  type: "replay_started";
2756
3051
  coin: string;
2757
- channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers";
3052
+ channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers" | "open_interest" | "funding" | "lighter_orderbook" | "lighter_trades" | "lighter_candles" | "lighter_open_interest" | "lighter_funding" | "hip3_orderbook" | "hip3_trades" | "hip3_candles" | "hip3_open_interest" | "hip3_funding";
2758
3053
  start: number;
2759
3054
  end: number;
2760
3055
  speed: number;
2761
3056
  }, {
2762
3057
  type: "replay_started";
2763
3058
  coin: string;
2764
- channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers";
3059
+ channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers" | "open_interest" | "funding" | "lighter_orderbook" | "lighter_trades" | "lighter_candles" | "lighter_open_interest" | "lighter_funding" | "hip3_orderbook" | "hip3_trades" | "hip3_candles" | "hip3_open_interest" | "hip3_funding";
2765
3060
  start: number;
2766
3061
  end: number;
2767
3062
  speed: number;
2768
3063
  }>;
2769
3064
  declare const WsReplayPausedSchema: z.ZodObject<{
2770
3065
  type: z.ZodLiteral<"replay_paused">;
2771
- currentTimestamp: z.ZodNumber;
3066
+ current_timestamp: z.ZodNumber;
2772
3067
  }, "strip", z.ZodTypeAny, {
2773
3068
  type: "replay_paused";
2774
- currentTimestamp: number;
3069
+ current_timestamp: number;
2775
3070
  }, {
2776
3071
  type: "replay_paused";
2777
- currentTimestamp: number;
3072
+ current_timestamp: number;
2778
3073
  }>;
2779
3074
  declare const WsReplayResumedSchema: z.ZodObject<{
2780
3075
  type: z.ZodLiteral<"replay_resumed">;
2781
- currentTimestamp: z.ZodNumber;
3076
+ current_timestamp: z.ZodNumber;
2782
3077
  }, "strip", z.ZodTypeAny, {
2783
3078
  type: "replay_resumed";
2784
- currentTimestamp: number;
3079
+ current_timestamp: number;
2785
3080
  }, {
2786
3081
  type: "replay_resumed";
2787
- currentTimestamp: number;
3082
+ current_timestamp: number;
2788
3083
  }>;
2789
3084
  declare const WsReplayCompletedSchema: z.ZodObject<{
2790
3085
  type: z.ZodLiteral<"replay_completed">;
2791
- channel: z.ZodEnum<["orderbook", "trades", "candles", "liquidations", "ticker", "all_tickers"]>;
3086
+ channel: z.ZodEnum<["orderbook", "trades", "candles", "liquidations", "ticker", "all_tickers", "open_interest", "funding", "lighter_orderbook", "lighter_trades", "lighter_candles", "lighter_open_interest", "lighter_funding", "hip3_orderbook", "hip3_trades", "hip3_candles", "hip3_open_interest", "hip3_funding"]>;
2792
3087
  coin: z.ZodString;
2793
- snapshotsSent: z.ZodNumber;
3088
+ snapshots_sent: z.ZodNumber;
2794
3089
  }, "strip", z.ZodTypeAny, {
2795
3090
  type: "replay_completed";
2796
3091
  coin: string;
2797
- channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers";
2798
- snapshotsSent: number;
3092
+ channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers" | "open_interest" | "funding" | "lighter_orderbook" | "lighter_trades" | "lighter_candles" | "lighter_open_interest" | "lighter_funding" | "hip3_orderbook" | "hip3_trades" | "hip3_candles" | "hip3_open_interest" | "hip3_funding";
3093
+ snapshots_sent: number;
2799
3094
  }, {
2800
3095
  type: "replay_completed";
2801
3096
  coin: string;
2802
- channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers";
2803
- snapshotsSent: number;
3097
+ channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers" | "open_interest" | "funding" | "lighter_orderbook" | "lighter_trades" | "lighter_candles" | "lighter_open_interest" | "lighter_funding" | "hip3_orderbook" | "hip3_trades" | "hip3_candles" | "hip3_open_interest" | "hip3_funding";
3098
+ snapshots_sent: number;
2804
3099
  }>;
2805
3100
  declare const WsReplayStoppedSchema: z.ZodObject<{
2806
3101
  type: z.ZodLiteral<"replay_stopped">;
@@ -2811,7 +3106,7 @@ declare const WsReplayStoppedSchema: z.ZodObject<{
2811
3106
  }>;
2812
3107
  declare const WsHistoricalDataSchema: z.ZodObject<{
2813
3108
  type: z.ZodLiteral<"historical_data">;
2814
- channel: z.ZodEnum<["orderbook", "trades", "candles", "liquidations", "ticker", "all_tickers"]>;
3109
+ channel: z.ZodEnum<["orderbook", "trades", "candles", "liquidations", "ticker", "all_tickers", "open_interest", "funding", "lighter_orderbook", "lighter_trades", "lighter_candles", "lighter_open_interest", "lighter_funding", "hip3_orderbook", "hip3_trades", "hip3_candles", "hip3_open_interest", "hip3_funding"]>;
2815
3110
  coin: z.ZodString;
2816
3111
  timestamp: z.ZodNumber;
2817
3112
  data: z.ZodUnknown;
@@ -2819,43 +3114,62 @@ declare const WsHistoricalDataSchema: z.ZodObject<{
2819
3114
  type: "historical_data";
2820
3115
  coin: string;
2821
3116
  timestamp: number;
2822
- channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers";
3117
+ channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers" | "open_interest" | "funding" | "lighter_orderbook" | "lighter_trades" | "lighter_candles" | "lighter_open_interest" | "lighter_funding" | "hip3_orderbook" | "hip3_trades" | "hip3_candles" | "hip3_open_interest" | "hip3_funding";
2823
3118
  data?: unknown;
2824
3119
  }, {
2825
3120
  type: "historical_data";
2826
3121
  coin: string;
2827
3122
  timestamp: number;
2828
- channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers";
3123
+ channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers" | "open_interest" | "funding" | "lighter_orderbook" | "lighter_trades" | "lighter_candles" | "lighter_open_interest" | "lighter_funding" | "hip3_orderbook" | "hip3_trades" | "hip3_candles" | "hip3_open_interest" | "hip3_funding";
3124
+ data?: unknown;
3125
+ }>;
3126
+ declare const WsReplaySnapshotSchema: z.ZodObject<{
3127
+ type: z.ZodLiteral<"replay_snapshot">;
3128
+ channel: z.ZodEnum<["orderbook", "trades", "candles", "liquidations", "ticker", "all_tickers", "open_interest", "funding", "lighter_orderbook", "lighter_trades", "lighter_candles", "lighter_open_interest", "lighter_funding", "hip3_orderbook", "hip3_trades", "hip3_candles", "hip3_open_interest", "hip3_funding"]>;
3129
+ coin: z.ZodString;
3130
+ timestamp: z.ZodNumber;
3131
+ data: z.ZodUnknown;
3132
+ }, "strip", z.ZodTypeAny, {
3133
+ type: "replay_snapshot";
3134
+ coin: string;
3135
+ timestamp: number;
3136
+ channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers" | "open_interest" | "funding" | "lighter_orderbook" | "lighter_trades" | "lighter_candles" | "lighter_open_interest" | "lighter_funding" | "hip3_orderbook" | "hip3_trades" | "hip3_candles" | "hip3_open_interest" | "hip3_funding";
3137
+ data?: unknown;
3138
+ }, {
3139
+ type: "replay_snapshot";
3140
+ coin: string;
3141
+ timestamp: number;
3142
+ channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers" | "open_interest" | "funding" | "lighter_orderbook" | "lighter_trades" | "lighter_candles" | "lighter_open_interest" | "lighter_funding" | "hip3_orderbook" | "hip3_trades" | "hip3_candles" | "hip3_open_interest" | "hip3_funding";
2829
3143
  data?: unknown;
2830
3144
  }>;
2831
3145
  declare const WsStreamStartedSchema: z.ZodObject<{
2832
3146
  type: z.ZodLiteral<"stream_started">;
2833
- channel: z.ZodEnum<["orderbook", "trades", "candles", "liquidations", "ticker", "all_tickers"]>;
3147
+ channel: z.ZodEnum<["orderbook", "trades", "candles", "liquidations", "ticker", "all_tickers", "open_interest", "funding", "lighter_orderbook", "lighter_trades", "lighter_candles", "lighter_open_interest", "lighter_funding", "hip3_orderbook", "hip3_trades", "hip3_candles", "hip3_open_interest", "hip3_funding"]>;
2834
3148
  coin: z.ZodString;
2835
3149
  start: z.ZodNumber;
2836
3150
  end: z.ZodNumber;
2837
3151
  }, "strip", z.ZodTypeAny, {
2838
3152
  type: "stream_started";
2839
3153
  coin: string;
2840
- channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers";
3154
+ channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers" | "open_interest" | "funding" | "lighter_orderbook" | "lighter_trades" | "lighter_candles" | "lighter_open_interest" | "lighter_funding" | "hip3_orderbook" | "hip3_trades" | "hip3_candles" | "hip3_open_interest" | "hip3_funding";
2841
3155
  start: number;
2842
3156
  end: number;
2843
3157
  }, {
2844
3158
  type: "stream_started";
2845
3159
  coin: string;
2846
- channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers";
3160
+ channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers" | "open_interest" | "funding" | "lighter_orderbook" | "lighter_trades" | "lighter_candles" | "lighter_open_interest" | "lighter_funding" | "hip3_orderbook" | "hip3_trades" | "hip3_candles" | "hip3_open_interest" | "hip3_funding";
2847
3161
  start: number;
2848
3162
  end: number;
2849
3163
  }>;
2850
3164
  declare const WsStreamProgressSchema: z.ZodObject<{
2851
3165
  type: z.ZodLiteral<"stream_progress">;
2852
- snapshotsSent: z.ZodNumber;
3166
+ snapshots_sent: z.ZodNumber;
2853
3167
  }, "strip", z.ZodTypeAny, {
2854
3168
  type: "stream_progress";
2855
- snapshotsSent: number;
3169
+ snapshots_sent: number;
2856
3170
  }, {
2857
3171
  type: "stream_progress";
2858
- snapshotsSent: number;
3172
+ snapshots_sent: number;
2859
3173
  }>;
2860
3174
  declare const TimestampedRecordSchema: z.ZodObject<{
2861
3175
  timestamp: z.ZodNumber;
@@ -2869,7 +3183,7 @@ declare const TimestampedRecordSchema: z.ZodObject<{
2869
3183
  }>;
2870
3184
  declare const WsHistoricalBatchSchema: z.ZodObject<{
2871
3185
  type: z.ZodLiteral<"historical_batch">;
2872
- channel: z.ZodEnum<["orderbook", "trades", "candles", "liquidations", "ticker", "all_tickers"]>;
3186
+ channel: z.ZodEnum<["orderbook", "trades", "candles", "liquidations", "ticker", "all_tickers", "open_interest", "funding", "lighter_orderbook", "lighter_trades", "lighter_candles", "lighter_open_interest", "lighter_funding", "hip3_orderbook", "hip3_trades", "hip3_candles", "hip3_open_interest", "hip3_funding"]>;
2873
3187
  coin: z.ZodString;
2874
3188
  data: z.ZodArray<z.ZodObject<{
2875
3189
  timestamp: z.ZodNumber;
@@ -2888,7 +3202,7 @@ declare const WsHistoricalBatchSchema: z.ZodObject<{
2888
3202
  }[];
2889
3203
  type: "historical_batch";
2890
3204
  coin: string;
2891
- channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers";
3205
+ channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers" | "open_interest" | "funding" | "lighter_orderbook" | "lighter_trades" | "lighter_candles" | "lighter_open_interest" | "lighter_funding" | "hip3_orderbook" | "hip3_trades" | "hip3_candles" | "hip3_open_interest" | "hip3_funding";
2892
3206
  }, {
2893
3207
  data: {
2894
3208
  timestamp: number;
@@ -2896,57 +3210,57 @@ declare const WsHistoricalBatchSchema: z.ZodObject<{
2896
3210
  }[];
2897
3211
  type: "historical_batch";
2898
3212
  coin: string;
2899
- channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers";
3213
+ channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers" | "open_interest" | "funding" | "lighter_orderbook" | "lighter_trades" | "lighter_candles" | "lighter_open_interest" | "lighter_funding" | "hip3_orderbook" | "hip3_trades" | "hip3_candles" | "hip3_open_interest" | "hip3_funding";
2900
3214
  }>;
2901
3215
  declare const WsStreamCompletedSchema: z.ZodObject<{
2902
3216
  type: z.ZodLiteral<"stream_completed">;
2903
- channel: z.ZodEnum<["orderbook", "trades", "candles", "liquidations", "ticker", "all_tickers"]>;
3217
+ channel: z.ZodEnum<["orderbook", "trades", "candles", "liquidations", "ticker", "all_tickers", "open_interest", "funding", "lighter_orderbook", "lighter_trades", "lighter_candles", "lighter_open_interest", "lighter_funding", "hip3_orderbook", "hip3_trades", "hip3_candles", "hip3_open_interest", "hip3_funding"]>;
2904
3218
  coin: z.ZodString;
2905
- snapshotsSent: z.ZodNumber;
3219
+ snapshots_sent: z.ZodNumber;
2906
3220
  }, "strip", z.ZodTypeAny, {
2907
3221
  type: "stream_completed";
2908
3222
  coin: string;
2909
- channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers";
2910
- snapshotsSent: number;
3223
+ channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers" | "open_interest" | "funding" | "lighter_orderbook" | "lighter_trades" | "lighter_candles" | "lighter_open_interest" | "lighter_funding" | "hip3_orderbook" | "hip3_trades" | "hip3_candles" | "hip3_open_interest" | "hip3_funding";
3224
+ snapshots_sent: number;
2911
3225
  }, {
2912
3226
  type: "stream_completed";
2913
3227
  coin: string;
2914
- channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers";
2915
- snapshotsSent: number;
3228
+ channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers" | "open_interest" | "funding" | "lighter_orderbook" | "lighter_trades" | "lighter_candles" | "lighter_open_interest" | "lighter_funding" | "hip3_orderbook" | "hip3_trades" | "hip3_candles" | "hip3_open_interest" | "hip3_funding";
3229
+ snapshots_sent: number;
2916
3230
  }>;
2917
3231
  declare const WsStreamStoppedSchema: z.ZodObject<{
2918
3232
  type: z.ZodLiteral<"stream_stopped">;
2919
- snapshotsSent: z.ZodNumber;
3233
+ snapshots_sent: z.ZodNumber;
2920
3234
  }, "strip", z.ZodTypeAny, {
2921
3235
  type: "stream_stopped";
2922
- snapshotsSent: number;
3236
+ snapshots_sent: number;
2923
3237
  }, {
2924
3238
  type: "stream_stopped";
2925
- snapshotsSent: number;
3239
+ snapshots_sent: number;
2926
3240
  }>;
2927
3241
  declare const WsServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2928
3242
  type: z.ZodLiteral<"subscribed">;
2929
- channel: z.ZodEnum<["orderbook", "trades", "candles", "liquidations", "ticker", "all_tickers"]>;
3243
+ channel: z.ZodEnum<["orderbook", "trades", "candles", "liquidations", "ticker", "all_tickers", "open_interest", "funding", "lighter_orderbook", "lighter_trades", "lighter_candles", "lighter_open_interest", "lighter_funding", "hip3_orderbook", "hip3_trades", "hip3_candles", "hip3_open_interest", "hip3_funding"]>;
2930
3244
  coin: z.ZodOptional<z.ZodString>;
2931
3245
  }, "strip", z.ZodTypeAny, {
2932
3246
  type: "subscribed";
2933
- channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers";
3247
+ channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers" | "open_interest" | "funding" | "lighter_orderbook" | "lighter_trades" | "lighter_candles" | "lighter_open_interest" | "lighter_funding" | "hip3_orderbook" | "hip3_trades" | "hip3_candles" | "hip3_open_interest" | "hip3_funding";
2934
3248
  coin?: string | undefined;
2935
3249
  }, {
2936
3250
  type: "subscribed";
2937
- channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers";
3251
+ channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers" | "open_interest" | "funding" | "lighter_orderbook" | "lighter_trades" | "lighter_candles" | "lighter_open_interest" | "lighter_funding" | "hip3_orderbook" | "hip3_trades" | "hip3_candles" | "hip3_open_interest" | "hip3_funding";
2938
3252
  coin?: string | undefined;
2939
3253
  }>, z.ZodObject<{
2940
3254
  type: z.ZodLiteral<"unsubscribed">;
2941
- channel: z.ZodEnum<["orderbook", "trades", "candles", "liquidations", "ticker", "all_tickers"]>;
3255
+ channel: z.ZodEnum<["orderbook", "trades", "candles", "liquidations", "ticker", "all_tickers", "open_interest", "funding", "lighter_orderbook", "lighter_trades", "lighter_candles", "lighter_open_interest", "lighter_funding", "hip3_orderbook", "hip3_trades", "hip3_candles", "hip3_open_interest", "hip3_funding"]>;
2942
3256
  coin: z.ZodOptional<z.ZodString>;
2943
3257
  }, "strip", z.ZodTypeAny, {
2944
3258
  type: "unsubscribed";
2945
- channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers";
3259
+ channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers" | "open_interest" | "funding" | "lighter_orderbook" | "lighter_trades" | "lighter_candles" | "lighter_open_interest" | "lighter_funding" | "hip3_orderbook" | "hip3_trades" | "hip3_candles" | "hip3_open_interest" | "hip3_funding";
2946
3260
  coin?: string | undefined;
2947
3261
  }, {
2948
3262
  type: "unsubscribed";
2949
- channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers";
3263
+ channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers" | "open_interest" | "funding" | "lighter_orderbook" | "lighter_trades" | "lighter_candles" | "lighter_open_interest" | "lighter_funding" | "hip3_orderbook" | "hip3_trades" | "hip3_candles" | "hip3_open_interest" | "hip3_funding";
2950
3264
  coin?: string | undefined;
2951
3265
  }>, z.ZodObject<{
2952
3266
  type: z.ZodLiteral<"pong">;
@@ -2965,22 +3279,22 @@ declare const WsServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2965
3279
  type: "error";
2966
3280
  }>, z.ZodObject<{
2967
3281
  type: z.ZodLiteral<"data">;
2968
- channel: z.ZodEnum<["orderbook", "trades", "candles", "liquidations", "ticker", "all_tickers"]>;
3282
+ channel: z.ZodEnum<["orderbook", "trades", "candles", "liquidations", "ticker", "all_tickers", "open_interest", "funding", "lighter_orderbook", "lighter_trades", "lighter_candles", "lighter_open_interest", "lighter_funding", "hip3_orderbook", "hip3_trades", "hip3_candles", "hip3_open_interest", "hip3_funding"]>;
2969
3283
  coin: z.ZodString;
2970
3284
  data: z.ZodUnknown;
2971
3285
  }, "strip", z.ZodTypeAny, {
2972
3286
  type: "data";
2973
3287
  coin: string;
2974
- channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers";
3288
+ channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers" | "open_interest" | "funding" | "lighter_orderbook" | "lighter_trades" | "lighter_candles" | "lighter_open_interest" | "lighter_funding" | "hip3_orderbook" | "hip3_trades" | "hip3_candles" | "hip3_open_interest" | "hip3_funding";
2975
3289
  data?: unknown;
2976
3290
  }, {
2977
3291
  type: "data";
2978
3292
  coin: string;
2979
- channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers";
3293
+ channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers" | "open_interest" | "funding" | "lighter_orderbook" | "lighter_trades" | "lighter_candles" | "lighter_open_interest" | "lighter_funding" | "hip3_orderbook" | "hip3_trades" | "hip3_candles" | "hip3_open_interest" | "hip3_funding";
2980
3294
  data?: unknown;
2981
3295
  }>, z.ZodObject<{
2982
3296
  type: z.ZodLiteral<"replay_started">;
2983
- channel: z.ZodEnum<["orderbook", "trades", "candles", "liquidations", "ticker", "all_tickers"]>;
3297
+ channel: z.ZodEnum<["orderbook", "trades", "candles", "liquidations", "ticker", "all_tickers", "open_interest", "funding", "lighter_orderbook", "lighter_trades", "lighter_candles", "lighter_open_interest", "lighter_funding", "hip3_orderbook", "hip3_trades", "hip3_candles", "hip3_open_interest", "hip3_funding"]>;
2984
3298
  coin: z.ZodString;
2985
3299
  start: z.ZodNumber;
2986
3300
  end: z.ZodNumber;
@@ -2988,59 +3302,77 @@ declare const WsServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2988
3302
  }, "strip", z.ZodTypeAny, {
2989
3303
  type: "replay_started";
2990
3304
  coin: string;
2991
- channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers";
3305
+ channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers" | "open_interest" | "funding" | "lighter_orderbook" | "lighter_trades" | "lighter_candles" | "lighter_open_interest" | "lighter_funding" | "hip3_orderbook" | "hip3_trades" | "hip3_candles" | "hip3_open_interest" | "hip3_funding";
2992
3306
  start: number;
2993
3307
  end: number;
2994
3308
  speed: number;
2995
3309
  }, {
2996
3310
  type: "replay_started";
2997
3311
  coin: string;
2998
- channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers";
3312
+ channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers" | "open_interest" | "funding" | "lighter_orderbook" | "lighter_trades" | "lighter_candles" | "lighter_open_interest" | "lighter_funding" | "hip3_orderbook" | "hip3_trades" | "hip3_candles" | "hip3_open_interest" | "hip3_funding";
2999
3313
  start: number;
3000
3314
  end: number;
3001
3315
  speed: number;
3002
3316
  }>, z.ZodObject<{
3003
3317
  type: z.ZodLiteral<"replay_paused">;
3004
- currentTimestamp: z.ZodNumber;
3318
+ current_timestamp: z.ZodNumber;
3005
3319
  }, "strip", z.ZodTypeAny, {
3006
3320
  type: "replay_paused";
3007
- currentTimestamp: number;
3321
+ current_timestamp: number;
3008
3322
  }, {
3009
3323
  type: "replay_paused";
3010
- currentTimestamp: number;
3324
+ current_timestamp: number;
3011
3325
  }>, z.ZodObject<{
3012
3326
  type: z.ZodLiteral<"replay_resumed">;
3013
- currentTimestamp: z.ZodNumber;
3327
+ current_timestamp: z.ZodNumber;
3014
3328
  }, "strip", z.ZodTypeAny, {
3015
3329
  type: "replay_resumed";
3016
- currentTimestamp: number;
3330
+ current_timestamp: number;
3017
3331
  }, {
3018
3332
  type: "replay_resumed";
3019
- currentTimestamp: number;
3333
+ current_timestamp: number;
3020
3334
  }>, z.ZodObject<{
3021
3335
  type: z.ZodLiteral<"replay_completed">;
3022
- channel: z.ZodEnum<["orderbook", "trades", "candles", "liquidations", "ticker", "all_tickers"]>;
3336
+ channel: z.ZodEnum<["orderbook", "trades", "candles", "liquidations", "ticker", "all_tickers", "open_interest", "funding", "lighter_orderbook", "lighter_trades", "lighter_candles", "lighter_open_interest", "lighter_funding", "hip3_orderbook", "hip3_trades", "hip3_candles", "hip3_open_interest", "hip3_funding"]>;
3023
3337
  coin: z.ZodString;
3024
- snapshotsSent: z.ZodNumber;
3338
+ snapshots_sent: z.ZodNumber;
3025
3339
  }, "strip", z.ZodTypeAny, {
3026
3340
  type: "replay_completed";
3027
3341
  coin: string;
3028
- channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers";
3029
- snapshotsSent: number;
3342
+ channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers" | "open_interest" | "funding" | "lighter_orderbook" | "lighter_trades" | "lighter_candles" | "lighter_open_interest" | "lighter_funding" | "hip3_orderbook" | "hip3_trades" | "hip3_candles" | "hip3_open_interest" | "hip3_funding";
3343
+ snapshots_sent: number;
3030
3344
  }, {
3031
3345
  type: "replay_completed";
3032
3346
  coin: string;
3033
- channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers";
3034
- snapshotsSent: number;
3347
+ channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers" | "open_interest" | "funding" | "lighter_orderbook" | "lighter_trades" | "lighter_candles" | "lighter_open_interest" | "lighter_funding" | "hip3_orderbook" | "hip3_trades" | "hip3_candles" | "hip3_open_interest" | "hip3_funding";
3348
+ snapshots_sent: number;
3035
3349
  }>, z.ZodObject<{
3036
3350
  type: z.ZodLiteral<"replay_stopped">;
3037
3351
  }, "strip", z.ZodTypeAny, {
3038
3352
  type: "replay_stopped";
3039
3353
  }, {
3040
3354
  type: "replay_stopped";
3355
+ }>, z.ZodObject<{
3356
+ type: z.ZodLiteral<"replay_snapshot">;
3357
+ channel: z.ZodEnum<["orderbook", "trades", "candles", "liquidations", "ticker", "all_tickers", "open_interest", "funding", "lighter_orderbook", "lighter_trades", "lighter_candles", "lighter_open_interest", "lighter_funding", "hip3_orderbook", "hip3_trades", "hip3_candles", "hip3_open_interest", "hip3_funding"]>;
3358
+ coin: z.ZodString;
3359
+ timestamp: z.ZodNumber;
3360
+ data: z.ZodUnknown;
3361
+ }, "strip", z.ZodTypeAny, {
3362
+ type: "replay_snapshot";
3363
+ coin: string;
3364
+ timestamp: number;
3365
+ channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers" | "open_interest" | "funding" | "lighter_orderbook" | "lighter_trades" | "lighter_candles" | "lighter_open_interest" | "lighter_funding" | "hip3_orderbook" | "hip3_trades" | "hip3_candles" | "hip3_open_interest" | "hip3_funding";
3366
+ data?: unknown;
3367
+ }, {
3368
+ type: "replay_snapshot";
3369
+ coin: string;
3370
+ timestamp: number;
3371
+ channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers" | "open_interest" | "funding" | "lighter_orderbook" | "lighter_trades" | "lighter_candles" | "lighter_open_interest" | "lighter_funding" | "hip3_orderbook" | "hip3_trades" | "hip3_candles" | "hip3_open_interest" | "hip3_funding";
3372
+ data?: unknown;
3041
3373
  }>, z.ZodObject<{
3042
3374
  type: z.ZodLiteral<"historical_data">;
3043
- channel: z.ZodEnum<["orderbook", "trades", "candles", "liquidations", "ticker", "all_tickers"]>;
3375
+ channel: z.ZodEnum<["orderbook", "trades", "candles", "liquidations", "ticker", "all_tickers", "open_interest", "funding", "lighter_orderbook", "lighter_trades", "lighter_candles", "lighter_open_interest", "lighter_funding", "hip3_orderbook", "hip3_trades", "hip3_candles", "hip3_open_interest", "hip3_funding"]>;
3044
3376
  coin: z.ZodString;
3045
3377
  timestamp: z.ZodNumber;
3046
3378
  data: z.ZodUnknown;
@@ -3048,44 +3380,44 @@ declare const WsServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3048
3380
  type: "historical_data";
3049
3381
  coin: string;
3050
3382
  timestamp: number;
3051
- channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers";
3383
+ channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers" | "open_interest" | "funding" | "lighter_orderbook" | "lighter_trades" | "lighter_candles" | "lighter_open_interest" | "lighter_funding" | "hip3_orderbook" | "hip3_trades" | "hip3_candles" | "hip3_open_interest" | "hip3_funding";
3052
3384
  data?: unknown;
3053
3385
  }, {
3054
3386
  type: "historical_data";
3055
3387
  coin: string;
3056
3388
  timestamp: number;
3057
- channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers";
3389
+ channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers" | "open_interest" | "funding" | "lighter_orderbook" | "lighter_trades" | "lighter_candles" | "lighter_open_interest" | "lighter_funding" | "hip3_orderbook" | "hip3_trades" | "hip3_candles" | "hip3_open_interest" | "hip3_funding";
3058
3390
  data?: unknown;
3059
3391
  }>, z.ZodObject<{
3060
3392
  type: z.ZodLiteral<"stream_started">;
3061
- channel: z.ZodEnum<["orderbook", "trades", "candles", "liquidations", "ticker", "all_tickers"]>;
3393
+ channel: z.ZodEnum<["orderbook", "trades", "candles", "liquidations", "ticker", "all_tickers", "open_interest", "funding", "lighter_orderbook", "lighter_trades", "lighter_candles", "lighter_open_interest", "lighter_funding", "hip3_orderbook", "hip3_trades", "hip3_candles", "hip3_open_interest", "hip3_funding"]>;
3062
3394
  coin: z.ZodString;
3063
3395
  start: z.ZodNumber;
3064
3396
  end: z.ZodNumber;
3065
3397
  }, "strip", z.ZodTypeAny, {
3066
3398
  type: "stream_started";
3067
3399
  coin: string;
3068
- channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers";
3400
+ channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers" | "open_interest" | "funding" | "lighter_orderbook" | "lighter_trades" | "lighter_candles" | "lighter_open_interest" | "lighter_funding" | "hip3_orderbook" | "hip3_trades" | "hip3_candles" | "hip3_open_interest" | "hip3_funding";
3069
3401
  start: number;
3070
3402
  end: number;
3071
3403
  }, {
3072
3404
  type: "stream_started";
3073
3405
  coin: string;
3074
- channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers";
3406
+ channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers" | "open_interest" | "funding" | "lighter_orderbook" | "lighter_trades" | "lighter_candles" | "lighter_open_interest" | "lighter_funding" | "hip3_orderbook" | "hip3_trades" | "hip3_candles" | "hip3_open_interest" | "hip3_funding";
3075
3407
  start: number;
3076
3408
  end: number;
3077
3409
  }>, z.ZodObject<{
3078
3410
  type: z.ZodLiteral<"stream_progress">;
3079
- snapshotsSent: z.ZodNumber;
3411
+ snapshots_sent: z.ZodNumber;
3080
3412
  }, "strip", z.ZodTypeAny, {
3081
3413
  type: "stream_progress";
3082
- snapshotsSent: number;
3414
+ snapshots_sent: number;
3083
3415
  }, {
3084
3416
  type: "stream_progress";
3085
- snapshotsSent: number;
3417
+ snapshots_sent: number;
3086
3418
  }>, z.ZodObject<{
3087
3419
  type: z.ZodLiteral<"historical_batch">;
3088
- channel: z.ZodEnum<["orderbook", "trades", "candles", "liquidations", "ticker", "all_tickers"]>;
3420
+ channel: z.ZodEnum<["orderbook", "trades", "candles", "liquidations", "ticker", "all_tickers", "open_interest", "funding", "lighter_orderbook", "lighter_trades", "lighter_candles", "lighter_open_interest", "lighter_funding", "hip3_orderbook", "hip3_trades", "hip3_candles", "hip3_open_interest", "hip3_funding"]>;
3089
3421
  coin: z.ZodString;
3090
3422
  data: z.ZodArray<z.ZodObject<{
3091
3423
  timestamp: z.ZodNumber;
@@ -3104,7 +3436,7 @@ declare const WsServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3104
3436
  }[];
3105
3437
  type: "historical_batch";
3106
3438
  coin: string;
3107
- channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers";
3439
+ channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers" | "open_interest" | "funding" | "lighter_orderbook" | "lighter_trades" | "lighter_candles" | "lighter_open_interest" | "lighter_funding" | "hip3_orderbook" | "hip3_trades" | "hip3_candles" | "hip3_open_interest" | "hip3_funding";
3108
3440
  }, {
3109
3441
  data: {
3110
3442
  timestamp: number;
@@ -3112,31 +3444,31 @@ declare const WsServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3112
3444
  }[];
3113
3445
  type: "historical_batch";
3114
3446
  coin: string;
3115
- channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers";
3447
+ channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers" | "open_interest" | "funding" | "lighter_orderbook" | "lighter_trades" | "lighter_candles" | "lighter_open_interest" | "lighter_funding" | "hip3_orderbook" | "hip3_trades" | "hip3_candles" | "hip3_open_interest" | "hip3_funding";
3116
3448
  }>, z.ZodObject<{
3117
3449
  type: z.ZodLiteral<"stream_completed">;
3118
- channel: z.ZodEnum<["orderbook", "trades", "candles", "liquidations", "ticker", "all_tickers"]>;
3450
+ channel: z.ZodEnum<["orderbook", "trades", "candles", "liquidations", "ticker", "all_tickers", "open_interest", "funding", "lighter_orderbook", "lighter_trades", "lighter_candles", "lighter_open_interest", "lighter_funding", "hip3_orderbook", "hip3_trades", "hip3_candles", "hip3_open_interest", "hip3_funding"]>;
3119
3451
  coin: z.ZodString;
3120
- snapshotsSent: z.ZodNumber;
3452
+ snapshots_sent: z.ZodNumber;
3121
3453
  }, "strip", z.ZodTypeAny, {
3122
3454
  type: "stream_completed";
3123
3455
  coin: string;
3124
- channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers";
3125
- snapshotsSent: number;
3456
+ channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers" | "open_interest" | "funding" | "lighter_orderbook" | "lighter_trades" | "lighter_candles" | "lighter_open_interest" | "lighter_funding" | "hip3_orderbook" | "hip3_trades" | "hip3_candles" | "hip3_open_interest" | "hip3_funding";
3457
+ snapshots_sent: number;
3126
3458
  }, {
3127
3459
  type: "stream_completed";
3128
3460
  coin: string;
3129
- channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers";
3130
- snapshotsSent: number;
3461
+ channel: "orderbook" | "trades" | "candles" | "liquidations" | "ticker" | "all_tickers" | "open_interest" | "funding" | "lighter_orderbook" | "lighter_trades" | "lighter_candles" | "lighter_open_interest" | "lighter_funding" | "hip3_orderbook" | "hip3_trades" | "hip3_candles" | "hip3_open_interest" | "hip3_funding";
3462
+ snapshots_sent: number;
3131
3463
  }>, z.ZodObject<{
3132
3464
  type: z.ZodLiteral<"stream_stopped">;
3133
- snapshotsSent: z.ZodNumber;
3465
+ snapshots_sent: z.ZodNumber;
3134
3466
  }, "strip", z.ZodTypeAny, {
3135
3467
  type: "stream_stopped";
3136
- snapshotsSent: number;
3468
+ snapshots_sent: number;
3137
3469
  }, {
3138
3470
  type: "stream_stopped";
3139
- snapshotsSent: number;
3471
+ snapshots_sent: number;
3140
3472
  }>]>;
3141
3473
  declare const OrderBookResponseSchema: z.ZodObject<{
3142
3474
  success: z.ZodBoolean;
@@ -4123,6 +4455,620 @@ declare const LiquidationArrayResponseSchema: z.ZodObject<{
4123
4455
  nextCursor?: string | undefined;
4124
4456
  };
4125
4457
  }>;
4458
+ declare const LiquidationVolumeSchema: z.ZodObject<{
4459
+ coin: z.ZodString;
4460
+ timestamp: z.ZodString;
4461
+ totalUsd: z.ZodNumber;
4462
+ longUsd: z.ZodNumber;
4463
+ shortUsd: z.ZodNumber;
4464
+ count: z.ZodNumber;
4465
+ longCount: z.ZodNumber;
4466
+ shortCount: z.ZodNumber;
4467
+ }, "strip", z.ZodTypeAny, {
4468
+ count: number;
4469
+ coin: string;
4470
+ timestamp: string;
4471
+ totalUsd: number;
4472
+ longUsd: number;
4473
+ shortUsd: number;
4474
+ longCount: number;
4475
+ shortCount: number;
4476
+ }, {
4477
+ count: number;
4478
+ coin: string;
4479
+ timestamp: string;
4480
+ totalUsd: number;
4481
+ longUsd: number;
4482
+ shortUsd: number;
4483
+ longCount: number;
4484
+ shortCount: number;
4485
+ }>;
4486
+ declare const LiquidationVolumeArrayResponseSchema: z.ZodObject<{
4487
+ success: z.ZodOptional<z.ZodBoolean>;
4488
+ data: z.ZodArray<z.ZodObject<{
4489
+ coin: z.ZodString;
4490
+ timestamp: z.ZodString;
4491
+ totalUsd: z.ZodNumber;
4492
+ longUsd: z.ZodNumber;
4493
+ shortUsd: z.ZodNumber;
4494
+ count: z.ZodNumber;
4495
+ longCount: z.ZodNumber;
4496
+ shortCount: z.ZodNumber;
4497
+ }, "strip", z.ZodTypeAny, {
4498
+ count: number;
4499
+ coin: string;
4500
+ timestamp: string;
4501
+ totalUsd: number;
4502
+ longUsd: number;
4503
+ shortUsd: number;
4504
+ longCount: number;
4505
+ shortCount: number;
4506
+ }, {
4507
+ count: number;
4508
+ coin: string;
4509
+ timestamp: string;
4510
+ totalUsd: number;
4511
+ longUsd: number;
4512
+ shortUsd: number;
4513
+ longCount: number;
4514
+ shortCount: number;
4515
+ }>, "many">;
4516
+ meta: z.ZodOptional<z.ZodObject<{
4517
+ count: z.ZodNumber;
4518
+ nextCursor: z.ZodOptional<z.ZodString>;
4519
+ requestId: z.ZodString;
4520
+ }, "strip", z.ZodTypeAny, {
4521
+ count: number;
4522
+ requestId: string;
4523
+ nextCursor?: string | undefined;
4524
+ }, {
4525
+ count: number;
4526
+ requestId: string;
4527
+ nextCursor?: string | undefined;
4528
+ }>>;
4529
+ }, "strip", z.ZodTypeAny, {
4530
+ data: {
4531
+ count: number;
4532
+ coin: string;
4533
+ timestamp: string;
4534
+ totalUsd: number;
4535
+ longUsd: number;
4536
+ shortUsd: number;
4537
+ longCount: number;
4538
+ shortCount: number;
4539
+ }[];
4540
+ success?: boolean | undefined;
4541
+ meta?: {
4542
+ count: number;
4543
+ requestId: string;
4544
+ nextCursor?: string | undefined;
4545
+ } | undefined;
4546
+ }, {
4547
+ data: {
4548
+ count: number;
4549
+ coin: string;
4550
+ timestamp: string;
4551
+ totalUsd: number;
4552
+ longUsd: number;
4553
+ shortUsd: number;
4554
+ longCount: number;
4555
+ shortCount: number;
4556
+ }[];
4557
+ success?: boolean | undefined;
4558
+ meta?: {
4559
+ count: number;
4560
+ requestId: string;
4561
+ nextCursor?: string | undefined;
4562
+ } | undefined;
4563
+ }>;
4564
+ declare const DataTypeFreshnessInfoSchema: z.ZodObject<{
4565
+ lastUpdated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4566
+ lagMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4567
+ }, "strip", z.ZodTypeAny, {
4568
+ lastUpdated?: string | null | undefined;
4569
+ lagMs?: number | null | undefined;
4570
+ }, {
4571
+ lastUpdated?: string | null | undefined;
4572
+ lagMs?: number | null | undefined;
4573
+ }>;
4574
+ declare const CoinFreshnessSchema: z.ZodObject<{
4575
+ coin: z.ZodString;
4576
+ exchange: z.ZodString;
4577
+ measuredAt: z.ZodString;
4578
+ orderbook: z.ZodObject<{
4579
+ lastUpdated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4580
+ lagMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4581
+ }, "strip", z.ZodTypeAny, {
4582
+ lastUpdated?: string | null | undefined;
4583
+ lagMs?: number | null | undefined;
4584
+ }, {
4585
+ lastUpdated?: string | null | undefined;
4586
+ lagMs?: number | null | undefined;
4587
+ }>;
4588
+ trades: z.ZodObject<{
4589
+ lastUpdated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4590
+ lagMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4591
+ }, "strip", z.ZodTypeAny, {
4592
+ lastUpdated?: string | null | undefined;
4593
+ lagMs?: number | null | undefined;
4594
+ }, {
4595
+ lastUpdated?: string | null | undefined;
4596
+ lagMs?: number | null | undefined;
4597
+ }>;
4598
+ funding: z.ZodObject<{
4599
+ lastUpdated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4600
+ lagMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4601
+ }, "strip", z.ZodTypeAny, {
4602
+ lastUpdated?: string | null | undefined;
4603
+ lagMs?: number | null | undefined;
4604
+ }, {
4605
+ lastUpdated?: string | null | undefined;
4606
+ lagMs?: number | null | undefined;
4607
+ }>;
4608
+ openInterest: z.ZodObject<{
4609
+ lastUpdated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4610
+ lagMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4611
+ }, "strip", z.ZodTypeAny, {
4612
+ lastUpdated?: string | null | undefined;
4613
+ lagMs?: number | null | undefined;
4614
+ }, {
4615
+ lastUpdated?: string | null | undefined;
4616
+ lagMs?: number | null | undefined;
4617
+ }>;
4618
+ liquidations: z.ZodOptional<z.ZodObject<{
4619
+ lastUpdated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4620
+ lagMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4621
+ }, "strip", z.ZodTypeAny, {
4622
+ lastUpdated?: string | null | undefined;
4623
+ lagMs?: number | null | undefined;
4624
+ }, {
4625
+ lastUpdated?: string | null | undefined;
4626
+ lagMs?: number | null | undefined;
4627
+ }>>;
4628
+ }, "strip", z.ZodTypeAny, {
4629
+ orderbook: {
4630
+ lastUpdated?: string | null | undefined;
4631
+ lagMs?: number | null | undefined;
4632
+ };
4633
+ trades: {
4634
+ lastUpdated?: string | null | undefined;
4635
+ lagMs?: number | null | undefined;
4636
+ };
4637
+ funding: {
4638
+ lastUpdated?: string | null | undefined;
4639
+ lagMs?: number | null | undefined;
4640
+ };
4641
+ coin: string;
4642
+ openInterest: {
4643
+ lastUpdated?: string | null | undefined;
4644
+ lagMs?: number | null | undefined;
4645
+ };
4646
+ exchange: string;
4647
+ measuredAt: string;
4648
+ liquidations?: {
4649
+ lastUpdated?: string | null | undefined;
4650
+ lagMs?: number | null | undefined;
4651
+ } | undefined;
4652
+ }, {
4653
+ orderbook: {
4654
+ lastUpdated?: string | null | undefined;
4655
+ lagMs?: number | null | undefined;
4656
+ };
4657
+ trades: {
4658
+ lastUpdated?: string | null | undefined;
4659
+ lagMs?: number | null | undefined;
4660
+ };
4661
+ funding: {
4662
+ lastUpdated?: string | null | undefined;
4663
+ lagMs?: number | null | undefined;
4664
+ };
4665
+ coin: string;
4666
+ openInterest: {
4667
+ lastUpdated?: string | null | undefined;
4668
+ lagMs?: number | null | undefined;
4669
+ };
4670
+ exchange: string;
4671
+ measuredAt: string;
4672
+ liquidations?: {
4673
+ lastUpdated?: string | null | undefined;
4674
+ lagMs?: number | null | undefined;
4675
+ } | undefined;
4676
+ }>;
4677
+ declare const CoinFreshnessResponseSchema: z.ZodObject<{
4678
+ success: z.ZodOptional<z.ZodBoolean>;
4679
+ data: z.ZodObject<{
4680
+ coin: z.ZodString;
4681
+ exchange: z.ZodString;
4682
+ measuredAt: z.ZodString;
4683
+ orderbook: z.ZodObject<{
4684
+ lastUpdated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4685
+ lagMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4686
+ }, "strip", z.ZodTypeAny, {
4687
+ lastUpdated?: string | null | undefined;
4688
+ lagMs?: number | null | undefined;
4689
+ }, {
4690
+ lastUpdated?: string | null | undefined;
4691
+ lagMs?: number | null | undefined;
4692
+ }>;
4693
+ trades: z.ZodObject<{
4694
+ lastUpdated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4695
+ lagMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4696
+ }, "strip", z.ZodTypeAny, {
4697
+ lastUpdated?: string | null | undefined;
4698
+ lagMs?: number | null | undefined;
4699
+ }, {
4700
+ lastUpdated?: string | null | undefined;
4701
+ lagMs?: number | null | undefined;
4702
+ }>;
4703
+ funding: z.ZodObject<{
4704
+ lastUpdated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4705
+ lagMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4706
+ }, "strip", z.ZodTypeAny, {
4707
+ lastUpdated?: string | null | undefined;
4708
+ lagMs?: number | null | undefined;
4709
+ }, {
4710
+ lastUpdated?: string | null | undefined;
4711
+ lagMs?: number | null | undefined;
4712
+ }>;
4713
+ openInterest: z.ZodObject<{
4714
+ lastUpdated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4715
+ lagMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4716
+ }, "strip", z.ZodTypeAny, {
4717
+ lastUpdated?: string | null | undefined;
4718
+ lagMs?: number | null | undefined;
4719
+ }, {
4720
+ lastUpdated?: string | null | undefined;
4721
+ lagMs?: number | null | undefined;
4722
+ }>;
4723
+ liquidations: z.ZodOptional<z.ZodObject<{
4724
+ lastUpdated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4725
+ lagMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4726
+ }, "strip", z.ZodTypeAny, {
4727
+ lastUpdated?: string | null | undefined;
4728
+ lagMs?: number | null | undefined;
4729
+ }, {
4730
+ lastUpdated?: string | null | undefined;
4731
+ lagMs?: number | null | undefined;
4732
+ }>>;
4733
+ }, "strip", z.ZodTypeAny, {
4734
+ orderbook: {
4735
+ lastUpdated?: string | null | undefined;
4736
+ lagMs?: number | null | undefined;
4737
+ };
4738
+ trades: {
4739
+ lastUpdated?: string | null | undefined;
4740
+ lagMs?: number | null | undefined;
4741
+ };
4742
+ funding: {
4743
+ lastUpdated?: string | null | undefined;
4744
+ lagMs?: number | null | undefined;
4745
+ };
4746
+ coin: string;
4747
+ openInterest: {
4748
+ lastUpdated?: string | null | undefined;
4749
+ lagMs?: number | null | undefined;
4750
+ };
4751
+ exchange: string;
4752
+ measuredAt: string;
4753
+ liquidations?: {
4754
+ lastUpdated?: string | null | undefined;
4755
+ lagMs?: number | null | undefined;
4756
+ } | undefined;
4757
+ }, {
4758
+ orderbook: {
4759
+ lastUpdated?: string | null | undefined;
4760
+ lagMs?: number | null | undefined;
4761
+ };
4762
+ trades: {
4763
+ lastUpdated?: string | null | undefined;
4764
+ lagMs?: number | null | undefined;
4765
+ };
4766
+ funding: {
4767
+ lastUpdated?: string | null | undefined;
4768
+ lagMs?: number | null | undefined;
4769
+ };
4770
+ coin: string;
4771
+ openInterest: {
4772
+ lastUpdated?: string | null | undefined;
4773
+ lagMs?: number | null | undefined;
4774
+ };
4775
+ exchange: string;
4776
+ measuredAt: string;
4777
+ liquidations?: {
4778
+ lastUpdated?: string | null | undefined;
4779
+ lagMs?: number | null | undefined;
4780
+ } | undefined;
4781
+ }>;
4782
+ meta: z.ZodOptional<z.ZodObject<{
4783
+ count: z.ZodNumber;
4784
+ nextCursor: z.ZodOptional<z.ZodString>;
4785
+ requestId: z.ZodString;
4786
+ }, "strip", z.ZodTypeAny, {
4787
+ count: number;
4788
+ requestId: string;
4789
+ nextCursor?: string | undefined;
4790
+ }, {
4791
+ count: number;
4792
+ requestId: string;
4793
+ nextCursor?: string | undefined;
4794
+ }>>;
4795
+ }, "strip", z.ZodTypeAny, {
4796
+ data: {
4797
+ orderbook: {
4798
+ lastUpdated?: string | null | undefined;
4799
+ lagMs?: number | null | undefined;
4800
+ };
4801
+ trades: {
4802
+ lastUpdated?: string | null | undefined;
4803
+ lagMs?: number | null | undefined;
4804
+ };
4805
+ funding: {
4806
+ lastUpdated?: string | null | undefined;
4807
+ lagMs?: number | null | undefined;
4808
+ };
4809
+ coin: string;
4810
+ openInterest: {
4811
+ lastUpdated?: string | null | undefined;
4812
+ lagMs?: number | null | undefined;
4813
+ };
4814
+ exchange: string;
4815
+ measuredAt: string;
4816
+ liquidations?: {
4817
+ lastUpdated?: string | null | undefined;
4818
+ lagMs?: number | null | undefined;
4819
+ } | undefined;
4820
+ };
4821
+ success?: boolean | undefined;
4822
+ meta?: {
4823
+ count: number;
4824
+ requestId: string;
4825
+ nextCursor?: string | undefined;
4826
+ } | undefined;
4827
+ }, {
4828
+ data: {
4829
+ orderbook: {
4830
+ lastUpdated?: string | null | undefined;
4831
+ lagMs?: number | null | undefined;
4832
+ };
4833
+ trades: {
4834
+ lastUpdated?: string | null | undefined;
4835
+ lagMs?: number | null | undefined;
4836
+ };
4837
+ funding: {
4838
+ lastUpdated?: string | null | undefined;
4839
+ lagMs?: number | null | undefined;
4840
+ };
4841
+ coin: string;
4842
+ openInterest: {
4843
+ lastUpdated?: string | null | undefined;
4844
+ lagMs?: number | null | undefined;
4845
+ };
4846
+ exchange: string;
4847
+ measuredAt: string;
4848
+ liquidations?: {
4849
+ lastUpdated?: string | null | undefined;
4850
+ lagMs?: number | null | undefined;
4851
+ } | undefined;
4852
+ };
4853
+ success?: boolean | undefined;
4854
+ meta?: {
4855
+ count: number;
4856
+ requestId: string;
4857
+ nextCursor?: string | undefined;
4858
+ } | undefined;
4859
+ }>;
4860
+ declare const CoinSummarySchema: z.ZodObject<{
4861
+ coin: z.ZodString;
4862
+ timestamp: z.ZodString;
4863
+ markPrice: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4864
+ oraclePrice: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4865
+ midPrice: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4866
+ fundingRate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4867
+ premium: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4868
+ openInterest: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4869
+ volume24h: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4870
+ liquidationVolume24h: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4871
+ longLiquidationVolume24h: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4872
+ shortLiquidationVolume24h: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4873
+ }, "strip", z.ZodTypeAny, {
4874
+ coin: string;
4875
+ timestamp: string;
4876
+ midPrice?: string | null | undefined;
4877
+ fundingRate?: string | null | undefined;
4878
+ premium?: string | null | undefined;
4879
+ openInterest?: string | null | undefined;
4880
+ markPrice?: string | null | undefined;
4881
+ oraclePrice?: string | null | undefined;
4882
+ volume24h?: string | null | undefined;
4883
+ liquidationVolume24h?: number | null | undefined;
4884
+ longLiquidationVolume24h?: number | null | undefined;
4885
+ shortLiquidationVolume24h?: number | null | undefined;
4886
+ }, {
4887
+ coin: string;
4888
+ timestamp: string;
4889
+ midPrice?: string | null | undefined;
4890
+ fundingRate?: string | null | undefined;
4891
+ premium?: string | null | undefined;
4892
+ openInterest?: string | null | undefined;
4893
+ markPrice?: string | null | undefined;
4894
+ oraclePrice?: string | null | undefined;
4895
+ volume24h?: string | null | undefined;
4896
+ liquidationVolume24h?: number | null | undefined;
4897
+ longLiquidationVolume24h?: number | null | undefined;
4898
+ shortLiquidationVolume24h?: number | null | undefined;
4899
+ }>;
4900
+ declare const CoinSummaryResponseSchema: z.ZodObject<{
4901
+ success: z.ZodOptional<z.ZodBoolean>;
4902
+ data: z.ZodObject<{
4903
+ coin: z.ZodString;
4904
+ timestamp: z.ZodString;
4905
+ markPrice: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4906
+ oraclePrice: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4907
+ midPrice: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4908
+ fundingRate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4909
+ premium: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4910
+ openInterest: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4911
+ volume24h: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4912
+ liquidationVolume24h: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4913
+ longLiquidationVolume24h: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4914
+ shortLiquidationVolume24h: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4915
+ }, "strip", z.ZodTypeAny, {
4916
+ coin: string;
4917
+ timestamp: string;
4918
+ midPrice?: string | null | undefined;
4919
+ fundingRate?: string | null | undefined;
4920
+ premium?: string | null | undefined;
4921
+ openInterest?: string | null | undefined;
4922
+ markPrice?: string | null | undefined;
4923
+ oraclePrice?: string | null | undefined;
4924
+ volume24h?: string | null | undefined;
4925
+ liquidationVolume24h?: number | null | undefined;
4926
+ longLiquidationVolume24h?: number | null | undefined;
4927
+ shortLiquidationVolume24h?: number | null | undefined;
4928
+ }, {
4929
+ coin: string;
4930
+ timestamp: string;
4931
+ midPrice?: string | null | undefined;
4932
+ fundingRate?: string | null | undefined;
4933
+ premium?: string | null | undefined;
4934
+ openInterest?: string | null | undefined;
4935
+ markPrice?: string | null | undefined;
4936
+ oraclePrice?: string | null | undefined;
4937
+ volume24h?: string | null | undefined;
4938
+ liquidationVolume24h?: number | null | undefined;
4939
+ longLiquidationVolume24h?: number | null | undefined;
4940
+ shortLiquidationVolume24h?: number | null | undefined;
4941
+ }>;
4942
+ meta: z.ZodOptional<z.ZodObject<{
4943
+ count: z.ZodNumber;
4944
+ nextCursor: z.ZodOptional<z.ZodString>;
4945
+ requestId: z.ZodString;
4946
+ }, "strip", z.ZodTypeAny, {
4947
+ count: number;
4948
+ requestId: string;
4949
+ nextCursor?: string | undefined;
4950
+ }, {
4951
+ count: number;
4952
+ requestId: string;
4953
+ nextCursor?: string | undefined;
4954
+ }>>;
4955
+ }, "strip", z.ZodTypeAny, {
4956
+ data: {
4957
+ coin: string;
4958
+ timestamp: string;
4959
+ midPrice?: string | null | undefined;
4960
+ fundingRate?: string | null | undefined;
4961
+ premium?: string | null | undefined;
4962
+ openInterest?: string | null | undefined;
4963
+ markPrice?: string | null | undefined;
4964
+ oraclePrice?: string | null | undefined;
4965
+ volume24h?: string | null | undefined;
4966
+ liquidationVolume24h?: number | null | undefined;
4967
+ longLiquidationVolume24h?: number | null | undefined;
4968
+ shortLiquidationVolume24h?: number | null | undefined;
4969
+ };
4970
+ success?: boolean | undefined;
4971
+ meta?: {
4972
+ count: number;
4973
+ requestId: string;
4974
+ nextCursor?: string | undefined;
4975
+ } | undefined;
4976
+ }, {
4977
+ data: {
4978
+ coin: string;
4979
+ timestamp: string;
4980
+ midPrice?: string | null | undefined;
4981
+ fundingRate?: string | null | undefined;
4982
+ premium?: string | null | undefined;
4983
+ openInterest?: string | null | undefined;
4984
+ markPrice?: string | null | undefined;
4985
+ oraclePrice?: string | null | undefined;
4986
+ volume24h?: string | null | undefined;
4987
+ liquidationVolume24h?: number | null | undefined;
4988
+ longLiquidationVolume24h?: number | null | undefined;
4989
+ shortLiquidationVolume24h?: number | null | undefined;
4990
+ };
4991
+ success?: boolean | undefined;
4992
+ meta?: {
4993
+ count: number;
4994
+ requestId: string;
4995
+ nextCursor?: string | undefined;
4996
+ } | undefined;
4997
+ }>;
4998
+ declare const PriceSnapshotSchema: z.ZodObject<{
4999
+ timestamp: z.ZodString;
5000
+ markPrice: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5001
+ oraclePrice: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5002
+ midPrice: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5003
+ }, "strip", z.ZodTypeAny, {
5004
+ timestamp: string;
5005
+ midPrice?: string | null | undefined;
5006
+ markPrice?: string | null | undefined;
5007
+ oraclePrice?: string | null | undefined;
5008
+ }, {
5009
+ timestamp: string;
5010
+ midPrice?: string | null | undefined;
5011
+ markPrice?: string | null | undefined;
5012
+ oraclePrice?: string | null | undefined;
5013
+ }>;
5014
+ declare const PriceSnapshotArrayResponseSchema: z.ZodObject<{
5015
+ success: z.ZodOptional<z.ZodBoolean>;
5016
+ data: z.ZodArray<z.ZodObject<{
5017
+ timestamp: z.ZodString;
5018
+ markPrice: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5019
+ oraclePrice: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5020
+ midPrice: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5021
+ }, "strip", z.ZodTypeAny, {
5022
+ timestamp: string;
5023
+ midPrice?: string | null | undefined;
5024
+ markPrice?: string | null | undefined;
5025
+ oraclePrice?: string | null | undefined;
5026
+ }, {
5027
+ timestamp: string;
5028
+ midPrice?: string | null | undefined;
5029
+ markPrice?: string | null | undefined;
5030
+ oraclePrice?: string | null | undefined;
5031
+ }>, "many">;
5032
+ meta: z.ZodOptional<z.ZodObject<{
5033
+ count: z.ZodNumber;
5034
+ nextCursor: z.ZodOptional<z.ZodString>;
5035
+ requestId: z.ZodString;
5036
+ }, "strip", z.ZodTypeAny, {
5037
+ count: number;
5038
+ requestId: string;
5039
+ nextCursor?: string | undefined;
5040
+ }, {
5041
+ count: number;
5042
+ requestId: string;
5043
+ nextCursor?: string | undefined;
5044
+ }>>;
5045
+ }, "strip", z.ZodTypeAny, {
5046
+ data: {
5047
+ timestamp: string;
5048
+ midPrice?: string | null | undefined;
5049
+ markPrice?: string | null | undefined;
5050
+ oraclePrice?: string | null | undefined;
5051
+ }[];
5052
+ success?: boolean | undefined;
5053
+ meta?: {
5054
+ count: number;
5055
+ requestId: string;
5056
+ nextCursor?: string | undefined;
5057
+ } | undefined;
5058
+ }, {
5059
+ data: {
5060
+ timestamp: string;
5061
+ midPrice?: string | null | undefined;
5062
+ markPrice?: string | null | undefined;
5063
+ oraclePrice?: string | null | undefined;
5064
+ }[];
5065
+ success?: boolean | undefined;
5066
+ meta?: {
5067
+ count: number;
5068
+ requestId: string;
5069
+ nextCursor?: string | undefined;
5070
+ } | undefined;
5071
+ }>;
4126
5072
  type ValidatedApiMeta = z.infer<typeof ApiMetaSchema>;
4127
5073
  type ValidatedPriceLevel = z.infer<typeof PriceLevelSchema>;
4128
5074
  type ValidatedOrderBook = z.infer<typeof OrderBookSchema>;
@@ -4134,4 +5080,4 @@ type ValidatedCandle = z.infer<typeof CandleSchema>;
4134
5080
  type ValidatedLiquidation = z.infer<typeof LiquidationSchema>;
4135
5081
  type ValidatedWsServerMessage = z.infer<typeof WsServerMessageSchema>;
4136
5082
 
4137
- export { type ApiError, type ApiMeta, ApiMetaSchema, type ApiResponse, ApiResponseSchema, type Candle, CandleArrayResponseSchema, type CandleHistoryParams, type CandleInterval, CandleIntervalSchema, CandleSchema, type ClientOptions, type CompletenessMetrics, type CoverageGap, type CoverageResponse, type CursorResponse, type DataCadence, type DataFreshness, type DataTypeCoverage, type DataTypeStatus, type ExchangeCoverage, type ExchangeLatency, type ExchangeStatus, type FundingRate, FundingRateArrayResponseSchema, FundingRateResponseSchema, FundingRateSchema, type GetOrderBookParams, type GetTradesCursorParams, Hip3Client, type Hip3Instrument, HyperliquidClient, type Incident, type IncidentSeverityValue, type IncidentStatusValue, type IncidentsResponse, type Instrument, InstrumentArrayResponseSchema, InstrumentResponseSchema, InstrumentSchema, type InstrumentType, InstrumentTypeSchema, type LatencyResponse, LighterClient, type LighterGranularity, type LighterInstrument, type Liquidation, LiquidationArrayResponseSchema, type LiquidationHistoryParams, LiquidationSchema, LiquidationSideSchema, type LiquidationsByUserParams, type ListIncidentsParams, type OpenInterest, OpenInterestArrayResponseSchema, OpenInterestResponseSchema, OpenInterestSchema, type OrderBook, OrderBookArrayResponseSchema, type OrderBookHistoryParams, OrderBookReconstructor, OrderBookResponseSchema, OrderBookSchema, type OrderbookDelta, OxArchive, OxArchiveError, OxArchiveWs, type Pagination, type PriceLevel, PriceLevelSchema, type ReconstructOptions, type ReconstructedOrderBook, type RestApiLatency, type SlaActual, type SlaParams, type SlaResponse, type SlaTargets, type StatusResponse, type SymbolCoverageOptions, type SymbolCoverageResponse, type SymbolDataTypeCoverage, type SystemStatusValue, type TickData, type TickHistoryParams, type Timestamp, type TimestampedRecord, TimestampedRecordSchema, type Trade, TradeArrayResponseSchema, type TradeDirection, TradeDirectionSchema, TradeSchema, type TradeSide, TradeSideSchema, type ValidatedApiMeta, type ValidatedCandle, type ValidatedFundingRate, type ValidatedInstrument, type ValidatedLiquidation, type ValidatedOpenInterest, type ValidatedOrderBook, type ValidatedPriceLevel, type ValidatedTrade, type ValidatedWsServerMessage, type WebSocketLatency, type WsChannel, WsChannelSchema, type WsClientMessage, type WsConnectionState, WsConnectionStateSchema, type WsData, WsDataSchema, type WsError, WsErrorSchema, type WsEventHandlers, type WsHistoricalBatch, WsHistoricalBatchSchema, type WsHistoricalData, WsHistoricalDataSchema, type WsHistoricalTickData, type WsOptions, type WsPing, type WsPong, WsPongSchema, type WsReplay, type WsReplayCompleted, WsReplayCompletedSchema, type WsReplayPause, type WsReplayPaused, WsReplayPausedSchema, type WsReplayResume, type WsReplayResumed, WsReplayResumedSchema, type WsReplaySeek, type WsReplayStarted, WsReplayStartedSchema, type WsReplayStop, type WsReplayStopped, WsReplayStoppedSchema, type WsServerMessage, WsServerMessageSchema, type WsStream, type WsStreamCompleted, WsStreamCompletedSchema, type WsStreamProgress, WsStreamProgressSchema, type WsStreamStarted, WsStreamStartedSchema, type WsStreamStop, type WsStreamStopped, WsStreamStoppedSchema, type WsSubscribe, type WsSubscribed, WsSubscribedSchema, type WsUnsubscribe, type WsUnsubscribed, WsUnsubscribedSchema, OxArchive as default, reconstructFinal, reconstructOrderBook };
5083
+ export { type ApiError, type ApiMeta, ApiMetaSchema, type ApiResponse, ApiResponseSchema, type Candle, CandleArrayResponseSchema, type CandleHistoryParams, type CandleInterval, CandleIntervalSchema, CandleSchema, type ClientOptions, type CoinFreshness, CoinFreshnessResponseSchema, CoinFreshnessSchema, type CoinSummary, CoinSummaryResponseSchema, CoinSummarySchema, type CompletenessMetrics, type CoverageGap, type CoverageResponse, type CursorResponse, type DataCadence, type DataFreshness, type DataTypeCoverage, type DataTypeFreshnessInfo, DataTypeFreshnessInfoSchema, type DataTypeStatus, type ExchangeCoverage, type ExchangeLatency, type ExchangeStatus, type FundingHistoryParams, type FundingRate, FundingRateArrayResponseSchema, FundingRateResponseSchema, FundingRateSchema, type GetOrderBookParams, type GetTradesCursorParams, Hip3Client, type Hip3Instrument, HyperliquidClient, type Incident, type IncidentSeverityValue, type IncidentStatusValue, type IncidentsResponse, type Instrument, InstrumentArrayResponseSchema, InstrumentResponseSchema, InstrumentSchema, type InstrumentType, InstrumentTypeSchema, type LatencyResponse, LighterClient, type LighterGranularity, type LighterInstrument, type Liquidation, LiquidationArrayResponseSchema, type LiquidationHistoryParams, LiquidationSchema, LiquidationSideSchema, type LiquidationVolume, LiquidationVolumeArrayResponseSchema, type LiquidationVolumeParams, LiquidationVolumeSchema, type LiquidationsByUserParams, type ListIncidentsParams, type OiFundingInterval, type OpenInterest, OpenInterestArrayResponseSchema, type OpenInterestHistoryParams, OpenInterestResponseSchema, OpenInterestSchema, type OrderBook, OrderBookArrayResponseSchema, type OrderBookHistoryParams, OrderBookReconstructor, OrderBookResponseSchema, OrderBookSchema, type OrderbookDelta, OxArchive, OxArchiveError, OxArchiveWs, type Pagination, type PriceHistoryParams, type PriceLevel, PriceLevelSchema, type PriceSnapshot, PriceSnapshotArrayResponseSchema, PriceSnapshotSchema, type ReconstructOptions, type ReconstructedOrderBook, type RestApiLatency, type SlaActual, type SlaParams, type SlaResponse, type SlaTargets, type StatusResponse, type SymbolCoverageOptions, type SymbolCoverageResponse, type SymbolDataTypeCoverage, type SystemStatusValue, type TickData, type TickHistoryParams, type Timestamp, type TimestampedRecord, TimestampedRecordSchema, type Trade, TradeArrayResponseSchema, type TradeDirection, TradeDirectionSchema, TradeSchema, type TradeSide, TradeSideSchema, type ValidatedApiMeta, type ValidatedCandle, type ValidatedFundingRate, type ValidatedInstrument, type ValidatedLiquidation, type ValidatedOpenInterest, type ValidatedOrderBook, type ValidatedPriceLevel, type ValidatedTrade, type ValidatedWsServerMessage, type WebSocketLatency, type WsChannel, WsChannelSchema, type WsClientMessage, type WsConnectionState, WsConnectionStateSchema, type WsData, WsDataSchema, type WsError, WsErrorSchema, type WsEventHandlers, type WsGapDetected, type WsHistoricalBatch, WsHistoricalBatchSchema, type WsHistoricalData, WsHistoricalDataSchema, type WsHistoricalTickData, type WsOptions, type WsPing, type WsPong, WsPongSchema, type WsReplay, type WsReplayCompleted, WsReplayCompletedSchema, type WsReplayPause, type WsReplayPaused, WsReplayPausedSchema, type WsReplayResume, type WsReplayResumed, WsReplayResumedSchema, type WsReplaySeek, type WsReplaySnapshot, WsReplaySnapshotSchema, type WsReplayStarted, WsReplayStartedSchema, type WsReplayStop, type WsReplayStopped, WsReplayStoppedSchema, type WsServerMessage, WsServerMessageSchema, type WsStream, type WsStreamCompleted, WsStreamCompletedSchema, type WsStreamProgress, WsStreamProgressSchema, type WsStreamStarted, WsStreamStartedSchema, type WsStreamStop, type WsStreamStopped, WsStreamStoppedSchema, type WsSubscribe, type WsSubscribed, WsSubscribedSchema, type WsUnsubscribe, type WsUnsubscribed, WsUnsubscribedSchema, OxArchive as default, reconstructFinal, reconstructOrderBook };