zklighter-perps 1.0.367 → 1.0.369

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/openapi.json CHANGED
@@ -120,7 +120,7 @@
120
120
  {
121
121
  "name": "authorization",
122
122
  "description": " make required after integ is done",
123
- "in": "query",
123
+ "in": "header",
124
124
  "required": false,
125
125
  "type": "string"
126
126
  },
@@ -193,7 +193,7 @@
193
193
  {
194
194
  "name": "authorization",
195
195
  "description": " make required after integ is done",
196
- "in": "query",
196
+ "in": "header",
197
197
  "required": false,
198
198
  "type": "string"
199
199
  },
@@ -302,7 +302,7 @@
302
302
  {
303
303
  "name": "authorization",
304
304
  "description": " make required after integ is done",
305
- "in": "query",
305
+ "in": "header",
306
306
  "required": false,
307
307
  "type": "string"
308
308
  },
@@ -342,12 +342,6 @@
342
342
  }
343
343
  },
344
344
  "parameters": [
345
- {
346
- "name": "authorization",
347
- "in": "header",
348
- "required": false,
349
- "type": "string"
350
- },
351
345
  {
352
346
  "name": "by",
353
347
  "in": "query",
@@ -364,8 +358,16 @@
364
358
  "required": true,
365
359
  "type": "string"
366
360
  },
361
+ {
362
+ "name": "authorization",
363
+ "description": " make required after integ is done",
364
+ "in": "header",
365
+ "required": false,
366
+ "type": "string"
367
+ },
367
368
  {
368
369
  "name": "auth",
370
+ "description": " made optional to support header auth clients",
369
371
  "in": "query",
370
372
  "required": false,
371
373
  "type": "string"
@@ -408,7 +410,7 @@
408
410
  {
409
411
  "name": "authorization",
410
412
  "description": " make required after integ is done",
411
- "in": "query",
413
+ "in": "header",
412
414
  "required": false,
413
415
  "type": "string"
414
416
  },
@@ -487,7 +489,7 @@
487
489
  {
488
490
  "name": "authorization",
489
491
  "description": " make required after integ is done",
490
- "in": "query",
492
+ "in": "header",
491
493
  "required": false,
492
494
  "type": "string"
493
495
  },
@@ -576,7 +578,7 @@
576
578
  {
577
579
  "name": "authorization",
578
580
  "description": " make required after integ is done",
579
- "in": "query",
581
+ "in": "header",
580
582
  "required": false,
581
583
  "type": "string"
582
584
  },
@@ -798,6 +800,12 @@
798
800
  }
799
801
  },
