@pear-protocol/core-sdk 2.1.0 → 2.3.0

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.
@@ -13,7 +13,7 @@ declare class Core {
13
13
  accounts: {
14
14
  id: string;
15
15
  alias: string;
16
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
16
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
17
17
  kind: "vault" | "eoa";
18
18
  exchangeIdentifier: string;
19
19
  createdAt: string;
@@ -32,7 +32,7 @@ declare class Core {
32
32
  account: {
33
33
  id: string;
34
34
  alias: string;
35
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
35
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
36
36
  kind: "vault" | "eoa";
37
37
  exchangeIdentifier: string;
38
38
  createdAt: string;
@@ -51,7 +51,7 @@ declare class Core {
51
51
  account: {
52
52
  id: string;
53
53
  alias: string;
54
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
54
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
55
55
  kind: "vault" | "eoa";
56
56
  exchangeIdentifier: string;
57
57
  createdAt: string;
@@ -72,7 +72,7 @@ declare class Core {
72
72
  account: {
73
73
  id: string;
74
74
  alias: string;
75
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
75
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
76
76
  kind: "vault" | "eoa";
77
77
  exchangeIdentifier: string;
78
78
  createdAt: string;
@@ -94,7 +94,7 @@ declare class Core {
94
94
  account: {
95
95
  id: string;
96
96
  alias: string;
97
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
97
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
98
98
  kind: "vault" | "eoa";
99
99
  exchangeIdentifier: string;
100
100
  createdAt: string;
@@ -123,7 +123,7 @@ declare class Core {
123
123
  account: {
124
124
  id: string;
125
125
  alias: string;
126
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
126
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
127
127
  kind: "vault" | "eoa";
128
128
  exchangeIdentifier: string;
129
129
  createdAt: string;
@@ -146,7 +146,7 @@ declare class Core {
146
146
  account: {
147
147
  id: string;
148
148
  alias: string;
149
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
149
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
150
150
  kind: "vault" | "eoa";
151
151
  exchangeIdentifier: string;
152
152
  createdAt: string;
@@ -170,7 +170,7 @@ declare class Core {
170
170
  account: {
171
171
  id: string;
172
172
  alias: string;
173
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
173
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
174
174
  kind: "vault" | "eoa";
175
175
  exchangeIdentifier: string;
176
176
  createdAt: string;
@@ -188,13 +188,36 @@ declare class Core {
188
188
  api_private_key: string;
189
189
  api_key_index: number;
190
190
  };
191
+ } | {
192
+ account: {
193
+ id: string;
194
+ alias: string;
195
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
196
+ kind: "vault" | "eoa";
197
+ exchangeIdentifier: string;
198
+ createdAt: string;
199
+ updatedAt: string;
200
+ metadata?: {
201
+ agentWalletAddress: string;
202
+ isSubaccount: boolean;
203
+ mainAccountAddress: string;
204
+ } | {
205
+ l1_address: string;
206
+ } | undefined;
207
+ deletedAt?: string | undefined;
208
+ };
209
+ credentials: {
210
+ api_private_key: string;
211
+ api_key_index: number;
212
+ };
213
+ connector: "lighter_rhc";
191
214
  }>;
192
215
  restore: (id: string, headers?: ClientHeaders) => Promise<void>;
193
216
  createVault: (body: HttpTypes.CreateVaultTradeAccountInput, headers?: ClientHeaders) => Promise<{
194
217
  account: {
195
218
  id: string;
196
219
  alias: string;
197
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
220
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
198
221
  kind: "vault" | "eoa";
199
222
  exchangeIdentifier: string;
200
223
  createdAt: string;
@@ -218,7 +241,7 @@ declare class Core {
218
241
  account: {
219
242
  id: string;
220
243
  alias: string;
221
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
244
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
222
245
  kind: "vault" | "eoa";
223
246
  exchangeIdentifier: string;
224
247
  createdAt: string;
@@ -238,7 +261,7 @@ declare class Core {
238
261
  account: {
239
262
  id: string;
240
263
  alias: string;
241
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
264
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
242
265
  kind: "vault" | "eoa";
243
266
  exchangeIdentifier: string;
244
267
  createdAt: string;
@@ -379,7 +402,7 @@ declare class Core {
379
402
  limit: number;
380
403
  executions: ({
381
404
  id: string;
382
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
405
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
383
406
  status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
384
407
  createdAt: string;
385
408
  updatedAt: string;
@@ -392,6 +415,7 @@ declare class Core {
392
415
  amount: string;
393
416
  reduceOnly: boolean;
394
417
  id?: string | undefined;
418
+ maxImpactPrice?: string | undefined;
395
419
  }, ...{
396
420
  symbol: string;
397
421
  side: "BUY" | "SELL";
@@ -399,11 +423,12 @@ declare class Core {
399
423
  amount: string;
400
424
  reduceOnly: boolean;
401
425
  id?: string | undefined;
426
+ maxImpactPrice?: string | undefined;
402
427
  }[]];
403
428
  error?: string | undefined;
404
429
  orders?: {
405
430
  id: string;
406
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
431
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
407
432
  status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
408
433
  createdAt: string;
409
434
  updatedAt: string;
@@ -418,18 +443,18 @@ declare class Core {
418
443
  errorCode?: string | undefined;
419
444
  filledPrice?: string | undefined;
420
445
  }[] | undefined;
446
+ fulfillment?: "NONE" | "PENDING" | "PARTIAL" | "COMPLETE" | undefined;
447
+ position?: {
448
+ id: string;
449
+ } | undefined;
421
450
  } | {
422
451
  id: string;
423
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
452
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
424
453
  status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
425
454
  createdAt: string;
426
455
  updatedAt: string;
427
456
  intent: "ADJUST";
428
457
  orderType: "MARKET";
429
- position: {
430
- id: string;
431
- exposure: Record<string, `-${string}` | `+${string}`>;
432
- };
433
458
  legs: [{
434
459
  symbol: string;
435
460
  side: "BUY" | "SELL";
@@ -437,6 +462,7 @@ declare class Core {
437
462
  amount: string;
438
463
  reduceOnly: boolean;
439
464
  id?: string | undefined;
465
+ maxImpactPrice?: string | undefined;
440
466
  }, ...{
441
467
  symbol: string;
442
468
  side: "BUY" | "SELL";
@@ -444,11 +470,12 @@ declare class Core {
444
470
  amount: string;
445
471
  reduceOnly: boolean;
446
472
  id?: string | undefined;
473
+ maxImpactPrice?: string | undefined;
447
474
  }[]];
448
475
  error?: string | undefined;
449
476
  orders?: {
450
477
  id: string;
451
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
478
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
452
479
  status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
453
480
  createdAt: string;
454
481
  updatedAt: string;
@@ -463,22 +490,23 @@ declare class Core {
463
490
  errorCode?: string | undefined;
464
491
  filledPrice?: string | undefined;
465
492
  }[] | undefined;
493
+ fulfillment?: "NONE" | "PENDING" | "PARTIAL" | "COMPLETE" | undefined;
494
+ position?: {
495
+ id: string;
496
+ exposure: Record<string, `-${string}` | `+${string}`>;
497
+ } | undefined;
466
498
  } | {
467
499
  id: string;
468
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
500
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
469
501
  status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
470
502
  createdAt: string;
471
503
  updatedAt: string;
472
504
  intent: "CLOSE";
473
505
  orderType: "MARKET";
474
- position: {
475
- id: string;
476
- exposure: Record<string, `-${string}` | `+${string}`>;
477
- };
478
506
  error?: string | undefined;
479
507
  orders?: {
480
508
  id: string;
481
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
509
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
482
510
  status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
483
511
  createdAt: string;
484
512
  updatedAt: string;
@@ -493,22 +521,23 @@ declare class Core {
493
521
  errorCode?: string | undefined;
494
522
  filledPrice?: string | undefined;
495
523
  }[] | undefined;
524
+ fulfillment?: "NONE" | "PENDING" | "PARTIAL" | "COMPLETE" | undefined;
525
+ position?: {
526
+ id: string;
527
+ exposure: Record<string, `-${string}` | `+${string}`>;
528
+ } | undefined;
496
529
  } | {
497
530
  id: string;
498
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
531
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
499
532
  status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
500
533
  createdAt: string;
501
534
  updatedAt: string;
502
535
  intent: "REVERSE";
503
536
  orderType: "MARKET";
504
- position: {
505
- id: string;
506
- exposure: Record<string, `-${string}` | `+${string}`>;
507
- };
508
537
  error?: string | undefined;
509
538
  orders?: {
510
539
  id: string;
511
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
540
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
512
541
  status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
513
542
  createdAt: string;
514
543
  updatedAt: string;
@@ -523,13 +552,18 @@ declare class Core {
523
552
  errorCode?: string | undefined;
524
553
  filledPrice?: string | undefined;
525
554
  }[] | undefined;
555
+ fulfillment?: "NONE" | "PENDING" | "PARTIAL" | "COMPLETE" | undefined;
556
+ position?: {
557
+ id: string;
558
+ exposure: Record<string, `-${string}` | `+${string}`>;
559
+ } | undefined;
526
560
  })[];
527
561
  nextCursor?: string | undefined;
528
562
  }>;
529
563
  get: (id: string, headers?: ClientHeaders) => Promise<{
530
564
  execution: {
531
565
  id: string;
532
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
566
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
533
567
  status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
534
568
  createdAt: string;
535
569
  updatedAt: string;
@@ -542,6 +576,7 @@ declare class Core {
542
576
  amount: string;
543
577
  reduceOnly: boolean;
544
578
  id?: string | undefined;
579
+ maxImpactPrice?: string | undefined;
545
580
  }, ...{
546
581
  symbol: string;
547
582
  side: "BUY" | "SELL";
@@ -549,11 +584,12 @@ declare class Core {
549
584
  amount: string;
550
585
  reduceOnly: boolean;
551
586
  id?: string | undefined;
587
+ maxImpactPrice?: string | undefined;
552
588
  }[]];
553
589
  error?: string | undefined;
554
590
  orders?: {
555
591
  id: string;
556
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
592
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
557
593
  status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
558
594
  createdAt: string;
559
595
  updatedAt: string;
@@ -568,18 +604,18 @@ declare class Core {
568
604
  errorCode?: string | undefined;
569
605
  filledPrice?: string | undefined;
570
606
  }[] | undefined;
607
+ fulfillment?: "NONE" | "PENDING" | "PARTIAL" | "COMPLETE" | undefined;
608
+ position?: {
609
+ id: string;
610
+ } | undefined;
571
611
  } | {
572
612
  id: string;
573
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
613
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
574
614
  status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
575
615
  createdAt: string;
576
616
  updatedAt: string;
577
617
  intent: "ADJUST";
578
618
  orderType: "MARKET";
579
- position: {
580
- id: string;
581
- exposure: Record<string, `-${string}` | `+${string}`>;
582
- };
583
619
  legs: [{
584
620
  symbol: string;
585
621
  side: "BUY" | "SELL";
@@ -587,6 +623,7 @@ declare class Core {
587
623
  amount: string;
588
624
  reduceOnly: boolean;
589
625
  id?: string | undefined;
626
+ maxImpactPrice?: string | undefined;
590
627
  }, ...{
591
628
  symbol: string;
592
629
  side: "BUY" | "SELL";
@@ -594,11 +631,12 @@ declare class Core {
594
631
  amount: string;
595
632
  reduceOnly: boolean;
596
633
  id?: string | undefined;
634
+ maxImpactPrice?: string | undefined;
597
635
  }[]];
598
636
  error?: string | undefined;
599
637
  orders?: {
600
638
  id: string;
601
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
639
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
602
640
  status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
603
641
  createdAt: string;
604
642
  updatedAt: string;
@@ -613,22 +651,23 @@ declare class Core {
613
651
  errorCode?: string | undefined;
614
652
  filledPrice?: string | undefined;
615
653
  }[] | undefined;
654
+ fulfillment?: "NONE" | "PENDING" | "PARTIAL" | "COMPLETE" | undefined;
655
+ position?: {
656
+ id: string;
657
+ exposure: Record<string, `-${string}` | `+${string}`>;
658
+ } | undefined;
616
659
  } | {
617
660
  id: string;
618
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
661
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
619
662
  status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
620
663
  createdAt: string;
621
664
  updatedAt: string;
622
665
  intent: "CLOSE";
623
666
  orderType: "MARKET";
624
- position: {
625
- id: string;
626
- exposure: Record<string, `-${string}` | `+${string}`>;
627
- };
628
667
  error?: string | undefined;
629
668
  orders?: {
630
669
  id: string;
631
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
670
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
632
671
  status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
633
672
  createdAt: string;
634
673
  updatedAt: string;
@@ -643,22 +682,23 @@ declare class Core {
643
682
  errorCode?: string | undefined;
644
683
  filledPrice?: string | undefined;
645
684
  }[] | undefined;
685
+ fulfillment?: "NONE" | "PENDING" | "PARTIAL" | "COMPLETE" | undefined;
686
+ position?: {
687
+ id: string;
688
+ exposure: Record<string, `-${string}` | `+${string}`>;
689
+ } | undefined;
646
690
  } | {
647
691
  id: string;
648
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
692
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
649
693
  status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
650
694
  createdAt: string;
651
695
  updatedAt: string;
652
696
  intent: "REVERSE";
653
697
  orderType: "MARKET";
654
- position: {
655
- id: string;
656
- exposure: Record<string, `-${string}` | `+${string}`>;
657
- };
658
698
  error?: string | undefined;
659
699
  orders?: {
660
700
  id: string;
661
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
701
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
662
702
  status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
663
703
  createdAt: string;
664
704
  updatedAt: string;
@@ -673,6 +713,11 @@ declare class Core {
673
713
  errorCode?: string | undefined;
674
714
  filledPrice?: string | undefined;
675
715
  }[] | undefined;
716
+ fulfillment?: "NONE" | "PENDING" | "PARTIAL" | "COMPLETE" | undefined;
717
+ position?: {
718
+ id: string;
719
+ exposure: Record<string, `-${string}` | `+${string}`>;
720
+ } | undefined;
676
721
  };
677
722
  }>;
678
723
  };
@@ -684,7 +729,7 @@ declare class Core {
684
729
  tradeAccountId: string;
685
730
  symbol: string;
686
731
  positionId: string;
687
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
732
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
688
733
  side: "BUY" | "SELL";
689
734
  reduceOnly: boolean;
690
735
  isExternal: boolean;
@@ -711,7 +756,7 @@ declare class Core {
711
756
  tradeAccountId: string;
712
757
  symbol: string;
713
758
  positionId: string;
714
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
759
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
715
760
  side: "BUY" | "SELL";
716
761
  reduceOnly: boolean;
717
762
  isExternal: boolean;
@@ -754,7 +799,7 @@ declare class Core {
754
799
  limit: number;
755
800
  ladders: {
756
801
  id: string;
757
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
802
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
758
803
  positionKey: string;
759
804
  config: {
760
805
  thresholdStart: number;
@@ -766,7 +811,7 @@ declare class Core {
766
811
  triggers: ({
767
812
  id: string;
768
813
  tradeAccountId: string;
769
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
814
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
770
815
  status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
771
816
  bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
772
817
  createdAt: string;
@@ -805,7 +850,7 @@ declare class Core {
805
850
  } | {
806
851
  type: "funding_rate";
807
852
  data: {
808
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
853
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
809
854
  symbol: string;
810
855
  track: "PEAK" | "TROUGH";
811
856
  threshold: number;
@@ -858,7 +903,7 @@ declare class Core {
858
903
  tradeAccountId: string;
859
904
  symbol: string;
860
905
  positionId: string;
861
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
906
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
862
907
  side: "BUY" | "SELL";
863
908
  reduceOnly: boolean;
864
909
  isExternal: boolean;
@@ -880,7 +925,7 @@ declare class Core {
880
925
  } | {
881
926
  id: string;
882
927
  tradeAccountId: string;
883
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
928
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
884
929
  status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
885
930
  bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
886
931
  createdAt: string;
@@ -940,7 +985,7 @@ declare class Core {
940
985
  } | {
941
986
  type: "funding_rate";
942
987
  data: {
943
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
988
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
944
989
  symbol: string;
945
990
  track: "PEAK" | "TROUGH";
946
991
  threshold: number;
@@ -995,7 +1040,7 @@ declare class Core {
995
1040
  tradeAccountId: string;
996
1041
  symbol: string;
997
1042
  positionId: string;
998
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
1043
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
999
1044
  side: "BUY" | "SELL";
1000
1045
  reduceOnly: boolean;
1001
1046
  isExternal: boolean;
@@ -1025,7 +1070,7 @@ declare class Core {
1025
1070
  } | {
1026
1071
  id: string;
1027
1072
  tradeAccountId: string;
1028
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
1073
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
1029
1074
  status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
1030
1075
  bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
1031
1076
  createdAt: string;
@@ -1123,7 +1168,7 @@ declare class Core {
1123
1168
  } | {
1124
1169
  type: "funding_rate";
1125
1170
  data: {
1126
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
1171
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
1127
1172
  symbol: string;
1128
1173
  track: "PEAK" | "TROUGH";
1129
1174
  threshold: number;
@@ -1163,7 +1208,7 @@ declare class Core {
1163
1208
  tradeAccountId: string;
1164
1209
  symbol: string;
1165
1210
  positionId: string;
1166
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
1211
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
1167
1212
  side: "BUY" | "SELL";
1168
1213
  reduceOnly: boolean;
1169
1214
  isExternal: boolean;
@@ -1193,7 +1238,7 @@ declare class Core {
1193
1238
  } | {
1194
1239
  id: string;
1195
1240
  tradeAccountId: string;
1196
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
1241
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
1197
1242
  status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
1198
1243
  bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
1199
1244
  createdAt: string;
@@ -1253,7 +1298,7 @@ declare class Core {
1253
1298
  } | {
1254
1299
  type: "funding_rate";
1255
1300
  data: {
1256
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
1301
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
1257
1302
  symbol: string;
1258
1303
  track: "PEAK" | "TROUGH";
1259
1304
  threshold: number;
@@ -1311,7 +1356,7 @@ declare class Core {
1311
1356
  tradeAccountId: string;
1312
1357
  symbol: string;
1313
1358
  positionId: string;
1314
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
1359
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
1315
1360
  side: "BUY" | "SELL";
1316
1361
  reduceOnly: boolean;
1317
1362
  isExternal: boolean;
@@ -1342,7 +1387,7 @@ declare class Core {
1342
1387
  } | {
1343
1388
  id: string;
1344
1389
  tradeAccountId: string;
1345
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
1390
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
1346
1391
  status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
1347
1392
  bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
1348
1393
  createdAt: string;
@@ -1440,7 +1485,7 @@ declare class Core {
1440
1485
  } | {
1441
1486
  type: "funding_rate";
1442
1487
  data: {
1443
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
1488
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
1444
1489
  symbol: string;
1445
1490
  track: "PEAK" | "TROUGH";
1446
1491
  threshold: number;
@@ -1486,7 +1531,7 @@ declare class Core {
1486
1531
  tradeAccountId: string;
1487
1532
  symbol: string;
1488
1533
  positionId: string;
1489
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
1534
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
1490
1535
  side: "BUY" | "SELL";
1491
1536
  reduceOnly: boolean;
1492
1537
  isExternal: boolean;
@@ -1571,7 +1616,7 @@ declare class Core {
1571
1616
  create: (body: HttpTypes.CreateLadder, headers?: ClientHeaders) => Promise<{
1572
1617
  ladder: {
1573
1618
  id: string;
1574
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
1619
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
1575
1620
  positionKey: string;
1576
1621
  config: {
1577
1622
  thresholdStart: number;
@@ -1583,7 +1628,7 @@ declare class Core {
1583
1628
  triggers: ({
1584
1629
  id: string;
1585
1630
  tradeAccountId: string;
1586
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
1631
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
1587
1632
  status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
1588
1633
  bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
1589
1634
  createdAt: string;
@@ -1622,7 +1667,7 @@ declare class Core {
1622
1667
  } | {
1623
1668
  type: "funding_rate";
1624
1669
  data: {
1625
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
1670
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
1626
1671
  symbol: string;
1627
1672
  track: "PEAK" | "TROUGH";
1628
1673
  threshold: number;
@@ -1675,7 +1720,7 @@ declare class Core {
1675
1720
  tradeAccountId: string;
1676
1721
  symbol: string;
1677
1722
  positionId: string;
1678
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
1723
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
1679
1724
  side: "BUY" | "SELL";
1680
1725
  reduceOnly: boolean;
1681
1726
  isExternal: boolean;
@@ -1697,7 +1742,7 @@ declare class Core {
1697
1742
  } | {
1698
1743
  id: string;
1699
1744
  tradeAccountId: string;
1700
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
1745
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
1701
1746
  status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
1702
1747
  bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
1703
1748
  createdAt: string;
@@ -1757,7 +1802,7 @@ declare class Core {
1757
1802
  } | {
1758
1803
  type: "funding_rate";
1759
1804
  data: {
1760
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
1805
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
1761
1806
  symbol: string;
1762
1807
  track: "PEAK" | "TROUGH";
1763
1808
  threshold: number;
@@ -1812,7 +1857,7 @@ declare class Core {
1812
1857
  tradeAccountId: string;
1813
1858
  symbol: string;
1814
1859
  positionId: string;
1815
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
1860
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
1816
1861
  side: "BUY" | "SELL";
1817
1862
  reduceOnly: boolean;
1818
1863
  isExternal: boolean;
@@ -1842,7 +1887,7 @@ declare class Core {
1842
1887
  } | {
1843
1888
  id: string;
1844
1889
  tradeAccountId: string;
1845
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
1890
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
1846
1891
  status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
1847
1892
  bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
1848
1893
  createdAt: string;
@@ -1940,7 +1985,7 @@ declare class Core {
1940
1985
  } | {
1941
1986
  type: "funding_rate";
1942
1987
  data: {
1943
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
1988
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
1944
1989
  symbol: string;
1945
1990
  track: "PEAK" | "TROUGH";
1946
1991
  threshold: number;
@@ -1980,7 +2025,7 @@ declare class Core {
1980
2025
  tradeAccountId: string;
1981
2026
  symbol: string;
1982
2027
  positionId: string;
1983
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
2028
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
1984
2029
  side: "BUY" | "SELL";
1985
2030
  reduceOnly: boolean;
1986
2031
  isExternal: boolean;
@@ -2010,7 +2055,7 @@ declare class Core {
2010
2055
  } | {
2011
2056
  id: string;
2012
2057
  tradeAccountId: string;
2013
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
2058
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
2014
2059
  status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
2015
2060
  bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
2016
2061
  createdAt: string;
@@ -2070,7 +2115,7 @@ declare class Core {
2070
2115
  } | {
2071
2116
  type: "funding_rate";
2072
2117
  data: {
2073
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
2118
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
2074
2119
  symbol: string;
2075
2120
  track: "PEAK" | "TROUGH";
2076
2121
  threshold: number;
@@ -2128,7 +2173,7 @@ declare class Core {
2128
2173
  tradeAccountId: string;
2129
2174
  symbol: string;
2130
2175
  positionId: string;
2131
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
2176
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
2132
2177
  side: "BUY" | "SELL";
2133
2178
  reduceOnly: boolean;
2134
2179
  isExternal: boolean;
@@ -2159,7 +2204,7 @@ declare class Core {
2159
2204
  } | {
2160
2205
  id: string;
2161
2206
  tradeAccountId: string;
2162
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
2207
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
2163
2208
  status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
2164
2209
  bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
2165
2210
  createdAt: string;
@@ -2257,7 +2302,7 @@ declare class Core {
2257
2302
  } | {
2258
2303
  type: "funding_rate";
2259
2304
  data: {
2260
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
2305
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
2261
2306
  symbol: string;
2262
2307
  track: "PEAK" | "TROUGH";
2263
2308
  threshold: number;
@@ -2303,7 +2348,7 @@ declare class Core {
2303
2348
  tradeAccountId: string;
2304
2349
  symbol: string;
2305
2350
  positionId: string;
2306
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
2351
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
2307
2352
  side: "BUY" | "SELL";
2308
2353
  reduceOnly: boolean;
2309
2354
  isExternal: boolean;
@@ -2387,7 +2432,7 @@ declare class Core {
2387
2432
  get: (ladderId: string, headers?: ClientHeaders) => Promise<{
2388
2433
  ladder: {
2389
2434
  id: string;
2390
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
2435
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
2391
2436
  positionKey: string;
2392
2437
  config: {
2393
2438
  thresholdStart: number;
@@ -2399,7 +2444,7 @@ declare class Core {
2399
2444
  triggers: ({
2400
2445
  id: string;
2401
2446
  tradeAccountId: string;
2402
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
2447
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
2403
2448
  status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
2404
2449
  bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
2405
2450
  createdAt: string;
@@ -2438,7 +2483,7 @@ declare class Core {
2438
2483
  } | {
2439
2484
  type: "funding_rate";
2440
2485
  data: {
2441
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
2486
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
2442
2487
  symbol: string;
2443
2488
  track: "PEAK" | "TROUGH";
2444
2489
  threshold: number;
@@ -2491,7 +2536,7 @@ declare class Core {
2491
2536
  tradeAccountId: string;
2492
2537
  symbol: string;
2493
2538
  positionId: string;
2494
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
2539
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
2495
2540
  side: "BUY" | "SELL";
2496
2541
  reduceOnly: boolean;
2497
2542
  isExternal: boolean;
@@ -2513,7 +2558,7 @@ declare class Core {
2513
2558
  } | {
2514
2559
  id: string;
2515
2560
  tradeAccountId: string;
2516
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
2561
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
2517
2562
  status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
2518
2563
  bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
2519
2564
  createdAt: string;
@@ -2573,7 +2618,7 @@ declare class Core {
2573
2618
  } | {
2574
2619
  type: "funding_rate";
2575
2620
  data: {
2576
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
2621
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
2577
2622
  symbol: string;
2578
2623
  track: "PEAK" | "TROUGH";
2579
2624
  threshold: number;
@@ -2628,7 +2673,7 @@ declare class Core {
2628
2673
  tradeAccountId: string;
2629
2674
  symbol: string;
2630
2675
  positionId: string;
2631
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
2676
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
2632
2677
  side: "BUY" | "SELL";
2633
2678
  reduceOnly: boolean;
2634
2679
  isExternal: boolean;
@@ -2658,7 +2703,7 @@ declare class Core {
2658
2703
  } | {
2659
2704
  id: string;
2660
2705
  tradeAccountId: string;
2661
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
2706
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
2662
2707
  status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
2663
2708
  bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
2664
2709
  createdAt: string;
@@ -2756,7 +2801,7 @@ declare class Core {
2756
2801
  } | {
2757
2802
  type: "funding_rate";
2758
2803
  data: {
2759
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
2804
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
2760
2805
  symbol: string;
2761
2806
  track: "PEAK" | "TROUGH";
2762
2807
  threshold: number;
@@ -2796,7 +2841,7 @@ declare class Core {
2796
2841
  tradeAccountId: string;
2797
2842
  symbol: string;
2798
2843
  positionId: string;
2799
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
2844
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
2800
2845
  side: "BUY" | "SELL";
2801
2846
  reduceOnly: boolean;
2802
2847
  isExternal: boolean;
@@ -2826,7 +2871,7 @@ declare class Core {
2826
2871
  } | {
2827
2872
  id: string;
2828
2873
  tradeAccountId: string;
2829
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
2874
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
2830
2875
  status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
2831
2876
  bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
2832
2877
  createdAt: string;
@@ -2886,7 +2931,7 @@ declare class Core {
2886
2931
  } | {
2887
2932
  type: "funding_rate";
2888
2933
  data: {
2889
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
2934
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
2890
2935
  symbol: string;
2891
2936
  track: "PEAK" | "TROUGH";
2892
2937
  threshold: number;
@@ -2944,7 +2989,7 @@ declare class Core {
2944
2989
  tradeAccountId: string;
2945
2990
  symbol: string;
2946
2991
  positionId: string;
2947
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
2992
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
2948
2993
  side: "BUY" | "SELL";
2949
2994
  reduceOnly: boolean;
2950
2995
  isExternal: boolean;
@@ -2975,7 +3020,7 @@ declare class Core {
2975
3020
  } | {
2976
3021
  id: string;
2977
3022
  tradeAccountId: string;
2978
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
3023
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
2979
3024
  status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
2980
3025
  bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
2981
3026
  createdAt: string;
@@ -3073,7 +3118,7 @@ declare class Core {
3073
3118
  } | {
3074
3119
  type: "funding_rate";
3075
3120
  data: {
3076
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
3121
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
3077
3122
  symbol: string;
3078
3123
  track: "PEAK" | "TROUGH";
3079
3124
  threshold: number;
@@ -3119,7 +3164,7 @@ declare class Core {
3119
3164
  tradeAccountId: string;
3120
3165
  symbol: string;
3121
3166
  positionId: string;
3122
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
3167
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
3123
3168
  side: "BUY" | "SELL";
3124
3169
  reduceOnly: boolean;
3125
3170
  isExternal: boolean;
@@ -3210,7 +3255,7 @@ declare class Core {
3210
3255
  id: string;
3211
3256
  base: string;
3212
3257
  quote: string;
3213
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
3258
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
3214
3259
  type: "spot" | "perp" | "hip3";
3215
3260
  leverage: number;
3216
3261
  marginMode: "any" | "isolated" | "cross";
@@ -3255,7 +3300,7 @@ declare class Core {
3255
3300
  markets: {
3256
3301
  list: (query: HttpTypes.MarketsQueryParamsInput, headers?: ClientHeaders) => Promise<{
3257
3302
  markets: {
3258
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
3303
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
3259
3304
  instrumentId: string;
3260
3305
  displaySymbol: string;
3261
3306
  base: string;
@@ -3282,7 +3327,7 @@ declare class Core {
3282
3327
  offset: number;
3283
3328
  count: number;
3284
3329
  markets: {
3285
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
3330
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
3286
3331
  basketKey: string;
3287
3332
  displaySymbol: string;
3288
3333
  legs: {
@@ -3327,7 +3372,7 @@ declare class Core {
3327
3372
  type: "take_profit";
3328
3373
  triggerId: string;
3329
3374
  positionId: string;
3330
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
3375
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
3331
3376
  semanticBracketType?: "STOP_LOSS" | "TAKE_PROFIT" | undefined;
3332
3377
  metric?: "price" | "ratio" | "weighted_ratio" | "funding_rate" | "prediction_market" | "btc_dominance" | "notional" | "upnl" | "upnl_bps" | "ratio_trailing" | "price_trailing" | "weighted_ratio_trailing" | "notional_trailing" | "upnl_trailing" | "upnl_bps_trailing" | undefined;
3333
3378
  level?: number | undefined;
@@ -3341,7 +3386,7 @@ declare class Core {
3341
3386
  type: "stop_loss";
3342
3387
  triggerId: string;
3343
3388
  positionId: string;
3344
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
3389
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
3345
3390
  semanticBracketType?: "STOP_LOSS" | "TAKE_PROFIT" | undefined;
3346
3391
  metric?: "price" | "ratio" | "weighted_ratio" | "funding_rate" | "prediction_market" | "btc_dominance" | "notional" | "upnl" | "upnl_bps" | "ratio_trailing" | "price_trailing" | "weighted_ratio_trailing" | "notional_trailing" | "upnl_trailing" | "upnl_bps_trailing" | undefined;
3347
3392
  level?: number | undefined;
@@ -3355,7 +3400,7 @@ declare class Core {
3355
3400
  type: "trigger_order";
3356
3401
  triggerId: string;
3357
3402
  positionId: string;
3358
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
3403
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
3359
3404
  metric?: "price" | "ratio" | "weighted_ratio" | "funding_rate" | "prediction_market" | "btc_dominance" | "notional" | "upnl" | "upnl_bps" | "ratio_trailing" | "price_trailing" | "weighted_ratio_trailing" | "notional_trailing" | "upnl_trailing" | "upnl_bps_trailing" | undefined;
3360
3405
  level?: number | undefined;
3361
3406
  reason?: string | undefined;
@@ -3367,7 +3412,7 @@ declare class Core {
3367
3412
  }[];
3368
3413
  type: "default_trigger";
3369
3414
  triggerId: string;
3370
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
3415
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
3371
3416
  metric?: "price" | "ratio" | "weighted_ratio" | "funding_rate" | "prediction_market" | "btc_dominance" | "notional" | "upnl" | "upnl_bps" | "ratio_trailing" | "price_trailing" | "weighted_ratio_trailing" | "notional_trailing" | "upnl_trailing" | "upnl_bps_trailing" | undefined;
3372
3417
  level?: number | undefined;
3373
3418
  reason?: string | undefined;
@@ -3380,7 +3425,7 @@ declare class Core {
3380
3425
  type: "attached_trigger_discarded";
3381
3426
  positionId: string;
3382
3427
  positionKey: string;
3383
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
3428
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
3384
3429
  discarded: {
3385
3430
  bracketType: "STOP_LOSS" | "TAKE_PROFIT";
3386
3431
  metric: "price" | "ratio" | "weighted_ratio" | "funding_rate" | "prediction_market" | "btc_dominance" | "notional" | "upnl" | "upnl_bps" | "ratio_trailing" | "price_trailing" | "weighted_ratio_trailing" | "notional_trailing" | "upnl_trailing" | "upnl_bps_trailing";
@@ -3401,7 +3446,7 @@ declare class Core {
3401
3446
  configId: string;
3402
3447
  positionId: string;
3403
3448
  positionKey: string;
3404
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
3449
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
3405
3450
  weightSource: "INITIAL_WEIGHT" | "LIVE_BETA";
3406
3451
  type: "auto_rebalance_executed";
3407
3452
  } | {
@@ -3417,7 +3462,7 @@ declare class Core {
3417
3462
  configId: string;
3418
3463
  positionId: string;
3419
3464
  positionKey: string;
3420
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
3465
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
3421
3466
  weightSource: "INITIAL_WEIGHT" | "LIVE_BETA";
3422
3467
  type: "auto_rebalance_failed";
3423
3468
  } | {
@@ -3430,7 +3475,7 @@ declare class Core {
3430
3475
  configId: string;
3431
3476
  positionId: string;
3432
3477
  positionKey: string;
3433
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
3478
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
3434
3479
  weightSource: "INITIAL_WEIGHT" | "LIVE_BETA";
3435
3480
  type: "auto_rebalance_paused";
3436
3481
  } | {
@@ -3441,7 +3486,7 @@ declare class Core {
3441
3486
  }[];
3442
3487
  triggerId: string;
3443
3488
  positionId: string;
3444
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
3489
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
3445
3490
  type: "trigger_twap_started";
3446
3491
  scheduleId: string;
3447
3492
  } | {
@@ -3452,7 +3497,7 @@ declare class Core {
3452
3497
  }[];
3453
3498
  triggerId: string;
3454
3499
  positionId: string;
3455
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
3500
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
3456
3501
  type: "trigger_twap_skipped";
3457
3502
  reason: string;
3458
3503
  } | {
@@ -3463,7 +3508,7 @@ declare class Core {
3463
3508
  }[];
3464
3509
  triggerId: string;
3465
3510
  positionId: string;
3466
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
3511
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
3467
3512
  type: "trigger_twap_failed";
3468
3513
  reason: string;
3469
3514
  scheduleId?: string | undefined;
@@ -3475,7 +3520,7 @@ declare class Core {
3475
3520
  }[];
3476
3521
  triggerId: string;
3477
3522
  positionId: string;
3478
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
3523
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
3479
3524
  type: "trigger_twap_position_changed";
3480
3525
  scheduleId: string;
3481
3526
  reason: string;
@@ -3515,7 +3560,7 @@ declare class Core {
3515
3560
  positions: {
3516
3561
  id: string;
3517
3562
  tradeAccountId: string;
3518
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
3563
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
3519
3564
  status: "OPEN" | "CLOSED";
3520
3565
  origin: "PARTIAL" | "PEAR" | "EXTERNAL";
3521
3566
  exposure: Record<string, `-${string}` | `+${string}`>;
@@ -3538,7 +3583,7 @@ declare class Core {
3538
3583
  exposure: Record<string, `-${string}` | `+${string}`>;
3539
3584
  status: "OPEN";
3540
3585
  origin: "PARTIAL" | "PEAR" | "EXTERNAL";
3541
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
3586
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
3542
3587
  }[];
3543
3588
  }>;
3544
3589
  /**
@@ -3553,7 +3598,7 @@ declare class Core {
3553
3598
  limit: number;
3554
3599
  positions: {
3555
3600
  positionId: string;
3556
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
3601
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
3557
3602
  status: "CLOSED";
3558
3603
  openedAt: string;
3559
3604
  closedAt: string;
@@ -3568,6 +3613,7 @@ declare class Core {
3568
3613
  exitNotional: string;
3569
3614
  exitNotionalComplete: boolean;
3570
3615
  hasSyntheticFills: boolean;
3616
+ hasProvisionalFills: boolean;
3571
3617
  unstableHistoricalData: boolean;
3572
3618
  longAssets: string[];
3573
3619
  shortAssets: string[];
@@ -3633,7 +3679,7 @@ declare class Core {
3633
3679
  limit: number;
3634
3680
  positions: {
3635
3681
  positionId: string;
3636
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
3682
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
3637
3683
  status: "OPEN";
3638
3684
  openedAt: string;
3639
3685
  updatedAt: string;
@@ -3709,14 +3755,14 @@ declare class Core {
3709
3755
  limit: number;
3710
3756
  groups: {
3711
3757
  id: string;
3712
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
3758
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
3713
3759
  at: string;
3714
3760
  netCashflow: `-${string}` | `+${string}`;
3715
3761
  trades: {
3716
3762
  id: string;
3717
3763
  positionId: string;
3718
3764
  symbol: string;
3719
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
3765
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
3720
3766
  side: "BUY" | "SELL";
3721
3767
  quantity: string;
3722
3768
  price: string;
@@ -3804,6 +3850,7 @@ declare class Core {
3804
3850
  };
3805
3851
  portfolio: {
3806
3852
  overview: (query?: HttpTypes.PortfolioQueryInput, headers?: ClientHeaders) => Promise<{
3853
+ hasProvisionalFills: boolean;
3807
3854
  realizedCashflow: {
3808
3855
  grossPnl: number;
3809
3856
  tradeFees: number;
@@ -3923,6 +3970,7 @@ declare class Core {
3923
3970
  startDate: string;
3924
3971
  endDate: string;
3925
3972
  };
3973
+ hasProvisionalFills: boolean;
3926
3974
  realizedCashflow: {
3927
3975
  grossPnl: number;
3928
3976
  tradeFees: number;
@@ -4027,7 +4075,7 @@ declare class Core {
4027
4075
  createdAt: string;
4028
4076
  updatedAt: string;
4029
4077
  weightSource: "LIVE_BETA";
4030
- timeframe: "1d" | "1h" | "4h";
4078
+ timeframe: "1h" | "1d" | "4h";
4031
4079
  beta: {
4032
4080
  state: "PENDING";
4033
4081
  } | {
@@ -4062,7 +4110,7 @@ declare class Core {
4062
4110
  createdAt: string;
4063
4111
  updatedAt: string;
4064
4112
  weightSource: "LIVE_BETA";
4065
- timeframe: "1d" | "1h" | "4h";
4113
+ timeframe: "1h" | "1d" | "4h";
4066
4114
  beta: {
4067
4115
  state: "PENDING";
4068
4116
  } | {
@@ -4096,7 +4144,7 @@ declare class Core {
4096
4144
  createdAt: string;
4097
4145
  updatedAt: string;
4098
4146
  weightSource: "LIVE_BETA";
4099
- timeframe: "1d" | "1h" | "4h";
4147
+ timeframe: "1h" | "1d" | "4h";
4100
4148
  beta: {
4101
4149
  state: "PENDING";
4102
4150
  } | {
@@ -4130,7 +4178,7 @@ declare class Core {
4130
4178
  createdAt: string;
4131
4179
  updatedAt: string;
4132
4180
  weightSource: "LIVE_BETA";
4133
- timeframe: "1d" | "1h" | "4h";
4181
+ timeframe: "1h" | "1d" | "4h";
4134
4182
  beta: {
4135
4183
  state: "PENDING";
4136
4184
  } | {
@@ -4185,11 +4233,11 @@ declare class Core {
4185
4233
  status: "BOUND";
4186
4234
  tradeCount: number;
4187
4235
  volumeUsd: string;
4188
- address?: `0x${string}` | undefined;
4236
+ address?: HttpTypes.EthereumAddress | undefined;
4189
4237
  referredAt?: number | undefined;
4190
4238
  } | {
4191
4239
  status: "PENDING";
4192
- address: `0x${string}`;
4240
+ address: HttpTypes.EthereumAddress;
4193
4241
  })[];
4194
4242
  nextCursor?: string | undefined;
4195
4243
  }>;
@@ -4199,7 +4247,7 @@ declare class Core {
4199
4247
  limit: number;
4200
4248
  schedules: ({
4201
4249
  id: string;
4202
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
4250
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
4203
4251
  status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "FAILED";
4204
4252
  positionKey: string;
4205
4253
  executionType: "MARKET";
@@ -4232,7 +4280,7 @@ declare class Core {
4232
4280
  tradeAccountId: string;
4233
4281
  symbol: string;
4234
4282
  positionId: string;
4235
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
4283
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
4236
4284
  side: "BUY" | "SELL";
4237
4285
  reduceOnly: boolean;
4238
4286
  isExternal: boolean;
@@ -4252,7 +4300,7 @@ declare class Core {
4252
4300
  }[] | undefined;
4253
4301
  } | {
4254
4302
  id: string;
4255
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
4303
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
4256
4304
  status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "FAILED";
4257
4305
  positionKey: string;
4258
4306
  executionType: "MARKET";
@@ -4279,7 +4327,7 @@ declare class Core {
4279
4327
  tradeAccountId: string;
4280
4328
  symbol: string;
4281
4329
  positionId: string;
4282
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
4330
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
4283
4331
  side: "BUY" | "SELL";
4284
4332
  reduceOnly: boolean;
4285
4333
  isExternal: boolean;
@@ -4303,7 +4351,7 @@ declare class Core {
4303
4351
  create: (body: HttpTypes.CreateSchedule, headers?: ClientHeaders) => Promise<{
4304
4352
  schedule: {
4305
4353
  id: string;
4306
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
4354
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
4307
4355
  status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "FAILED";
4308
4356
  positionKey: string;
4309
4357
  executionType: "MARKET";
@@ -4336,7 +4384,7 @@ declare class Core {
4336
4384
  tradeAccountId: string;
4337
4385
  symbol: string;
4338
4386
  positionId: string;
4339
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
4387
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
4340
4388
  side: "BUY" | "SELL";
4341
4389
  reduceOnly: boolean;
4342
4390
  isExternal: boolean;
@@ -4356,7 +4404,7 @@ declare class Core {
4356
4404
  }[] | undefined;
4357
4405
  } | {
4358
4406
  id: string;
4359
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
4407
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
4360
4408
  status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "FAILED";
4361
4409
  positionKey: string;
4362
4410
  executionType: "MARKET";
@@ -4383,7 +4431,7 @@ declare class Core {
4383
4431
  tradeAccountId: string;
4384
4432
  symbol: string;
4385
4433
  positionId: string;
4386
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
4434
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
4387
4435
  side: "BUY" | "SELL";
4388
4436
  reduceOnly: boolean;
4389
4437
  isExternal: boolean;
@@ -4415,6 +4463,7 @@ declare class Core {
4415
4463
  since: (body: HttpTypes.SyncFillsSinceRequest, headers?: ClientHeaders) => Promise<{
4416
4464
  sinceMs: number;
4417
4465
  neverSynced: boolean;
4466
+ executionsUpdatedAtEpochMs: number;
4418
4467
  firstSyncStartedAt?: number | undefined;
4419
4468
  confirmedExchangeFillIds?: string[] | undefined;
4420
4469
  }>;
@@ -4438,7 +4487,7 @@ declare class Core {
4438
4487
  open: (body: HttpTypes.CreateTradeOpen, headers?: ClientHeaders) => Promise<{
4439
4488
  execution: {
4440
4489
  id: string;
4441
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
4490
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
4442
4491
  status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
4443
4492
  createdAt: string;
4444
4493
  updatedAt: string;
@@ -4451,6 +4500,7 @@ declare class Core {
4451
4500
  amount: string;
4452
4501
  reduceOnly: boolean;
4453
4502
  id?: string | undefined;
4503
+ maxImpactPrice?: string | undefined;
4454
4504
  }, ...{
4455
4505
  symbol: string;
4456
4506
  side: "BUY" | "SELL";
@@ -4458,11 +4508,12 @@ declare class Core {
4458
4508
  amount: string;
4459
4509
  reduceOnly: boolean;
4460
4510
  id?: string | undefined;
4511
+ maxImpactPrice?: string | undefined;
4461
4512
  }[]];
4462
4513
  error?: string | undefined;
4463
4514
  orders?: {
4464
4515
  id: string;
4465
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
4516
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
4466
4517
  status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
4467
4518
  createdAt: string;
4468
4519
  updatedAt: string;
@@ -4477,18 +4528,18 @@ declare class Core {
4477
4528
  errorCode?: string | undefined;
4478
4529
  filledPrice?: string | undefined;
4479
4530
  }[] | undefined;
4531
+ fulfillment?: "NONE" | "PENDING" | "PARTIAL" | "COMPLETE" | undefined;
4532
+ position?: {
4533
+ id: string;
4534
+ } | undefined;
4480
4535
  } | {
4481
4536
  id: string;
4482
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
4537
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
4483
4538
  status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
4484
4539
  createdAt: string;
4485
4540
  updatedAt: string;
4486
4541
  intent: "ADJUST";
4487
4542
  orderType: "MARKET";
4488
- position: {
4489
- id: string;
4490
- exposure: Record<string, `-${string}` | `+${string}`>;
4491
- };
4492
4543
  legs: [{
4493
4544
  symbol: string;
4494
4545
  side: "BUY" | "SELL";
@@ -4496,6 +4547,7 @@ declare class Core {
4496
4547
  amount: string;
4497
4548
  reduceOnly: boolean;
4498
4549
  id?: string | undefined;
4550
+ maxImpactPrice?: string | undefined;
4499
4551
  }, ...{
4500
4552
  symbol: string;
4501
4553
  side: "BUY" | "SELL";
@@ -4503,11 +4555,12 @@ declare class Core {
4503
4555
  amount: string;
4504
4556
  reduceOnly: boolean;
4505
4557
  id?: string | undefined;
4558
+ maxImpactPrice?: string | undefined;
4506
4559
  }[]];
4507
4560
  error?: string | undefined;
4508
4561
  orders?: {
4509
4562
  id: string;
4510
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
4563
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
4511
4564
  status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
4512
4565
  createdAt: string;
4513
4566
  updatedAt: string;
@@ -4522,22 +4575,23 @@ declare class Core {
4522
4575
  errorCode?: string | undefined;
4523
4576
  filledPrice?: string | undefined;
4524
4577
  }[] | undefined;
4578
+ fulfillment?: "NONE" | "PENDING" | "PARTIAL" | "COMPLETE" | undefined;
4579
+ position?: {
4580
+ id: string;
4581
+ exposure: Record<string, `-${string}` | `+${string}`>;
4582
+ } | undefined;
4525
4583
  } | {
4526
4584
  id: string;
4527
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
4585
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
4528
4586
  status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
4529
4587
  createdAt: string;
4530
4588
  updatedAt: string;
4531
4589
  intent: "CLOSE";
4532
4590
  orderType: "MARKET";
4533
- position: {
4534
- id: string;
4535
- exposure: Record<string, `-${string}` | `+${string}`>;
4536
- };
4537
4591
  error?: string | undefined;
4538
4592
  orders?: {
4539
4593
  id: string;
4540
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
4594
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
4541
4595
  status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
4542
4596
  createdAt: string;
4543
4597
  updatedAt: string;
@@ -4552,22 +4606,23 @@ declare class Core {
4552
4606
  errorCode?: string | undefined;
4553
4607
  filledPrice?: string | undefined;
4554
4608
  }[] | undefined;
4609
+ fulfillment?: "NONE" | "PENDING" | "PARTIAL" | "COMPLETE" | undefined;
4610
+ position?: {
4611
+ id: string;
4612
+ exposure: Record<string, `-${string}` | `+${string}`>;
4613
+ } | undefined;
4555
4614
  } | {
4556
4615
  id: string;
4557
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
4616
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
4558
4617
  status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
4559
4618
  createdAt: string;
4560
4619
  updatedAt: string;
4561
4620
  intent: "REVERSE";
4562
4621
  orderType: "MARKET";
4563
- position: {
4564
- id: string;
4565
- exposure: Record<string, `-${string}` | `+${string}`>;
4566
- };
4567
4622
  error?: string | undefined;
4568
4623
  orders?: {
4569
4624
  id: string;
4570
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
4625
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
4571
4626
  status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
4572
4627
  createdAt: string;
4573
4628
  updatedAt: string;
@@ -4582,12 +4637,17 @@ declare class Core {
4582
4637
  errorCode?: string | undefined;
4583
4638
  filledPrice?: string | undefined;
4584
4639
  }[] | undefined;
4640
+ fulfillment?: "NONE" | "PENDING" | "PARTIAL" | "COMPLETE" | undefined;
4641
+ position?: {
4642
+ id: string;
4643
+ exposure: Record<string, `-${string}` | `+${string}`>;
4644
+ } | undefined;
4585
4645
  };
4586
4646
  }>;
4587
4647
  adjust: (positionId: string, body: HttpTypes.CreateTradeAdjust, headers?: ClientHeaders) => Promise<{
4588
4648
  execution: {
4589
4649
  id: string;
4590
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
4650
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
4591
4651
  status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
4592
4652
  createdAt: string;
4593
4653
  updatedAt: string;
@@ -4600,6 +4660,7 @@ declare class Core {
4600
4660
  amount: string;
4601
4661
  reduceOnly: boolean;
4602
4662
  id?: string | undefined;
4663
+ maxImpactPrice?: string | undefined;
4603
4664
  }, ...{
4604
4665
  symbol: string;
4605
4666
  side: "BUY" | "SELL";
@@ -4607,11 +4668,12 @@ declare class Core {
4607
4668
  amount: string;
4608
4669
  reduceOnly: boolean;
4609
4670
  id?: string | undefined;
4671
+ maxImpactPrice?: string | undefined;
4610
4672
  }[]];
4611
4673
  error?: string | undefined;
4612
4674
  orders?: {
4613
4675
  id: string;
4614
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
4676
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
4615
4677
  status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
4616
4678
  createdAt: string;
4617
4679
  updatedAt: string;
@@ -4626,18 +4688,18 @@ declare class Core {
4626
4688
  errorCode?: string | undefined;
4627
4689
  filledPrice?: string | undefined;
4628
4690
  }[] | undefined;
4691
+ fulfillment?: "NONE" | "PENDING" | "PARTIAL" | "COMPLETE" | undefined;
4692
+ position?: {
4693
+ id: string;
4694
+ } | undefined;
4629
4695
  } | {
4630
4696
  id: string;
4631
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
4697
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
4632
4698
  status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
4633
4699
  createdAt: string;
4634
4700
  updatedAt: string;
4635
4701
  intent: "ADJUST";
4636
4702
  orderType: "MARKET";
4637
- position: {
4638
- id: string;
4639
- exposure: Record<string, `-${string}` | `+${string}`>;
4640
- };
4641
4703
  legs: [{
4642
4704
  symbol: string;
4643
4705
  side: "BUY" | "SELL";
@@ -4645,6 +4707,7 @@ declare class Core {
4645
4707
  amount: string;
4646
4708
  reduceOnly: boolean;
4647
4709
  id?: string | undefined;
4710
+ maxImpactPrice?: string | undefined;
4648
4711
  }, ...{
4649
4712
  symbol: string;
4650
4713
  side: "BUY" | "SELL";
@@ -4652,11 +4715,12 @@ declare class Core {
4652
4715
  amount: string;
4653
4716
  reduceOnly: boolean;
4654
4717
  id?: string | undefined;
4718
+ maxImpactPrice?: string | undefined;
4655
4719
  }[]];
4656
4720
  error?: string | undefined;
4657
4721
  orders?: {
4658
4722
  id: string;
4659
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
4723
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
4660
4724
  status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
4661
4725
  createdAt: string;
4662
4726
  updatedAt: string;
@@ -4671,22 +4735,23 @@ declare class Core {
4671
4735
  errorCode?: string | undefined;
4672
4736
  filledPrice?: string | undefined;
4673
4737
  }[] | undefined;
4738
+ fulfillment?: "NONE" | "PENDING" | "PARTIAL" | "COMPLETE" | undefined;
4739
+ position?: {
4740
+ id: string;
4741
+ exposure: Record<string, `-${string}` | `+${string}`>;
4742
+ } | undefined;
4674
4743
  } | {
4675
4744
  id: string;
4676
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
4745
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
4677
4746
  status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
4678
4747
  createdAt: string;
4679
4748
  updatedAt: string;
4680
4749
  intent: "CLOSE";
4681
4750
  orderType: "MARKET";
4682
- position: {
4683
- id: string;
4684
- exposure: Record<string, `-${string}` | `+${string}`>;
4685
- };
4686
4751
  error?: string | undefined;
4687
4752
  orders?: {
4688
4753
  id: string;
4689
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
4754
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
4690
4755
  status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
4691
4756
  createdAt: string;
4692
4757
  updatedAt: string;
@@ -4701,22 +4766,23 @@ declare class Core {
4701
4766
  errorCode?: string | undefined;
4702
4767
  filledPrice?: string | undefined;
4703
4768
  }[] | undefined;
4769
+ fulfillment?: "NONE" | "PENDING" | "PARTIAL" | "COMPLETE" | undefined;
4770
+ position?: {
4771
+ id: string;
4772
+ exposure: Record<string, `-${string}` | `+${string}`>;
4773
+ } | undefined;
4704
4774
  } | {
4705
4775
  id: string;
4706
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
4776
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
4707
4777
  status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
4708
4778
  createdAt: string;
4709
4779
  updatedAt: string;
4710
4780
  intent: "REVERSE";
4711
4781
  orderType: "MARKET";
4712
- position: {
4713
- id: string;
4714
- exposure: Record<string, `-${string}` | `+${string}`>;
4715
- };
4716
4782
  error?: string | undefined;
4717
4783
  orders?: {
4718
4784
  id: string;
4719
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
4785
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
4720
4786
  status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
4721
4787
  createdAt: string;
4722
4788
  updatedAt: string;
@@ -4731,12 +4797,17 @@ declare class Core {
4731
4797
  errorCode?: string | undefined;
4732
4798
  filledPrice?: string | undefined;
4733
4799
  }[] | undefined;
4800
+ fulfillment?: "NONE" | "PENDING" | "PARTIAL" | "COMPLETE" | undefined;
4801
+ position?: {
4802
+ id: string;
4803
+ exposure: Record<string, `-${string}` | `+${string}`>;
4804
+ } | undefined;
4734
4805
  };
4735
4806
  }>;
4736
4807
  close: (positionId: string, body: HttpTypes.CreateTradeClose, headers?: ClientHeaders) => Promise<{
4737
4808
  execution: {
4738
4809
  id: string;
4739
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
4810
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
4740
4811
  status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
4741
4812
  createdAt: string;
4742
4813
  updatedAt: string;
@@ -4749,6 +4820,7 @@ declare class Core {
4749
4820
  amount: string;
4750
4821
  reduceOnly: boolean;
4751
4822
  id?: string | undefined;
4823
+ maxImpactPrice?: string | undefined;
4752
4824
  }, ...{
4753
4825
  symbol: string;
4754
4826
  side: "BUY" | "SELL";
@@ -4756,11 +4828,12 @@ declare class Core {
4756
4828
  amount: string;
4757
4829
  reduceOnly: boolean;
4758
4830
  id?: string | undefined;
4831
+ maxImpactPrice?: string | undefined;
4759
4832
  }[]];
4760
4833
  error?: string | undefined;
4761
4834
  orders?: {
4762
4835
  id: string;
4763
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
4836
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
4764
4837
  status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
4765
4838
  createdAt: string;
4766
4839
  updatedAt: string;
@@ -4775,18 +4848,18 @@ declare class Core {
4775
4848
  errorCode?: string | undefined;
4776
4849
  filledPrice?: string | undefined;
4777
4850
  }[] | undefined;
4851
+ fulfillment?: "NONE" | "PENDING" | "PARTIAL" | "COMPLETE" | undefined;
4852
+ position?: {
4853
+ id: string;
4854
+ } | undefined;
4778
4855
  } | {
4779
4856
  id: string;
4780
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
4857
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
4781
4858
  status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
4782
4859
  createdAt: string;
4783
4860
  updatedAt: string;
4784
4861
  intent: "ADJUST";
4785
4862
  orderType: "MARKET";
4786
- position: {
4787
- id: string;
4788
- exposure: Record<string, `-${string}` | `+${string}`>;
4789
- };
4790
4863
  legs: [{
4791
4864
  symbol: string;
4792
4865
  side: "BUY" | "SELL";
@@ -4794,6 +4867,7 @@ declare class Core {
4794
4867
  amount: string;
4795
4868
  reduceOnly: boolean;
4796
4869
  id?: string | undefined;
4870
+ maxImpactPrice?: string | undefined;
4797
4871
  }, ...{
4798
4872
  symbol: string;
4799
4873
  side: "BUY" | "SELL";
@@ -4801,11 +4875,12 @@ declare class Core {
4801
4875
  amount: string;
4802
4876
  reduceOnly: boolean;
4803
4877
  id?: string | undefined;
4878
+ maxImpactPrice?: string | undefined;
4804
4879
  }[]];
4805
4880
  error?: string | undefined;
4806
4881
  orders?: {
4807
4882
  id: string;
4808
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
4883
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
4809
4884
  status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
4810
4885
  createdAt: string;
4811
4886
  updatedAt: string;
@@ -4820,22 +4895,23 @@ declare class Core {
4820
4895
  errorCode?: string | undefined;
4821
4896
  filledPrice?: string | undefined;
4822
4897
  }[] | undefined;
4898
+ fulfillment?: "NONE" | "PENDING" | "PARTIAL" | "COMPLETE" | undefined;
4899
+ position?: {
4900
+ id: string;
4901
+ exposure: Record<string, `-${string}` | `+${string}`>;
4902
+ } | undefined;
4823
4903
  } | {
4824
4904
  id: string;
4825
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
4905
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
4826
4906
  status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
4827
4907
  createdAt: string;
4828
4908
  updatedAt: string;
4829
4909
  intent: "CLOSE";
4830
4910
  orderType: "MARKET";
4831
- position: {
4832
- id: string;
4833
- exposure: Record<string, `-${string}` | `+${string}`>;
4834
- };
4835
4911
  error?: string | undefined;
4836
4912
  orders?: {
4837
4913
  id: string;
4838
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
4914
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
4839
4915
  status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
4840
4916
  createdAt: string;
4841
4917
  updatedAt: string;
@@ -4850,22 +4926,23 @@ declare class Core {
4850
4926
  errorCode?: string | undefined;
4851
4927
  filledPrice?: string | undefined;
4852
4928
  }[] | undefined;
4929
+ fulfillment?: "NONE" | "PENDING" | "PARTIAL" | "COMPLETE" | undefined;
4930
+ position?: {
4931
+ id: string;
4932
+ exposure: Record<string, `-${string}` | `+${string}`>;
4933
+ } | undefined;
4853
4934
  } | {
4854
4935
  id: string;
4855
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
4936
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
4856
4937
  status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
4857
4938
  createdAt: string;
4858
4939
  updatedAt: string;
4859
4940
  intent: "REVERSE";
4860
4941
  orderType: "MARKET";
4861
- position: {
4862
- id: string;
4863
- exposure: Record<string, `-${string}` | `+${string}`>;
4864
- };
4865
4942
  error?: string | undefined;
4866
4943
  orders?: {
4867
4944
  id: string;
4868
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
4945
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
4869
4946
  status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
4870
4947
  createdAt: string;
4871
4948
  updatedAt: string;
@@ -4880,12 +4957,17 @@ declare class Core {
4880
4957
  errorCode?: string | undefined;
4881
4958
  filledPrice?: string | undefined;
4882
4959
  }[] | undefined;
4960
+ fulfillment?: "NONE" | "PENDING" | "PARTIAL" | "COMPLETE" | undefined;
4961
+ position?: {
4962
+ id: string;
4963
+ exposure: Record<string, `-${string}` | `+${string}`>;
4964
+ } | undefined;
4883
4965
  };
4884
4966
  }>;
4885
4967
  reverse: (positionId: string, body: HttpTypes.CreateTradeReverse, headers?: ClientHeaders) => Promise<{
4886
4968
  execution: {
4887
4969
  id: string;
4888
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
4970
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
4889
4971
  status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
4890
4972
  createdAt: string;
4891
4973
  updatedAt: string;
@@ -4898,6 +4980,7 @@ declare class Core {
4898
4980
  amount: string;
4899
4981
  reduceOnly: boolean;
4900
4982
  id?: string | undefined;
4983
+ maxImpactPrice?: string | undefined;
4901
4984
  }, ...{
4902
4985
  symbol: string;
4903
4986
  side: "BUY" | "SELL";
@@ -4905,11 +4988,12 @@ declare class Core {
4905
4988
  amount: string;
4906
4989
  reduceOnly: boolean;
4907
4990
  id?: string | undefined;
4991
+ maxImpactPrice?: string | undefined;
4908
4992
  }[]];
4909
4993
  error?: string | undefined;
4910
4994
  orders?: {
4911
4995
  id: string;
4912
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
4996
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
4913
4997
  status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
4914
4998
  createdAt: string;
4915
4999
  updatedAt: string;
@@ -4924,18 +5008,18 @@ declare class Core {
4924
5008
  errorCode?: string | undefined;
4925
5009
  filledPrice?: string | undefined;
4926
5010
  }[] | undefined;
5011
+ fulfillment?: "NONE" | "PENDING" | "PARTIAL" | "COMPLETE" | undefined;
5012
+ position?: {
5013
+ id: string;
5014
+ } | undefined;
4927
5015
  } | {
4928
5016
  id: string;
4929
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
5017
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
4930
5018
  status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
4931
5019
  createdAt: string;
4932
5020
  updatedAt: string;
4933
5021
  intent: "ADJUST";
4934
5022
  orderType: "MARKET";
4935
- position: {
4936
- id: string;
4937
- exposure: Record<string, `-${string}` | `+${string}`>;
4938
- };
4939
5023
  legs: [{
4940
5024
  symbol: string;
4941
5025
  side: "BUY" | "SELL";
@@ -4943,6 +5027,7 @@ declare class Core {
4943
5027
  amount: string;
4944
5028
  reduceOnly: boolean;
4945
5029
  id?: string | undefined;
5030
+ maxImpactPrice?: string | undefined;
4946
5031
  }, ...{
4947
5032
  symbol: string;
4948
5033
  side: "BUY" | "SELL";
@@ -4950,11 +5035,12 @@ declare class Core {
4950
5035
  amount: string;
4951
5036
  reduceOnly: boolean;
4952
5037
  id?: string | undefined;
5038
+ maxImpactPrice?: string | undefined;
4953
5039
  }[]];
4954
5040
  error?: string | undefined;
4955
5041
  orders?: {
4956
5042
  id: string;
4957
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
5043
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
4958
5044
  status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
4959
5045
  createdAt: string;
4960
5046
  updatedAt: string;
@@ -4969,22 +5055,23 @@ declare class Core {
4969
5055
  errorCode?: string | undefined;
4970
5056
  filledPrice?: string | undefined;
4971
5057
  }[] | undefined;
5058
+ fulfillment?: "NONE" | "PENDING" | "PARTIAL" | "COMPLETE" | undefined;
5059
+ position?: {
5060
+ id: string;
5061
+ exposure: Record<string, `-${string}` | `+${string}`>;
5062
+ } | undefined;
4972
5063
  } | {
4973
5064
  id: string;
4974
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
5065
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
4975
5066
  status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
4976
5067
  createdAt: string;
4977
5068
  updatedAt: string;
4978
5069
  intent: "CLOSE";
4979
5070
  orderType: "MARKET";
4980
- position: {
4981
- id: string;
4982
- exposure: Record<string, `-${string}` | `+${string}`>;
4983
- };
4984
5071
  error?: string | undefined;
4985
5072
  orders?: {
4986
5073
  id: string;
4987
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
5074
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
4988
5075
  status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
4989
5076
  createdAt: string;
4990
5077
  updatedAt: string;
@@ -4999,22 +5086,23 @@ declare class Core {
4999
5086
  errorCode?: string | undefined;
5000
5087
  filledPrice?: string | undefined;
5001
5088
  }[] | undefined;
5089
+ fulfillment?: "NONE" | "PENDING" | "PARTIAL" | "COMPLETE" | undefined;
5090
+ position?: {
5091
+ id: string;
5092
+ exposure: Record<string, `-${string}` | `+${string}`>;
5093
+ } | undefined;
5002
5094
  } | {
5003
5095
  id: string;
5004
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
5096
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
5005
5097
  status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
5006
5098
  createdAt: string;
5007
5099
  updatedAt: string;
5008
5100
  intent: "REVERSE";
5009
5101
  orderType: "MARKET";
5010
- position: {
5011
- id: string;
5012
- exposure: Record<string, `-${string}` | `+${string}`>;
5013
- };
5014
5102
  error?: string | undefined;
5015
5103
  orders?: {
5016
5104
  id: string;
5017
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
5105
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
5018
5106
  status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
5019
5107
  createdAt: string;
5020
5108
  updatedAt: string;
@@ -5029,12 +5117,17 @@ declare class Core {
5029
5117
  errorCode?: string | undefined;
5030
5118
  filledPrice?: string | undefined;
5031
5119
  }[] | undefined;
5120
+ fulfillment?: "NONE" | "PENDING" | "PARTIAL" | "COMPLETE" | undefined;
5121
+ position?: {
5122
+ id: string;
5123
+ exposure: Record<string, `-${string}` | `+${string}`>;
5124
+ } | undefined;
5032
5125
  };
5033
5126
  }>;
5034
5127
  closeAll: (body: HttpTypes.CreateTradeCloseAll, headers?: ClientHeaders) => Promise<{
5035
5128
  executions: ({
5036
5129
  id: string;
5037
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
5130
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
5038
5131
  status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
5039
5132
  createdAt: string;
5040
5133
  updatedAt: string;
@@ -5047,6 +5140,7 @@ declare class Core {
5047
5140
  amount: string;
5048
5141
  reduceOnly: boolean;
5049
5142
  id?: string | undefined;
5143
+ maxImpactPrice?: string | undefined;
5050
5144
  }, ...{
5051
5145
  symbol: string;
5052
5146
  side: "BUY" | "SELL";
@@ -5054,11 +5148,12 @@ declare class Core {
5054
5148
  amount: string;
5055
5149
  reduceOnly: boolean;
5056
5150
  id?: string | undefined;
5151
+ maxImpactPrice?: string | undefined;
5057
5152
  }[]];
5058
5153
  error?: string | undefined;
5059
5154
  orders?: {
5060
5155
  id: string;
5061
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
5156
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
5062
5157
  status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
5063
5158
  createdAt: string;
5064
5159
  updatedAt: string;
@@ -5073,18 +5168,18 @@ declare class Core {
5073
5168
  errorCode?: string | undefined;
5074
5169
  filledPrice?: string | undefined;
5075
5170
  }[] | undefined;
5171
+ fulfillment?: "NONE" | "PENDING" | "PARTIAL" | "COMPLETE" | undefined;
5172
+ position?: {
5173
+ id: string;
5174
+ } | undefined;
5076
5175
  } | {
5077
5176
  id: string;
5078
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
5177
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
5079
5178
  status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
5080
5179
  createdAt: string;
5081
5180
  updatedAt: string;
5082
5181
  intent: "ADJUST";
5083
5182
  orderType: "MARKET";
5084
- position: {
5085
- id: string;
5086
- exposure: Record<string, `-${string}` | `+${string}`>;
5087
- };
5088
5183
  legs: [{
5089
5184
  symbol: string;
5090
5185
  side: "BUY" | "SELL";
@@ -5092,6 +5187,7 @@ declare class Core {
5092
5187
  amount: string;
5093
5188
  reduceOnly: boolean;
5094
5189
  id?: string | undefined;
5190
+ maxImpactPrice?: string | undefined;
5095
5191
  }, ...{
5096
5192
  symbol: string;
5097
5193
  side: "BUY" | "SELL";
@@ -5099,11 +5195,12 @@ declare class Core {
5099
5195
  amount: string;
5100
5196
  reduceOnly: boolean;
5101
5197
  id?: string | undefined;
5198
+ maxImpactPrice?: string | undefined;
5102
5199
  }[]];
5103
5200
  error?: string | undefined;
5104
5201
  orders?: {
5105
5202
  id: string;
5106
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
5203
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
5107
5204
  status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
5108
5205
  createdAt: string;
5109
5206
  updatedAt: string;
@@ -5118,22 +5215,23 @@ declare class Core {
5118
5215
  errorCode?: string | undefined;
5119
5216
  filledPrice?: string | undefined;
5120
5217
  }[] | undefined;
5218
+ fulfillment?: "NONE" | "PENDING" | "PARTIAL" | "COMPLETE" | undefined;
5219
+ position?: {
5220
+ id: string;
5221
+ exposure: Record<string, `-${string}` | `+${string}`>;
5222
+ } | undefined;
5121
5223
  } | {
5122
5224
  id: string;
5123
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
5225
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
5124
5226
  status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
5125
5227
  createdAt: string;
5126
5228
  updatedAt: string;
5127
5229
  intent: "CLOSE";
5128
5230
  orderType: "MARKET";
5129
- position: {
5130
- id: string;
5131
- exposure: Record<string, `-${string}` | `+${string}`>;
5132
- };
5133
5231
  error?: string | undefined;
5134
5232
  orders?: {
5135
5233
  id: string;
5136
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
5234
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
5137
5235
  status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
5138
5236
  createdAt: string;
5139
5237
  updatedAt: string;
@@ -5148,22 +5246,23 @@ declare class Core {
5148
5246
  errorCode?: string | undefined;
5149
5247
  filledPrice?: string | undefined;
5150
5248
  }[] | undefined;
5249
+ fulfillment?: "NONE" | "PENDING" | "PARTIAL" | "COMPLETE" | undefined;
5250
+ position?: {
5251
+ id: string;
5252
+ exposure: Record<string, `-${string}` | `+${string}`>;
5253
+ } | undefined;
5151
5254
  } | {
5152
5255
  id: string;
5153
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
5256
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
5154
5257
  status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
5155
5258
  createdAt: string;
5156
5259
  updatedAt: string;
5157
5260
  intent: "REVERSE";
5158
5261
  orderType: "MARKET";
5159
- position: {
5160
- id: string;
5161
- exposure: Record<string, `-${string}` | `+${string}`>;
5162
- };
5163
5262
  error?: string | undefined;
5164
5263
  orders?: {
5165
5264
  id: string;
5166
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
5265
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
5167
5266
  status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
5168
5267
  createdAt: string;
5169
5268
  updatedAt: string;
@@ -5178,6 +5277,11 @@ declare class Core {
5178
5277
  errorCode?: string | undefined;
5179
5278
  filledPrice?: string | undefined;
5180
5279
  }[] | undefined;
5280
+ fulfillment?: "NONE" | "PENDING" | "PARTIAL" | "COMPLETE" | undefined;
5281
+ position?: {
5282
+ id: string;
5283
+ exposure: Record<string, `-${string}` | `+${string}`>;
5284
+ } | undefined;
5181
5285
  })[];
5182
5286
  }>;
5183
5287
  setLeverage: (body: HttpTypes.SetLeverage, headers?: ClientHeaders) => Promise<Record<string, never>>;
@@ -5192,7 +5296,7 @@ declare class Core {
5192
5296
  triggers: ({
5193
5297
  id: string;
5194
5298
  tradeAccountId: string;
5195
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
5299
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
5196
5300
  status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
5197
5301
  bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
5198
5302
  createdAt: string;
@@ -5231,7 +5335,7 @@ declare class Core {
5231
5335
  } | {
5232
5336
  type: "funding_rate";
5233
5337
  data: {
5234
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
5338
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
5235
5339
  symbol: string;
5236
5340
  track: "PEAK" | "TROUGH";
5237
5341
  threshold: number;
@@ -5284,7 +5388,7 @@ declare class Core {
5284
5388
  tradeAccountId: string;
5285
5389
  symbol: string;
5286
5390
  positionId: string;
5287
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
5391
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
5288
5392
  side: "BUY" | "SELL";
5289
5393
  reduceOnly: boolean;
5290
5394
  isExternal: boolean;
@@ -5306,7 +5410,7 @@ declare class Core {
5306
5410
  } | {
5307
5411
  id: string;
5308
5412
  tradeAccountId: string;
5309
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
5413
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
5310
5414
  status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
5311
5415
  bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
5312
5416
  createdAt: string;
@@ -5366,7 +5470,7 @@ declare class Core {
5366
5470
  } | {
5367
5471
  type: "funding_rate";
5368
5472
  data: {
5369
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
5473
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
5370
5474
  symbol: string;
5371
5475
  track: "PEAK" | "TROUGH";
5372
5476
  threshold: number;
@@ -5421,7 +5525,7 @@ declare class Core {
5421
5525
  tradeAccountId: string;
5422
5526
  symbol: string;
5423
5527
  positionId: string;
5424
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
5528
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
5425
5529
  side: "BUY" | "SELL";
5426
5530
  reduceOnly: boolean;
5427
5531
  isExternal: boolean;
@@ -5451,7 +5555,7 @@ declare class Core {
5451
5555
  } | {
5452
5556
  id: string;
5453
5557
  tradeAccountId: string;
5454
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
5558
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
5455
5559
  status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
5456
5560
  bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
5457
5561
  createdAt: string;
@@ -5549,7 +5653,7 @@ declare class Core {
5549
5653
  } | {
5550
5654
  type: "funding_rate";
5551
5655
  data: {
5552
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
5656
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
5553
5657
  symbol: string;
5554
5658
  track: "PEAK" | "TROUGH";
5555
5659
  threshold: number;
@@ -5589,7 +5693,7 @@ declare class Core {
5589
5693
  tradeAccountId: string;
5590
5694
  symbol: string;
5591
5695
  positionId: string;
5592
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
5696
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
5593
5697
  side: "BUY" | "SELL";
5594
5698
  reduceOnly: boolean;
5595
5699
  isExternal: boolean;
@@ -5619,7 +5723,7 @@ declare class Core {
5619
5723
  } | {
5620
5724
  id: string;
5621
5725
  tradeAccountId: string;
5622
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
5726
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
5623
5727
  status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
5624
5728
  bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
5625
5729
  createdAt: string;
@@ -5679,7 +5783,7 @@ declare class Core {
5679
5783
  } | {
5680
5784
  type: "funding_rate";
5681
5785
  data: {
5682
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
5786
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
5683
5787
  symbol: string;
5684
5788
  track: "PEAK" | "TROUGH";
5685
5789
  threshold: number;
@@ -5737,7 +5841,7 @@ declare class Core {
5737
5841
  tradeAccountId: string;
5738
5842
  symbol: string;
5739
5843
  positionId: string;
5740
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
5844
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
5741
5845
  side: "BUY" | "SELL";
5742
5846
  reduceOnly: boolean;
5743
5847
  isExternal: boolean;
@@ -5768,7 +5872,7 @@ declare class Core {
5768
5872
  } | {
5769
5873
  id: string;
5770
5874
  tradeAccountId: string;
5771
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
5875
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
5772
5876
  status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
5773
5877
  bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
5774
5878
  createdAt: string;
@@ -5866,7 +5970,7 @@ declare class Core {
5866
5970
  } | {
5867
5971
  type: "funding_rate";
5868
5972
  data: {
5869
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
5973
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
5870
5974
  symbol: string;
5871
5975
  track: "PEAK" | "TROUGH";
5872
5976
  threshold: number;
@@ -5912,7 +6016,7 @@ declare class Core {
5912
6016
  tradeAccountId: string;
5913
6017
  symbol: string;
5914
6018
  positionId: string;
5915
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
6019
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
5916
6020
  side: "BUY" | "SELL";
5917
6021
  reduceOnly: boolean;
5918
6022
  isExternal: boolean;
@@ -5947,7 +6051,7 @@ declare class Core {
5947
6051
  trigger: {
5948
6052
  id: string;
5949
6053
  tradeAccountId: string;
5950
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
6054
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
5951
6055
  status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
5952
6056
  bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
5953
6057
  createdAt: string;
@@ -5986,7 +6090,7 @@ declare class Core {
5986
6090
  } | {
5987
6091
  type: "funding_rate";
5988
6092
  data: {
5989
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
6093
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
5990
6094
  symbol: string;
5991
6095
  track: "PEAK" | "TROUGH";
5992
6096
  threshold: number;
@@ -6039,7 +6143,7 @@ declare class Core {
6039
6143
  tradeAccountId: string;
6040
6144
  symbol: string;
6041
6145
  positionId: string;
6042
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
6146
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
6043
6147
  side: "BUY" | "SELL";
6044
6148
  reduceOnly: boolean;
6045
6149
  isExternal: boolean;
@@ -6061,7 +6165,7 @@ declare class Core {
6061
6165
  } | {
6062
6166
  id: string;
6063
6167
  tradeAccountId: string;
6064
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
6168
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
6065
6169
  status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
6066
6170
  bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
6067
6171
  createdAt: string;
@@ -6121,7 +6225,7 @@ declare class Core {
6121
6225
  } | {
6122
6226
  type: "funding_rate";
6123
6227
  data: {
6124
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
6228
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
6125
6229
  symbol: string;
6126
6230
  track: "PEAK" | "TROUGH";
6127
6231
  threshold: number;
@@ -6176,7 +6280,7 @@ declare class Core {
6176
6280
  tradeAccountId: string;
6177
6281
  symbol: string;
6178
6282
  positionId: string;
6179
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
6283
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
6180
6284
  side: "BUY" | "SELL";
6181
6285
  reduceOnly: boolean;
6182
6286
  isExternal: boolean;
@@ -6206,7 +6310,7 @@ declare class Core {
6206
6310
  } | {
6207
6311
  id: string;
6208
6312
  tradeAccountId: string;
6209
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
6313
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
6210
6314
  status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
6211
6315
  bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
6212
6316
  createdAt: string;
@@ -6304,7 +6408,7 @@ declare class Core {
6304
6408
  } | {
6305
6409
  type: "funding_rate";
6306
6410
  data: {
6307
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
6411
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
6308
6412
  symbol: string;
6309
6413
  track: "PEAK" | "TROUGH";
6310
6414
  threshold: number;
@@ -6344,7 +6448,7 @@ declare class Core {
6344
6448
  tradeAccountId: string;
6345
6449
  symbol: string;
6346
6450
  positionId: string;
6347
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
6451
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
6348
6452
  side: "BUY" | "SELL";
6349
6453
  reduceOnly: boolean;
6350
6454
  isExternal: boolean;
@@ -6374,7 +6478,7 @@ declare class Core {
6374
6478
  } | {
6375
6479
  id: string;
6376
6480
  tradeAccountId: string;
6377
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
6481
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
6378
6482
  status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
6379
6483
  bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
6380
6484
  createdAt: string;
@@ -6434,7 +6538,7 @@ declare class Core {
6434
6538
  } | {
6435
6539
  type: "funding_rate";
6436
6540
  data: {
6437
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
6541
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
6438
6542
  symbol: string;
6439
6543
  track: "PEAK" | "TROUGH";
6440
6544
  threshold: number;
@@ -6492,7 +6596,7 @@ declare class Core {
6492
6596
  tradeAccountId: string;
6493
6597
  symbol: string;
6494
6598
  positionId: string;
6495
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
6599
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
6496
6600
  side: "BUY" | "SELL";
6497
6601
  reduceOnly: boolean;
6498
6602
  isExternal: boolean;
@@ -6523,7 +6627,7 @@ declare class Core {
6523
6627
  } | {
6524
6628
  id: string;
6525
6629
  tradeAccountId: string;
6526
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
6630
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
6527
6631
  status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
6528
6632
  bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
6529
6633
  createdAt: string;
@@ -6621,7 +6725,7 @@ declare class Core {
6621
6725
  } | {
6622
6726
  type: "funding_rate";
6623
6727
  data: {
6624
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
6728
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
6625
6729
  symbol: string;
6626
6730
  track: "PEAK" | "TROUGH";
6627
6731
  threshold: number;
@@ -6667,7 +6771,7 @@ declare class Core {
6667
6771
  tradeAccountId: string;
6668
6772
  symbol: string;
6669
6773
  positionId: string;
6670
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
6774
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
6671
6775
  side: "BUY" | "SELL";
6672
6776
  reduceOnly: boolean;
6673
6777
  isExternal: boolean;
@@ -6701,7 +6805,7 @@ declare class Core {
6701
6805
  trigger: {
6702
6806
  id: string;
6703
6807
  tradeAccountId: string;
6704
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
6808
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
6705
6809
  status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
6706
6810
  bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
6707
6811
  createdAt: string;
@@ -6740,7 +6844,7 @@ declare class Core {
6740
6844
  } | {
6741
6845
  type: "funding_rate";
6742
6846
  data: {
6743
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
6847
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
6744
6848
  symbol: string;
6745
6849
  track: "PEAK" | "TROUGH";
6746
6850
  threshold: number;
@@ -6793,7 +6897,7 @@ declare class Core {
6793
6897
  tradeAccountId: string;
6794
6898
  symbol: string;
6795
6899
  positionId: string;
6796
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
6900
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
6797
6901
  side: "BUY" | "SELL";
6798
6902
  reduceOnly: boolean;
6799
6903
  isExternal: boolean;
@@ -6815,7 +6919,7 @@ declare class Core {
6815
6919
  } | {
6816
6920
  id: string;
6817
6921
  tradeAccountId: string;
6818
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
6922
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
6819
6923
  status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
6820
6924
  bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
6821
6925
  createdAt: string;
@@ -6875,7 +6979,7 @@ declare class Core {
6875
6979
  } | {
6876
6980
  type: "funding_rate";
6877
6981
  data: {
6878
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
6982
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
6879
6983
  symbol: string;
6880
6984
  track: "PEAK" | "TROUGH";
6881
6985
  threshold: number;
@@ -6930,7 +7034,7 @@ declare class Core {
6930
7034
  tradeAccountId: string;
6931
7035
  symbol: string;
6932
7036
  positionId: string;
6933
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
7037
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
6934
7038
  side: "BUY" | "SELL";
6935
7039
  reduceOnly: boolean;
6936
7040
  isExternal: boolean;
@@ -6960,7 +7064,7 @@ declare class Core {
6960
7064
  } | {
6961
7065
  id: string;
6962
7066
  tradeAccountId: string;
6963
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
7067
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
6964
7068
  status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
6965
7069
  bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
6966
7070
  createdAt: string;
@@ -7058,7 +7162,7 @@ declare class Core {
7058
7162
  } | {
7059
7163
  type: "funding_rate";
7060
7164
  data: {
7061
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
7165
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
7062
7166
  symbol: string;
7063
7167
  track: "PEAK" | "TROUGH";
7064
7168
  threshold: number;
@@ -7098,7 +7202,7 @@ declare class Core {
7098
7202
  tradeAccountId: string;
7099
7203
  symbol: string;
7100
7204
  positionId: string;
7101
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
7205
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
7102
7206
  side: "BUY" | "SELL";
7103
7207
  reduceOnly: boolean;
7104
7208
  isExternal: boolean;
@@ -7128,7 +7232,7 @@ declare class Core {
7128
7232
  } | {
7129
7233
  id: string;
7130
7234
  tradeAccountId: string;
7131
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
7235
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
7132
7236
  status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
7133
7237
  bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
7134
7238
  createdAt: string;
@@ -7188,7 +7292,7 @@ declare class Core {
7188
7292
  } | {
7189
7293
  type: "funding_rate";
7190
7294
  data: {
7191
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
7295
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
7192
7296
  symbol: string;
7193
7297
  track: "PEAK" | "TROUGH";
7194
7298
  threshold: number;
@@ -7246,7 +7350,7 @@ declare class Core {
7246
7350
  tradeAccountId: string;
7247
7351
  symbol: string;
7248
7352
  positionId: string;
7249
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
7353
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
7250
7354
  side: "BUY" | "SELL";
7251
7355
  reduceOnly: boolean;
7252
7356
  isExternal: boolean;
@@ -7277,7 +7381,7 @@ declare class Core {
7277
7381
  } | {
7278
7382
  id: string;
7279
7383
  tradeAccountId: string;
7280
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
7384
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
7281
7385
  status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
7282
7386
  bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
7283
7387
  createdAt: string;
@@ -7375,7 +7479,7 @@ declare class Core {
7375
7479
  } | {
7376
7480
  type: "funding_rate";
7377
7481
  data: {
7378
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
7482
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
7379
7483
  symbol: string;
7380
7484
  track: "PEAK" | "TROUGH";
7381
7485
  threshold: number;
@@ -7421,7 +7525,7 @@ declare class Core {
7421
7525
  tradeAccountId: string;
7422
7526
  symbol: string;
7423
7527
  positionId: string;
7424
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
7528
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
7425
7529
  side: "BUY" | "SELL";
7426
7530
  reduceOnly: boolean;
7427
7531
  isExternal: boolean;
@@ -7463,7 +7567,7 @@ declare class Core {
7463
7567
  profile: {
7464
7568
  id: string;
7465
7569
  displayName: string;
7466
- role: "basic" | "pro" | "vault";
7570
+ role: "vault" | "basic" | "pro";
7467
7571
  address: string | null;
7468
7572
  email: string | null;
7469
7573
  emailVerified: boolean;
@@ -7487,6 +7591,39 @@ declare class Core {
7487
7591
  };
7488
7592
  misc: {
7489
7593
  lighter: {
7594
+ /** Mints the Fun.xyz universal deposit addresses that credit a wallet's Lighter account. */
7595
+ createUda: (body: HttpTypes.CreateLighterUdaParams, headers?: ClientHeaders) => Promise<{
7596
+ uda: {
7597
+ status: "blocked";
7598
+ } | {
7599
+ status: "served";
7600
+ depositAddr: string;
7601
+ resolved: {
7602
+ toChainId: string;
7603
+ toTokenAddress: string;
7604
+ actionType: string;
7605
+ recipientAddr: string;
7606
+ userId: string;
7607
+ };
7608
+ solanaAddr?: string | undefined;
7609
+ tronAddr?: string | undefined;
7610
+ btcAddrSegwit?: string | undefined;
7611
+ };
7612
+ }>;
7613
+ /** Reads the deposits the Fun.xyz bridge has seen for one wallet. */
7614
+ listUdaDeposits: (walletAddress: string, headers?: ClientHeaders) => Promise<{
7615
+ transactions: {
7616
+ fromChainId: string;
7617
+ fromTokenAddress: string;
7618
+ fromAmountBaseUnit: string;
7619
+ toChainId: string;
7620
+ toTokenAddress: string;
7621
+ status: string;
7622
+ depositAddr: string;
7623
+ txHash?: string | undefined;
7624
+ createdTimeMs?: number | undefined;
7625
+ }[];
7626
+ }>;
7490
7627
  createApiKey: (body: HttpTypes.CreateLighterApiKeyParams, headers?: ClientHeaders) => Promise<{
7491
7628
  privateKey: string;
7492
7629
  publicKey: string;
@@ -7507,14 +7644,14 @@ declare class Core {
7507
7644
  createAuthToken: (body: HttpTypes.CreateAuthTokenParams, headers?: ClientHeaders) => Promise<{
7508
7645
  token: string;
7509
7646
  }>;
7510
- /** Prepares a fast USDC withdrawal for L1 wallet authorization. */
7647
+ /** Prepares a fast collateral withdrawal for L1 wallet authorization. */
7511
7648
  prepareFastWithdraw: (body: HttpTypes.PrepareLighterFastWithdrawParams, headers?: ClientHeaders) => Promise<{
7512
7649
  messageToSign: string;
7513
7650
  txInfo: string;
7514
7651
  fee: number;
7515
7652
  availableBalance: number;
7516
7653
  }>;
7517
- /** Submits a wallet-authorized fast USDC withdrawal. */
7654
+ /** Submits a wallet-authorized fast collateral withdrawal. */
7518
7655
  submitFastWithdraw: (body: HttpTypes.SubmitLighterFastWithdrawParams, headers?: ClientHeaders) => Promise<{
7519
7656
  txHash: string;
7520
7657
  }>;
@@ -7522,41 +7659,50 @@ declare class Core {
7522
7659
  changeAccountTier: (body: HttpTypes.ChangeLighterAccountTierParams, headers?: ClientHeaders) => Promise<{
7523
7660
  tier: "standard" | "plus" | "premium";
7524
7661
  }>;
7525
- /** Mints the Fun.xyz universal deposit addresses that credit a wallet's Lighter account. */
7526
- createUda: (body: HttpTypes.CreateLighterUdaParams, headers?: ClientHeaders) => Promise<{
7527
- uda: {
7528
- status: "blocked";
7529
- } | {
7530
- status: "served";
7531
- depositAddr: string;
7532
- resolved: {
7533
- toChainId: string;
7534
- toTokenAddress: string;
7535
- actionType: string;
7536
- recipientAddr: string;
7537
- userId: string;
7538
- };
7539
- solanaAddr?: string | undefined;
7540
- tronAddr?: string | undefined;
7541
- btcAddrSegwit?: string | undefined;
7542
- };
7662
+ };
7663
+ lighterRhc: {
7664
+ createApiKey: (body: HttpTypes.CreateLighterApiKeyParams, headers?: ClientHeaders) => Promise<{
7665
+ privateKey: string;
7666
+ publicKey: string;
7667
+ apiKeyIndex: number;
7668
+ messageToSign: string;
7669
+ txInfo: string;
7543
7670
  }>;
7544
- /** Reads the deposits the Fun.xyz bridge has seen for one wallet. */
7545
- listUdaDeposits: (walletAddress: string, headers?: ClientHeaders) => Promise<{
7546
- transactions: {
7547
- fromChainId: string;
7548
- fromTokenAddress: string;
7549
- fromAmountBaseUnit: string;
7550
- toChainId: string;
7551
- toTokenAddress: string;
7552
- status: string;
7553
- depositAddr: string;
7554
- txHash?: string | undefined;
7555
- createdTimeMs?: number | undefined;
7556
- }[];
7671
+ changePubKey: (body: HttpTypes.SubmitChangePubKeyParams, headers?: ClientHeaders) => Promise<{
7672
+ txHash: string;
7673
+ }>;
7674
+ prepareApproveIntegrator: (body: HttpTypes.PrepareApproveIntegratorParams, headers?: ClientHeaders) => Promise<{
7675
+ messageToSign: string;
7676
+ txInfo: string;
7677
+ }>;
7678
+ submitApproveIntegrator: (body: HttpTypes.SubmitApproveIntegratorParams, headers?: ClientHeaders) => Promise<{
7679
+ txHash: string;
7680
+ }>;
7681
+ createAuthToken: (body: HttpTypes.CreateAuthTokenParams, headers?: ClientHeaders) => Promise<{
7682
+ token: string;
7683
+ }>;
7684
+ /** Prepares a fast collateral withdrawal for L1 wallet authorization. */
7685
+ prepareFastWithdraw: (body: HttpTypes.PrepareLighterFastWithdrawParams, headers?: ClientHeaders) => Promise<{
7686
+ messageToSign: string;
7687
+ txInfo: string;
7688
+ fee: number;
7689
+ availableBalance: number;
7690
+ }>;
7691
+ /** Submits a wallet-authorized fast collateral withdrawal. */
7692
+ submitFastWithdraw: (body: HttpTypes.SubmitLighterFastWithdrawParams, headers?: ClientHeaders) => Promise<{
7693
+ txHash: string;
7694
+ }>;
7695
+ /** Moves a Lighter account onto the standard, plus, or premium tier. */
7696
+ changeAccountTier: (body: HttpTypes.ChangeLighterAccountTierParams, headers?: ClientHeaders) => Promise<{
7697
+ tier: "standard" | "plus" | "premium";
7557
7698
  }>;
7558
7699
  };
7559
7700
  };
7701
+ /**
7702
+ * The signer routes every Lighter deployment exposes, bound to one deployment's base path.
7703
+ * zkLighter and Robinhood Chain share this whole surface; only the deployment behind it differs.
7704
+ */
7705
+ private buildLighterMiscRoutes;
7560
7706
  statistics: {
7561
7707
  volume: (query: HttpTypes.VolumeStatisticsQueryParamsInput, headers?: ClientHeaders) => Promise<{
7562
7708
  data: {
@@ -7587,7 +7733,7 @@ declare class Core {
7587
7733
  data: {
7588
7734
  tradeAccountId: string;
7589
7735
  userId: string;
7590
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
7736
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
7591
7737
  volume: string;
7592
7738
  grossRealizedPnl: string;
7593
7739
  grossUpnl: string;
@@ -7610,7 +7756,7 @@ declare class Core {
7610
7756
  id: string;
7611
7757
  fillId: string;
7612
7758
  tradeAccountId: string;
7613
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
7759
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
7614
7760
  symbol: string;
7615
7761
  status: "FINAL";
7616
7762
  createdAt: string;
@@ -7642,7 +7788,7 @@ declare class Core {
7642
7788
  id: string;
7643
7789
  executionId: string;
7644
7790
  legIndex: number;
7645
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
7791
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
7646
7792
  symbol: string;
7647
7793
  side: "BUY" | "SELL";
7648
7794
  source: string;
@@ -7664,7 +7810,7 @@ declare class Core {
7664
7810
  id: string;
7665
7811
  executionId: string;
7666
7812
  tradeAccountId: string;
7667
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
7813
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
7668
7814
  fillCount: number;
7669
7815
  status: "FINAL";
7670
7816
  createdAt: string;
@@ -7697,7 +7843,7 @@ declare class Core {
7697
7843
  id: string;
7698
7844
  fillId: string;
7699
7845
  tradeAccountId: string;
7700
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
7846
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
7701
7847
  symbol: string;
7702
7848
  status: "FINAL";
7703
7849
  createdAt: string;
@@ -7729,7 +7875,7 @@ declare class Core {
7729
7875
  id: string;
7730
7876
  executionId: string;
7731
7877
  legIndex: number;
7732
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
7878
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
7733
7879
  symbol: string;
7734
7880
  side: "BUY" | "SELL";
7735
7881
  source: string;
@@ -7755,7 +7901,7 @@ declare class Core {
7755
7901
  id: string;
7756
7902
  executionId: string;
7757
7903
  tradeAccountId: string;
7758
- connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
7904
+ connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
7759
7905
  fillCount: number;
7760
7906
  status: "FINAL";
7761
7907
  createdAt: string;