zklighter-perps 1.0.308 → 1.0.310
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/models/Account.ts +26 -2
- package/models/AccountMetadata.ts +9 -0
- package/models/AccountPosition.ts +12 -1
- package/models/AccountStats.ts +12 -1
- package/models/AtomicOrderLeg.ts +12 -1
- package/models/BinaryOptionMarketStats.ts +12 -2
- package/models/BoOutcomePnL.ts +13 -1
- package/models/Bridge.ts +2 -2
- package/models/DetailedAccount.ts +35 -2
- package/models/EventOrderBookEntry.ts +11 -1
- package/models/GeckoContract.ts +45 -0
- package/models/MarketConfig.ts +12 -1
- package/models/OrderBook.ts +11 -1
- package/models/PerpsOrderBookDetail.ts +11 -1
- package/models/PublicPoolInfo.ts +12 -1
- package/models/PublicPoolMetadata.ts +26 -2
- package/models/RFQEntry.ts +11 -1
- package/models/RespCreateRFQ.ts +11 -1
- package/models/RespGetRFQ.ts +11 -1
- package/models/RespRespondToRFQ.ts +11 -1
- package/models/RespUpdateRFQ.ts +11 -1
- package/models/SpotOrderBookDetail.ts +11 -1
- package/openapi.json +284 -66
- package/package.json +1 -1
package/openapi.json
CHANGED
|
@@ -7175,8 +7175,23 @@
|
|
|
7175
7175
|
},
|
|
7176
7176
|
"account_type": {
|
|
7177
7177
|
"type": "integer",
|
|
7178
|
-
"format": "
|
|
7179
|
-
"
|
|
7178
|
+
"format": "int32",
|
|
7179
|
+
"enum": [
|
|
7180
|
+
0,
|
|
7181
|
+
1,
|
|
7182
|
+
2,
|
|
7183
|
+
3,
|
|
7184
|
+
4,
|
|
7185
|
+
5
|
|
7186
|
+
],
|
|
7187
|
+
"x-enum-varnames": [
|
|
7188
|
+
"Master",
|
|
7189
|
+
"Sub",
|
|
7190
|
+
"PublicPool",
|
|
7191
|
+
"InsuranceFund",
|
|
7192
|
+
"LighterStakingPool",
|
|
7193
|
+
"TreasurySub"
|
|
7194
|
+
]
|
|
7180
7195
|
},
|
|
7181
7196
|
"index": {
|
|
7182
7197
|
"type": "integer",
|
|
@@ -7227,8 +7242,15 @@
|
|
|
7227
7242
|
},
|
|
7228
7243
|
"account_trading_mode": {
|
|
7229
7244
|
"type": "integer",
|
|
7230
|
-
"format": "
|
|
7231
|
-
"
|
|
7245
|
+
"format": "int32",
|
|
7246
|
+
"enum": [
|
|
7247
|
+
0,
|
|
7248
|
+
1
|
|
7249
|
+
],
|
|
7250
|
+
"x-enum-varnames": [
|
|
7251
|
+
"Simple",
|
|
7252
|
+
"Unified"
|
|
7253
|
+
]
|
|
7232
7254
|
}
|
|
7233
7255
|
},
|
|
7234
7256
|
"title": "Account",
|
|
@@ -7293,7 +7315,6 @@
|
|
|
7293
7315
|
},
|
|
7294
7316
|
"margin_mode": {
|
|
7295
7317
|
"type": "string",
|
|
7296
|
-
"example": "enabled",
|
|
7297
7318
|
"enum": [
|
|
7298
7319
|
"enabled",
|
|
7299
7320
|
"disabled"
|
|
@@ -7591,6 +7612,10 @@
|
|
|
7591
7612
|
},
|
|
7592
7613
|
"metadata": {
|
|
7593
7614
|
"$ref": "#/definitions/SubAccountMetadata"
|
|
7615
|
+
},
|
|
7616
|
+
"instance": {
|
|
7617
|
+
"type": "string",
|
|
7618
|
+
"description": " non-core instance the l1 address belongs to, e.g. \"us\""
|
|
7594
7619
|
}
|
|
7595
7620
|
},
|
|
7596
7621
|
"title": "AccountMetadata",
|
|
@@ -7604,7 +7629,8 @@
|
|
|
7604
7629
|
"can_rfq_market_ids",
|
|
7605
7630
|
"agent_enabled",
|
|
7606
7631
|
"created_at",
|
|
7607
|
-
"metadata"
|
|
7632
|
+
"metadata",
|
|
7633
|
+
"instance"
|
|
7608
7634
|
]
|
|
7609
7635
|
},
|
|
7610
7636
|
"AccountMetadatas": {
|
|
@@ -7766,7 +7792,14 @@
|
|
|
7766
7792
|
"margin_mode": {
|
|
7767
7793
|
"type": "integer",
|
|
7768
7794
|
"format": "int32",
|
|
7769
|
-
"
|
|
7795
|
+
"enum": [
|
|
7796
|
+
0,
|
|
7797
|
+
1
|
|
7798
|
+
],
|
|
7799
|
+
"x-enum-varnames": [
|
|
7800
|
+
"Cross",
|
|
7801
|
+
"Isolated"
|
|
7802
|
+
]
|
|
7770
7803
|
},
|
|
7771
7804
|
"margin_set_flag": {
|
|
7772
7805
|
"type": "integer",
|
|
@@ -7832,8 +7865,15 @@
|
|
|
7832
7865
|
},
|
|
7833
7866
|
"account_trading_mode": {
|
|
7834
7867
|
"type": "integer",
|
|
7835
|
-
"format": "
|
|
7836
|
-
"
|
|
7868
|
+
"format": "int32",
|
|
7869
|
+
"enum": [
|
|
7870
|
+
0,
|
|
7871
|
+
1
|
|
7872
|
+
],
|
|
7873
|
+
"x-enum-varnames": [
|
|
7874
|
+
"Simple",
|
|
7875
|
+
"Unified"
|
|
7876
|
+
]
|
|
7837
7877
|
},
|
|
7838
7878
|
"cross_stats": {
|
|
7839
7879
|
"$ref": "#/definitions/AccountMarginStats"
|
|
@@ -8178,7 +8218,6 @@
|
|
|
8178
8218
|
},
|
|
8179
8219
|
"margin_mode": {
|
|
8180
8220
|
"type": "string",
|
|
8181
|
-
"example": "enabled",
|
|
8182
8221
|
"enum": [
|
|
8183
8222
|
"enabled",
|
|
8184
8223
|
"disabled",
|
|
@@ -8343,11 +8382,14 @@
|
|
|
8343
8382
|
},
|
|
8344
8383
|
"is_ask": {
|
|
8345
8384
|
"type": "integer",
|
|
8346
|
-
"format": "
|
|
8347
|
-
"example": "1",
|
|
8385
|
+
"format": "int32",
|
|
8348
8386
|
"enum": [
|
|
8349
|
-
|
|
8350
|
-
|
|
8387
|
+
0,
|
|
8388
|
+
1
|
|
8389
|
+
],
|
|
8390
|
+
"x-enum-varnames": [
|
|
8391
|
+
"Bid",
|
|
8392
|
+
"Ask"
|
|
8351
8393
|
]
|
|
8352
8394
|
},
|
|
8353
8395
|
"base_amount": {
|
|
@@ -8452,7 +8494,6 @@
|
|
|
8452
8494
|
},
|
|
8453
8495
|
"status": {
|
|
8454
8496
|
"type": "string",
|
|
8455
|
-
"example": "active",
|
|
8456
8497
|
"enum": [
|
|
8457
8498
|
"inactive",
|
|
8458
8499
|
"active",
|
|
@@ -8463,9 +8504,17 @@
|
|
|
8463
8504
|
},
|
|
8464
8505
|
"outcome": {
|
|
8465
8506
|
"type": "integer",
|
|
8466
|
-
"format": "
|
|
8467
|
-
"
|
|
8468
|
-
|
|
8507
|
+
"format": "int32",
|
|
8508
|
+
"enum": [
|
|
8509
|
+
0,
|
|
8510
|
+
1,
|
|
8511
|
+
2
|
|
8512
|
+
],
|
|
8513
|
+
"x-enum-varnames": [
|
|
8514
|
+
"None",
|
|
8515
|
+
"No",
|
|
8516
|
+
"Yes"
|
|
8517
|
+
]
|
|
8469
8518
|
}
|
|
8470
8519
|
},
|
|
8471
8520
|
"title": "BinaryOptionMarketStats",
|
|
@@ -8631,7 +8680,17 @@
|
|
|
8631
8680
|
},
|
|
8632
8681
|
"outcome": {
|
|
8633
8682
|
"type": "integer",
|
|
8634
|
-
"format": "
|
|
8683
|
+
"format": "int32",
|
|
8684
|
+
"enum": [
|
|
8685
|
+
0,
|
|
8686
|
+
1,
|
|
8687
|
+
2
|
|
8688
|
+
],
|
|
8689
|
+
"x-enum-varnames": [
|
|
8690
|
+
"None",
|
|
8691
|
+
"No",
|
|
8692
|
+
"Yes"
|
|
8693
|
+
]
|
|
8635
8694
|
},
|
|
8636
8695
|
"end_timestamp": {
|
|
8637
8696
|
"type": "integer",
|
|
@@ -8670,8 +8729,12 @@
|
|
|
8670
8729
|
"type": "integer",
|
|
8671
8730
|
"format": "int32",
|
|
8672
8731
|
"enum": [
|
|
8673
|
-
|
|
8674
|
-
|
|
8732
|
+
1,
|
|
8733
|
+
2
|
|
8734
|
+
],
|
|
8735
|
+
"x-enum-varnames": [
|
|
8736
|
+
"V1",
|
|
8737
|
+
"V2"
|
|
8675
8738
|
]
|
|
8676
8739
|
},
|
|
8677
8740
|
"source": {
|
|
@@ -9362,8 +9425,23 @@
|
|
|
9362
9425
|
},
|
|
9363
9426
|
"account_type": {
|
|
9364
9427
|
"type": "integer",
|
|
9365
|
-
"format": "
|
|
9366
|
-
"
|
|
9428
|
+
"format": "int32",
|
|
9429
|
+
"enum": [
|
|
9430
|
+
0,
|
|
9431
|
+
1,
|
|
9432
|
+
2,
|
|
9433
|
+
3,
|
|
9434
|
+
4,
|
|
9435
|
+
5
|
|
9436
|
+
],
|
|
9437
|
+
"x-enum-varnames": [
|
|
9438
|
+
"Master",
|
|
9439
|
+
"Sub",
|
|
9440
|
+
"PublicPool",
|
|
9441
|
+
"InsuranceFund",
|
|
9442
|
+
"LighterStakingPool",
|
|
9443
|
+
"TreasurySub"
|
|
9444
|
+
]
|
|
9367
9445
|
},
|
|
9368
9446
|
"index": {
|
|
9369
9447
|
"type": "integer",
|
|
@@ -9414,8 +9492,15 @@
|
|
|
9414
9492
|
},
|
|
9415
9493
|
"account_trading_mode": {
|
|
9416
9494
|
"type": "integer",
|
|
9417
|
-
"format": "
|
|
9418
|
-
"
|
|
9495
|
+
"format": "int32",
|
|
9496
|
+
"enum": [
|
|
9497
|
+
0,
|
|
9498
|
+
1
|
|
9499
|
+
],
|
|
9500
|
+
"x-enum-varnames": [
|
|
9501
|
+
"Simple",
|
|
9502
|
+
"Unified"
|
|
9503
|
+
]
|
|
9419
9504
|
},
|
|
9420
9505
|
"account_index": {
|
|
9421
9506
|
"type": "integer",
|
|
@@ -9457,6 +9542,10 @@
|
|
|
9457
9542
|
"metadata": {
|
|
9458
9543
|
"$ref": "#/definitions/SubAccountMetadata"
|
|
9459
9544
|
},
|
|
9545
|
+
"instance": {
|
|
9546
|
+
"type": "string",
|
|
9547
|
+
"description": " non-core instance the l1 address belongs to, e.g. \"us\""
|
|
9548
|
+
},
|
|
9460
9549
|
"positions": {
|
|
9461
9550
|
"type": "array",
|
|
9462
9551
|
"items": {
|
|
@@ -9537,6 +9626,7 @@
|
|
|
9537
9626
|
"agent_enabled",
|
|
9538
9627
|
"created_at",
|
|
9539
9628
|
"metadata",
|
|
9629
|
+
"instance",
|
|
9540
9630
|
"positions",
|
|
9541
9631
|
"assets",
|
|
9542
9632
|
"total_asset_value",
|
|
@@ -9806,7 +9896,6 @@
|
|
|
9806
9896
|
},
|
|
9807
9897
|
"market_type": {
|
|
9808
9898
|
"type": "string",
|
|
9809
|
-
"example": "perp",
|
|
9810
9899
|
"enum": [
|
|
9811
9900
|
"perp",
|
|
9812
9901
|
"spot",
|
|
@@ -9825,7 +9914,6 @@
|
|
|
9825
9914
|
},
|
|
9826
9915
|
"status": {
|
|
9827
9916
|
"type": "string",
|
|
9828
|
-
"example": "active",
|
|
9829
9917
|
"enum": [
|
|
9830
9918
|
"inactive",
|
|
9831
9919
|
"active"
|
|
@@ -9904,8 +9992,17 @@
|
|
|
9904
9992
|
},
|
|
9905
9993
|
"outcome": {
|
|
9906
9994
|
"type": "integer",
|
|
9907
|
-
"format": "
|
|
9908
|
-
"
|
|
9995
|
+
"format": "int32",
|
|
9996
|
+
"enum": [
|
|
9997
|
+
0,
|
|
9998
|
+
1,
|
|
9999
|
+
2
|
|
10000
|
+
],
|
|
10001
|
+
"x-enum-varnames": [
|
|
10002
|
+
"None",
|
|
10003
|
+
"No",
|
|
10004
|
+
"Yes"
|
|
10005
|
+
]
|
|
9909
10006
|
},
|
|
9910
10007
|
"operator_account_index": {
|
|
9911
10008
|
"type": "integer",
|
|
@@ -10246,6 +10343,22 @@
|
|
|
10246
10343
|
"type": "number",
|
|
10247
10344
|
"format": "double"
|
|
10248
10345
|
},
|
|
10346
|
+
"long_open_interest": {
|
|
10347
|
+
"type": "number",
|
|
10348
|
+
"format": "double"
|
|
10349
|
+
},
|
|
10350
|
+
"long_open_interest_usd": {
|
|
10351
|
+
"type": "number",
|
|
10352
|
+
"format": "double"
|
|
10353
|
+
},
|
|
10354
|
+
"short_open_interest": {
|
|
10355
|
+
"type": "number",
|
|
10356
|
+
"format": "double"
|
|
10357
|
+
},
|
|
10358
|
+
"short_open_interest_usd": {
|
|
10359
|
+
"type": "number",
|
|
10360
|
+
"format": "double"
|
|
10361
|
+
},
|
|
10249
10362
|
"index_price": {
|
|
10250
10363
|
"type": "number",
|
|
10251
10364
|
"format": "double"
|
|
@@ -10268,6 +10381,10 @@
|
|
|
10268
10381
|
"type": "number",
|
|
10269
10382
|
"format": "double"
|
|
10270
10383
|
},
|
|
10384
|
+
"funding_interval_minutes": {
|
|
10385
|
+
"type": "integer",
|
|
10386
|
+
"format": "int64"
|
|
10387
|
+
},
|
|
10271
10388
|
"next_funding_rate": {
|
|
10272
10389
|
"type": "number",
|
|
10273
10390
|
"format": "double"
|
|
@@ -10302,12 +10419,17 @@
|
|
|
10302
10419
|
"product_type",
|
|
10303
10420
|
"open_interest",
|
|
10304
10421
|
"open_interest_usd",
|
|
10422
|
+
"long_open_interest",
|
|
10423
|
+
"long_open_interest_usd",
|
|
10424
|
+
"short_open_interest",
|
|
10425
|
+
"short_open_interest_usd",
|
|
10305
10426
|
"index_price",
|
|
10306
10427
|
"index_name",
|
|
10307
10428
|
"index_currency",
|
|
10308
10429
|
"start_timestamp",
|
|
10309
10430
|
"end_timestamp",
|
|
10310
10431
|
"funding_rate",
|
|
10432
|
+
"funding_interval_minutes",
|
|
10311
10433
|
"next_funding_rate",
|
|
10312
10434
|
"next_funding_rate_timestamp",
|
|
10313
10435
|
"contract_type",
|
|
@@ -11357,7 +11479,15 @@
|
|
|
11357
11479
|
"properties": {
|
|
11358
11480
|
"market_margin_mode": {
|
|
11359
11481
|
"type": "integer",
|
|
11360
|
-
"format": "int32"
|
|
11482
|
+
"format": "int32",
|
|
11483
|
+
"enum": [
|
|
11484
|
+
0,
|
|
11485
|
+
1
|
|
11486
|
+
],
|
|
11487
|
+
"x-enum-varnames": [
|
|
11488
|
+
"All",
|
|
11489
|
+
"IsolatedForNonPools"
|
|
11490
|
+
]
|
|
11361
11491
|
},
|
|
11362
11492
|
"insurance_fund_account_index": {
|
|
11363
11493
|
"type": "integer",
|
|
@@ -11585,7 +11715,6 @@
|
|
|
11585
11715
|
},
|
|
11586
11716
|
"market_kind": {
|
|
11587
11717
|
"type": "string",
|
|
11588
|
-
"example": "perps",
|
|
11589
11718
|
"enum": [
|
|
11590
11719
|
"spot",
|
|
11591
11720
|
"bo",
|
|
@@ -11645,7 +11774,6 @@
|
|
|
11645
11774
|
},
|
|
11646
11775
|
"type": {
|
|
11647
11776
|
"type": "string",
|
|
11648
|
-
"example": "limit",
|
|
11649
11777
|
"enum": [
|
|
11650
11778
|
"limit",
|
|
11651
11779
|
"market",
|
|
@@ -11684,7 +11812,6 @@
|
|
|
11684
11812
|
},
|
|
11685
11813
|
"status": {
|
|
11686
11814
|
"type": "string",
|
|
11687
|
-
"example": "open",
|
|
11688
11815
|
"enum": [
|
|
11689
11816
|
"in-progress",
|
|
11690
11817
|
"pending",
|
|
@@ -11707,7 +11834,6 @@
|
|
|
11707
11834
|
},
|
|
11708
11835
|
"trigger_status": {
|
|
11709
11836
|
"type": "string",
|
|
11710
|
-
"example": "twap",
|
|
11711
11837
|
"enum": [
|
|
11712
11838
|
"na",
|
|
11713
11839
|
"ready",
|
|
@@ -11853,7 +11979,6 @@
|
|
|
11853
11979
|
},
|
|
11854
11980
|
"market_type": {
|
|
11855
11981
|
"type": "string",
|
|
11856
|
-
"example": "perp",
|
|
11857
11982
|
"enum": [
|
|
11858
11983
|
"perp",
|
|
11859
11984
|
"spot",
|
|
@@ -11872,7 +11997,6 @@
|
|
|
11872
11997
|
},
|
|
11873
11998
|
"status": {
|
|
11874
11999
|
"type": "string",
|
|
11875
|
-
"example": "active",
|
|
11876
12000
|
"enum": [
|
|
11877
12001
|
"inactive",
|
|
11878
12002
|
"active"
|
|
@@ -11951,8 +12075,17 @@
|
|
|
11951
12075
|
},
|
|
11952
12076
|
"outcome": {
|
|
11953
12077
|
"type": "integer",
|
|
11954
|
-
"format": "
|
|
11955
|
-
"
|
|
12078
|
+
"format": "int32",
|
|
12079
|
+
"enum": [
|
|
12080
|
+
0,
|
|
12081
|
+
1,
|
|
12082
|
+
2
|
|
12083
|
+
],
|
|
12084
|
+
"x-enum-varnames": [
|
|
12085
|
+
"None",
|
|
12086
|
+
"No",
|
|
12087
|
+
"Yes"
|
|
12088
|
+
]
|
|
11956
12089
|
},
|
|
11957
12090
|
"operator_account_index": {
|
|
11958
12091
|
"type": "integer",
|
|
@@ -12519,7 +12652,6 @@
|
|
|
12519
12652
|
},
|
|
12520
12653
|
"market_type": {
|
|
12521
12654
|
"type": "string",
|
|
12522
|
-
"example": "perp",
|
|
12523
12655
|
"enum": [
|
|
12524
12656
|
"perp",
|
|
12525
12657
|
"spot",
|
|
@@ -12538,7 +12670,6 @@
|
|
|
12538
12670
|
},
|
|
12539
12671
|
"status": {
|
|
12540
12672
|
"type": "string",
|
|
12541
|
-
"example": "active",
|
|
12542
12673
|
"enum": [
|
|
12543
12674
|
"inactive",
|
|
12544
12675
|
"active"
|
|
@@ -12618,8 +12749,17 @@
|
|
|
12618
12749
|
},
|
|
12619
12750
|
"outcome": {
|
|
12620
12751
|
"type": "integer",
|
|
12621
|
-
"format": "
|
|
12622
|
-
"
|
|
12752
|
+
"format": "int32",
|
|
12753
|
+
"enum": [
|
|
12754
|
+
0,
|
|
12755
|
+
1,
|
|
12756
|
+
2
|
|
12757
|
+
],
|
|
12758
|
+
"x-enum-varnames": [
|
|
12759
|
+
"None",
|
|
12760
|
+
"No",
|
|
12761
|
+
"Yes"
|
|
12762
|
+
]
|
|
12623
12763
|
},
|
|
12624
12764
|
"operator_account_index": {
|
|
12625
12765
|
"type": "integer",
|
|
@@ -13189,7 +13329,6 @@
|
|
|
13189
13329
|
},
|
|
13190
13330
|
"position_side": {
|
|
13191
13331
|
"type": "string",
|
|
13192
|
-
"example": "long",
|
|
13193
13332
|
"enum": [
|
|
13194
13333
|
"long",
|
|
13195
13334
|
"short"
|
|
@@ -13345,8 +13484,15 @@
|
|
|
13345
13484
|
"properties": {
|
|
13346
13485
|
"status": {
|
|
13347
13486
|
"type": "integer",
|
|
13348
|
-
"format": "
|
|
13349
|
-
"
|
|
13487
|
+
"format": "int32",
|
|
13488
|
+
"enum": [
|
|
13489
|
+
0,
|
|
13490
|
+
1
|
|
13491
|
+
],
|
|
13492
|
+
"x-enum-varnames": [
|
|
13493
|
+
"Active",
|
|
13494
|
+
"Frozen"
|
|
13495
|
+
]
|
|
13350
13496
|
},
|
|
13351
13497
|
"operator_fee": {
|
|
13352
13498
|
"type": "string",
|
|
@@ -13436,8 +13582,23 @@
|
|
|
13436
13582
|
},
|
|
13437
13583
|
"account_type": {
|
|
13438
13584
|
"type": "integer",
|
|
13439
|
-
"format": "
|
|
13440
|
-
"
|
|
13585
|
+
"format": "int32",
|
|
13586
|
+
"enum": [
|
|
13587
|
+
0,
|
|
13588
|
+
1,
|
|
13589
|
+
2,
|
|
13590
|
+
3,
|
|
13591
|
+
4,
|
|
13592
|
+
5
|
|
13593
|
+
],
|
|
13594
|
+
"x-enum-varnames": [
|
|
13595
|
+
"Master",
|
|
13596
|
+
"Sub",
|
|
13597
|
+
"PublicPool",
|
|
13598
|
+
"InsuranceFund",
|
|
13599
|
+
"LighterStakingPool",
|
|
13600
|
+
"TreasurySub"
|
|
13601
|
+
]
|
|
13441
13602
|
},
|
|
13442
13603
|
"name": {
|
|
13443
13604
|
"type": "string"
|
|
@@ -13458,8 +13619,15 @@
|
|
|
13458
13619
|
},
|
|
13459
13620
|
"status": {
|
|
13460
13621
|
"type": "integer",
|
|
13461
|
-
"format": "
|
|
13462
|
-
"
|
|
13622
|
+
"format": "int32",
|
|
13623
|
+
"enum": [
|
|
13624
|
+
0,
|
|
13625
|
+
1
|
|
13626
|
+
],
|
|
13627
|
+
"x-enum-varnames": [
|
|
13628
|
+
"Active",
|
|
13629
|
+
"Frozen"
|
|
13630
|
+
]
|
|
13463
13631
|
},
|
|
13464
13632
|
"operator_fee": {
|
|
13465
13633
|
"type": "string",
|
|
@@ -13586,7 +13754,17 @@
|
|
|
13586
13754
|
},
|
|
13587
13755
|
"direction": {
|
|
13588
13756
|
"type": "integer",
|
|
13589
|
-
"format": "
|
|
13757
|
+
"format": "int32",
|
|
13758
|
+
"enum": [
|
|
13759
|
+
-1,
|
|
13760
|
+
0,
|
|
13761
|
+
1
|
|
13762
|
+
],
|
|
13763
|
+
"x-enum-varnames": [
|
|
13764
|
+
"Hidden",
|
|
13765
|
+
"Sell",
|
|
13766
|
+
"Buy"
|
|
13767
|
+
]
|
|
13590
13768
|
},
|
|
13591
13769
|
"base_amount": {
|
|
13592
13770
|
"type": "string"
|
|
@@ -14223,11 +14401,7 @@
|
|
|
14223
14401
|
},
|
|
14224
14402
|
"direction": {
|
|
14225
14403
|
"type": "integer",
|
|
14226
|
-
"format": "int16"
|
|
14227
|
-
"enum": [
|
|
14228
|
-
"0",
|
|
14229
|
-
"1"
|
|
14230
|
-
]
|
|
14404
|
+
"format": "int16"
|
|
14231
14405
|
},
|
|
14232
14406
|
"metadata": {
|
|
14233
14407
|
"type": "string"
|
|
@@ -17197,7 +17371,17 @@
|
|
|
17197
17371
|
},
|
|
17198
17372
|
"direction": {
|
|
17199
17373
|
"type": "integer",
|
|
17200
|
-
"format": "
|
|
17374
|
+
"format": "int32",
|
|
17375
|
+
"enum": [
|
|
17376
|
+
-1,
|
|
17377
|
+
0,
|
|
17378
|
+
1
|
|
17379
|
+
],
|
|
17380
|
+
"x-enum-varnames": [
|
|
17381
|
+
"Hidden",
|
|
17382
|
+
"Sell",
|
|
17383
|
+
"Buy"
|
|
17384
|
+
]
|
|
17201
17385
|
},
|
|
17202
17386
|
"base_amount": {
|
|
17203
17387
|
"type": "string"
|
|
@@ -17793,7 +17977,17 @@
|
|
|
17793
17977
|
},
|
|
17794
17978
|
"direction": {
|
|
17795
17979
|
"type": "integer",
|
|
17796
|
-
"format": "
|
|
17980
|
+
"format": "int32",
|
|
17981
|
+
"enum": [
|
|
17982
|
+
-1,
|
|
17983
|
+
0,
|
|
17984
|
+
1
|
|
17985
|
+
],
|
|
17986
|
+
"x-enum-varnames": [
|
|
17987
|
+
"Hidden",
|
|
17988
|
+
"Sell",
|
|
17989
|
+
"Buy"
|
|
17990
|
+
]
|
|
17797
17991
|
},
|
|
17798
17992
|
"base_amount": {
|
|
17799
17993
|
"type": "string"
|
|
@@ -18211,7 +18405,17 @@
|
|
|
18211
18405
|
},
|
|
18212
18406
|
"direction": {
|
|
18213
18407
|
"type": "integer",
|
|
18214
|
-
"format": "
|
|
18408
|
+
"format": "int32",
|
|
18409
|
+
"enum": [
|
|
18410
|
+
-1,
|
|
18411
|
+
0,
|
|
18412
|
+
1
|
|
18413
|
+
],
|
|
18414
|
+
"x-enum-varnames": [
|
|
18415
|
+
"Hidden",
|
|
18416
|
+
"Sell",
|
|
18417
|
+
"Buy"
|
|
18418
|
+
]
|
|
18215
18419
|
},
|
|
18216
18420
|
"base_amount": {
|
|
18217
18421
|
"type": "string"
|
|
@@ -18543,7 +18747,17 @@
|
|
|
18543
18747
|
},
|
|
18544
18748
|
"direction": {
|
|
18545
18749
|
"type": "integer",
|
|
18546
|
-
"format": "
|
|
18750
|
+
"format": "int32",
|
|
18751
|
+
"enum": [
|
|
18752
|
+
-1,
|
|
18753
|
+
0,
|
|
18754
|
+
1
|
|
18755
|
+
],
|
|
18756
|
+
"x-enum-varnames": [
|
|
18757
|
+
"Hidden",
|
|
18758
|
+
"Sell",
|
|
18759
|
+
"Buy"
|
|
18760
|
+
]
|
|
18547
18761
|
},
|
|
18548
18762
|
"base_amount": {
|
|
18549
18763
|
"type": "string"
|
|
@@ -18969,7 +19183,6 @@
|
|
|
18969
19183
|
},
|
|
18970
19184
|
"market_type": {
|
|
18971
19185
|
"type": "string",
|
|
18972
|
-
"example": "perp",
|
|
18973
19186
|
"enum": [
|
|
18974
19187
|
"perp",
|
|
18975
19188
|
"spot",
|
|
@@ -18988,7 +19201,6 @@
|
|
|
18988
19201
|
},
|
|
18989
19202
|
"status": {
|
|
18990
19203
|
"type": "string",
|
|
18991
|
-
"example": "active",
|
|
18992
19204
|
"enum": [
|
|
18993
19205
|
"inactive",
|
|
18994
19206
|
"active"
|
|
@@ -19067,8 +19279,17 @@
|
|
|
19067
19279
|
},
|
|
19068
19280
|
"outcome": {
|
|
19069
19281
|
"type": "integer",
|
|
19070
|
-
"format": "
|
|
19071
|
-
"
|
|
19282
|
+
"format": "int32",
|
|
19283
|
+
"enum": [
|
|
19284
|
+
0,
|
|
19285
|
+
1,
|
|
19286
|
+
2
|
|
19287
|
+
],
|
|
19288
|
+
"x-enum-varnames": [
|
|
19289
|
+
"None",
|
|
19290
|
+
"No",
|
|
19291
|
+
"Yes"
|
|
19292
|
+
]
|
|
19072
19293
|
},
|
|
19073
19294
|
"operator_account_index": {
|
|
19074
19295
|
"type": "integer",
|
|
@@ -19793,7 +20014,6 @@
|
|
|
19793
20014
|
},
|
|
19794
20015
|
"logo_extension": {
|
|
19795
20016
|
"type": "string",
|
|
19796
|
-
"example": "svg",
|
|
19797
20017
|
"enum": [
|
|
19798
20018
|
"svg",
|
|
19799
20019
|
"png"
|
|
@@ -19904,7 +20124,6 @@
|
|
|
19904
20124
|
},
|
|
19905
20125
|
"type": {
|
|
19906
20126
|
"type": "string",
|
|
19907
|
-
"example": "trade",
|
|
19908
20127
|
"enum": [
|
|
19909
20128
|
"trade",
|
|
19910
20129
|
"liquidation",
|
|
@@ -19919,7 +20138,6 @@
|
|
|
19919
20138
|
},
|
|
19920
20139
|
"market_kind": {
|
|
19921
20140
|
"type": "string",
|
|
19922
|
-
"example": "perps",
|
|
19923
20141
|
"enum": [
|
|
19924
20142
|
"spot",
|
|
19925
20143
|
"bo",
|