800
802
  "parameters": [
803
+ {
804
+ "name": "l1_address",
805
+ "in": "query",
806
+ "required": true,
807
+ "type": "string"
808
+ },
801
809
  {
802
810
  "name": "authorization",
803
811
  "description": " make required after integ is done",
@@ -805,14 +813,9 @@
805
813
  "required": false,
806
814
  "type": "string"
807
815
  },
808
- {
809
- "name": "l1_address",
810
- "in": "query",
811
- "required": true,
812
- "type": "string"
813
- },
814
816
  {
815
817
  "name": "auth",
818
+ "description": " made optional to support header auth clients",
816
819
  "in": "query",
817
820
  "required": false,
818
821
  "type": "string"
@@ -848,7 +851,6 @@
848
851
  "parameters": [
849
852
  {
850
853
  "name": "authorization",
851
- "description": " make required after integ is done",
852
854
  "in": "header",
853
855
  "required": false,
854
856
  "type": "string"
@@ -917,7 +919,7 @@
917
919
  {
918
920
  "name": "authorization",
919
921
  "description": " make required after integ is done",
920
- "in": "query",
922
+ "in": "header",
921
923
  "required": false,
922
924
  "type": "string"
923
925
  },
@@ -1008,6 +1010,12 @@
1008
1010
  }
1009
1011
  },
1010
1012
  "parameters": [
1013
+ {
1014
+ "name": "authorization",
1015
+ "in": "header",
1016
+ "required": false,
1017
+ "type": "string"
1018
+ },
1011
1019
  {
1012
1020
  "name": "body",
1013
1021
  "in": "body",
@@ -1045,6 +1053,12 @@
1045
1053
  }
1046
1054
  },
1047
1055
  "parameters": [
1056
+ {
1057
+ "name": "authorization",
1058
+ "in": "header",
1059
+ "required": false,
1060
+ "type": "string"
1061
+ },
1048
1062
  {
1049
1063
  "name": "body",
1050
1064
  "in": "body",
@@ -1085,7 +1099,7 @@
1085
1099
  {
1086
1100
  "name": "authorization",
1087
1101
  "description": " make required after integ is done",
1088
- "in": "query",
1102
+ "in": "header",
1089
1103
  "required": false,
1090
1104
  "type": "string"
1091
1105
  },
@@ -1135,7 +1149,7 @@
1135
1149
  {
1136
1150
  "name": "authorization",
1137
1151
  "description": " make required after integ is done",
1138
- "in": "query",
1152
+ "in": "header",
1139
1153
  "required": false,
1140
1154
  "type": "string"
1141
1155
  },
@@ -1172,6 +1186,12 @@
1172
1186
  }
1173
1187
  },
1174
1188
  "parameters": [
1189
+ {
1190
+ "name": "authorization",
1191
+ "in": "header",
1192
+ "required": false,
1193
+ "type": "string"
1194
+ },
1175
1195
  {
1176
1196
  "name": "body",
1177
1197
  "in": "body",
@@ -1449,6 +1469,12 @@
1449
1469
  }
1450
1470
  },
1451
1471
  "parameters": [
1472
+ {
1473
+ "name": "authorization",
1474
+ "in": "header",
1475
+ "required": false,
1476
+ "type": "string"
1477
+ },
1452
1478
  {
1453
1479
  "name": "body",
1454
1480
  "in": "body",
@@ -1581,7 +1607,6 @@
1581
1607
  "parameters": [
1582
1608
  {
1583
1609
  "name": "authorization",
1584
- "description": " make required after integ is done",
1585
1610
  "in": "header",
1586
1611
  "required": false,
1587
1612
  "type": "string"
@@ -1809,7 +1834,7 @@
1809
1834
  {
1810
1835
  "name": "authorization",
1811
1836
  "description": " make required after integ is done",
1812
- "in": "query",
1837
+ "in": "header",
1813
1838
  "required": false,
1814
1839
  "type": "string"
1815
1840
  },
@@ -2027,7 +2052,6 @@
2027
2052
  "parameters": [
2028
2053
  {
2029
2054
  "name": "authorization",
2030
- "description": " make required after integ is done",
2031
2055
  "in": "header",
2032
2056
  "required": false,
2033
2057
  "type": "string"
@@ -2069,6 +2093,12 @@
2069
2093
  }
2070
2094
  },
2071
2095
  "parameters": [
2096
+ {
2097
+ "name": "authorization",
2098
+ "in": "header",
2099
+ "required": false,
2100
+ "type": "string"
2101
+ },
2072
2102
  {
2073
2103
  "name": "body",
2074
2104
  "in": "body",
@@ -2391,7 +2421,7 @@
2391
2421
  {
2392
2422
  "name": "authorization",
2393
2423
  "description": " make required after integ is done",
2394
- "in": "query",
2424
+ "in": "header",
2395
2425
  "required": false,
2396
2426
  "type": "string"
2397
2427
  },
@@ -2521,7 +2551,7 @@
2521
2551
  {
2522
2552
  "name": "authorization",
2523
2553
  "description": " make required after integ is done",
2524
- "in": "query",
2554
+ "in": "header",
2525
2555
  "required": false,
2526
2556
  "type": "string"
2527
2557
  },
@@ -2600,7 +2630,6 @@
2600
2630
  "parameters": [
2601
2631
  {
2602
2632
  "name": "authorization",
2603
- "description": " make required after integ is done",
2604
2633
  "in": "header",
2605
2634
  "required": false,
2606
2635
  "type": "string"
@@ -2645,7 +2674,7 @@
2645
2674
  {
2646
2675
  "name": "authorization",
2647
2676
  "description": " make required after integ is done",
2648
- "in": "query",
2677
+ "in": "header",
2649
2678
  "required": false,
2650
2679
  "type": "string"
2651
2680
  },
@@ -3040,12 +3069,14 @@
3040
3069
  "parameters": [
3041
3070
  {
3042
3071
  "name": "authorization",
3072
+ "description": " make required after integ is done",
3043
3073
  "in": "header",
3044
3074
  "required": false,
3045
3075
  "type": "string"
3046
3076
  },
3047
3077
  {
3048
3078
  "name": "auth",
3079
+ "description": " made optional to support header auth clients",
3049
3080
  "in": "query",
3050
3081
  "required": false,
3051
3082
  "type": "string"
@@ -3894,12 +3925,14 @@
3894
3925
  "parameters": [
3895
3926
  {
3896
3927
  "name": "authorization",
3928
+ "description": " make required after integ is done",
3897
3929
  "in": "header",
3898
3930
  "required": false,
3899
3931
  "type": "string"
3900
3932
  },
3901
3933
  {
3902
3934
  "name": "auth",
3935
+ "description": " made optional to support header auth clients",
3903
3936
  "in": "query",
3904
3937
  "required": false,
3905
3938
  "type": "string"
@@ -4244,12 +4277,14 @@
4244
4277
  "parameters": [
4245
4278
  {
4246
4279
  "name": "authorization",
4280
+ "description": " make required after integ is done",
4247
4281
  "in": "header",
4248
4282
  "required": false,
4249
4283
  "type": "string"
4250
4284
  },
4251
4285
  {
4252
4286
  "name": "auth",
4287
+ "description": " made optional to support header auth clients",
4253
4288
  "in": "query",
4254
4289
  "required": false,
4255
4290
  "type": "string"
@@ -4292,12 +4327,14 @@
4292
4327
  "parameters": [
4293
4328
  {
4294
4329
  "name": "authorization",
4330
+ "description": " make required after integ is done",
4295
4331
  "in": "header",
4296
4332
  "required": false,
4297
4333
  "type": "string"
4298
4334
  },
4299
4335
  {
4300
4336
  "name": "auth",
4337
+ "description": " made optional to support header auth clients",
4301
4338
  "in": "query",
4302
4339
  "required": false,
4303
4340
  "type": "string"
@@ -4347,12 +4384,14 @@
4347
4384
  "parameters": [
4348
4385
  {
4349
4386
  "name": "authorization",
4387
+ "description": " make required after integ is done",
4350
4388
  "in": "header",
4351
4389
  "required": false,
4352
4390
  "type": "string"
4353
4391
  },
4354
4392
  {
4355
4393
  "name": "auth",
4394
+ "description": " made optional to support header auth clients",
4356
4395
  "in": "query",
4357
4396
  "required": false,
4358
4397
  "type": "string"
@@ -4424,12 +4463,14 @@
4424
4463
  "parameters": [
4425
4464
  {
4426
4465
  "name": "authorization",
4466
+ "description": " make required after integ is done",
4427
4467
  "in": "header",
4428
4468
  "required": false,
4429
4469
  "type": "string"
4430
4470
  },
4431
4471
  {
4432
4472
  "name": "auth",
4473
+ "description": " made optional to support header auth clients",
4433
4474
  "in": "query",
4434
4475
  "required": false,
4435
4476
  "type": "string"
@@ -4707,12 +4748,6 @@
4707
4748
  }
4708
4749
  },
4709
4750
  "parameters": [
4710
- {
4711
- "name": "authorization",
4712
- "in": "header",
4713
- "required": false,
4714
- "type": "string"
4715
- },
4716
4751
  {
4717
4752
  "name": "type",
4718
4753
  "in": "query",
@@ -4736,8 +4771,16 @@
4736
4771
  "required": false,
4737
4772
  "type": "string"
4738
4773
  },
4774
+ {
4775
+ "name": "authorization",
4776
+ "description": " make required after integ is done",
4777
+ "in": "header",
4778
+ "required": false,
4779
+ "type": "string"
4780
+ },
4739
4781
  {
4740
4782
  "name": "auth",
4783
+ "description": " made optional to support header auth clients",
4741
4784
  "in": "query",
4742
4785
  "required": false,
4743
4786
  "type": "string"
@@ -4798,7 +4841,7 @@
4798
4841
  {
4799
4842
  "name": "authorization",
4800
4843
  "description": " make required after integ is done",
4801
- "in": "query",
4844
+ "in": "header",
4802
4845
  "required": false,
4803
4846
  "type": "string"
4804
4847
  },
@@ -4862,7 +4905,7 @@
4862
4905
  {
4863
4906
  "name": "authorization",
4864
4907
  "description": " make required after integ is done",
4865
- "in": "query",
4908
+ "in": "header",
4866
4909
  "required": false,
4867
4910
  "type": "string"
4868
4911
  },
@@ -4978,7 +5021,7 @@
4978
5021
  {
4979
5022
  "name": "authorization",
4980
5023
  "description": " make required after integ is done",
4981
- "in": "query",
5024
+ "in": "header",
4982
5025
  "required": false,
4983
5026
  "type": "string"
4984
5027
  },
@@ -5113,7 +5156,7 @@
5113
5156
  {
5114
5157
  "name": "authorization",
5115
5158
  "description": " make required after integ is done",
5116
- "in": "query",
5159
+ "in": "header",
5117
5160
  "required": false,
5118
5161
  "type": "string"
5119
5162
  },
@@ -5291,7 +5334,6 @@
5291
5334
  "parameters": [
5292
5335
  {
5293
5336
  "name": "authorization",
5294
- "description": " make required after integ is done",
5295
5337
  "in": "header",
5296
5338
  "required": false,
5297
5339
  "type": "string"
@@ -5754,7 +5796,7 @@
5754
5796
  {
5755
5797
  "name": "authorization",
5756
5798
  "description": " make required after integ is done",
5757
- "in": "query",
5799
+ "in": "header",
5758
5800
  "required": false,
5759
5801
  "type": "string"
5760
5802
  },
@@ -5828,7 +5870,7 @@
5828
5870
  {
5829
5871
  "name": "authorization",
5830
5872
  "description": " make required after integ is done",
5831
- "in": "query",
5873
+ "in": "header",
5832
5874
  "required": false,
5833
5875
  "type": "string"
5834
5876
  },
@@ -5973,7 +6015,7 @@
5973
6015
  {
5974
6016
  "name": "authorization",
5975
6017
  "description": " make required after integ is done",
5976
- "in": "query",
6018
+ "in": "header",
5977
6019
  "required": false,
5978
6020
  "type": "string"
5979
6021
  },
@@ -6085,6 +6127,12 @@
6085
6127
  }
6086
6128
  },
6087
6129
  "parameters": [
6130
+ {
6131
+ "name": "authorization",
6132
+ "in": "header",
6133
+ "required": false,
6134
+ "type": "string"
6135
+ },
6088
6136
  {
6089
6137
  "name": "body",
6090
6138
  "in": "body",
@@ -6125,7 +6173,7 @@
6125
6173
  {
6126
6174
  "name": "authorization",
6127
6175
  "description": " make required after integ is done",
6128
- "in": "query",
6176
+ "in": "header",
6129
6177
  "required": false,
6130
6178
  "type": "string"
6131
6179
  },
@@ -6175,7 +6223,7 @@
6175
6223
  {
6176
6224
  "name": "authorization",
6177
6225
  "description": " make required after integ is done",
6178
- "in": "query",
6226
+ "in": "header",
6179
6227
  "required": false,
6180
6228
  "type": "string"
6181
6229
  },
@@ -6220,6 +6268,12 @@
6220
6268
  }
6221
6269
  },
6222
6270
  "parameters": [
6271
+ {
6272
+ "name": "authorization",
6273
+ "in": "header",
6274
+ "required": false,
6275
+ "type": "string"
6276
+ },
6223
6277
  {
6224
6278
  "name": "body",
6225
6279
  "in": "body",
@@ -6257,6 +6311,12 @@
6257
6311
  }
6258
6312
  },
6259
6313
  "parameters": [
6314
+ {
6315
+ "name": "authorization",
6316
+ "in": "header",
6317
+ "required": false,
6318
+ "type": "string"
6319
+ },
6260
6320
  {
6261
6321
  "name": "body",
6262
6322
  "in": "body",
@@ -6341,7 +6401,6 @@
6341
6401
  "parameters": [
6342
6402
  {
6343
6403
  "name": "authorization",
6344
- "description": " make required after integ is done",
6345
6404
  "in": "header",
6346
6405
  "required": false,
6347
6406
  "type": "string"
@@ -6386,7 +6445,7 @@
6386
6445
  {
6387
6446
  "name": "authorization",
6388
6447
  "description": " make required after integ is done",
6389
- "in": "query",
6448
+ "in": "header",
6390
6449
  "required": false,
6391
6450
  "type": "string"
6392
6451
  },
@@ -6435,7 +6494,6 @@
6435
6494
  "parameters": [
6436
6495
  {
6437
6496
  "name": "authorization",
6438
- "description": " make required after integ is done",
6439
6497
  "in": "header",
6440
6498
  "required": false,
6441
6499
  "type": "string"
@@ -6480,7 +6538,7 @@
6480
6538
  {
6481
6539
  "name": "authorization",
6482
6540
  "description": " make required after integ is done",
6483
- "in": "query",
6541
+ "in": "header",
6484
6542
  "required": false,
6485
6543
  "type": "string"
6486
6544
  },
@@ -6529,12 +6587,14 @@
6529
6587
  "parameters": [
6530
6588
  {
6531
6589
  "name": "authorization",
6590
+ "description": " make required after integ is done",
6532
6591
  "in": "header",
6533
6592
  "required": false,
6534
6593
  "type": "string"
6535
6594
  },
6536
6595
  {
6537
6596
  "name": "auth",
6597
+ "description": " made optional to support header auth clients",
6538
6598
  "in": "query",
6539
6599
  "required": false,
6540
6600
  "type": "string"
@@ -6584,7 +6644,6 @@
6584
6644
  "parameters": [
6585
6645
  {
6586
6646
  "name": "authorization",
6587
- "description": " make required after integ is done",
6588
6647
  "in": "header",
6589
6648
  "required": false,
6590
6649
  "type": "string"
@@ -6628,7 +6687,6 @@
6628
6687
  "parameters": [
6629
6688
  {
6630
6689
  "name": "authorization",
6631
- "description": " make required after integ is done",
6632
6690
  "in": "header",
6633
6691
  "required": false,
6634
6692
  "type": "string"
@@ -6672,12 +6730,14 @@
6672
6730
  "parameters": [
6673
6731
  {
6674
6732
  "name": "authorization",
6733
+ "description": " make required after integ is done",
6675
6734
  "in": "header",
6676
6735
  "required": false,
6677
6736
  "type": "string"
6678
6737
  },
6679
6738
  {
6680
6739
  "name": "auth",
6740
+ "description": " made optional to support header auth clients",
6681
6741
  "in": "query",
6682
6742
  "required": false,
6683
6743
  "type": "string"
@@ -6799,12 +6859,14 @@
6799
6859
  "parameters": [
6800
6860
  {
6801
6861
  "name": "authorization",
6862
+ "description": " make required after integ is done",
6802
6863
  "in": "header",
6803
6864
  "required": false,
6804
6865
  "type": "string"
6805
6866
  },
6806
6867
  {
6807
6868
  "name": "auth",
6869
+ "description": " made optional to support header auth clients",
6808
6870
  "in": "query",
6809
6871
  "required": false,
6810
6872
  "type": "string"
@@ -6847,12 +6909,14 @@
6847
6909
  "parameters": [
6848
6910
  {
6849
6911
  "name": "authorization",
6912
+ "description": " make required after integ is done",
6850
6913
  "in": "header",
6851
6914
  "required": false,
6852
6915
  "type": "string"
6853
6916
  },
6854
6917
  {
6855
6918
  "name": "auth",
6919
+ "description": " made optional to support header auth clients",
6856
6920
  "in": "query",
6857
6921
  "required": false,
6858
6922
  "type": "string"
@@ -7367,7 +7431,6 @@
7367
7431
  "parameters": [
7368
7432
  {
7369
7433
  "name": "authorization",
7370
- "description": " make required after integ is done",
7371
7434
  "in": "header",
7372
7435
  "required": false,
7373
7436
  "type": "string"
@@ -7532,6 +7595,12 @@
7532
7595
  }
7533
7596
  },
7534
7597
  "parameters": [
7598
+ {
7599
+ "name": "authorization",
7600
+ "in": "header",
7601
+ "required": false,
7602
+ "type": "string"
7603
+ },
7535
7604
  {
7536
7605
  "name": "body",
7537
7606
  "in": "body",
@@ -7569,6 +7638,12 @@
7569
7638
  }
7570
7639
  },
7571
7640
  "parameters": [
7641
+ {
7642
+ "name": "authorization",
7643
+ "in": "header",
7644
+ "required": false,
7645
+ "type": "string"
7646
+ },
7572
7647
  {
7573
7648
  "name": "body",
7574
7649
  "in": "body",
@@ -7606,6 +7681,12 @@
7606
7681
  }
7607
7682
  },
7608
7683
  "parameters": [
7684
+ {
7685
+ "name": "authorization",
7686
+ "in": "header",
7687
+ "required": false,
7688
+ "type": "string"
7689
+ },
7609
7690
  {
7610
7691
  "name": "body",
7611
7692
  "in": "body",
@@ -8039,7 +8120,7 @@
8039
8120
  {
8040
8121
  "name": "authorization",
8041
8122
  "description": " make required after integ is done",
8042
- "in": "query",
8123
+ "in": "header",
8043
8124
  "required": false,
8044
8125
  "type": "string"
8045
8126
  },
@@ -8533,7 +8614,7 @@
8533
8614
  {
8534
8615
  "name": "authorization",
8535
8616
  "description": " make required after integ is done",
8536
- "in": "query",
8617
+ "in": "header",
8537
8618
  "required": false,
8538
8619
  "type": "string"
8539
8620
  },
@@ -17742,7 +17823,8 @@
17742
17823
  "type": "object",
17743
17824
  "properties": {
17744
17825
  "auth": {
17745
- "type": "string"
17826
+ "type": "string",
17827
+ "description": " made optional to support header auth clients"
17746
17828
  },
17747
17829
  "account_index": {
17748
17830
  "type": "integer",
@@ -17809,7 +17891,8 @@
17809
17891
  "type": "string"
17810
17892
  },
17811
17893
  "auth": {
17812
- "type": "string"
17894
+ "type": "string",
17895
+ "description": " made optional to support header auth clients"
17813
17896
  }
17814
17897
  },
17815
17898
  "title": "ReqConnectX",
@@ -17832,7 +17915,8 @@
17832
17915
  "type": "string"
17833
17916
  },
17834
17917
  "auth": {
17835
- "type": "string"
17918
+ "type": "string",
17919
+ "description": " made optional to support header auth clients"
17836
17920
  }
17837
17921
  },
17838
17922
  "title": "ReqConnectXCallback",
@@ -17855,7 +17939,8 @@
17855
17939
  "type": "string"
17856
17940
  },
17857
17941
  "auth": {
17858
- "type": "string"
17942
+ "type": "string",
17943
+ "description": " made optional to support header auth clients"
17859
17944
  }
17860
17945
  },
17861
17946
  "title": "ReqCreateAirdropAllocations",
@@ -17947,7 +18032,8 @@
17947
18032
  "type": "object",
17948
18033
  "properties": {
17949
18034
  "auth": {
17950
- "type": "string"
18035
+ "type": "string",
18036
+ "description": " made optional to support header auth clients"
17951
18037
  },
17952
18038
  "account_index": {
17953
18039
  "type": "integer",
@@ -17975,7 +18061,8 @@
17975
18061
  "type": "object",
17976
18062
  "properties": {
17977
18063
  "auth": {
17978
- "type": "string"
18064
+ "type": "string",
18065
+ "description": " made optional to support header auth clients"
17979
18066
  },
17980
18067
  "account_index": {
17981
18068
  "type": "integer",
@@ -18023,7 +18110,8 @@
18023
18110
  "type": "object",
18024
18111
  "properties": {
18025
18112
  "auth": {
18026
- "type": "string"
18113
+ "type": "string",
18114
+ "description": " made optional to support header auth clients"
18027
18115
  },
18028
18116
  "market_index": {
18029
18117
  "type": "integer",
@@ -18111,7 +18199,8 @@
18111
18199
  "format": "int64"
18112
18200
  },
18113
18201
  "auth": {
18114
- "type": "string"
18202
+ "type": "string",
18203
+ "description": " made optional to support header auth clients"
18115
18204
  }
18116
18205
  },
18117
18206
  "title": "ReqDisconnectX",
@@ -18496,7 +18585,8 @@
18496
18585
  "type": "string"
18497
18586
  },
18498
18587
  "auth": {
18499
- "type": "string"
18588
+ "type": "string",
18589
+ "description": " made optional to support header auth clients"
18500
18590
  },
18501
18591
  "cursor": {
18502
18592
  "type": "string"
@@ -18780,7 +18870,8 @@
18780
18870
  "type": "string"
18781
18871
  },
18782
18872
  "auth": {
18783
- "type": "string"
18873
+ "type": "string",
18874
+ "description": " made optional to support header auth clients"
18784
18875
  }
18785
18876
  },
18786
18877
  "title": "ReqGetAirdropAllocations",
@@ -19349,7 +19440,8 @@
19349
19440
  "type": "object",
19350
19441
  "properties": {
19351
19442
  "auth": {
19352
- "type": "string"
19443
+ "type": "string",
19444
+ "description": " made optional to support header auth clients"
19353
19445
  },
19354
19446
  "account_index": {
19355
19447
  "type": "integer",
@@ -19386,7 +19478,8 @@
19386
19478
  "type": "object",
19387
19479
  "properties": {
19388
19480
  "auth": {
19389
- "type": "string"
19481
+ "type": "string",
19482
+ "description": " made optional to support header auth clients"
19390
19483
  },
19391
19484
  "account_index": {
19392
19485
  "type": "integer",
@@ -19528,7 +19621,8 @@
19528
19621
  "type": "string"
19529
19622
  },
19530
19623
  "auth": {
19531
- "type": "string"
19624
+ "type": "string",
19625
+ "description": " made optional to support header auth clients"
19532
19626
  }
19533
19627
  },
19534
19628
  "title": "ReqGetLeaderboard",
@@ -19614,7 +19708,8 @@
19614
19708
  "type": "object",
19615
19709
  "properties": {
19616
19710
  "auth": {
19617
- "type": "string"
19711
+ "type": "string",
19712
+ "description": " made optional to support header auth clients"
19618
19713
  },
19619
19714
  "account_index": {
19620
19715
  "type": "integer",
@@ -20057,7 +20152,8 @@
20057
20152
  "type": "object",
20058
20153
  "properties": {
20059
20154
  "auth": {
20060
- "type": "string"
20155
+ "type": "string",
20156
+ "description": " made optional to support header auth clients"
20061
20157
  },
20062
20158
  "rfq_id": {
20063
20159
  "type": "integer",
@@ -20188,7 +20284,8 @@
20188
20284
  "type": "object",
20189
20285
  "properties": {
20190
20286
  "auth": {
20191
- "type": "string"
20287
+ "type": "string",
20288
+ "description": " made optional to support header auth clients"
20192
20289
  },
20193
20290
  "l1_address": {
20194
20291
  "type": "string"
@@ -20653,7 +20750,8 @@
20653
20750
  "type": "object",
20654
20751
  "properties": {
20655
20752
  "auth": {
20656
- "type": "string"
20753
+ "type": "string",
20754
+ "description": " made optional to support header auth clients"
20657
20755
  },
20658
20756
  "l1_address": {
20659
20757
  "type": "string"
@@ -20718,7 +20816,8 @@
20718
20816
  "type": "object",
20719
20817
  "properties": {
20720
20818
  "auth": {
20721
- "type": "string"
20819
+ "type": "string",
20820
+ "description": " made optional to support header auth clients"
20722
20821
  },
20723
20822
  "account_index": {
20724
20823
  "type": "integer",
@@ -20746,7 +20845,8 @@
20746
20845
  "type": "object",
20747
20846
  "properties": {
20748
20847
  "auth": {
20749
- "type": "string"
20848
+ "type": "string",
20849
+ "description": " made optional to support header auth clients"
20750
20850
  },
20751
20851
  "account_index": {
20752
20852
  "type": "integer",
@@ -20776,7 +20876,8 @@
20776
20876
  "type": "object",
20777
20877
  "properties": {
20778
20878
  "auth": {
20779
- "type": "string"
20879
+ "type": "string",
20880
+ "description": " made optional to support header auth clients"
20780
20881
  },
20781
20882
  "account_index": {
20782
20883
  "type": "integer",
@@ -20797,7 +20898,8 @@
20797
20898
  "type": "object",
20798
20899
  "properties": {
20799
20900
  "auth": {
20800
- "type": "string"
20901
+ "type": "string",
20902
+ "description": " made optional to support header auth clients"
20801
20903
  },
20802
20904
  "account_index": {
20803
20905
  "type": "integer",
@@ -20856,7 +20958,8 @@
20856
20958
  "type": "object",
20857
20959
  "properties": {
20858
20960
  "auth": {
20859
- "type": "string"
20961
+ "type": "string",
20962
+ "description": " made optional to support header auth clients"
20860
20963
  },
20861
20964
  "account_index": {
20862
20965
  "type": "integer",
@@ -20920,7 +21023,8 @@
20920
21023
  "type": "object",
20921
21024
  "properties": {
20922
21025
  "auth": {
20923
- "type": "string"
21026
+ "type": "string",
21027
+ "description": " made optional to support header auth clients"
20924
21028
  },
20925
21029
  "account_index": {
20926
21030
  "type": "integer",
@@ -20946,7 +21050,8 @@
20946
21050
  "type": "object",
20947
21051
  "properties": {
20948
21052
  "auth": {
20949
- "type": "string"
21053
+ "type": "string",
21054
+ "description": " made optional to support header auth clients"
20950
21055
  },
20951
21056
  "account_index": {
20952
21057
  "type": "integer",
@@ -20967,7 +21072,8 @@
20967
21072
  "type": "object",
20968
21073
  "properties": {
20969
21074
  "auth": {
20970
- "type": "string"
21075
+ "type": "string",
21076
+ "description": " made optional to support header auth clients"
20971
21077
  },
20972
21078
  "account_index": {
20973
21079
  "type": "integer",
@@ -20992,7 +21098,8 @@
20992
21098
  "type": "object",
20993
21099
  "properties": {
20994
21100
  "auth": {
20995
- "type": "string"
21101
+ "type": "string",
21102
+ "description": " made optional to support header auth clients"
20996
21103
  },
20997
21104
  "account_index": {
20998
21105
  "type": "integer",
@@ -21018,7 +21125,8 @@
21018
21125
  "type": "object",
21019
21126
  "properties": {
21020
21127
  "auth": {
21021
- "type": "string"
21128
+ "type": "string",
21129
+ "description": " made optional to support header auth clients"
21022
21130
  },
21023
21131
  "account_index": {
21024
21132
  "type": "integer",
@@ -21038,7 +21146,8 @@
21038
21146
  "type": "object",
21039
21147
  "properties": {
21040
21148
  "auth": {
21041
- "type": "string"
21149
+ "type": "string",
21150
+ "description": " made optional to support header auth clients"
21042
21151
  },
21043
21152
  "account_index": {
21044
21153
  "type": "integer",
@@ -21121,7 +21230,8 @@
21121
21230
  "type": "object",
21122
21231
  "properties": {
21123
21232
  "auth": {
21124
- "type": "string"
21233
+ "type": "string",
21234
+ "description": " made optional to support header auth clients"
21125
21235
  },
21126
21236
  "account_index": {
21127
21237
  "type": "integer",
@@ -21266,7 +21376,8 @@
21266
21376
  "type": "object",
21267
21377
  "properties": {
21268
21378
  "auth": {
21269
- "type": "string"
21379
+ "type": "string",
21380
+ "description": " made optional to support header auth clients"
21270
21381
  },
21271
21382
  "account_index": {
21272
21383
  "type": "integer",
@@ -21286,7 +21397,8 @@
21286
21397
  "type": "object",
21287
21398
  "properties": {
21288
21399
  "auth": {
21289
- "type": "string"
21400
+ "type": "string",
21401
+ "description": " made optional to support header auth clients"
21290
21402
  },
21291
21403
  "account_index": {
21292
21404
  "type": "integer",
@@ -21315,7 +21427,8 @@
21315
21427
  "type": "object",
21316
21428
  "properties": {
21317
21429
  "auth": {
21318
- "type": "string"
21430
+ "type": "string",
21431
+ "description": " made optional to support header auth clients"
21319
21432
  },
21320
21433
  "rfq_id": {
21321
21434
  "type": "integer",
@@ -21411,7 +21524,8 @@
21411
21524
  "type": "string"
21412
21525
  },
21413
21526
  "auth": {
21414
- "type": "string"
21527
+ "type": "string",
21528
+ "description": " made optional to support header auth clients"
21415
21529
  }
21416
21530
  },
21417
21531
  "title": "ReqSetAccountMetadata",
@@ -21479,7 +21593,8 @@
21479
21593
  "type": "object",
21480
21594
  "properties": {
21481
21595
  "auth": {
21482
- "type": "string"
21596
+ "type": "string",
21597
+ "description": " made optional to support header auth clients"
21483
21598
  },
21484
21599
  "account_index": {
21485
21600
  "type": "integer",
@@ -21639,7 +21754,8 @@
21639
21754
  "type": "object",
21640
21755
  "properties": {
21641
21756
  "auth": {
21642
- "type": "string"
21757
+ "type": "string",
21758
+ "description": " made optional to support header auth clients"
21643
21759
  },
21644
21760
  "account_index": {
21645
21761
  "type": "integer",
@@ -21667,7 +21783,8 @@
21667
21783
  "type": "object",
21668
21784
  "properties": {
21669
21785
  "auth": {
21670
- "type": "string"
21786
+ "type": "string",
21787
+ "description": " made optional to support header auth clients"
21671
21788
  },
21672
21789
  "account_index": {
21673
21790
  "type": "integer",
@@ -21747,7 +21864,8 @@
21747
21864
  "type": "object",
21748
21865
  "properties": {
21749
21866
  "auth": {
21750
- "type": "string"
21867
+ "type": "string",
21868
+ "description": " made optional to support header auth clients"
21751
21869
  },
21752
21870
  "rfq_id": {
21753
21871
  "type": "integer",
@@ -24403,6 +24521,13 @@
24403
24521
  "format": "double",
24404
24522
  "example": "310.75",
24405
24523
  "description": " the part of saved_usd from those markets"
24524
+ },
24525
+ "venues": {
24526
+ "type": "array",
24527
+ "items": {
24528
+ "$ref": "#/definitions/SavingsEntryVenue"
24529
+ },
24530
+ "description": " the wallet against each venue it has compared orders with under this request, the ranked one included"
24406
24531
  }
24407
24532
  },
24408
24533
  "title": "SavingsEntry",
@@ -24419,6 +24544,101 @@
24419
24544
  "saved_usd",
24420
24545
  "saved_bps",
24421
24546
  "filled_in_volume_usd",
24547
+ "filled_in_saved_usd",
24548
+ "venues"
24549
+ ]
24550
+ },
24551
+ "SavingsEntryVenue": {
24552
+ "type": "object",
24553
+ "properties": {
24554
+ "venue": {
24555
+ "type": "string",
24556
+ "example": "binance"
24557
+ },
24558
+ "rank": {
24559
+ "type": "integer",
24560
+ "format": "int64",
24561
+ "example": "20",
24562
+ "description": " the wallet's position against this venue"
24563
+ },
24564
+ "trades": {
24565
+ "type": "integer",
24566
+ "format": "int64",
24567
+ "example": "1204"
24568
+ },
24569
+ "cheaper_trades": {
24570
+ "type": "integer",
24571
+ "format": "int64",
24572
+ "example": "1101",
24573
+ "description": " compared orders that cost less on Lighter"
24574
+ },
24575
+ "volume_usd": {
24576
+ "type": "number",
24577
+ "format": "double",
24578
+ "example": "200607208.12"
24579
+ },
24580
+ "lighter_fee_usd": {
24581
+ "type": "number",
24582
+ "format": "double",
24583
+ "example": "1203.5",
24584
+ "description": " fee paid to Lighter, without the front-end's fee"
24585
+ },
24586
+ "lighter_price_cost_usd": {
24587
+ "type": "number",
24588
+ "format": "double",
24589
+ "example": "30211.9",
24590
+ "description": " fill price against Lighter's mid"
24591
+ },
24592
+ "venue_fee_usd": {
24593
+ "type": "number",
24594
+ "format": "double",
24595
+ "example": "56170.02",
24596
+ "description": " the venue's taker fee at the wallet's volume"
24597
+ },
24598
+ "venue_price_cost_usd": {
24599
+ "type": "number",
24600
+ "format": "double",
24601
+ "example": "29091.57",
24602
+ "description": " replayed price under the request's measure and timing"
24603
+ },
24604
+ "saved_usd": {
24605
+ "type": "number",
24606
+ "format": "double",
24607
+ "example": "53846.19",
24608
+ "description": " the venue's cost minus Lighter's; negative when Lighter cost more"
24609
+ },
24610
+ "saved_bps": {
24611
+ "type": "number",
24612
+ "format": "double",
24613
+ "example": "2.684"
24614
+ },
24615
+ "filled_in_volume_usd": {
24616
+ "type": "number",
24617
+ "format": "double",
24618
+ "example": "901822.4",
24619
+ "description": " the part of volume_usd in markets the venue does not list"
24620
+ },
24621
+ "filled_in_saved_usd": {
24622
+ "type": "number",
24623
+ "format": "double",
24624
+ "example": "310.75",
24625
+ "description": " the part of saved_usd from those markets"
24626
+ }
24627
+ },
24628
+ "title": "SavingsEntryVenue",
24629
+ "required": [
24630
+ "venue",
24631
+ "rank",
24632
+ "trades",
24633
+ "cheaper_trades",
24634
+ "volume_usd",
24635
+ "lighter_fee_usd",
24636
+ "lighter_price_cost_usd",
24637
+ "venue_fee_usd",
24638
+ "venue_price_cost_usd",
24639
+ "saved_usd",
24640
+ "saved_bps",
24641
+ "filled_in_volume_usd",
24422
24642
  "filled_in_saved_usd"
24423
24643
  ]
24424
24644
  },