zklighter-perps 1.0.186 → 1.0.187
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/apis/AccountApi.ts +15 -0
- package/openapi.json +12 -0
- package/package.json +1 -1
package/apis/AccountApi.ts
CHANGED
|
@@ -106,6 +106,9 @@ export interface AirdropCreateRequest {
|
|
|
106
106
|
percentages: string;
|
|
107
107
|
signature: string;
|
|
108
108
|
authorization?: string;
|
|
109
|
+
nonce?: number;
|
|
110
|
+
account_index?: number;
|
|
111
|
+
api_key_index?: number;
|
|
109
112
|
auth?: string;
|
|
110
113
|
}
|
|
111
114
|
|
|
@@ -506,6 +509,18 @@ export class AccountApi extends runtime.BaseAPI {
|
|
|
506
509
|
formParams.append('percentages', requestParameters['percentages'] as any);
|
|
507
510
|
}
|
|
508
511
|
|
|
512
|
+
if (requestParameters['nonce'] != null) {
|
|
513
|
+
formParams.append('nonce', requestParameters['nonce'] as any);
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
if (requestParameters['account_index'] != null) {
|
|
517
|
+
formParams.append('account_index', requestParameters['account_index'] as any);
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
if (requestParameters['api_key_index'] != null) {
|
|
521
|
+
formParams.append('api_key_index', requestParameters['api_key_index'] as any);
|
|
522
|
+
}
|
|
523
|
+
|
|
509
524
|
if (requestParameters['signature'] != null) {
|
|
510
525
|
formParams.append('signature', requestParameters['signature'] as any);
|
|
511
526
|
}
|
package/openapi.json
CHANGED
|
@@ -7300,6 +7300,18 @@
|
|
|
7300
7300
|
"percentages": {
|
|
7301
7301
|
"type": "string"
|
|
7302
7302
|
},
|
|
7303
|
+
"nonce": {
|
|
7304
|
+
"type": "integer",
|
|
7305
|
+
"format": "int64"
|
|
7306
|
+
},
|
|
7307
|
+
"account_index": {
|
|
7308
|
+
"type": "integer",
|
|
7309
|
+
"format": "int64"
|
|
7310
|
+
},
|
|
7311
|
+
"api_key_index": {
|
|
7312
|
+
"type": "integer",
|
|
7313
|
+
"format": "uint8"
|
|
7314
|
+
},
|
|
7303
7315
|
"signature": {
|
|
7304
7316
|
"type": "string"
|
|
7305
7317
|
},
|