zklighter-perps 1.0.96 → 1.0.98
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/.circleci/openapi_postprocess.py +3 -0
- package/.openapi-generator/FILES +1 -2
- package/apis/AccountApi.ts +1 -8
- package/apis/NotificationApi.ts +112 -0
- package/apis/index.ts +1 -1
- package/models/PnLEntry.ts +18 -0
- package/models/PublicPool.ts +2 -3
- package/models/ReqGetAccountApiKeys.ts +2 -3
- package/models/index.ts +0 -1
- package/openapi.json +68 -105
- package/package.json +1 -1
|
@@ -33,6 +33,9 @@ with open(FILE, "r") as f:
|
|
|
33
33
|
if "next_cursor" in required_fields:
|
|
34
34
|
required_fields.remove("next_cursor")
|
|
35
35
|
|
|
36
|
+
if "account_share" in required_fields:
|
|
37
|
+
required_fields.remove("account_share")
|
|
38
|
+
|
|
36
39
|
if len(required_fields) > 0:
|
|
37
40
|
data["definitions"][path]["required"] = required_fields
|
|
38
41
|
else:
|
package/.openapi-generator/FILES
CHANGED
|
@@ -4,7 +4,7 @@ apis/BlockApi.ts
|
|
|
4
4
|
apis/BridgeApi.ts
|
|
5
5
|
apis/CandlestickApi.ts
|
|
6
6
|
apis/InfoApi.ts
|
|
7
|
-
apis/
|
|
7
|
+
apis/NotificationApi.ts
|
|
8
8
|
apis/OrderApi.ts
|
|
9
9
|
apis/ReferralApi.ts
|
|
10
10
|
apis/RootApi.ts
|
|
@@ -50,7 +50,6 @@ models/Layer1BasicInfo.ts
|
|
|
50
50
|
models/Layer2BasicInfo.ts
|
|
51
51
|
models/Leaderboard.ts
|
|
52
52
|
models/LeaderboardEntry.ts
|
|
53
|
-
models/Liquidation.ts
|
|
54
53
|
models/MarketInfo.ts
|
|
55
54
|
models/NextNonce.ts
|
|
56
55
|
models/Order.ts
|
package/apis/AccountApi.ts
CHANGED
|
@@ -66,7 +66,7 @@ export interface AccountsByL1AddressRequest {
|
|
|
66
66
|
|
|
67
67
|
export interface ApikeysRequest {
|
|
68
68
|
account_index: number;
|
|
69
|
-
api_key_index
|
|
69
|
+
api_key_index?: number;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
export interface FaucetRequest {
|
|
@@ -256,13 +256,6 @@ export class AccountApi extends runtime.BaseAPI {
|
|
|
256
256
|
);
|
|
257
257
|
}
|
|
258
258
|
|
|
259
|
-
if (requestParameters['api_key_index'] == null) {
|
|
260
|
-
throw new runtime.RequiredError(
|
|
261
|
-
'api_key_index',
|
|
262
|
-
'Required parameter "api_key_index" was null or undefined when calling apikeys().'
|
|
263
|
-
);
|
|
264
|
-
}
|
|
265
|
-
|
|
266
259
|
const queryParameters: any = {};
|
|
267
260
|
|
|
268
261
|
if (requestParameters['account_index'] != null) {
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document:
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import * as runtime from '../runtime';
|
|
17
|
+
import type {
|
|
18
|
+
ResultCode,
|
|
19
|
+
} from '../models/index';
|
|
20
|
+
import {
|
|
21
|
+
ResultCodeFromJSON,
|
|
22
|
+
ResultCodeToJSON,
|
|
23
|
+
} from '../models/index';
|
|
24
|
+
|
|
25
|
+
export interface NotificationAckRequest {
|
|
26
|
+
notif_id: string;
|
|
27
|
+
auth: string;
|
|
28
|
+
account_index: number;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
export class NotificationApi extends runtime.BaseAPI {
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Ack notification
|
|
38
|
+
* notification_ack
|
|
39
|
+
*/
|
|
40
|
+
async notificationAckRaw(requestParameters: NotificationAckRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ResultCode>> {
|
|
41
|
+
if (requestParameters['notif_id'] == null) {
|
|
42
|
+
throw new runtime.RequiredError(
|
|
43
|
+
'notif_id',
|
|
44
|
+
'Required parameter "notif_id" was null or undefined when calling notificationAck().'
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
if (requestParameters['auth'] == null) {
|
|
49
|
+
throw new runtime.RequiredError(
|
|
50
|
+
'auth',
|
|
51
|
+
'Required parameter "auth" was null or undefined when calling notificationAck().'
|
|
52
|
+
);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
if (requestParameters['account_index'] == null) {
|
|
56
|
+
throw new runtime.RequiredError(
|
|
57
|
+
'account_index',
|
|
58
|
+
'Required parameter "account_index" was null or undefined when calling notificationAck().'
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
const queryParameters: any = {};
|
|
63
|
+
|
|
64
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
65
|
+
|
|
66
|
+
const consumes: runtime.Consume[] = [
|
|
67
|
+
{ contentType: 'multipart/form-data' },
|
|
68
|
+
];
|
|
69
|
+
// @ts-ignore: canConsumeForm may be unused
|
|
70
|
+
const canConsumeForm = runtime.canConsumeForm(consumes);
|
|
71
|
+
|
|
72
|
+
let formParams: { append(param: string, value: any): any };
|
|
73
|
+
let useForm = false;
|
|
74
|
+
if (useForm) {
|
|
75
|
+
formParams = new FormData();
|
|
76
|
+
} else {
|
|
77
|
+
formParams = new URLSearchParams();
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
if (requestParameters['notif_id'] != null) {
|
|
81
|
+
formParams.append('notif_id', requestParameters['notif_id'] as any);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
if (requestParameters['auth'] != null) {
|
|
85
|
+
formParams.append('auth', requestParameters['auth'] as any);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
if (requestParameters['account_index'] != null) {
|
|
89
|
+
formParams.append('account_index', requestParameters['account_index'] as any);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
const response = await this.request({
|
|
93
|
+
path: `/api/v1/notification/ack`,
|
|
94
|
+
method: 'POST',
|
|
95
|
+
headers: headerParameters,
|
|
96
|
+
query: queryParameters,
|
|
97
|
+
body: formParams,
|
|
98
|
+
}, initOverrides);
|
|
99
|
+
|
|
100
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ResultCodeFromJSON(jsonValue));
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Ack notification
|
|
105
|
+
* notification_ack
|
|
106
|
+
*/
|
|
107
|
+
async notificationAck(requestParameters: NotificationAckRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ResultCode> {
|
|
108
|
+
const response = await this.notificationAckRaw(requestParameters, initOverrides);
|
|
109
|
+
return await response.value();
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
}
|
package/apis/index.ts
CHANGED
|
@@ -6,7 +6,7 @@ export * from './BlockApi';
|
|
|
6
6
|
export * from './BridgeApi';
|
|
7
7
|
export * from './CandlestickApi';
|
|
8
8
|
export * from './InfoApi';
|
|
9
|
-
export * from './
|
|
9
|
+
export * from './NotificationApi';
|
|
10
10
|
export * from './OrderApi';
|
|
11
11
|
export * from './ReferralApi';
|
|
12
12
|
export * from './RootApi';
|
package/models/PnLEntry.ts
CHANGED
|
@@ -31,6 +31,18 @@ export interface PnLEntry {
|
|
|
31
31
|
* @memberof PnLEntry
|
|
32
32
|
*/
|
|
33
33
|
value: number;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof PnLEntry
|
|
38
|
+
*/
|
|
39
|
+
trade_pnl: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof PnLEntry
|
|
44
|
+
*/
|
|
45
|
+
pool_pnl: number;
|
|
34
46
|
}
|
|
35
47
|
|
|
36
48
|
/**
|
|
@@ -39,6 +51,8 @@ export interface PnLEntry {
|
|
|
39
51
|
export function instanceOfPnLEntry(value: object): value is PnLEntry {
|
|
40
52
|
if (!('timestamp' in value) || value['timestamp'] === undefined) return false;
|
|
41
53
|
if (!('value' in value) || value['value'] === undefined) return false;
|
|
54
|
+
if (!('trade_pnl' in value) || value['trade_pnl'] === undefined) return false;
|
|
55
|
+
if (!('pool_pnl' in value) || value['pool_pnl'] === undefined) return false;
|
|
42
56
|
return true;
|
|
43
57
|
}
|
|
44
58
|
|
|
@@ -54,6 +68,8 @@ export function PnLEntryFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
|
|
54
68
|
|
|
55
69
|
'timestamp': json['timestamp'],
|
|
56
70
|
'value': json['value'],
|
|
71
|
+
'trade_pnl': json['trade_pnl'],
|
|
72
|
+
'pool_pnl': json['pool_pnl'],
|
|
57
73
|
};
|
|
58
74
|
}
|
|
59
75
|
|
|
@@ -65,6 +81,8 @@ export function PnLEntryToJSON(value?: PnLEntry | null): any {
|
|
|
65
81
|
|
|
66
82
|
'timestamp': value['timestamp'],
|
|
67
83
|
'value': value['value'],
|
|
84
|
+
'trade_pnl': value['trade_pnl'],
|
|
85
|
+
'pool_pnl': value['pool_pnl'],
|
|
68
86
|
};
|
|
69
87
|
}
|
|
70
88
|
|
package/models/PublicPool.ts
CHANGED
|
@@ -139,7 +139,7 @@ export interface PublicPool {
|
|
|
139
139
|
* @type {PublicPoolShare}
|
|
140
140
|
* @memberof PublicPool
|
|
141
141
|
*/
|
|
142
|
-
account_share
|
|
142
|
+
account_share?: PublicPoolShare;
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
/**
|
|
@@ -162,7 +162,6 @@ export function instanceOfPublicPool(value: object): value is PublicPool {
|
|
|
162
162
|
if (!('max_referral_usage_limit' in value) || value['max_referral_usage_limit'] === undefined) return false;
|
|
163
163
|
if (!('total_asset_value' in value) || value['total_asset_value'] === undefined) return false;
|
|
164
164
|
if (!('pool_info' in value) || value['pool_info'] === undefined) return false;
|
|
165
|
-
if (!('account_share' in value) || value['account_share'] === undefined) return false;
|
|
166
165
|
return true;
|
|
167
166
|
}
|
|
168
167
|
|
|
@@ -193,7 +192,7 @@ export function PublicPoolFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
193
192
|
'max_referral_usage_limit': json['max_referral_usage_limit'],
|
|
194
193
|
'total_asset_value': json['total_asset_value'],
|
|
195
194
|
'pool_info': PublicPoolInfoFromJSON(json['pool_info']),
|
|
196
|
-
'account_share': PublicPoolShareFromJSON(json['account_share']),
|
|
195
|
+
'account_share': json['account_share'] == null ? undefined : PublicPoolShareFromJSON(json['account_share']),
|
|
197
196
|
};
|
|
198
197
|
}
|
|
199
198
|
|
|
@@ -30,7 +30,7 @@ export interface ReqGetAccountApiKeys {
|
|
|
30
30
|
* @type {number}
|
|
31
31
|
* @memberof ReqGetAccountApiKeys
|
|
32
32
|
*/
|
|
33
|
-
api_key_index
|
|
33
|
+
api_key_index?: number;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
/**
|
|
@@ -38,7 +38,6 @@ export interface ReqGetAccountApiKeys {
|
|
|
38
38
|
*/
|
|
39
39
|
export function instanceOfReqGetAccountApiKeys(value: object): value is ReqGetAccountApiKeys {
|
|
40
40
|
if (!('account_index' in value) || value['account_index'] === undefined) return false;
|
|
41
|
-
if (!('api_key_index' in value) || value['api_key_index'] === undefined) return false;
|
|
42
41
|
return true;
|
|
43
42
|
}
|
|
44
43
|
|
|
@@ -53,7 +52,7 @@ export function ReqGetAccountApiKeysFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
53
52
|
return {
|
|
54
53
|
|
|
55
54
|
'account_index': json['account_index'],
|
|
56
|
-
'api_key_index': json['api_key_index'],
|
|
55
|
+
'api_key_index': json['api_key_index'] == null ? undefined : json['api_key_index'],
|
|
57
56
|
};
|
|
58
57
|
}
|
|
59
58
|
|
package/models/index.ts
CHANGED
|
@@ -39,7 +39,6 @@ export * from './Layer1BasicInfo';
|
|
|
39
39
|
export * from './Layer2BasicInfo';
|
|
40
40
|
export * from './Leaderboard';
|
|
41
41
|
export * from './LeaderboardEntry';
|
|
42
|
-
export * from './Liquidation';
|
|
43
42
|
export * from './MarketInfo';
|
|
44
43
|
export * from './NextNonce';
|
|
45
44
|
export * from './Order';
|
package/openapi.json
CHANGED
|
@@ -532,7 +532,7 @@
|
|
|
532
532
|
{
|
|
533
533
|
"name": "api_key_index",
|
|
534
534
|
"in": "query",
|
|
535
|
-
"required":
|
|
535
|
+
"required": false,
|
|
536
536
|
"type": "integer",
|
|
537
537
|
"format": "uint8",
|
|
538
538
|
"default": "255"
|
|
@@ -1355,15 +1355,15 @@
|
|
|
1355
1355
|
"description": "Get points leaderboard"
|
|
1356
1356
|
}
|
|
1357
1357
|
},
|
|
1358
|
-
"/api/v1/
|
|
1359
|
-
"
|
|
1360
|
-
"summary": "
|
|
1361
|
-
"operationId": "
|
|
1358
|
+
"/api/v1/nextNonce": {
|
|
1359
|
+
"get": {
|
|
1360
|
+
"summary": "nextNonce",
|
|
1361
|
+
"operationId": "nextNonce",
|
|
1362
1362
|
"responses": {
|
|
1363
1363
|
"200": {
|
|
1364
1364
|
"description": "A successful response.",
|
|
1365
1365
|
"schema": {
|
|
1366
|
-
"$ref": "#/definitions/
|
|
1366
|
+
"$ref": "#/definitions/NextNonce"
|
|
1367
1367
|
}
|
|
1368
1368
|
},
|
|
1369
1369
|
"400": {
|
|
@@ -1375,32 +1375,38 @@
|
|
|
1375
1375
|
},
|
|
1376
1376
|
"parameters": [
|
|
1377
1377
|
{
|
|
1378
|
-
"name": "
|
|
1379
|
-
"in": "
|
|
1378
|
+
"name": "account_index",
|
|
1379
|
+
"in": "query",
|
|
1380
1380
|
"required": true,
|
|
1381
|
-
"
|
|
1382
|
-
|
|
1383
|
-
|
|
1381
|
+
"type": "integer",
|
|
1382
|
+
"format": "int64"
|
|
1383
|
+
},
|
|
1384
|
+
{
|
|
1385
|
+
"name": "api_key_index",
|
|
1386
|
+
"in": "query",
|
|
1387
|
+
"required": true,
|
|
1388
|
+
"type": "integer",
|
|
1389
|
+
"format": "uint8"
|
|
1384
1390
|
}
|
|
1385
1391
|
],
|
|
1386
1392
|
"tags": [
|
|
1387
|
-
"
|
|
1393
|
+
"transaction"
|
|
1388
1394
|
],
|
|
1389
1395
|
"consumes": [
|
|
1390
1396
|
"multipart/form-data"
|
|
1391
1397
|
],
|
|
1392
|
-
"description": "
|
|
1398
|
+
"description": "Get next nonce for a specific account and api key"
|
|
1393
1399
|
}
|
|
1394
1400
|
},
|
|
1395
|
-
"/api/v1/
|
|
1396
|
-
"
|
|
1397
|
-
"summary": "
|
|
1398
|
-
"operationId": "
|
|
1401
|
+
"/api/v1/notification/ack": {
|
|
1402
|
+
"post": {
|
|
1403
|
+
"summary": "notification_ack",
|
|
1404
|
+
"operationId": "notification_ack",
|
|
1399
1405
|
"responses": {
|
|
1400
1406
|
"200": {
|
|
1401
1407
|
"description": "A successful response.",
|
|
1402
1408
|
"schema": {
|
|
1403
|
-
"$ref": "#/definitions/
|
|
1409
|
+
"$ref": "#/definitions/ResultCode"
|
|
1404
1410
|
}
|
|
1405
1411
|
},
|
|
1406
1412
|
"400": {
|
|
@@ -1412,27 +1418,21 @@
|
|
|
1412
1418
|
},
|
|
1413
1419
|
"parameters": [
|
|
1414
1420
|
{
|
|
1415
|
-
"name": "
|
|
1416
|
-
"in": "
|
|
1417
|
-
"required": true,
|
|
1418
|
-
"type": "integer",
|
|
1419
|
-
"format": "int64"
|
|
1420
|
-
},
|
|
1421
|
-
{
|
|
1422
|
-
"name": "api_key_index",
|
|
1423
|
-
"in": "query",
|
|
1421
|
+
"name": "body",
|
|
1422
|
+
"in": "body",
|
|
1424
1423
|
"required": true,
|
|
1425
|
-
"
|
|
1426
|
-
|
|
1424
|
+
"schema": {
|
|
1425
|
+
"$ref": "#/definitions/ReqAckNotif"
|
|
1426
|
+
}
|
|
1427
1427
|
}
|
|
1428
1428
|
],
|
|
1429
1429
|
"tags": [
|
|
1430
|
-
"
|
|
1430
|
+
"notification"
|
|
1431
1431
|
],
|
|
1432
1432
|
"consumes": [
|
|
1433
1433
|
"multipart/form-data"
|
|
1434
1434
|
],
|
|
1435
|
-
"description": "
|
|
1435
|
+
"description": "Ack notification"
|
|
1436
1436
|
}
|
|
1437
1437
|
},
|
|
1438
1438
|
"/api/v1/orderBookDetails": {
|
|
@@ -3961,42 +3961,6 @@
|
|
|
3961
3961
|
"entryId"
|
|
3962
3962
|
]
|
|
3963
3963
|
},
|
|
3964
|
-
"Liquidation": {
|
|
3965
|
-
"type": "object",
|
|
3966
|
-
"properties": {
|
|
3967
|
-
"liquidation_id": {
|
|
3968
|
-
"type": "integer",
|
|
3969
|
-
"format": "int64",
|
|
3970
|
-
"example": "1"
|
|
3971
|
-
},
|
|
3972
|
-
"account_index": {
|
|
3973
|
-
"type": "integer",
|
|
3974
|
-
"format": "int64",
|
|
3975
|
-
"example": "1"
|
|
3976
|
-
},
|
|
3977
|
-
"liquidation_type": {
|
|
3978
|
-
"type": "integer",
|
|
3979
|
-
"format": "uint8",
|
|
3980
|
-
"example": "1"
|
|
3981
|
-
},
|
|
3982
|
-
"portfolio_value": {
|
|
3983
|
-
"type": "string",
|
|
3984
|
-
"example": "1"
|
|
3985
|
-
},
|
|
3986
|
-
"margin_requirement": {
|
|
3987
|
-
"type": "string",
|
|
3988
|
-
"example": "1"
|
|
3989
|
-
}
|
|
3990
|
-
},
|
|
3991
|
-
"title": "Liquidation",
|
|
3992
|
-
"required": [
|
|
3993
|
-
"liquidation_id",
|
|
3994
|
-
"account_index",
|
|
3995
|
-
"liquidation_type",
|
|
3996
|
-
"portfolio_value",
|
|
3997
|
-
"margin_requirement"
|
|
3998
|
-
]
|
|
3999
|
-
},
|
|
4000
3964
|
"MarketInfo": {
|
|
4001
3965
|
"type": "object",
|
|
4002
3966
|
"properties": {
|
|
@@ -4727,12 +4691,24 @@
|
|
|
4727
4691
|
"type": "number",
|
|
4728
4692
|
"format": "double",
|
|
4729
4693
|
"example": "12.0"
|
|
4694
|
+
},
|
|
4695
|
+
"trade_pnl": {
|
|
4696
|
+
"type": "number",
|
|
4697
|
+
"format": "double",
|
|
4698
|
+
"example": "12.0"
|
|
4699
|
+
},
|
|
4700
|
+
"pool_pnl": {
|
|
4701
|
+
"type": "number",
|
|
4702
|
+
"format": "double",
|
|
4703
|
+
"example": "12.0"
|
|
4730
4704
|
}
|
|
4731
4705
|
},
|
|
4732
4706
|
"title": "PnLEntry",
|
|
4733
4707
|
"required": [
|
|
4734
4708
|
"timestamp",
|
|
4735
|
-
"value"
|
|
4709
|
+
"value",
|
|
4710
|
+
"trade_pnl",
|
|
4711
|
+
"pool_pnl"
|
|
4736
4712
|
]
|
|
4737
4713
|
},
|
|
4738
4714
|
"PositionFunding": {
|
|
@@ -4897,8 +4873,7 @@
|
|
|
4897
4873
|
"referral_points_percentage",
|
|
4898
4874
|
"max_referral_usage_limit",
|
|
4899
4875
|
"total_asset_value",
|
|
4900
|
-
"pool_info"
|
|
4901
|
-
"account_share"
|
|
4876
|
+
"pool_info"
|
|
4902
4877
|
]
|
|
4903
4878
|
},
|
|
4904
4879
|
"PublicPoolInfo": {
|
|
@@ -5135,6 +5110,28 @@
|
|
|
5135
5110
|
"reward_point_multiplier"
|
|
5136
5111
|
]
|
|
5137
5112
|
},
|
|
5113
|
+
"ReqAckNotif": {
|
|
5114
|
+
"type": "object",
|
|
5115
|
+
"properties": {
|
|
5116
|
+
"notif_id": {
|
|
5117
|
+
"type": "string",
|
|
5118
|
+
"example": "'liq:17:5898'"
|
|
5119
|
+
},
|
|
5120
|
+
"auth": {
|
|
5121
|
+
"type": "string"
|
|
5122
|
+
},
|
|
5123
|
+
"account_index": {
|
|
5124
|
+
"type": "integer",
|
|
5125
|
+
"format": "int64"
|
|
5126
|
+
}
|
|
5127
|
+
},
|
|
5128
|
+
"title": "ReqAckNotif",
|
|
5129
|
+
"required": [
|
|
5130
|
+
"notif_id",
|
|
5131
|
+
"auth",
|
|
5132
|
+
"account_index"
|
|
5133
|
+
]
|
|
5134
|
+
},
|
|
5138
5135
|
"ReqCancelDeposit": {
|
|
5139
5136
|
"type": "object",
|
|
5140
5137
|
"properties": {
|
|
@@ -5281,8 +5278,7 @@
|
|
|
5281
5278
|
},
|
|
5282
5279
|
"title": "ReqGetAccountApiKeys",
|
|
5283
5280
|
"required": [
|
|
5284
|
-
"account_index"
|
|
5285
|
-
"api_key_index"
|
|
5281
|
+
"account_index"
|
|
5286
5282
|
]
|
|
5287
5283
|
},
|
|
5288
5284
|
"ReqGetAccountByL1Address": {
|
|
@@ -6011,39 +6007,6 @@
|
|
|
6011
6007
|
"l1_address"
|
|
6012
6008
|
]
|
|
6013
6009
|
},
|
|
6014
|
-
"ReqMarkNotifRead": {
|
|
6015
|
-
"type": "object",
|
|
6016
|
-
"properties": {
|
|
6017
|
-
"notif_type": {
|
|
6018
|
-
"type": "string",
|
|
6019
|
-
"enum": [
|
|
6020
|
-
"liquidation"
|
|
6021
|
-
]
|
|
6022
|
-
},
|
|
6023
|
-
"account_index": {
|
|
6024
|
-
"type": "integer",
|
|
6025
|
-
"format": "int64"
|
|
6026
|
-
},
|
|
6027
|
-
"api_key_index": {
|
|
6028
|
-
"type": "integer",
|
|
6029
|
-
"format": "uint8"
|
|
6030
|
-
},
|
|
6031
|
-
"liquidation_ids": {
|
|
6032
|
-
"type": "string"
|
|
6033
|
-
},
|
|
6034
|
-
"signature": {
|
|
6035
|
-
"type": "string"
|
|
6036
|
-
}
|
|
6037
|
-
},
|
|
6038
|
-
"title": "ReqMarkNotifRead",
|
|
6039
|
-
"required": [
|
|
6040
|
-
"notif_type",
|
|
6041
|
-
"account_index",
|
|
6042
|
-
"api_key_index",
|
|
6043
|
-
"liquidation_ids",
|
|
6044
|
-
"signature"
|
|
6045
|
-
]
|
|
6046
|
-
},
|
|
6047
6010
|
"ReqSendTx": {
|
|
6048
6011
|
"type": "object",
|
|
6049
6012
|
"properties": {
|