@n8n-dev/n8n-nodes-binance 1.0.0

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.
Files changed (105) hide show
  1. package/README.md +123 -0
  2. package/dist/credentials/BinanceApi.credentials.d.ts +10 -0
  3. package/dist/credentials/BinanceApi.credentials.js +56 -0
  4. package/dist/credentials/BinanceApi.credentials.js.map +1 -0
  5. package/dist/icons/binance.dark.svg +4 -0
  6. package/dist/icons/binance.svg +4 -0
  7. package/dist/nodes/Binance/Binance.node.d.ts +4 -0
  8. package/dist/nodes/Binance/Binance.node.js +250 -0
  9. package/dist/nodes/Binance/Binance.node.js.map +1 -0
  10. package/dist/nodes/Binance/Binance.node.json +20 -0
  11. package/dist/nodes/Binance/binance.dark.svg +4 -0
  12. package/dist/nodes/Binance/binance.svg +4 -0
  13. package/dist/nodes/Binance/resources/auto-invest/index.d.ts +2 -0
  14. package/dist/nodes/Binance/resources/auto-invest/index.js +3694 -0
  15. package/dist/nodes/Binance/resources/auto-invest/index.js.map +1 -0
  16. package/dist/nodes/Binance/resources/blvt/index.d.ts +2 -0
  17. package/dist/nodes/Binance/resources/blvt/index.js +994 -0
  18. package/dist/nodes/Binance/resources/blvt/index.js.map +1 -0
  19. package/dist/nodes/Binance/resources/c-2-c/index.d.ts +2 -0
  20. package/dist/nodes/Binance/resources/c-2-c/index.js +265 -0
  21. package/dist/nodes/Binance/resources/c-2-c/index.js.map +1 -0
  22. package/dist/nodes/Binance/resources/convert/index.d.ts +2 -0
  23. package/dist/nodes/Binance/resources/convert/index.js +1535 -0
  24. package/dist/nodes/Binance/resources/convert/index.js.map +1 -0
  25. package/dist/nodes/Binance/resources/copy-trading/index.d.ts +2 -0
  26. package/dist/nodes/Binance/resources/copy-trading/index.js +238 -0
  27. package/dist/nodes/Binance/resources/copy-trading/index.js.map +1 -0
  28. package/dist/nodes/Binance/resources/crypto-loans/index.d.ts +2 -0
  29. package/dist/nodes/Binance/resources/crypto-loans/index.js +4599 -0
  30. package/dist/nodes/Binance/resources/crypto-loans/index.js.map +1 -0
  31. package/dist/nodes/Binance/resources/dual-investment/index.d.ts +2 -0
  32. package/dist/nodes/Binance/resources/dual-investment/index.js +988 -0
  33. package/dist/nodes/Binance/resources/dual-investment/index.js.map +1 -0
  34. package/dist/nodes/Binance/resources/fiat/index.d.ts +2 -0
  35. package/dist/nodes/Binance/resources/fiat/index.js +488 -0
  36. package/dist/nodes/Binance/resources/fiat/index.js.map +1 -0
  37. package/dist/nodes/Binance/resources/futures/index.d.ts +2 -0
  38. package/dist/nodes/Binance/resources/futures/index.js +658 -0
  39. package/dist/nodes/Binance/resources/futures/index.js.map +1 -0
  40. package/dist/nodes/Binance/resources/futures-algo/index.d.ts +2 -0
  41. package/dist/nodes/Binance/resources/futures-algo/index.js +1398 -0
  42. package/dist/nodes/Binance/resources/futures-algo/index.js.map +1 -0
  43. package/dist/nodes/Binance/resources/gift-card/index.d.ts +2 -0
  44. package/dist/nodes/Binance/resources/gift-card/index.js +903 -0
  45. package/dist/nodes/Binance/resources/gift-card/index.js.map +1 -0
  46. package/dist/nodes/Binance/resources/index.d.ts +29 -0
  47. package/dist/nodes/Binance/resources/index.js +62 -0
  48. package/dist/nodes/Binance/resources/index.js.map +1 -0
  49. package/dist/nodes/Binance/resources/isolated-margin-stream/index.d.ts +2 -0
  50. package/dist/nodes/Binance/resources/isolated-margin-stream/index.js +165 -0
  51. package/dist/nodes/Binance/resources/isolated-margin-stream/index.js.map +1 -0
  52. package/dist/nodes/Binance/resources/margin/index.d.ts +2 -0
  53. package/dist/nodes/Binance/resources/margin/index.js +10472 -0
  54. package/dist/nodes/Binance/resources/margin/index.js.map +1 -0
  55. package/dist/nodes/Binance/resources/margin-stream/index.d.ts +2 -0
  56. package/dist/nodes/Binance/resources/margin-stream/index.js +165 -0
  57. package/dist/nodes/Binance/resources/margin-stream/index.js.map +1 -0
  58. package/dist/nodes/Binance/resources/market/index.d.ts +2 -0
  59. package/dist/nodes/Binance/resources/market/index.js +1716 -0
  60. package/dist/nodes/Binance/resources/market/index.js.map +1 -0
  61. package/dist/nodes/Binance/resources/mining/index.d.ts +2 -0
  62. package/dist/nodes/Binance/resources/mining/index.js +2444 -0
  63. package/dist/nodes/Binance/resources/mining/index.js.map +1 -0
  64. package/dist/nodes/Binance/resources/nft/index.d.ts +2 -0
  65. package/dist/nodes/Binance/resources/nft/index.js +830 -0
  66. package/dist/nodes/Binance/resources/nft/index.js.map +1 -0
  67. package/dist/nodes/Binance/resources/pay/index.d.ts +2 -0
  68. package/dist/nodes/Binance/resources/pay/index.js +205 -0
  69. package/dist/nodes/Binance/resources/pay/index.js.map +1 -0
  70. package/dist/nodes/Binance/resources/portfolio-margin/index.d.ts +2 -0
  71. package/dist/nodes/Binance/resources/portfolio-margin/index.js +1561 -0
  72. package/dist/nodes/Binance/resources/portfolio-margin/index.js.map +1 -0
  73. package/dist/nodes/Binance/resources/rebate/index.d.ts +2 -0
  74. package/dist/nodes/Binance/resources/rebate/index.js +205 -0
  75. package/dist/nodes/Binance/resources/rebate/index.js.map +1 -0
  76. package/dist/nodes/Binance/resources/savings/index.d.ts +2 -0
  77. package/dist/nodes/Binance/resources/savings/index.js +882 -0
  78. package/dist/nodes/Binance/resources/savings/index.js.map +1 -0
  79. package/dist/nodes/Binance/resources/simple-earn/index.d.ts +2 -0
  80. package/dist/nodes/Binance/resources/simple-earn/index.js +4686 -0
  81. package/dist/nodes/Binance/resources/simple-earn/index.js.map +1 -0
  82. package/dist/nodes/Binance/resources/spot-algo/index.d.ts +2 -0
  83. package/dist/nodes/Binance/resources/spot-algo/index.js +982 -0
  84. package/dist/nodes/Binance/resources/spot-algo/index.js.map +1 -0
  85. package/dist/nodes/Binance/resources/staking/index.d.ts +2 -0
  86. package/dist/nodes/Binance/resources/staking/index.js +2121 -0
  87. package/dist/nodes/Binance/resources/staking/index.js.map +1 -0
  88. package/dist/nodes/Binance/resources/stream/index.d.ts +2 -0
  89. package/dist/nodes/Binance/resources/stream/index.js +165 -0
  90. package/dist/nodes/Binance/resources/stream/index.js.map +1 -0
  91. package/dist/nodes/Binance/resources/sub-account/index.d.ts +2 -0
  92. package/dist/nodes/Binance/resources/sub-account/index.js +8448 -0
  93. package/dist/nodes/Binance/resources/sub-account/index.js.map +1 -0
  94. package/dist/nodes/Binance/resources/trade/index.d.ts +2 -0
  95. package/dist/nodes/Binance/resources/trade/index.js +8198 -0
  96. package/dist/nodes/Binance/resources/trade/index.js.map +1 -0
  97. package/dist/nodes/Binance/resources/vip-loans/index.d.ts +2 -0
  98. package/dist/nodes/Binance/resources/vip-loans/index.js +1883 -0
  99. package/dist/nodes/Binance/resources/vip-loans/index.js.map +1 -0
  100. package/dist/nodes/Binance/resources/wallet/index.d.ts +2 -0
  101. package/dist/nodes/Binance/resources/wallet/index.js +5908 -0
  102. package/dist/nodes/Binance/resources/wallet/index.js.map +1 -0
  103. package/dist/package.json +62 -0
  104. package/dist/tsconfig.tsbuildinfo +1 -0
  105. package/package.json +62 -0
