zklighter-perps 1.0.164 → 1.0.166
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-generator/FILES +10 -0
- package/apis/BridgeApi.ts +92 -0
- package/apis/GeckoApi.ts +134 -0
- package/apis/index.ts +1 -0
- package/models/Bridge.ts +169 -0
- package/models/GeckoContract.ts +268 -0
- package/models/GeckoContracts.ts +68 -0
- package/models/GeckoOrderbook.ts +88 -0
- package/models/MarketConfig.ts +70 -0
- package/models/MarketInfo.ts +27 -0
- package/models/OrderBook.ts +9 -0
- package/models/OrderBookDetail.ts +25 -0
- package/models/ReqGetBridgesByL1Addr.ts +61 -0
- package/models/ReqGetGeckoOrderbook.ts +61 -0
- package/models/RespGetBridgesByL1Addr.ts +85 -0
- package/models/RespGetIsNextBridgeFast.ts +78 -0
- package/models/index.ts +9 -0
- package/openapi.json +507 -1
- package/package.json +1 -1
package/openapi.json
CHANGED
|
@@ -720,6 +720,76 @@
|
|
|
720
720
|
"description": "Get blocks"
|
|
721
721
|
}
|
|
722
722
|
},
|
|
723
|
+
"/api/v1/bridges": {
|
|
724
|
+
"get": {
|
|
725
|
+
"summary": "bridges",
|
|
726
|
+
"operationId": "bridges",
|
|
727
|
+
"responses": {
|
|
728
|
+
"200": {
|
|
729
|
+
"description": "A successful response.",
|
|
730
|
+
"schema": {
|
|
731
|
+
"$ref": "#/definitions/RespGetBridgesByL1Addr"
|
|
732
|
+
}
|
|
733
|
+
},
|
|
734
|
+
"400": {
|
|
735
|
+
"description": "Bad request",
|
|
736
|
+
"schema": {
|
|
737
|
+
"$ref": "#/definitions/ResultCode"
|
|
738
|
+
}
|
|
739
|
+
}
|
|
740
|
+
},
|
|
741
|
+
"parameters": [
|
|
742
|
+
{
|
|
743
|
+
"name": "l1_address",
|
|
744
|
+
"in": "query",
|
|
745
|
+
"required": true,
|
|
746
|
+
"type": "string"
|
|
747
|
+
}
|
|
748
|
+
],
|
|
749
|
+
"tags": [
|
|
750
|
+
"bridge"
|
|
751
|
+
],
|
|
752
|
+
"consumes": [
|
|
753
|
+
"multipart/form-data"
|
|
754
|
+
],
|
|
755
|
+
"description": "Get bridges for given l1 address"
|
|
756
|
+
}
|
|
757
|
+
},
|
|
758
|
+
"/api/v1/bridges/isNextBridgeFast": {
|
|
759
|
+
"get": {
|
|
760
|
+
"summary": "bridges_isNextBridgeFast",
|
|
761
|
+
"operationId": "bridges_isNextBridgeFast",
|
|
762
|
+
"responses": {
|
|
763
|
+
"200": {
|
|
764
|
+
"description": "A successful response.",
|
|
765
|
+
"schema": {
|
|
766
|
+
"$ref": "#/definitions/RespGetIsNextBridgeFast"
|
|
767
|
+
}
|
|
768
|
+
},
|
|
769
|
+
"400": {
|
|
770
|
+
"description": "Bad request",
|
|
771
|
+
"schema": {
|
|
772
|
+
"$ref": "#/definitions/ResultCode"
|
|
773
|
+
}
|
|
774
|
+
}
|
|
775
|
+
},
|
|
776
|
+
"parameters": [
|
|
777
|
+
{
|
|
778
|
+
"name": "l1_address",
|
|
779
|
+
"in": "query",
|
|
780
|
+
"required": true,
|
|
781
|
+
"type": "string"
|
|
782
|
+
}
|
|
783
|
+
],
|
|
784
|
+
"tags": [
|
|
785
|
+
"bridge"
|
|
786
|
+
],
|
|
787
|
+
"consumes": [
|
|
788
|
+
"multipart/form-data"
|
|
789
|
+
],
|
|
790
|
+
"description": "Get if next bridge is fast"
|
|
791
|
+
}
|
|
792
|
+
},
|
|
723
793
|
"/api/v1/candlesticks": {
|
|
724
794
|
"get": {
|
|
725
795
|
"summary": "candlesticks",
|
|
@@ -1419,6 +1489,79 @@
|
|
|
1419
1489
|
"description": "Get fundings"
|
|
1420
1490
|
}
|
|
1421
1491
|
},
|
|
1492
|
+
"/api/v1/gecko/contracts": {
|
|
1493
|
+
"get": {
|
|
1494
|
+
"summary": "gecko_contracts",
|
|
1495
|
+
"operationId": "gecko_contracts",
|
|
1496
|
+
"responses": {
|
|
1497
|
+
"200": {
|
|
1498
|
+
"description": "A successful response.",
|
|
1499
|
+
"schema": {
|
|
1500
|
+
"$ref": "#/definitions/GeckoContracts"
|
|
1501
|
+
}
|
|
1502
|
+
},
|
|
1503
|
+
"400": {
|
|
1504
|
+
"description": "Bad request",
|
|
1505
|
+
"schema": {
|
|
1506
|
+
"$ref": "#/definitions/ResultCode"
|
|
1507
|
+
}
|
|
1508
|
+
}
|
|
1509
|
+
},
|
|
1510
|
+
"parameters": [
|
|
1511
|
+
{
|
|
1512
|
+
"name": "auth",
|
|
1513
|
+
"in": "header",
|
|
1514
|
+
"required": true,
|
|
1515
|
+
"type": "string"
|
|
1516
|
+
}
|
|
1517
|
+
],
|
|
1518
|
+
"tags": [
|
|
1519
|
+
"gecko"
|
|
1520
|
+
],
|
|
1521
|
+
"description": "Coin Gecko Contracts"
|
|
1522
|
+
}
|
|
1523
|
+
},
|
|
1524
|
+
"/api/v1/gecko/orderbook": {
|
|
1525
|
+
"get": {
|
|
1526
|
+
"summary": "gecko_orderbook",
|
|
1527
|
+
"operationId": "gecko_orderbook",
|
|
1528
|
+
"responses": {
|
|
1529
|
+
"200": {
|
|
1530
|
+
"description": "A successful response.",
|
|
1531
|
+
"schema": {
|
|
1532
|
+
"$ref": "#/definitions/GeckoOrderbook"
|
|
1533
|
+
}
|
|
1534
|
+
},
|
|
1535
|
+
"400": {
|
|
1536
|
+
"description": "Bad request",
|
|
1537
|
+
"schema": {
|
|
1538
|
+
"$ref": "#/definitions/ResultCode"
|
|
1539
|
+
}
|
|
1540
|
+
}
|
|
1541
|
+
},
|
|
1542
|
+
"parameters": [
|
|
1543
|
+
{
|
|
1544
|
+
"name": "auth",
|
|
1545
|
+
"in": "header",
|
|
1546
|
+
"required": true,
|
|
1547
|
+
"type": "string"
|
|
1548
|
+
},
|
|
1549
|
+
{
|
|
1550
|
+
"name": "ticker_id",
|
|
1551
|
+
"in": "query",
|
|
1552
|
+
"required": true,
|
|
1553
|
+
"type": "string"
|
|
1554
|
+
}
|
|
1555
|
+
],
|
|
1556
|
+
"tags": [
|
|
1557
|
+
"gecko"
|
|
1558
|
+
],
|
|
1559
|
+
"consumes": [
|
|
1560
|
+
"multipart/form-data"
|
|
1561
|
+
],
|
|
1562
|
+
"description": "Coin Gecko Orderbook"
|
|
1563
|
+
}
|
|
1564
|
+
},
|
|
1422
1565
|
"/api/v1/isWhitelisted": {
|
|
1423
1566
|
"get": {
|
|
1424
1567
|
"summary": "isWhitelisted",
|
|
@@ -3701,6 +3844,74 @@
|
|
|
3701
3844
|
"blocks"
|
|
3702
3845
|
]
|
|
3703
3846
|
},
|
|
3847
|
+
"Bridge": {
|
|
3848
|
+
"type": "object",
|
|
3849
|
+
"properties": {
|
|
3850
|
+
"source": {
|
|
3851
|
+
"type": "string",
|
|
3852
|
+
"example": "Arbitrum"
|
|
3853
|
+
},
|
|
3854
|
+
"source_chain_id": {
|
|
3855
|
+
"type": "string",
|
|
3856
|
+
"example": "42161"
|
|
3857
|
+
},
|
|
3858
|
+
"fast_bridge_tx_hash": {
|
|
3859
|
+
"type": "string",
|
|
3860
|
+
"example": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8"
|
|
3861
|
+
},
|
|
3862
|
+
"batch_claim_tx_hash": {
|
|
3863
|
+
"type": "string",
|
|
3864
|
+
"example": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8"
|
|
3865
|
+
},
|
|
3866
|
+
"cctp_burn_tx_hash": {
|
|
3867
|
+
"type": "string",
|
|
3868
|
+
"example": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8"
|
|
3869
|
+
},
|
|
3870
|
+
"amount": {
|
|
3871
|
+
"type": "string"
|
|
3872
|
+
},
|
|
3873
|
+
"intent_address": {
|
|
3874
|
+
"type": "string"
|
|
3875
|
+
},
|
|
3876
|
+
"status": {
|
|
3877
|
+
"type": "string"
|
|
3878
|
+
},
|
|
3879
|
+
"step": {
|
|
3880
|
+
"type": "string"
|
|
3881
|
+
},
|
|
3882
|
+
"description": {
|
|
3883
|
+
"type": "string"
|
|
3884
|
+
},
|
|
3885
|
+
"created_at": {
|
|
3886
|
+
"type": "integer",
|
|
3887
|
+
"format": "int64"
|
|
3888
|
+
},
|
|
3889
|
+
"updated_at": {
|
|
3890
|
+
"type": "integer",
|
|
3891
|
+
"format": "int64"
|
|
3892
|
+
},
|
|
3893
|
+
"is_external_deposit": {
|
|
3894
|
+
"type": "boolean",
|
|
3895
|
+
"format": "boolean"
|
|
3896
|
+
}
|
|
3897
|
+
},
|
|
3898
|
+
"title": "Bridge",
|
|
3899
|
+
"required": [
|
|
3900
|
+
"source",
|
|
3901
|
+
"source_chain_id",
|
|
3902
|
+
"fast_bridge_tx_hash",
|
|
3903
|
+
"batch_claim_tx_hash",
|
|
3904
|
+
"cctp_burn_tx_hash",
|
|
3905
|
+
"amount",
|
|
3906
|
+
"intent_address",
|
|
3907
|
+
"status",
|
|
3908
|
+
"step",
|
|
3909
|
+
"description",
|
|
3910
|
+
"created_at",
|
|
3911
|
+
"updated_at",
|
|
3912
|
+
"is_external_deposit"
|
|
3913
|
+
]
|
|
3914
|
+
},
|
|
3704
3915
|
"BridgeSupportedNetwork": {
|
|
3705
3916
|
"type": "object",
|
|
3706
3917
|
"properties": {
|
|
@@ -4583,6 +4794,180 @@
|
|
|
4583
4794
|
"fundings"
|
|
4584
4795
|
]
|
|
4585
4796
|
},
|
|
4797
|
+
"GeckoContract": {
|
|
4798
|
+
"type": "object",
|
|
4799
|
+
"properties": {
|
|
4800
|
+
"ticker_id": {
|
|
4801
|
+
"type": "string"
|
|
4802
|
+
},
|
|
4803
|
+
"base_currency": {
|
|
4804
|
+
"type": "string"
|
|
4805
|
+
},
|
|
4806
|
+
"target_currency": {
|
|
4807
|
+
"type": "string"
|
|
4808
|
+
},
|
|
4809
|
+
"last_price": {
|
|
4810
|
+
"type": "number",
|
|
4811
|
+
"format": "double"
|
|
4812
|
+
},
|
|
4813
|
+
"base_volume": {
|
|
4814
|
+
"type": "number",
|
|
4815
|
+
"format": "double"
|
|
4816
|
+
},
|
|
4817
|
+
"target_volume": {
|
|
4818
|
+
"type": "number",
|
|
4819
|
+
"format": "double"
|
|
4820
|
+
},
|
|
4821
|
+
"bid": {
|
|
4822
|
+
"type": "number",
|
|
4823
|
+
"format": "double"
|
|
4824
|
+
},
|
|
4825
|
+
"ask": {
|
|
4826
|
+
"type": "number",
|
|
4827
|
+
"format": "double"
|
|
4828
|
+
},
|
|
4829
|
+
"high": {
|
|
4830
|
+
"type": "number",
|
|
4831
|
+
"format": "double"
|
|
4832
|
+
},
|
|
4833
|
+
"low": {
|
|
4834
|
+
"type": "number",
|
|
4835
|
+
"format": "double"
|
|
4836
|
+
},
|
|
4837
|
+
"product_type": {
|
|
4838
|
+
"type": "string"
|
|
4839
|
+
},
|
|
4840
|
+
"open_interest": {
|
|
4841
|
+
"type": "number",
|
|
4842
|
+
"format": "double"
|
|
4843
|
+
},
|
|
4844
|
+
"open_interest_usd": {
|
|
4845
|
+
"type": "number",
|
|
4846
|
+
"format": "double"
|
|
4847
|
+
},
|
|
4848
|
+
"index_price": {
|
|
4849
|
+
"type": "number",
|
|
4850
|
+
"format": "double"
|
|
4851
|
+
},
|
|
4852
|
+
"index_name": {
|
|
4853
|
+
"type": "string"
|
|
4854
|
+
},
|
|
4855
|
+
"index_currency": {
|
|
4856
|
+
"type": "string"
|
|
4857
|
+
},
|
|
4858
|
+
"start_timestamp": {
|
|
4859
|
+
"type": "integer",
|
|
4860
|
+
"format": "int64"
|
|
4861
|
+
},
|
|
4862
|
+
"end_timestamp": {
|
|
4863
|
+
"type": "integer",
|
|
4864
|
+
"format": "int64"
|
|
4865
|
+
},
|
|
4866
|
+
"funding_rate": {
|
|
4867
|
+
"type": "number",
|
|
4868
|
+
"format": "double"
|
|
4869
|
+
},
|
|
4870
|
+
"next_funding_rate": {
|
|
4871
|
+
"type": "number",
|
|
4872
|
+
"format": "double"
|
|
4873
|
+
},
|
|
4874
|
+
"next_funding_rate_timestamp": {
|
|
4875
|
+
"type": "integer",
|
|
4876
|
+
"format": "int64"
|
|
4877
|
+
},
|
|
4878
|
+
"contract_type": {
|
|
4879
|
+
"type": "string"
|
|
4880
|
+
},
|
|
4881
|
+
"contract_price_currency": {
|
|
4882
|
+
"type": "string"
|
|
4883
|
+
},
|
|
4884
|
+
"contract_price": {
|
|
4885
|
+
"type": "number",
|
|
4886
|
+
"format": "double"
|
|
4887
|
+
}
|
|
4888
|
+
},
|
|
4889
|
+
"title": "GeckoContract",
|
|
4890
|
+
"required": [
|
|
4891
|
+
"ticker_id",
|
|
4892
|
+
"base_currency",
|
|
4893
|
+
"target_currency",
|
|
4894
|
+
"last_price",
|
|
4895
|
+
"base_volume",
|
|
4896
|
+
"target_volume",
|
|
4897
|
+
"bid",
|
|
4898
|
+
"ask",
|
|
4899
|
+
"high",
|
|
4900
|
+
"low",
|
|
4901
|
+
"product_type",
|
|
4902
|
+
"open_interest",
|
|
4903
|
+
"open_interest_usd",
|
|
4904
|
+
"index_price",
|
|
4905
|
+
"index_name",
|
|
4906
|
+
"index_currency",
|
|
4907
|
+
"start_timestamp",
|
|
4908
|
+
"end_timestamp",
|
|
4909
|
+
"funding_rate",
|
|
4910
|
+
"next_funding_rate",
|
|
4911
|
+
"next_funding_rate_timestamp",
|
|
4912
|
+
"contract_type",
|
|
4913
|
+
"contract_price_currency",
|
|
4914
|
+
"contract_price"
|
|
4915
|
+
]
|
|
4916
|
+
},
|
|
4917
|
+
"GeckoContracts": {
|
|
4918
|
+
"type": "object",
|
|
4919
|
+
"properties": {
|
|
4920
|
+
"contracts": {
|
|
4921
|
+
"type": "array",
|
|
4922
|
+
"items": {
|
|
4923
|
+
"$ref": "#/definitions/GeckoContract"
|
|
4924
|
+
}
|
|
4925
|
+
}
|
|
4926
|
+
},
|
|
4927
|
+
"title": "GeckoContracts",
|
|
4928
|
+
"required": [
|
|
4929
|
+
"contracts"
|
|
4930
|
+
]
|
|
4931
|
+
},
|
|
4932
|
+
"GeckoOrderbook": {
|
|
4933
|
+
"type": "object",
|
|
4934
|
+
"properties": {
|
|
4935
|
+
"ticker_id": {
|
|
4936
|
+
"type": "string"
|
|
4937
|
+
},
|
|
4938
|
+
"timestamp": {
|
|
4939
|
+
"type": "integer",
|
|
4940
|
+
"format": "int64"
|
|
4941
|
+
},
|
|
4942
|
+
"bids": {
|
|
4943
|
+
"type": "array",
|
|
4944
|
+
"items": {
|
|
4945
|
+
"type": "array",
|
|
4946
|
+
"items": {
|
|
4947
|
+
"type": "number",
|
|
4948
|
+
"format": "double"
|
|
4949
|
+
}
|
|
4950
|
+
}
|
|
4951
|
+
},
|
|
4952
|
+
"asks": {
|
|
4953
|
+
"type": "array",
|
|
4954
|
+
"items": {
|
|
4955
|
+
"type": "array",
|
|
4956
|
+
"items": {
|
|
4957
|
+
"type": "number",
|
|
4958
|
+
"format": "double"
|
|
4959
|
+
}
|
|
4960
|
+
}
|
|
4961
|
+
}
|
|
4962
|
+
},
|
|
4963
|
+
"title": "GeckoOrderbook",
|
|
4964
|
+
"required": [
|
|
4965
|
+
"ticker_id",
|
|
4966
|
+
"timestamp",
|
|
4967
|
+
"bids",
|
|
4968
|
+
"asks"
|
|
4969
|
+
]
|
|
4970
|
+
},
|
|
4586
4971
|
"IsWhitelisted": {
|
|
4587
4972
|
"type": "object",
|
|
4588
4973
|
"properties": {
|
|
@@ -4888,6 +5273,24 @@
|
|
|
4888
5273
|
"liquidations"
|
|
4889
5274
|
]
|
|
4890
5275
|
},
|
|
5276
|
+
"MarketConfig": {
|
|
5277
|
+
"type": "object",
|
|
5278
|
+
"properties": {
|
|
5279
|
+
"market_margin_mode": {
|
|
5280
|
+
"type": "integer",
|
|
5281
|
+
"format": "int32"
|
|
5282
|
+
},
|
|
5283
|
+
"insurance_fund_account_index": {
|
|
5284
|
+
"type": "integer",
|
|
5285
|
+
"format": "int64"
|
|
5286
|
+
}
|
|
5287
|
+
},
|
|
5288
|
+
"title": "MarketConfig",
|
|
5289
|
+
"required": [
|
|
5290
|
+
"market_margin_mode",
|
|
5291
|
+
"insurance_fund_account_index"
|
|
5292
|
+
]
|
|
5293
|
+
},
|
|
4891
5294
|
"MarketInfo": {
|
|
4892
5295
|
"type": "object",
|
|
4893
5296
|
"properties": {
|
|
@@ -4908,6 +5311,18 @@
|
|
|
4908
5311
|
"type": "string",
|
|
4909
5312
|
"example": "235.25"
|
|
4910
5313
|
},
|
|
5314
|
+
"open_interest_limit": {
|
|
5315
|
+
"type": "string",
|
|
5316
|
+
"example": "235.25"
|
|
5317
|
+
},
|
|
5318
|
+
"funding_clamp_small": {
|
|
5319
|
+
"type": "string",
|
|
5320
|
+
"example": "0.005"
|
|
5321
|
+
},
|
|
5322
|
+
"funding_clamp_big": {
|
|
5323
|
+
"type": "string",
|
|
5324
|
+
"example": "0.4"
|
|
5325
|
+
},
|
|
4911
5326
|
"last_trade_price": {
|
|
4912
5327
|
"type": "string",
|
|
4913
5328
|
"example": "3024.66"
|
|
@@ -4957,6 +5372,9 @@
|
|
|
4957
5372
|
"index_price",
|
|
4958
5373
|
"mark_price",
|
|
4959
5374
|
"open_interest",
|
|
5375
|
+
"open_interest_limit",
|
|
5376
|
+
"funding_clamp_small",
|
|
5377
|
+
"funding_clamp_big",
|
|
4960
5378
|
"last_trade_price",
|
|
4961
5379
|
"current_funding_rate",
|
|
4962
5380
|
"funding_rate",
|
|
@@ -5264,6 +5682,10 @@
|
|
|
5264
5682
|
"type": "string",
|
|
5265
5683
|
"example": "0.1"
|
|
5266
5684
|
},
|
|
5685
|
+
"order_quote_limit": {
|
|
5686
|
+
"type": "string",
|
|
5687
|
+
"example": "235.25"
|
|
5688
|
+
},
|
|
5267
5689
|
"supported_size_decimals": {
|
|
5268
5690
|
"type": "integer",
|
|
5269
5691
|
"format": "uint8",
|
|
@@ -5290,6 +5712,7 @@
|
|
|
5290
5712
|
"liquidation_fee",
|
|
5291
5713
|
"min_base_amount",
|
|
5292
5714
|
"min_quote_amount",
|
|
5715
|
+
"order_quote_limit",
|
|
5293
5716
|
"supported_size_decimals",
|
|
5294
5717
|
"supported_price_decimals",
|
|
5295
5718
|
"supported_quote_decimals"
|
|
@@ -5372,6 +5795,10 @@
|
|
|
5372
5795
|
"type": "string",
|
|
5373
5796
|
"example": "0.1"
|
|
5374
5797
|
},
|
|
5798
|
+
"order_quote_limit": {
|
|
5799
|
+
"type": "string",
|
|
5800
|
+
"example": "235.25"
|
|
5801
|
+
},
|
|
5375
5802
|
"supported_size_decimals": {
|
|
5376
5803
|
"type": "integer",
|
|
5377
5804
|
"format": "uint8",
|
|
@@ -5469,6 +5896,9 @@
|
|
|
5469
5896
|
"type": "number",
|
|
5470
5897
|
"format": "double"
|
|
5471
5898
|
}
|
|
5899
|
+
},
|
|
5900
|
+
"market_config": {
|
|
5901
|
+
"$ref": "#/definitions/MarketConfig"
|
|
5472
5902
|
}
|
|
5473
5903
|
},
|
|
5474
5904
|
"title": "OrderBookDetail",
|
|
@@ -5481,6 +5911,7 @@
|
|
|
5481
5911
|
"liquidation_fee",
|
|
5482
5912
|
"min_base_amount",
|
|
5483
5913
|
"min_quote_amount",
|
|
5914
|
+
"order_quote_limit",
|
|
5484
5915
|
"supported_size_decimals",
|
|
5485
5916
|
"supported_price_decimals",
|
|
5486
5917
|
"supported_quote_decimals",
|
|
@@ -5499,7 +5930,8 @@
|
|
|
5499
5930
|
"daily_price_high",
|
|
5500
5931
|
"daily_price_change",
|
|
5501
5932
|
"open_interest",
|
|
5502
|
-
"daily_chart"
|
|
5933
|
+
"daily_chart",
|
|
5934
|
+
"market_config"
|
|
5503
5935
|
]
|
|
5504
5936
|
},
|
|
5505
5937
|
"OrderBookDetails": {
|
|
@@ -6543,6 +6975,18 @@
|
|
|
6543
6975
|
"value"
|
|
6544
6976
|
]
|
|
6545
6977
|
},
|
|
6978
|
+
"ReqGetBridgesByL1Addr": {
|
|
6979
|
+
"type": "object",
|
|
6980
|
+
"properties": {
|
|
6981
|
+
"l1_address": {
|
|
6982
|
+
"type": "string"
|
|
6983
|
+
}
|
|
6984
|
+
},
|
|
6985
|
+
"title": "ReqGetBridgesByL1Addr",
|
|
6986
|
+
"required": [
|
|
6987
|
+
"l1_address"
|
|
6988
|
+
]
|
|
6989
|
+
},
|
|
6546
6990
|
"ReqGetByAccount": {
|
|
6547
6991
|
"type": "object",
|
|
6548
6992
|
"properties": {
|
|
@@ -6703,6 +7147,22 @@
|
|
|
6703
7147
|
"count_back"
|
|
6704
7148
|
]
|
|
6705
7149
|
},
|
|
7150
|
+
"ReqGetGeckoContracts": {
|
|
7151
|
+
"type": "object",
|
|
7152
|
+
"title": "ReqGetGeckoContracts"
|
|
7153
|
+
},
|
|
7154
|
+
"ReqGetGeckoOrderbook": {
|
|
7155
|
+
"type": "object",
|
|
7156
|
+
"properties": {
|
|
7157
|
+
"ticker_id": {
|
|
7158
|
+
"type": "string"
|
|
7159
|
+
}
|
|
7160
|
+
},
|
|
7161
|
+
"title": "ReqGetGeckoOrderbook",
|
|
7162
|
+
"required": [
|
|
7163
|
+
"ticker_id"
|
|
7164
|
+
]
|
|
7165
|
+
},
|
|
6706
7166
|
"ReqGetL1Metadata": {
|
|
6707
7167
|
"type": "object",
|
|
6708
7168
|
"properties": {
|
|
@@ -7328,6 +7788,30 @@
|
|
|
7328
7788
|
"code"
|
|
7329
7789
|
]
|
|
7330
7790
|
},
|
|
7791
|
+
"RespGetBridgesByL1Addr": {
|
|
7792
|
+
"type": "object",
|
|
7793
|
+
"properties": {
|
|
7794
|
+
"code": {
|
|
7795
|
+
"type": "integer",
|
|
7796
|
+
"format": "int32",
|
|
7797
|
+
"example": "200"
|
|
7798
|
+
},
|
|
7799
|
+
"message": {
|
|
7800
|
+
"type": "string"
|
|
7801
|
+
},
|
|
7802
|
+
"bridges": {
|
|
7803
|
+
"type": "array",
|
|
7804
|
+
"items": {
|
|
7805
|
+
"$ref": "#/definitions/Bridge"
|
|
7806
|
+
}
|
|
7807
|
+
}
|
|
7808
|
+
},
|
|
7809
|
+
"title": "RespGetBridgesByL1Addr",
|
|
7810
|
+
"required": [
|
|
7811
|
+
"code",
|
|
7812
|
+
"bridges"
|
|
7813
|
+
]
|
|
7814
|
+
},
|
|
7331
7815
|
"RespGetFastBridgeInfo": {
|
|
7332
7816
|
"type": "object",
|
|
7333
7817
|
"properties": {
|
|
@@ -7379,6 +7863,28 @@
|
|
|
7379
7863
|
"max_withdrawal_amount"
|
|
7380
7864
|
]
|
|
7381
7865
|
},
|
|
7866
|
+
"RespGetIsNextBridgeFast": {
|
|
7867
|
+
"type": "object",
|
|
7868
|
+
"properties": {
|
|
7869
|
+
"code": {
|
|
7870
|
+
"type": "integer",
|
|
7871
|
+
"format": "int32",
|
|
7872
|
+
"example": "200"
|
|
7873
|
+
},
|
|
7874
|
+
"message": {
|
|
7875
|
+
"type": "string"
|
|
7876
|
+
},
|
|
7877
|
+
"is_next_bridge_fast": {
|
|
7878
|
+
"type": "boolean",
|
|
7879
|
+
"format": "boolean"
|
|
7880
|
+
}
|
|
7881
|
+
},
|
|
7882
|
+
"title": "RespGetIsNextBridgeFast",
|
|
7883
|
+
"required": [
|
|
7884
|
+
"code",
|
|
7885
|
+
"is_next_bridge_fast"
|
|
7886
|
+
]
|
|
7887
|
+
},
|
|
7382
7888
|
"RespPublicPoolsMetadata": {
|
|
7383
7889
|
"type": "object",
|
|
7384
7890
|
"properties": {
|