@@ -0,0 +1,1561 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.portfolioMarginDescription = void 0;
4
+ exports.portfolioMarginDescription = [
5
+ {
6
+ "displayName": "Operation",
7
+ "name": "operation",
8
+ "type": "options",
9
+ "noDataExpression": true,
10
+ "displayOptions": {
11
+ "show": {
12
+ "resource": [
13
+ "Portfolio Margin"
14
+ ]
15
+ }
16
+ },
17
+ "options": [
18
+ {
19
+ "name": "GET Sapi V 1 Portfolio Account",
20
+ "value": "GET Sapi V 1 Portfolio Account",
21
+ "action": "Portfolio Margin Account (USER_DATA)",
22
+ "description": "Get the account info\n\n'Weight(IP): 1'",
23
+ "routing": {
24
+ "request": {
25
+ "method": "GET",
26
+ "url": "=/sapi/v1/portfolio/account"
27
+ }
28
+ }
29
+ },
30
+ {
31
+ "name": "GET Sapi V 1 Portfolio Collateral Rate",
32
+ "value": "GET Sapi V 1 Portfolio Collateral Rate",
33
+ "action": "Portfolio Margin Collateral Rate (MARKET_DATA)",
34
+ "description": "Portfolio Margin Collateral Rate.\n\nWeight(IP): 50",
35
+ "routing": {
36
+ "request": {
37
+ "method": "GET",
38
+ "url": "=/sapi/v1/portfolio/collateralRate"
39
+ }
40
+ }
41
+ },
42
+ {
43
+ "name": "GET Sapi V 2 Portfolio Collateral Rate",
44
+ "value": "GET Sapi V 2 Portfolio Collateral Rate",
45
+ "action": "Portfolio Margin Pro Tiered Collateral Rate(USER_DATA)",
46
+ "description": "Portfolio Margin PRO Tiered Collateral Rate\n\nWeight(IP): 50",
47
+ "routing": {
48
+ "request": {
49
+ "method": "GET",
50
+ "url": "=/sapi/v2/portfolio/collateralRate"
51
+ }
52
+ }
53
+ },
54
+ {
55
+ "name": "GET Sapi V 1 Portfolio Pm Loan",
56
+ "value": "GET Sapi V 1 Portfolio Pm Loan",
57
+ "action": "Portfolio Margin Bankruptcy Loan Amount (USER_DATA)",
58
+ "description": "Query Portfolio Margin Bankruptcy Loan Amount.\n\nWeight(UID): 500",
59
+ "routing": {
60
+ "request": {
61
+ "method": "GET",
62
+ "url": "=/sapi/v1/portfolio/pmLoan"
63
+ }
64
+ }
65
+ },
66
+ {
67
+ "name": "POST Sapi V 1 Portfolio Repay",
68
+ "value": "POST Sapi V 1 Portfolio Repay",
69
+ "action": "Portfolio Margin Bankruptcy Loan Repay (USER_DATA)",
70
+ "description": "Repay Portfolio Margin Bankruptcy Loan.\n\nWeight(UID): 3000",
71
+ "routing": {
72
+ "request": {
73
+ "method": "POST",
74
+ "url": "=/sapi/v1/portfolio/repay"
75
+ }
76
+ }
77
+ },
78
+ {
79
+ "name": "GET Sapi V 1 Portfolio Interest History",
80
+ "value": "GET Sapi V 1 Portfolio Interest History",
81
+ "action": "Query Classic Portfolio Margin Negative Balance Interest History (USER_DATA)",
82
+ "description": "Query interest history of negative balance for portfolio margin.\n\nWeight(IP): 50",
83
+ "routing": {
84
+ "request": {
85
+ "method": "GET",
86
+ "url": "=/sapi/v1/portfolio/interest-history"
87
+ }
88
+ }
89
+ },
90
+ {
91
+ "name": "GET Sapi V 1 Portfolio Asset Index Price",
92
+ "value": "GET Sapi V 1 Portfolio Asset Index Price",
93
+ "action": "Query Portfolio Margin Asset Index Price (MARKET_DATA)",
94
+ "description": "Query Portfolio Margin Asset Index Price\n\nWeight(IP):\n- 1 if send asset\n- 50 if not send asset",
95
+ "routing": {
96
+ "request": {
97
+ "method": "GET",
98
+ "url": "=/sapi/v1/portfolio/asset-index-price"
99
+ }
100
+ }
101
+ },
102
+ {
103
+ "name": "POST Sapi V 1 Portfolio Auto Collection",
104
+ "value": "POST Sapi V 1 Portfolio Auto Collection",
105
+ "action": "Fund Auto-collection (USER_DATA)",
106
+ "description": "Transfers all assets from Futures Account to Margin account\n\nWeight(IP): 1500",
107
+ "routing": {
108
+ "request": {
109
+ "method": "POST",
110
+ "url": "=/sapi/v1/portfolio/auto-collection"
111
+ }
112
+ }
113
+ },
114
+ {
115
+ "name": "POST Sapi V 1 Portfolio Bnb Transfer",
116
+ "value": "POST Sapi V 1 Portfolio Bnb Transfer",
117
+ "action": "BNB Transfer (USER_DATA)",
118
+ "description": "BNB transfer can be between Margin Account and USDM Account\n\nWeight(IP): 1500",
119
+ "routing": {
120
+ "request": {
121
+ "method": "POST",
122
+ "url": "=/sapi/v1/portfolio/bnb-transfer"
123
+ }
124
+ }
125
+ },
126
+ {
127
+ "name": "POST Sapi V 1 Portfolio Repay Futures Switch",
128
+ "value": "POST Sapi V 1 Portfolio Repay Futures Switch",
129
+ "action": "Change Auto-repay-futures Status (USER_DATA)",
130
+ "description": "Change Auto-repay-futures Status\n\nWeight(IP): 1500",
131
+ "routing": {
132
+ "request": {
133
+ "method": "POST",
134
+ "url": "=/sapi/v1/portfolio/repay-futures-switch"
135
+ }
136
+ }
137
+ },
138
+ {
139
+ "name": "GET Sapi V 1 Portfolio Repay Futures Switch",
140
+ "value": "GET Sapi V 1 Portfolio Repay Futures Switch",
141
+ "action": "Get Auto-repay-futures Status (USER_DATA)",
142
+ "description": "Query Auto-repay-futures Status\n\nWeight(IP): 30",
143
+ "routing": {
144
+ "request": {
145
+ "method": "GET",
146
+ "url": "=/sapi/v1/portfolio/repay-futures-switch"
147
+ }
148
+ }
149
+ },
150
+ {
151
+ "name": "POST Sapi V 1 Portfolio Repay Futures Negative Balance",
152
+ "value": "POST Sapi V 1 Portfolio Repay Futures Negative Balance",
153
+ "action": "Repay futures Negative Balance (USER_DATA)",
154
+ "description": "Repay futures Negative Balance\n\nWeight(IP): 1500",
155
+ "routing": {
156
+ "request": {
157
+ "method": "POST",
158
+ "url": "=/sapi/v1/portfolio/repay-futures-negative-balance"
159
+ }
160
+ }
161
+ },
162
+ {
163
+ "name": "GET Sapi V 1 Portfolio Margin Asset Leverage",
164
+ "value": "GET Sapi V 1 Portfolio Margin Asset Leverage",
165
+ "action": "Get Portfolio Margin Asset Leverage (USER_DATA)",
166
+ "description": "Weight(IP): 50",
167
+ "routing": {
168
+ "request": {
169
+ "method": "GET",
170
+ "url": "=/sapi/v1/portfolio/margin-asset-leverage"
171
+ }
172
+ }
173
+ },
174
+ {
175
+ "name": "POST Sapi V 1 Portfolio Asset Collection",
176
+ "value": "POST Sapi V 1 Portfolio Asset Collection",
177
+ "action": "Fund Collection by Asset (USER_DATA)",
178
+ "description": "Transfers specific asset from Futures Account to Margin account\n\nWeight(IP): 60",
179
+ "routing": {
180
+ "request": {
181
+ "method": "POST",
182
+ "url": "=/sapi/v1/portfolio/asset-collection"
183
+ }
184
+ }
185
+ }
186
+ ],
187
+ "default": ""
188
+ },
189
+ {
190
+ "displayName": "GET /sapi/v1/portfolio/account",
191
+ "name": "operation",
192
+ "type": "notice",
193
+ "typeOptions": {
194
+ "theme": "info"
195
+ },
196
+ "default": "",
197
+ "displayOptions": {
198
+ "show": {
199
+ "resource": [
200
+ "Portfolio Margin"
201
+ ],
202
+ "operation": [
203
+ "GET Sapi V 1 Portfolio Account"
204
+ ]
205
+ }
206
+ }
207
+ },
208
+ {
209
+ "displayName": "Recv Window",
210
+ "name": "recvWindow",
211
+ "description": "The value cannot be greater than 60000",
212
+ "default": 5000,
213
+ "type": "number",
214
+ "routing": {
215
+ "send": {
216
+ "type": "query",
217
+ "property": "recvWindow",
218
+ "value": "={{ $value }}",
219
+ "propertyInDotNotation": false
220
+ }
221
+ },
222
+ "displayOptions": {
223
+ "show": {
224
+ "resource": [
225
+ "Portfolio Margin"
226
+ ],
227
+ "operation": [
228
+ "GET Sapi V 1 Portfolio Account"
229
+ ]
230
+ }
231
+ }
232
+ },
233
+ {
234
+ "displayName": "Timestamp",
235
+ "name": "timestamp",
236
+ "required": true,
237
+ "description": "UTC timestamp in ms",
238
+ "default": 0,
239
+ "type": "number",
240
+ "routing": {
241
+ "send": {
242
+ "type": "query",
243
+ "property": "timestamp",
244
+ "value": "={{ $value }}",
245
+ "propertyInDotNotation": false
246
+ }
247
+ },
248
+ "displayOptions": {
249
+ "show": {
250
+ "resource": [
251
+ "Portfolio Margin"
252
+ ],
253
+ "operation": [
254
+ "GET Sapi V 1 Portfolio Account"
255
+ ]
256
+ }
257
+ }
258
+ },
259
+ {
260
+ "displayName": "Signature",
261
+ "name": "signature",
262
+ "required": true,
263
+ "description": "Signature",
264
+ "default": "",
265
+ "type": "string",
266
+ "routing": {
267
+ "send": {
268
+ "type": "query",
269
+ "property": "signature",
270
+ "value": "={{ $value }}",
271
+ "propertyInDotNotation": false
272
+ }
273
+ },
274
+ "displayOptions": {
275
+ "show": {
276
+ "resource": [
277
+ "Portfolio Margin"
278
+ ],
279
+ "operation": [
280
+ "GET Sapi V 1 Portfolio Account"
281
+ ]
282
+ }
283
+ }
284
+ },
285
+ {
286
+ "displayName": "GET /sapi/v1/portfolio/collateralRate",
287
+ "name": "operation",
288
+ "type": "notice",
289
+ "typeOptions": {
290
+ "theme": "info"
291
+ },
292
+ "default": "",
293
+ "displayOptions": {
294
+ "show": {
295
+ "resource": [
296
+ "Portfolio Margin"
297
+ ],
298
+ "operation": [
299
+ "GET Sapi V 1 Portfolio Collateral Rate"
300
+ ]
301
+ }
302
+ }
303
+ },
304
+ {
305
+ "displayName": "GET /sapi/v2/portfolio/collateralRate",
306
+ "name": "operation",
307
+ "type": "notice",
308
+ "typeOptions": {
309
+ "theme": "info"
310
+ },
311
+ "default": "",
312
+ "displayOptions": {
313
+ "show": {
314
+ "resource": [
315
+ "Portfolio Margin"
316
+ ],
317
+ "operation": [
318
+ "GET Sapi V 2 Portfolio Collateral Rate"
319
+ ]
320
+ }
321
+ }
322
+ },
323
+ {
324
+ "displayName": "Recv Window",
325
+ "name": "recvWindow",
326
+ "description": "The value cannot be greater than 60000",
327
+ "default": 5000,
328
+ "type": "number",
329
+ "routing": {
330
+ "send": {
331
+ "type": "query",
332
+ "property": "recvWindow",
333
+ "value": "={{ $value }}",
334
+ "propertyInDotNotation": false
335
+ }
336
+ },
337
+ "displayOptions": {
338
+ "show": {
339
+ "resource": [
340
+ "Portfolio Margin"
341
+ ],
342
+ "operation": [
343
+ "GET Sapi V 2 Portfolio Collateral Rate"
344
+ ]
345
+ }
346
+ }
347
+ },
348
+ {
349
+ "displayName": "Timestamp",
350
+ "name": "timestamp",
351
+ "required": true,
352
+ "description": "UTC timestamp in ms",
353
+ "default": 0,
354
+ "type": "number",
355
+ "routing": {
356
+ "send": {
357
+ "type": "query",
358
+ "property": "timestamp",
359
+ "value": "={{ $value }}",
360
+ "propertyInDotNotation": false
361
+ }
362
+ },
363
+ "displayOptions": {
364
+ "show": {
365
+ "resource": [
366
+ "Portfolio Margin"
367
+ ],
368
+ "operation": [
369
+ "GET Sapi V 2 Portfolio Collateral Rate"
370
+ ]
371
+ }
372
+ }
373
+ },
374
+ {
375
+ "displayName": "Signature",
376
+ "name": "signature",
377
+ "required": true,
378
+ "description": "Signature",
379
+ "default": "",
380
+ "type": "string",
381
+ "routing": {
382
+ "send": {
383
+ "type": "query",
384
+ "property": "signature",
385
+ "value": "={{ $value }}",
386
+ "propertyInDotNotation": false
387
+ }
388
+ },
389
+ "displayOptions": {
390
+ "show": {
391
+ "resource": [
392
+ "Portfolio Margin"
393
+ ],
394
+ "operation": [
395
+ "GET Sapi V 2 Portfolio Collateral Rate"
396
+ ]
397
+ }
398
+ }
399
+ },
400
+ {
401
+ "displayName": "GET /sapi/v1/portfolio/pmLoan",
402
+ "name": "operation",
403
+ "type": "notice",
404
+ "typeOptions": {
405
+ "theme": "info"
406
+ },
407
+ "default": "",
408
+ "displayOptions": {
409
+ "show": {
410
+ "resource": [
411
+ "Portfolio Margin"
412
+ ],
413
+ "operation": [
414
+ "GET Sapi V 1 Portfolio Pm Loan"
415
+ ]
416
+ }
417
+ }
418
+ },
419
+ {
420
+ "displayName": "Recv Window",
421
+ "name": "recvWindow",
422
+ "description": "The value cannot be greater than 60000",
423
+ "default": 5000,
424
+ "type": "number",
425
+ "routing": {
426
+ "send": {
427
+ "type": "query",
428
+ "property": "recvWindow",
429
+ "value": "={{ $value }}",
430
+ "propertyInDotNotation": false
431
+ }
432
+ },
433
+ "displayOptions": {
434
+ "show": {
435
+ "resource": [
436
+ "Portfolio Margin"
437
+ ],
438
+ "operation": [
439
+ "GET Sapi V 1 Portfolio Pm Loan"
440
+ ]
441
+ }
442
+ }
443
+ },
444
+ {
445
+ "displayName": "Timestamp",
446
+ "name": "timestamp",
447
+ "required": true,
448
+ "description": "UTC timestamp in ms",
449
+ "default": 0,
450
+ "type": "number",
451
+ "routing": {
452
+ "send": {
453
+ "type": "query",
454
+ "property": "timestamp",
455
+ "value": "={{ $value }}",
456
+ "propertyInDotNotation": false
457
+ }
458
+ },
459
+ "displayOptions": {
460
+ "show": {
461
+ "resource": [
462
+ "Portfolio Margin"
463
+ ],
464
+ "operation": [
465
+ "GET Sapi V 1 Portfolio Pm Loan"
466
+ ]
467
+ }
468
+ }
469
+ },
470
+ {
471
+ "displayName": "Signature",
472
+ "name": "signature",
473
+ "required": true,
474
+ "description": "Signature",
475
+ "default": "",
476
+ "type": "string",
477
+ "routing": {
478
+ "send": {
479
+ "type": "query",
480
+ "property": "signature",
481
+ "value": "={{ $value }}",
482
+ "propertyInDotNotation": false
483
+ }
484
+ },
485
+ "displayOptions": {
486
+ "show": {
487
+ "resource": [
488
+ "Portfolio Margin"
489
+ ],
490
+ "operation": [
491
+ "GET Sapi V 1 Portfolio Pm Loan"
492
+ ]
493
+ }
494
+ }
495
+ },
496
+ {
497
+ "displayName": "POST /sapi/v1/portfolio/repay",
498
+ "name": "operation",
499
+ "type": "notice",
500
+ "typeOptions": {
501
+ "theme": "info"
502
+ },
503
+ "default": "",
504
+ "displayOptions": {
505
+ "show": {
506
+ "resource": [
507
+ "Portfolio Margin"
508
+ ],
509
+ "operation": [
510
+ "POST Sapi V 1 Portfolio Repay"
511
+ ]
512
+ }
513
+ }
514
+ },
515
+ {
516
+ "displayName": "From",
517
+ "name": "from",
518
+ "default": "SPOT",
519
+ "type": "string",
520
+ "routing": {
521
+ "send": {
522
+ "type": "query",
523
+ "property": "from",
524
+ "value": "={{ $value }}",
525
+ "propertyInDotNotation": false
526
+ }
527
+ },
528
+ "displayOptions": {
529
+ "show": {
530
+ "resource": [
531
+ "Portfolio Margin"
532
+ ],
533
+ "operation": [
534
+ "POST Sapi V 1 Portfolio Repay"
535
+ ]
536
+ }
537
+ }
538
+ },
539
+ {
540
+ "displayName": "Recv Window",
541
+ "name": "recvWindow",
542
+ "description": "The value cannot be greater than 60000",
543
+ "default": 5000,
544
+ "type": "number",
545
+ "routing": {
546
+ "send": {
547
+ "type": "query",
548
+ "property": "recvWindow",
549
+ "value": "={{ $value }}",
550
+ "propertyInDotNotation": false
551
+ }
552
+ },
553
+ "displayOptions": {
554
+ "show": {
555
+ "resource": [
556
+ "Portfolio Margin"
557
+ ],
558
+ "operation": [
559
+ "POST Sapi V 1 Portfolio Repay"
560
+ ]
561
+ }
562
+ }
563
+ },
564
+ {
565
+ "displayName": "Timestamp",
566
+ "name": "timestamp",
567
+ "required": true,
568
+ "description": "UTC timestamp in ms",
569
+ "default": 0,
570
+ "type": "number",
571
+ "routing": {
572
+ "send": {
573
+ "type": "query",
574
+ "property": "timestamp",
575
+ "value": "={{ $value }}",
576
+ "propertyInDotNotation": false
577
+ }
578
+ },
579
+ "displayOptions": {
580
+ "show": {
581
+ "resource": [
582
+ "Portfolio Margin"
583
+ ],
584
+ "operation": [
585
+ "POST Sapi V 1 Portfolio Repay"
586
+ ]
587
+ }
588
+ }
589
+ },
590
+ {
591
+ "displayName": "Signature",
592
+ "name": "signature",
593
+ "required": true,
594
+ "description": "Signature",
595
+ "default": "",
596
+ "type": "string",
597
+ "routing": {
598
+ "send": {
599
+ "type": "query",
600
+ "property": "signature",
601
+ "value": "={{ $value }}",
602
+ "propertyInDotNotation": false
603
+ }
604
+ },
605
+ "displayOptions": {
606
+ "show": {
607
+ "resource": [
608
+ "Portfolio Margin"
609
+ ],
610
+ "operation": [
611
+ "POST Sapi V 1 Portfolio Repay"
612
+ ]
613
+ }
614
+ }
615
+ },
616
+ {
617
+ "displayName": "GET /sapi/v1/portfolio/interest-history",
618
+ "name": "operation",
619
+ "type": "notice",
620
+ "typeOptions": {
621
+ "theme": "info"
622
+ },
623
+ "default": "",
624
+ "displayOptions": {
625
+ "show": {
626
+ "resource": [
627
+ "Portfolio Margin"
628
+ ],
629
+ "operation": [
630
+ "GET Sapi V 1 Portfolio Interest History"
631
+ ]
632
+ }
633
+ }
634
+ },
635
+ {
636
+ "displayName": "Asset",
637
+ "name": "asset",
638
+ "required": true,
639
+ "default": "BTC",
640
+ "type": "string",
641
+ "routing": {
642
+ "send": {
643
+ "type": "query",
644
+ "property": "asset",
645
+ "value": "={{ $value }}",
646
+ "propertyInDotNotation": false
647
+ }
648
+ },
649
+ "displayOptions": {
650
+ "show": {
651
+ "resource": [
652
+ "Portfolio Margin"
653
+ ],
654
+ "operation": [
655
+ "GET Sapi V 1 Portfolio Interest History"
656
+ ]
657
+ }
658
+ }
659
+ },
660
+ {
661
+ "displayName": "Start Time",
662
+ "name": "startTime",
663
+ "description": "UTC timestamp in ms",
664
+ "default": 0,
665
+ "type": "number",
666
+ "routing": {
667
+ "send": {
668
+ "type": "query",
669
+ "property": "startTime",
670
+ "value": "={{ $value }}",
671
+ "propertyInDotNotation": false
672
+ }
673
+ },
674
+ "displayOptions": {
675
+ "show": {
676
+ "resource": [
677
+ "Portfolio Margin"
678
+ ],
679
+ "operation": [
680
+ "GET Sapi V 1 Portfolio Interest History"
681
+ ]
682
+ }
683
+ }
684
+ },
685
+ {
686
+ "displayName": "End Time",
687
+ "name": "endTime",
688
+ "description": "UTC timestamp in ms",
689
+ "default": 0,
690
+ "type": "number",
691
+ "routing": {
692
+ "send": {
693
+ "type": "query",
694
+ "property": "endTime",
695
+ "value": "={{ $value }}",
696
+ "propertyInDotNotation": false
697
+ }
698
+ },
699
+ "displayOptions": {
700
+ "show": {
701
+ "resource": [
702
+ "Portfolio Margin"
703
+ ],
704
+ "operation": [
705
+ "GET Sapi V 1 Portfolio Interest History"
706
+ ]
707
+ }
708
+ }
709
+ },
710
+ {
711
+ "displayName": "Size",
712
+ "name": "size",
713
+ "description": "Default:10 Max:100",
714
+ "default": 100,
715
+ "type": "number",
716
+ "routing": {
717
+ "send": {
718
+ "type": "query",
719
+ "property": "size",
720
+ "value": "={{ $value }}",
721
+ "propertyInDotNotation": false
722
+ }
723
+ },
724
+ "displayOptions": {
725
+ "show": {
726
+ "resource": [
727
+ "Portfolio Margin"
728
+ ],
729
+ "operation": [
730
+ "GET Sapi V 1 Portfolio Interest History"
731
+ ]
732
+ }
733
+ }
734
+ },
735
+ {
736
+ "displayName": "Recv Window",
737
+ "name": "recvWindow",
738
+ "description": "The value cannot be greater than 60000",
739
+ "default": 5000,
740
+ "type": "number",
741
+ "routing": {
742
+ "send": {
743
+ "type": "query",
744
+ "property": "recvWindow",
745
+ "value": "={{ $value }}",
746
+ "propertyInDotNotation": false
747
+ }
748
+ },
749
+ "displayOptions": {
750
+ "show": {
751
+ "resource": [
752
+ "Portfolio Margin"
753
+ ],
754
+ "operation": [
755
+ "GET Sapi V 1 Portfolio Interest History"
756
+ ]
757
+ }
758
+ }
759
+ },
760
+ {
761
+ "displayName": "Timestamp",
762
+ "name": "timestamp",
763
+ "required": true,
764
+ "description": "UTC timestamp in ms",
765
+ "default": 0,
766
+ "type": "number",
767
+ "routing": {
768
+ "send": {
769
+ "type": "query",
770
+ "property": "timestamp",
771
+ "value": "={{ $value }}",
772
+ "propertyInDotNotation": false
773
+ }
774
+ },
775
+ "displayOptions": {
776
+ "show": {
777
+ "resource": [
778
+ "Portfolio Margin"
779
+ ],
780
+ "operation": [
781
+ "GET Sapi V 1 Portfolio Interest History"
782
+ ]
783
+ }
784
+ }
785
+ },
786
+ {
787
+ "displayName": "Signature",
788
+ "name": "signature",
789
+ "required": true,
790
+ "description": "Signature",
791
+ "default": "",
792
+ "type": "string",
793
+ "routing": {
794
+ "send": {
795
+ "type": "query",
796
+ "property": "signature",
797
+ "value": "={{ $value }}",
798
+ "propertyInDotNotation": false
799
+ }
800
+ },
801
+ "displayOptions": {
802
+ "show": {
803
+ "resource": [
804
+ "Portfolio Margin"
805
+ ],
806
+ "operation": [
807
+ "GET Sapi V 1 Portfolio Interest History"
808
+ ]
809
+ }
810
+ }
811
+ },
812
+ {
813
+ "displayName": "GET /sapi/v1/portfolio/asset-index-price",
814
+ "name": "operation",
815
+ "type": "notice",
816
+ "typeOptions": {
817
+ "theme": "info"
818
+ },
819
+ "default": "",
820
+ "displayOptions": {
821
+ "show": {
822
+ "resource": [
823
+ "Portfolio Margin"
824
+ ],
825
+ "operation": [
826
+ "GET Sapi V 1 Portfolio Asset Index Price"
827
+ ]
828
+ }
829
+ }
830
+ },
831
+ {
832
+ "displayName": "Asset",
833
+ "name": "asset",
834
+ "default": "BTC",
835
+ "type": "string",
836
+ "routing": {
837
+ "send": {
838
+ "type": "query",
839
+ "property": "asset",
840
+ "value": "={{ $value }}",
841
+ "propertyInDotNotation": false
842
+ }
843
+ },
844
+ "displayOptions": {
845
+ "show": {
846
+ "resource": [
847
+ "Portfolio Margin"
848
+ ],
849
+ "operation": [
850
+ "GET Sapi V 1 Portfolio Asset Index Price"
851
+ ]
852
+ }
853
+ }
854
+ },
855
+ {
856
+ "displayName": "POST /sapi/v1/portfolio/auto-collection",
857
+ "name": "operation",
858
+ "type": "notice",
859
+ "typeOptions": {
860
+ "theme": "info"
861
+ },
862
+ "default": "",
863
+ "displayOptions": {
864
+ "show": {
865
+ "resource": [
866
+ "Portfolio Margin"
867
+ ],
868
+ "operation": [
869
+ "POST Sapi V 1 Portfolio Auto Collection"
870
+ ]
871
+ }
872
+ }
873
+ },
874
+ {
875
+ "displayName": "Recv Window",
876
+ "name": "recvWindow",
877
+ "description": "The value cannot be greater than 60000",
878
+ "default": 5000,
879
+ "type": "number",
880
+ "routing": {
881
+ "send": {
882
+ "type": "query",
883
+ "property": "recvWindow",
884
+ "value": "={{ $value }}",
885
+ "propertyInDotNotation": false
886
+ }
887
+ },
888
+ "displayOptions": {
889
+ "show": {
890
+ "resource": [
891
+ "Portfolio Margin"
892
+ ],
893
+ "operation": [
894
+ "POST Sapi V 1 Portfolio Auto Collection"
895
+ ]
896
+ }
897
+ }
898
+ },
899
+ {
900
+ "displayName": "Timestamp",
901
+ "name": "timestamp",
902
+ "required": true,
903
+ "description": "UTC timestamp in ms",
904
+ "default": 0,
905
+ "type": "number",
906
+ "routing": {
907
+ "send": {
908
+ "type": "query",
909
+ "property": "timestamp",
910
+ "value": "={{ $value }}",
911
+ "propertyInDotNotation": false
912
+ }
913
+ },
914
+ "displayOptions": {
915
+ "show": {
916
+ "resource": [
917
+ "Portfolio Margin"
918
+ ],
919
+ "operation": [
920
+ "POST Sapi V 1 Portfolio Auto Collection"
921
+ ]
922
+ }
923
+ }
924
+ },
925
+ {
926
+ "displayName": "Signature",
927
+ "name": "signature",
928
+ "required": true,
929
+ "description": "Signature",
930
+ "default": "",
931
+ "type": "string",
932
+ "routing": {
933
+ "send": {
934
+ "type": "query",
935
+ "property": "signature",
936
+ "value": "={{ $value }}",
937
+ "propertyInDotNotation": false
938
+ }
939
+ },
940
+ "displayOptions": {
941
+ "show": {
942
+ "resource": [
943
+ "Portfolio Margin"
944
+ ],
945
+ "operation": [
946
+ "POST Sapi V 1 Portfolio Auto Collection"
947
+ ]
948
+ }
949
+ }
950
+ },
951
+ {
952
+ "displayName": "POST /sapi/v1/portfolio/bnb-transfer",
953
+ "name": "operation",
954
+ "type": "notice",
955
+ "typeOptions": {
956
+ "theme": "info"
957
+ },
958
+ "default": "",
959
+ "displayOptions": {
960
+ "show": {
961
+ "resource": [
962
+ "Portfolio Margin"
963
+ ],
964
+ "operation": [
965
+ "POST Sapi V 1 Portfolio Bnb Transfer"
966
+ ]
967
+ }
968
+ }
969
+ },
970
+ {
971
+ "displayName": "Transfer Side",
972
+ "name": "transferSide",
973
+ "required": true,
974
+ "default": "TO_UM",
975
+ "type": "options",
976
+ "options": [
977
+ {
978
+ "name": "TO UM",
979
+ "value": "TO_UM"
980
+ },
981
+ {
982
+ "name": "FROM UM",
983
+ "value": "FROM_UM"
984
+ }
985
+ ],
986
+ "routing": {
987
+ "send": {
988
+ "type": "query",
989
+ "property": "transferSide",
990
+ "value": "={{ $value }}",
991
+ "propertyInDotNotation": false
992
+ }
993
+ },
994
+ "displayOptions": {
995
+ "show": {
996
+ "resource": [
997
+ "Portfolio Margin"
998
+ ],
999
+ "operation": [
1000
+ "POST Sapi V 1 Portfolio Bnb Transfer"
1001
+ ]
1002
+ }
1003
+ }
1004
+ },
1005
+ {
1006
+ "displayName": "Amount",
1007
+ "name": "amount",
1008
+ "required": true,
1009
+ "default": "1.01",
1010
+ "type": "number",
1011
+ "routing": {
1012
+ "send": {
1013
+ "type": "query",
1014
+ "property": "amount",
1015
+ "value": "={{ $value }}",
1016
+ "propertyInDotNotation": false
1017
+ }
1018
+ },
1019
+ "displayOptions": {
1020
+ "show": {
1021
+ "resource": [
1022
+ "Portfolio Margin"
1023
+ ],
1024
+ "operation": [
1025
+ "POST Sapi V 1 Portfolio Bnb Transfer"
1026
+ ]
1027
+ }
1028
+ }
1029
+ },
1030
+ {
1031
+ "displayName": "Recv Window",
1032
+ "name": "recvWindow",
1033
+ "description": "The value cannot be greater than 60000",
1034
+ "default": 5000,
1035
+ "type": "number",
1036
+ "routing": {
1037
+ "send": {
1038
+ "type": "query",
1039
+ "property": "recvWindow",
1040
+ "value": "={{ $value }}",
1041
+ "propertyInDotNotation": false
1042
+ }
1043
+ },
1044
+ "displayOptions": {
1045
+ "show": {
1046
+ "resource": [
1047
+ "Portfolio Margin"
1048
+ ],
1049
+ "operation": [
1050
+ "POST Sapi V 1 Portfolio Bnb Transfer"
1051
+ ]
1052
+ }
1053
+ }
1054
+ },
1055
+ {
1056
+ "displayName": "Timestamp",
1057
+ "name": "timestamp",
1058
+ "required": true,
1059
+ "description": "UTC timestamp in ms",
1060
+ "default": 0,
1061
+ "type": "number",
1062
+ "routing": {
1063
+ "send": {
1064
+ "type": "query",
1065
+ "property": "timestamp",
1066
+ "value": "={{ $value }}",
1067
+ "propertyInDotNotation": false
1068
+ }
1069
+ },
1070
+ "displayOptions": {
1071
+ "show": {
1072
+ "resource": [
1073
+ "Portfolio Margin"
1074
+ ],
1075
+ "operation": [
1076
+ "POST Sapi V 1 Portfolio Bnb Transfer"
1077
+ ]
1078
+ }
1079
+ }
1080
+ },
1081
+ {
1082
+ "displayName": "Signature",
1083
+ "name": "signature",
1084
+ "required": true,
1085
+ "description": "Signature",
1086
+ "default": "",
1087
+ "type": "string",
1088
+ "routing": {
1089
+ "send": {
1090
+ "type": "query",
1091
+ "property": "signature",
1092
+ "value": "={{ $value }}",
1093
+ "propertyInDotNotation": false
1094
+ }
1095
+ },
1096
+ "displayOptions": {
1097
+ "show": {
1098
+ "resource": [
1099
+ "Portfolio Margin"
1100
+ ],
1101
+ "operation": [
1102
+ "POST Sapi V 1 Portfolio Bnb Transfer"
1103
+ ]
1104
+ }
1105
+ }
1106
+ },
1107
+ {
1108
+ "displayName": "POST /sapi/v1/portfolio/repay-futures-switch",
1109
+ "name": "operation",
1110
+ "type": "notice",
1111
+ "typeOptions": {
1112
+ "theme": "info"
1113
+ },
1114
+ "default": "",
1115
+ "displayOptions": {
1116
+ "show": {
1117
+ "resource": [
1118
+ "Portfolio Margin"
1119
+ ],
1120
+ "operation": [
1121
+ "POST Sapi V 1 Portfolio Repay Futures Switch"
1122
+ ]
1123
+ }
1124
+ }
1125
+ },
1126
+ {
1127
+ "displayName": "Auto Repay",
1128
+ "name": "autoRepay",
1129
+ "required": true,
1130
+ "default": true,
1131
+ "type": "boolean",
1132
+ "routing": {
1133
+ "send": {
1134
+ "type": "query",
1135
+ "property": "autoRepay",
1136
+ "value": "={{ $value }}",
1137
+ "propertyInDotNotation": false
1138
+ }
1139
+ },
1140
+ "displayOptions": {
1141
+ "show": {
1142
+ "resource": [
1143
+ "Portfolio Margin"
1144
+ ],
1145
+ "operation": [
1146
+ "POST Sapi V 1 Portfolio Repay Futures Switch"
1147
+ ]
1148
+ }
1149
+ }
1150
+ },
1151
+ {
1152
+ "displayName": "Recv Window",
1153
+ "name": "recvWindow",
1154
+ "description": "The value cannot be greater than 60000",
1155
+ "default": 5000,
1156
+ "type": "number",
1157
+ "routing": {
1158
+ "send": {
1159
+ "type": "query",
1160
+ "property": "recvWindow",
1161
+ "value": "={{ $value }}",
1162
+ "propertyInDotNotation": false
1163
+ }
1164
+ },
1165
+ "displayOptions": {
1166
+ "show": {
1167
+ "resource": [
1168
+ "Portfolio Margin"
1169
+ ],
1170
+ "operation": [
1171
+ "POST Sapi V 1 Portfolio Repay Futures Switch"
1172
+ ]
1173
+ }
1174
+ }
1175
+ },
1176
+ {
1177
+ "displayName": "Timestamp",
1178
+ "name": "timestamp",
1179
+ "required": true,
1180
+ "description": "UTC timestamp in ms",
1181
+ "default": 0,
1182
+ "type": "number",
1183
+ "routing": {
1184
+ "send": {
1185
+ "type": "query",
1186
+ "property": "timestamp",
1187
+ "value": "={{ $value }}",
1188
+ "propertyInDotNotation": false
1189
+ }
1190
+ },
1191
+ "displayOptions": {
1192
+ "show": {
1193
+ "resource": [
1194
+ "Portfolio Margin"
1195
+ ],
1196
+ "operation": [
1197
+ "POST Sapi V 1 Portfolio Repay Futures Switch"
1198
+ ]
1199
+ }
1200
+ }
1201
+ },
1202
+ {
1203
+ "displayName": "Signature",
1204
+ "name": "signature",
1205
+ "required": true,
1206
+ "description": "Signature",
1207
+ "default": "",
1208
+ "type": "string",
1209
+ "routing": {
1210
+ "send": {
1211
+ "type": "query",
1212
+ "property": "signature",
1213
+ "value": "={{ $value }}",
1214
+ "propertyInDotNotation": false
1215
+ }
1216
+ },
1217
+ "displayOptions": {
1218
+ "show": {
1219
+ "resource": [
1220
+ "Portfolio Margin"
1221
+ ],
1222
+ "operation": [
1223
+ "POST Sapi V 1 Portfolio Repay Futures Switch"
1224
+ ]
1225
+ }
1226
+ }
1227
+ },
1228
+ {
1229
+ "displayName": "GET /sapi/v1/portfolio/repay-futures-switch",
1230
+ "name": "operation",
1231
+ "type": "notice",
1232
+ "typeOptions": {
1233
+ "theme": "info"
1234
+ },
1235
+ "default": "",
1236
+ "displayOptions": {
1237
+ "show": {
1238
+ "resource": [
1239
+ "Portfolio Margin"
1240
+ ],
1241
+ "operation": [
1242
+ "GET Sapi V 1 Portfolio Repay Futures Switch"
1243
+ ]
1244
+ }
1245
+ }
1246
+ },
1247
+ {
1248
+ "displayName": "Recv Window",
1249
+ "name": "recvWindow",
1250
+ "description": "The value cannot be greater than 60000",
1251
+ "default": 5000,
1252
+ "type": "number",
1253
+ "routing": {
1254
+ "send": {
1255
+ "type": "query",
1256
+ "property": "recvWindow",
1257
+ "value": "={{ $value }}",
1258
+ "propertyInDotNotation": false
1259
+ }
1260
+ },
1261
+ "displayOptions": {
1262
+ "show": {
1263
+ "resource": [
1264
+ "Portfolio Margin"
1265
+ ],
1266
+ "operation": [
1267
+ "GET Sapi V 1 Portfolio Repay Futures Switch"
1268
+ ]
1269
+ }
1270
+ }
1271
+ },
1272
+ {
1273
+ "displayName": "Timestamp",
1274
+ "name": "timestamp",
1275
+ "required": true,
1276
+ "description": "UTC timestamp in ms",
1277
+ "default": 0,
1278
+ "type": "number",
1279
+ "routing": {
1280
+ "send": {
1281
+ "type": "query",
1282
+ "property": "timestamp",
1283
+ "value": "={{ $value }}",
1284
+ "propertyInDotNotation": false
1285
+ }
1286
+ },
1287
+ "displayOptions": {
1288
+ "show": {
1289
+ "resource": [
1290
+ "Portfolio Margin"
1291
+ ],
1292
+ "operation": [
1293
+ "GET Sapi V 1 Portfolio Repay Futures Switch"
1294
+ ]
1295
+ }
1296
+ }
1297
+ },
1298
+ {
1299
+ "displayName": "Signature",
1300
+ "name": "signature",
1301
+ "required": true,
1302
+ "description": "Signature",
1303
+ "default": "",
1304
+ "type": "string",
1305
+ "routing": {
1306
+ "send": {
1307
+ "type": "query",
1308
+ "property": "signature",
1309
+ "value": "={{ $value }}",
1310
+ "propertyInDotNotation": false
1311
+ }
1312
+ },
1313
+ "displayOptions": {
1314
+ "show": {
1315
+ "resource": [
1316
+ "Portfolio Margin"
1317
+ ],
1318
+ "operation": [
1319
+ "GET Sapi V 1 Portfolio Repay Futures Switch"
1320
+ ]
1321
+ }
1322
+ }
1323
+ },
1324
+ {
1325
+ "displayName": "POST /sapi/v1/portfolio/repay-futures-negative-balance",
1326
+ "name": "operation",
1327
+ "type": "notice",
1328
+ "typeOptions": {
1329
+ "theme": "info"
1330
+ },
1331
+ "default": "",
1332
+ "displayOptions": {
1333
+ "show": {
1334
+ "resource": [
1335
+ "Portfolio Margin"
1336
+ ],
1337
+ "operation": [
1338
+ "POST Sapi V 1 Portfolio Repay Futures Negative Balance"
1339
+ ]
1340
+ }
1341
+ }
1342
+ },
1343
+ {
1344
+ "displayName": "Recv Window",
1345
+ "name": "recvWindow",
1346
+ "description": "The value cannot be greater than 60000",
1347
+ "default": 5000,
1348
+ "type": "number",
1349
+ "routing": {
1350
+ "send": {
1351
+ "type": "query",
1352
+ "property": "recvWindow",
1353
+ "value": "={{ $value }}",
1354
+ "propertyInDotNotation": false
1355
+ }
1356
+ },
1357
+ "displayOptions": {
1358
+ "show": {
1359
+ "resource": [
1360
+ "Portfolio Margin"
1361
+ ],
1362
+ "operation": [
1363
+ "POST Sapi V 1 Portfolio Repay Futures Negative Balance"
1364
+ ]
1365
+ }
1366
+ }
1367
+ },
1368
+ {
1369
+ "displayName": "Timestamp",
1370
+ "name": "timestamp",
1371
+ "required": true,
1372
+ "description": "UTC timestamp in ms",
1373
+ "default": 0,
1374
+ "type": "number",
1375
+ "routing": {
1376
+ "send": {
1377
+ "type": "query",
1378
+ "property": "timestamp",
1379
+ "value": "={{ $value }}",
1380
+ "propertyInDotNotation": false
1381
+ }
1382
+ },
1383
+ "displayOptions": {
1384
+ "show": {
1385
+ "resource": [
1386
+ "Portfolio Margin"
1387
+ ],
1388
+ "operation": [
1389
+ "POST Sapi V 1 Portfolio Repay Futures Negative Balance"
1390
+ ]
1391
+ }
1392
+ }
1393
+ },
1394
+ {
1395
+ "displayName": "Signature",
1396
+ "name": "signature",
1397
+ "required": true,
1398
+ "description": "Signature",
1399
+ "default": "",
1400
+ "type": "string",
1401
+ "routing": {
1402
+ "send": {
1403
+ "type": "query",
1404
+ "property": "signature",
1405
+ "value": "={{ $value }}",
1406
+ "propertyInDotNotation": false
1407
+ }
1408
+ },
1409
+ "displayOptions": {
1410
+ "show": {
1411
+ "resource": [
1412
+ "Portfolio Margin"
1413
+ ],
1414
+ "operation": [
1415
+ "POST Sapi V 1 Portfolio Repay Futures Negative Balance"
1416
+ ]
1417
+ }
1418
+ }
1419
+ },
1420
+ {
1421
+ "displayName": "GET /sapi/v1/portfolio/margin-asset-leverage",
1422
+ "name": "operation",
1423
+ "type": "notice",
1424
+ "typeOptions": {
1425
+ "theme": "info"
1426
+ },
1427
+ "default": "",
1428
+ "displayOptions": {
1429
+ "show": {
1430
+ "resource": [
1431
+ "Portfolio Margin"
1432
+ ],
1433
+ "operation": [
1434
+ "GET Sapi V 1 Portfolio Margin Asset Leverage"
1435
+ ]
1436
+ }
1437
+ }
1438
+ },
1439
+ {
1440
+ "displayName": "POST /sapi/v1/portfolio/asset-collection",
1441
+ "name": "operation",
1442
+ "type": "notice",
1443
+ "typeOptions": {
1444
+ "theme": "info"
1445
+ },
1446
+ "default": "",
1447
+ "displayOptions": {
1448
+ "show": {
1449
+ "resource": [
1450
+ "Portfolio Margin"
1451
+ ],
1452
+ "operation": [
1453
+ "POST Sapi V 1 Portfolio Asset Collection"
1454
+ ]
1455
+ }
1456
+ }
1457
+ },
1458
+ {
1459
+ "displayName": "Asset",
1460
+ "name": "asset",
1461
+ "required": true,
1462
+ "default": "BTC",
1463
+ "type": "string",
1464
+ "routing": {
1465
+ "send": {
1466
+ "type": "query",
1467
+ "property": "asset",
1468
+ "value": "={{ $value }}",
1469
+ "propertyInDotNotation": false
1470
+ }
1471
+ },
1472
+ "displayOptions": {
1473
+ "show": {
1474
+ "resource": [
1475
+ "Portfolio Margin"
1476
+ ],
1477
+ "operation": [
1478
+ "POST Sapi V 1 Portfolio Asset Collection"
1479
+ ]
1480
+ }
1481
+ }
1482
+ },
1483
+ {
1484
+ "displayName": "Recv Window",
1485
+ "name": "recvWindow",
1486
+ "description": "The value cannot be greater than 60000",
1487
+ "default": 5000,
1488
+ "type": "number",
1489
+ "routing": {
1490
+ "send": {
1491
+ "type": "query",
1492
+ "property": "recvWindow",
1493
+ "value": "={{ $value }}",
1494
+ "propertyInDotNotation": false
1495
+ }
1496
+ },
1497
+ "displayOptions": {
1498
+ "show": {
1499
+ "resource": [
1500
+ "Portfolio Margin"
1501
+ ],
1502
+ "operation": [
1503
+ "POST Sapi V 1 Portfolio Asset Collection"
1504
+ ]
1505
+ }
1506
+ }
1507
+ },
1508
+ {
1509
+ "displayName": "Timestamp",
1510
+ "name": "timestamp",
1511
+ "required": true,
1512
+ "description": "UTC timestamp in ms",
1513
+ "default": 0,
1514
+ "type": "number",
1515
+ "routing": {
1516
+ "send": {
1517
+ "type": "query",
1518
+ "property": "timestamp",
1519
+ "value": "={{ $value }}",
1520
+ "propertyInDotNotation": false
1521
+ }
1522
+ },
1523
+ "displayOptions": {
1524
+ "show": {
1525
+ "resource": [
1526
+ "Portfolio Margin"
1527
+ ],
1528
+ "operation": [
1529
+ "POST Sapi V 1 Portfolio Asset Collection"
1530
+ ]
1531
+ }
1532
+ }
1533
+ },
1534
+ {
1535
+ "displayName": "Signature",
1536
+ "name": "signature",
1537
+ "required": true,
1538
+ "description": "Signature",
1539
+ "default": "",
1540
+ "type": "string",
1541
+ "routing": {
1542
+ "send": {
1543
+ "type": "query",
1544
+ "property": "signature",
1545
+ "value": "={{ $value }}",
1546
+ "propertyInDotNotation": false
1547
+ }
1548
+ },
1549
+ "displayOptions": {
1550
+ "show": {
1551
+ "resource": [
1552
+ "Portfolio Margin"
1553
+ ],
1554
+ "operation": [
1555
+ "POST Sapi V 1 Portfolio Asset Collection"
1556
+ ]
1557
+ }
1558
+ }
1559
+ },
1560
+ ];
1561
+ //# sourceMappingURL=index.js.map