@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.
- package/README.md +123 -0
- package/dist/credentials/BinanceApi.credentials.d.ts +10 -0
- package/dist/credentials/BinanceApi.credentials.js +56 -0
- package/dist/credentials/BinanceApi.credentials.js.map +1 -0
- package/dist/icons/binance.dark.svg +4 -0
- package/dist/icons/binance.svg +4 -0
- package/dist/nodes/Binance/Binance.node.d.ts +4 -0
- package/dist/nodes/Binance/Binance.node.js +250 -0
- package/dist/nodes/Binance/Binance.node.js.map +1 -0
- package/dist/nodes/Binance/Binance.node.json +20 -0
- package/dist/nodes/Binance/binance.dark.svg +4 -0
- package/dist/nodes/Binance/binance.svg +4 -0
- package/dist/nodes/Binance/resources/auto-invest/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/auto-invest/index.js +3694 -0
- package/dist/nodes/Binance/resources/auto-invest/index.js.map +1 -0
- package/dist/nodes/Binance/resources/blvt/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/blvt/index.js +994 -0
- package/dist/nodes/Binance/resources/blvt/index.js.map +1 -0
- package/dist/nodes/Binance/resources/c-2-c/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/c-2-c/index.js +265 -0
- package/dist/nodes/Binance/resources/c-2-c/index.js.map +1 -0
- package/dist/nodes/Binance/resources/convert/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/convert/index.js +1535 -0
- package/dist/nodes/Binance/resources/convert/index.js.map +1 -0
- package/dist/nodes/Binance/resources/copy-trading/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/copy-trading/index.js +238 -0
- package/dist/nodes/Binance/resources/copy-trading/index.js.map +1 -0
- package/dist/nodes/Binance/resources/crypto-loans/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/crypto-loans/index.js +4599 -0
- package/dist/nodes/Binance/resources/crypto-loans/index.js.map +1 -0
- package/dist/nodes/Binance/resources/dual-investment/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/dual-investment/index.js +988 -0
- package/dist/nodes/Binance/resources/dual-investment/index.js.map +1 -0
- package/dist/nodes/Binance/resources/fiat/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/fiat/index.js +488 -0
- package/dist/nodes/Binance/resources/fiat/index.js.map +1 -0
- package/dist/nodes/Binance/resources/futures/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/futures/index.js +658 -0
- package/dist/nodes/Binance/resources/futures/index.js.map +1 -0
- package/dist/nodes/Binance/resources/futures-algo/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/futures-algo/index.js +1398 -0
- package/dist/nodes/Binance/resources/futures-algo/index.js.map +1 -0
- package/dist/nodes/Binance/resources/gift-card/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/gift-card/index.js +903 -0
- package/dist/nodes/Binance/resources/gift-card/index.js.map +1 -0
- package/dist/nodes/Binance/resources/index.d.ts +29 -0
- package/dist/nodes/Binance/resources/index.js +62 -0
- package/dist/nodes/Binance/resources/index.js.map +1 -0
- package/dist/nodes/Binance/resources/isolated-margin-stream/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/isolated-margin-stream/index.js +165 -0
- package/dist/nodes/Binance/resources/isolated-margin-stream/index.js.map +1 -0
- package/dist/nodes/Binance/resources/margin/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/margin/index.js +10472 -0
- package/dist/nodes/Binance/resources/margin/index.js.map +1 -0
- package/dist/nodes/Binance/resources/margin-stream/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/margin-stream/index.js +165 -0
- package/dist/nodes/Binance/resources/margin-stream/index.js.map +1 -0
- package/dist/nodes/Binance/resources/market/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/market/index.js +1716 -0
- package/dist/nodes/Binance/resources/market/index.js.map +1 -0
- package/dist/nodes/Binance/resources/mining/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/mining/index.js +2444 -0
- package/dist/nodes/Binance/resources/mining/index.js.map +1 -0
- package/dist/nodes/Binance/resources/nft/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/nft/index.js +830 -0
- package/dist/nodes/Binance/resources/nft/index.js.map +1 -0
- package/dist/nodes/Binance/resources/pay/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/pay/index.js +205 -0
- package/dist/nodes/Binance/resources/pay/index.js.map +1 -0
- package/dist/nodes/Binance/resources/portfolio-margin/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/portfolio-margin/index.js +1561 -0
- package/dist/nodes/Binance/resources/portfolio-margin/index.js.map +1 -0
- package/dist/nodes/Binance/resources/rebate/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/rebate/index.js +205 -0
- package/dist/nodes/Binance/resources/rebate/index.js.map +1 -0
- package/dist/nodes/Binance/resources/savings/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/savings/index.js +882 -0
- package/dist/nodes/Binance/resources/savings/index.js.map +1 -0
- package/dist/nodes/Binance/resources/simple-earn/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/simple-earn/index.js +4686 -0
- package/dist/nodes/Binance/resources/simple-earn/index.js.map +1 -0
- package/dist/nodes/Binance/resources/spot-algo/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/spot-algo/index.js +982 -0
- package/dist/nodes/Binance/resources/spot-algo/index.js.map +1 -0
- package/dist/nodes/Binance/resources/staking/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/staking/index.js +2121 -0
- package/dist/nodes/Binance/resources/staking/index.js.map +1 -0
- package/dist/nodes/Binance/resources/stream/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/stream/index.js +165 -0
- package/dist/nodes/Binance/resources/stream/index.js.map +1 -0
- package/dist/nodes/Binance/resources/sub-account/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/sub-account/index.js +8448 -0
- package/dist/nodes/Binance/resources/sub-account/index.js.map +1 -0
- package/dist/nodes/Binance/resources/trade/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/trade/index.js +8198 -0
- package/dist/nodes/Binance/resources/trade/index.js.map +1 -0
- package/dist/nodes/Binance/resources/vip-loans/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/vip-loans/index.js +1883 -0
- package/dist/nodes/Binance/resources/vip-loans/index.js.map +1 -0
- package/dist/nodes/Binance/resources/wallet/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/wallet/index.js +5908 -0
- package/dist/nodes/Binance/resources/wallet/index.js.map +1 -0
- package/dist/package.json +62 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +62 -0
|
@@ -0,0 +1,3694 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.autoInvestDescription = void 0;
|
|
4
|
+
exports.autoInvestDescription = [
|
|
5
|
+
{
|
|
6
|
+
"displayName": "Operation",
|
|
7
|
+
"name": "operation",
|
|
8
|
+
"type": "options",
|
|
9
|
+
"noDataExpression": true,
|
|
10
|
+
"displayOptions": {
|
|
11
|
+
"show": {
|
|
12
|
+
"resource": [
|
|
13
|
+
"Auto Invest"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"options": [
|
|
18
|
+
{
|
|
19
|
+
"name": "GET Sapi V 1 Lending Auto Invest Target Asset List",
|
|
20
|
+
"value": "GET Sapi V 1 Lending Auto Invest Target Asset List",
|
|
21
|
+
"action": "Get target asset list (USER_DATA)",
|
|
22
|
+
"description": "Weight(IP): 1",
|
|
23
|
+
"routing": {
|
|
24
|
+
"request": {
|
|
25
|
+
"method": "GET",
|
|
26
|
+
"url": "=/sapi/v1/lending/auto-invest/target-asset/list"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "GET Sapi V 1 Lending Auto Invest Target Asset Roi List",
|
|
32
|
+
"value": "GET Sapi V 1 Lending Auto Invest Target Asset Roi List",
|
|
33
|
+
"action": "Get target asset ROI data (USER_DATA)",
|
|
34
|
+
"description": "ROI return list for target asset\n\nWeight(IP): 1",
|
|
35
|
+
"routing": {
|
|
36
|
+
"request": {
|
|
37
|
+
"method": "GET",
|
|
38
|
+
"url": "=/sapi/v1/lending/auto-invest/target-asset/roi/list"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "GET Sapi V 1 Lending Auto Invest All Asset",
|
|
44
|
+
"value": "GET Sapi V 1 Lending Auto Invest All Asset",
|
|
45
|
+
"action": "Query all source asset and target asset (USER_DATA)",
|
|
46
|
+
"description": "Query all source assets and target assets\n\nWeight(IP): 1",
|
|
47
|
+
"routing": {
|
|
48
|
+
"request": {
|
|
49
|
+
"method": "GET",
|
|
50
|
+
"url": "=/sapi/v1/lending/auto-invest/all/asset"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "GET Sapi V 1 Lending Auto Invest Source Asset List",
|
|
56
|
+
"value": "GET Sapi V 1 Lending Auto Invest Source Asset List",
|
|
57
|
+
"action": "Query source asset list (USER_DATA)",
|
|
58
|
+
"description": "Query Source Asset to be used for investment\n\nWeight(IP): 1",
|
|
59
|
+
"routing": {
|
|
60
|
+
"request": {
|
|
61
|
+
"method": "GET",
|
|
62
|
+
"url": "=/sapi/v1/lending/auto-invest/source-asset/list"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "POST Sapi V 1 Lending Auto Invest Plan Add",
|
|
68
|
+
"value": "POST Sapi V 1 Lending Auto Invest Plan Add",
|
|
69
|
+
"action": "Investment plan creation (USER_DATA)",
|
|
70
|
+
"description": "Post an investment plan creation\n\nWeight(IP): 1",
|
|
71
|
+
"routing": {
|
|
72
|
+
"request": {
|
|
73
|
+
"method": "POST",
|
|
74
|
+
"url": "=/sapi/v1/lending/auto-invest/plan/add"
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "POST Sapi V 1 Lending Auto Invest Plan Edit",
|
|
80
|
+
"value": "POST Sapi V 1 Lending Auto Invest Plan Edit",
|
|
81
|
+
"action": "Investment plan adjustment",
|
|
82
|
+
"description": "Query Source Asset to be used for investment\n\nWeight(IP): 1",
|
|
83
|
+
"routing": {
|
|
84
|
+
"request": {
|
|
85
|
+
"method": "POST",
|
|
86
|
+
"url": "=/sapi/v1/lending/auto-invest/plan/edit"
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"name": "POST Sapi V 1 Lending Auto Invest Plan Edit Status",
|
|
92
|
+
"value": "POST Sapi V 1 Lending Auto Invest Plan Edit Status",
|
|
93
|
+
"action": "Change Plan Status",
|
|
94
|
+
"description": "Change Plan Status\n\nWeight(IP): 1",
|
|
95
|
+
"routing": {
|
|
96
|
+
"request": {
|
|
97
|
+
"method": "POST",
|
|
98
|
+
"url": "=/sapi/v1/lending/auto-invest/plan/edit-status"
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"name": "GET Sapi V 1 Lending Auto Invest Plan List",
|
|
104
|
+
"value": "GET Sapi V 1 Lending Auto Invest Plan List",
|
|
105
|
+
"action": "Get list of plans",
|
|
106
|
+
"description": "Query plan lists\n\nWeight(IP): 1",
|
|
107
|
+
"routing": {
|
|
108
|
+
"request": {
|
|
109
|
+
"method": "GET",
|
|
110
|
+
"url": "=/sapi/v1/lending/auto-invest/plan/list"
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"name": "GET Sapi V 1 Lending Auto Invest Plan Id",
|
|
116
|
+
"value": "GET Sapi V 1 Lending Auto Invest Plan Id",
|
|
117
|
+
"action": "Query holding details of the plan",
|
|
118
|
+
"description": "Query holding details of the plan\n\nWeight(IP): 1",
|
|
119
|
+
"routing": {
|
|
120
|
+
"request": {
|
|
121
|
+
"method": "GET",
|
|
122
|
+
"url": "=/sapi/v1/lending/auto-invest/plan/id"
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"name": "GET Sapi V 1 Lending Auto Invest History List",
|
|
128
|
+
"value": "GET Sapi V 1 Lending Auto Invest History List",
|
|
129
|
+
"action": "Query subscription transaction history",
|
|
130
|
+
"description": "Query subscription transaction history of a plan\n\nWeight(IP): 1",
|
|
131
|
+
"routing": {
|
|
132
|
+
"request": {
|
|
133
|
+
"method": "GET",
|
|
134
|
+
"url": "=/sapi/v1/lending/auto-invest/history/list"
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"name": "GET Sapi V 1 Lending Auto Invest Index Info",
|
|
140
|
+
"value": "GET Sapi V 1 Lending Auto Invest Index Info",
|
|
141
|
+
"action": "Query Index Details(USER_DATA)",
|
|
142
|
+
"description": "Query index details\n\nWeight(IP): 1",
|
|
143
|
+
"routing": {
|
|
144
|
+
"request": {
|
|
145
|
+
"method": "GET",
|
|
146
|
+
"url": "=/sapi/v1/lending/auto-invest/index/info"
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"name": "GET Sapi V 1 Lending Auto Invest Index User Summary",
|
|
152
|
+
"value": "GET Sapi V 1 Lending Auto Invest Index User Summary",
|
|
153
|
+
"action": "Query Index Linked Plan Position Details(USER_DATA)",
|
|
154
|
+
"description": "Details on users Index-Linked plan position details\n\nWeight(IP): 1",
|
|
155
|
+
"routing": {
|
|
156
|
+
"request": {
|
|
157
|
+
"method": "GET",
|
|
158
|
+
"url": "=/sapi/v1/lending/auto-invest/index/user-summary"
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"name": "POST Sapi V 1 Lending Auto Invest One Off",
|
|
164
|
+
"value": "POST Sapi V 1 Lending Auto Invest One Off",
|
|
165
|
+
"action": "One Time Transaction(TRADE)",
|
|
166
|
+
"description": "One time transaction\n\nWeight(IP): 1",
|
|
167
|
+
"routing": {
|
|
168
|
+
"request": {
|
|
169
|
+
"method": "POST",
|
|
170
|
+
"url": "=/sapi/v1/lending/auto-invest/one-off"
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"name": "GET Sapi V 1 Lending Auto Invest One Off Status",
|
|
176
|
+
"value": "GET Sapi V 1 Lending Auto Invest One Off Status",
|
|
177
|
+
"action": "Query One-Time Transaction Status (USER_DATA)",
|
|
178
|
+
"description": "Transaction status for one-time transaction\n\nWeight(IP): 1",
|
|
179
|
+
"routing": {
|
|
180
|
+
"request": {
|
|
181
|
+
"method": "GET",
|
|
182
|
+
"url": "=/sapi/v1/lending/auto-invest/one-off/status"
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"name": "POST Sapi V 1 Lending Auto Invest Redeem",
|
|
188
|
+
"value": "POST Sapi V 1 Lending Auto Invest Redeem",
|
|
189
|
+
"action": "Index Linked Plan Redemption (TRADE)",
|
|
190
|
+
"description": "To redeem index-Linked plan holdings\n\nWeight(IP): 1",
|
|
191
|
+
"routing": {
|
|
192
|
+
"request": {
|
|
193
|
+
"method": "POST",
|
|
194
|
+
"url": "=/sapi/v1/lending/auto-invest/redeem"
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"name": "GET Sapi V 1 Lending Auto Invest Redeem History",
|
|
200
|
+
"value": "GET Sapi V 1 Lending Auto Invest Redeem History",
|
|
201
|
+
"action": "Index Linked Plan Redemption History (USER_DATA)",
|
|
202
|
+
"description": "Get the history of Index Linked Plan Redemption transactions\n\nMax 30 day difference between startTime and endTime\nIf no startTime and endTime, default to show past 30 day records\n\nWeight(IP): 1",
|
|
203
|
+
"routing": {
|
|
204
|
+
"request": {
|
|
205
|
+
"method": "GET",
|
|
206
|
+
"url": "=/sapi/v1/lending/auto-invest/redeem/history"
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"name": "GET Sapi V 1 Lending Auto Invest Rebalance History",
|
|
212
|
+
"value": "GET Sapi V 1 Lending Auto Invest Rebalance History",
|
|
213
|
+
"action": "Index Linked Plan Rebalance Details (USER_DATA)",
|
|
214
|
+
"description": "Get the history of Index Linked Plan Redemption transactions\n\nMax 30 day difference between startTime and endTime\nIf no startTime and endTime, default to show past 30 day records\n\nWeight(IP): 1",
|
|
215
|
+
"routing": {
|
|
216
|
+
"request": {
|
|
217
|
+
"method": "GET",
|
|
218
|
+
"url": "=/sapi/v1/lending/auto-invest/rebalance/history"
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
],
|
|
223
|
+
"default": ""
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"displayName": "GET /sapi/v1/lending/auto-invest/target-asset/list",
|
|
227
|
+
"name": "operation",
|
|
228
|
+
"type": "notice",
|
|
229
|
+
"typeOptions": {
|
|
230
|
+
"theme": "info"
|
|
231
|
+
},
|
|
232
|
+
"default": "",
|
|
233
|
+
"displayOptions": {
|
|
234
|
+
"show": {
|
|
235
|
+
"resource": [
|
|
236
|
+
"Auto Invest"
|
|
237
|
+
],
|
|
238
|
+
"operation": [
|
|
239
|
+
"GET Sapi V 1 Lending Auto Invest Target Asset List"
|
|
240
|
+
]
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"displayName": "Target Asset",
|
|
246
|
+
"name": "targetAsset",
|
|
247
|
+
"default": "",
|
|
248
|
+
"type": "string",
|
|
249
|
+
"routing": {
|
|
250
|
+
"send": {
|
|
251
|
+
"type": "query",
|
|
252
|
+
"property": "targetAsset",
|
|
253
|
+
"value": "={{ $value }}",
|
|
254
|
+
"propertyInDotNotation": false
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
"displayOptions": {
|
|
258
|
+
"show": {
|
|
259
|
+
"resource": [
|
|
260
|
+
"Auto Invest"
|
|
261
|
+
],
|
|
262
|
+
"operation": [
|
|
263
|
+
"GET Sapi V 1 Lending Auto Invest Target Asset List"
|
|
264
|
+
]
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"displayName": "Size",
|
|
270
|
+
"name": "size",
|
|
271
|
+
"description": "Default:10 Max:100",
|
|
272
|
+
"default": 100,
|
|
273
|
+
"type": "number",
|
|
274
|
+
"routing": {
|
|
275
|
+
"send": {
|
|
276
|
+
"type": "query",
|
|
277
|
+
"property": "size",
|
|
278
|
+
"value": "={{ $value }}",
|
|
279
|
+
"propertyInDotNotation": false
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
"displayOptions": {
|
|
283
|
+
"show": {
|
|
284
|
+
"resource": [
|
|
285
|
+
"Auto Invest"
|
|
286
|
+
],
|
|
287
|
+
"operation": [
|
|
288
|
+
"GET Sapi V 1 Lending Auto Invest Target Asset List"
|
|
289
|
+
]
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"displayName": "Current",
|
|
295
|
+
"name": "current",
|
|
296
|
+
"description": "Current querying page. Start from 1. Default:1",
|
|
297
|
+
"default": 1,
|
|
298
|
+
"type": "number",
|
|
299
|
+
"routing": {
|
|
300
|
+
"send": {
|
|
301
|
+
"type": "query",
|
|
302
|
+
"property": "current",
|
|
303
|
+
"value": "={{ $value }}",
|
|
304
|
+
"propertyInDotNotation": false
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
"displayOptions": {
|
|
308
|
+
"show": {
|
|
309
|
+
"resource": [
|
|
310
|
+
"Auto Invest"
|
|
311
|
+
],
|
|
312
|
+
"operation": [
|
|
313
|
+
"GET Sapi V 1 Lending Auto Invest Target Asset List"
|
|
314
|
+
]
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"displayName": "Recv Window",
|
|
320
|
+
"name": "recvWindow",
|
|
321
|
+
"description": "The value cannot be greater than 60000",
|
|
322
|
+
"default": 5000,
|
|
323
|
+
"type": "number",
|
|
324
|
+
"routing": {
|
|
325
|
+
"send": {
|
|
326
|
+
"type": "query",
|
|
327
|
+
"property": "recvWindow",
|
|
328
|
+
"value": "={{ $value }}",
|
|
329
|
+
"propertyInDotNotation": false
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
"displayOptions": {
|
|
333
|
+
"show": {
|
|
334
|
+
"resource": [
|
|
335
|
+
"Auto Invest"
|
|
336
|
+
],
|
|
337
|
+
"operation": [
|
|
338
|
+
"GET Sapi V 1 Lending Auto Invest Target Asset List"
|
|
339
|
+
]
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"displayName": "Timestamp",
|
|
345
|
+
"name": "timestamp",
|
|
346
|
+
"required": true,
|
|
347
|
+
"description": "UTC timestamp in ms",
|
|
348
|
+
"default": 0,
|
|
349
|
+
"type": "number",
|
|
350
|
+
"routing": {
|
|
351
|
+
"send": {
|
|
352
|
+
"type": "query",
|
|
353
|
+
"property": "timestamp",
|
|
354
|
+
"value": "={{ $value }}",
|
|
355
|
+
"propertyInDotNotation": false
|
|
356
|
+
}
|
|
357
|
+
},
|
|
358
|
+
"displayOptions": {
|
|
359
|
+
"show": {
|
|
360
|
+
"resource": [
|
|
361
|
+
"Auto Invest"
|
|
362
|
+
],
|
|
363
|
+
"operation": [
|
|
364
|
+
"GET Sapi V 1 Lending Auto Invest Target Asset List"
|
|
365
|
+
]
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"displayName": "Signature",
|
|
371
|
+
"name": "signature",
|
|
372
|
+
"required": true,
|
|
373
|
+
"description": "Signature",
|
|
374
|
+
"default": "",
|
|
375
|
+
"type": "string",
|
|
376
|
+
"routing": {
|
|
377
|
+
"send": {
|
|
378
|
+
"type": "query",
|
|
379
|
+
"property": "signature",
|
|
380
|
+
"value": "={{ $value }}",
|
|
381
|
+
"propertyInDotNotation": false
|
|
382
|
+
}
|
|
383
|
+
},
|
|
384
|
+
"displayOptions": {
|
|
385
|
+
"show": {
|
|
386
|
+
"resource": [
|
|
387
|
+
"Auto Invest"
|
|
388
|
+
],
|
|
389
|
+
"operation": [
|
|
390
|
+
"GET Sapi V 1 Lending Auto Invest Target Asset List"
|
|
391
|
+
]
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"displayName": "GET /sapi/v1/lending/auto-invest/target-asset/roi/list",
|
|
397
|
+
"name": "operation",
|
|
398
|
+
"type": "notice",
|
|
399
|
+
"typeOptions": {
|
|
400
|
+
"theme": "info"
|
|
401
|
+
},
|
|
402
|
+
"default": "",
|
|
403
|
+
"displayOptions": {
|
|
404
|
+
"show": {
|
|
405
|
+
"resource": [
|
|
406
|
+
"Auto Invest"
|
|
407
|
+
],
|
|
408
|
+
"operation": [
|
|
409
|
+
"GET Sapi V 1 Lending Auto Invest Target Asset Roi List"
|
|
410
|
+
]
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"displayName": "Target Asset",
|
|
416
|
+
"name": "targetAsset",
|
|
417
|
+
"required": true,
|
|
418
|
+
"default": "BTC",
|
|
419
|
+
"type": "string",
|
|
420
|
+
"routing": {
|
|
421
|
+
"send": {
|
|
422
|
+
"type": "query",
|
|
423
|
+
"property": "targetAsset",
|
|
424
|
+
"value": "={{ $value }}",
|
|
425
|
+
"propertyInDotNotation": false
|
|
426
|
+
}
|
|
427
|
+
},
|
|
428
|
+
"displayOptions": {
|
|
429
|
+
"show": {
|
|
430
|
+
"resource": [
|
|
431
|
+
"Auto Invest"
|
|
432
|
+
],
|
|
433
|
+
"operation": [
|
|
434
|
+
"GET Sapi V 1 Lending Auto Invest Target Asset Roi List"
|
|
435
|
+
]
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"displayName": "His Roi Type",
|
|
441
|
+
"name": "hisRoiType",
|
|
442
|
+
"required": true,
|
|
443
|
+
"default": "FIVE_YEAR",
|
|
444
|
+
"type": "string",
|
|
445
|
+
"routing": {
|
|
446
|
+
"send": {
|
|
447
|
+
"type": "query",
|
|
448
|
+
"property": "hisRoiType",
|
|
449
|
+
"value": "={{ $value }}",
|
|
450
|
+
"propertyInDotNotation": false
|
|
451
|
+
}
|
|
452
|
+
},
|
|
453
|
+
"displayOptions": {
|
|
454
|
+
"show": {
|
|
455
|
+
"resource": [
|
|
456
|
+
"Auto Invest"
|
|
457
|
+
],
|
|
458
|
+
"operation": [
|
|
459
|
+
"GET Sapi V 1 Lending Auto Invest Target Asset Roi List"
|
|
460
|
+
]
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
"displayName": "Recv Window",
|
|
466
|
+
"name": "recvWindow",
|
|
467
|
+
"description": "The value cannot be greater than 60000",
|
|
468
|
+
"default": 5000,
|
|
469
|
+
"type": "number",
|
|
470
|
+
"routing": {
|
|
471
|
+
"send": {
|
|
472
|
+
"type": "query",
|
|
473
|
+
"property": "recvWindow",
|
|
474
|
+
"value": "={{ $value }}",
|
|
475
|
+
"propertyInDotNotation": false
|
|
476
|
+
}
|
|
477
|
+
},
|
|
478
|
+
"displayOptions": {
|
|
479
|
+
"show": {
|
|
480
|
+
"resource": [
|
|
481
|
+
"Auto Invest"
|
|
482
|
+
],
|
|
483
|
+
"operation": [
|
|
484
|
+
"GET Sapi V 1 Lending Auto Invest Target Asset Roi List"
|
|
485
|
+
]
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
"displayName": "Timestamp",
|
|
491
|
+
"name": "timestamp",
|
|
492
|
+
"required": true,
|
|
493
|
+
"description": "UTC timestamp in ms",
|
|
494
|
+
"default": 0,
|
|
495
|
+
"type": "number",
|
|
496
|
+
"routing": {
|
|
497
|
+
"send": {
|
|
498
|
+
"type": "query",
|
|
499
|
+
"property": "timestamp",
|
|
500
|
+
"value": "={{ $value }}",
|
|
501
|
+
"propertyInDotNotation": false
|
|
502
|
+
}
|
|
503
|
+
},
|
|
504
|
+
"displayOptions": {
|
|
505
|
+
"show": {
|
|
506
|
+
"resource": [
|
|
507
|
+
"Auto Invest"
|
|
508
|
+
],
|
|
509
|
+
"operation": [
|
|
510
|
+
"GET Sapi V 1 Lending Auto Invest Target Asset Roi List"
|
|
511
|
+
]
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
"displayName": "Signature",
|
|
517
|
+
"name": "signature",
|
|
518
|
+
"required": true,
|
|
519
|
+
"description": "Signature",
|
|
520
|
+
"default": "",
|
|
521
|
+
"type": "string",
|
|
522
|
+
"routing": {
|
|
523
|
+
"send": {
|
|
524
|
+
"type": "query",
|
|
525
|
+
"property": "signature",
|
|
526
|
+
"value": "={{ $value }}",
|
|
527
|
+
"propertyInDotNotation": false
|
|
528
|
+
}
|
|
529
|
+
},
|
|
530
|
+
"displayOptions": {
|
|
531
|
+
"show": {
|
|
532
|
+
"resource": [
|
|
533
|
+
"Auto Invest"
|
|
534
|
+
],
|
|
535
|
+
"operation": [
|
|
536
|
+
"GET Sapi V 1 Lending Auto Invest Target Asset Roi List"
|
|
537
|
+
]
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
"displayName": "GET /sapi/v1/lending/auto-invest/all/asset",
|
|
543
|
+
"name": "operation",
|
|
544
|
+
"type": "notice",
|
|
545
|
+
"typeOptions": {
|
|
546
|
+
"theme": "info"
|
|
547
|
+
},
|
|
548
|
+
"default": "",
|
|
549
|
+
"displayOptions": {
|
|
550
|
+
"show": {
|
|
551
|
+
"resource": [
|
|
552
|
+
"Auto Invest"
|
|
553
|
+
],
|
|
554
|
+
"operation": [
|
|
555
|
+
"GET Sapi V 1 Lending Auto Invest All Asset"
|
|
556
|
+
]
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
"displayName": "Recv Window",
|
|
562
|
+
"name": "recvWindow",
|
|
563
|
+
"description": "The value cannot be greater than 60000",
|
|
564
|
+
"default": 5000,
|
|
565
|
+
"type": "number",
|
|
566
|
+
"routing": {
|
|
567
|
+
"send": {
|
|
568
|
+
"type": "query",
|
|
569
|
+
"property": "recvWindow",
|
|
570
|
+
"value": "={{ $value }}",
|
|
571
|
+
"propertyInDotNotation": false
|
|
572
|
+
}
|
|
573
|
+
},
|
|
574
|
+
"displayOptions": {
|
|
575
|
+
"show": {
|
|
576
|
+
"resource": [
|
|
577
|
+
"Auto Invest"
|
|
578
|
+
],
|
|
579
|
+
"operation": [
|
|
580
|
+
"GET Sapi V 1 Lending Auto Invest All Asset"
|
|
581
|
+
]
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
"displayName": "Timestamp",
|
|
587
|
+
"name": "timestamp",
|
|
588
|
+
"required": true,
|
|
589
|
+
"description": "UTC timestamp in ms",
|
|
590
|
+
"default": 0,
|
|
591
|
+
"type": "number",
|
|
592
|
+
"routing": {
|
|
593
|
+
"send": {
|
|
594
|
+
"type": "query",
|
|
595
|
+
"property": "timestamp",
|
|
596
|
+
"value": "={{ $value }}",
|
|
597
|
+
"propertyInDotNotation": false
|
|
598
|
+
}
|
|
599
|
+
},
|
|
600
|
+
"displayOptions": {
|
|
601
|
+
"show": {
|
|
602
|
+
"resource": [
|
|
603
|
+
"Auto Invest"
|
|
604
|
+
],
|
|
605
|
+
"operation": [
|
|
606
|
+
"GET Sapi V 1 Lending Auto Invest All Asset"
|
|
607
|
+
]
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
"displayName": "Signature",
|
|
613
|
+
"name": "signature",
|
|
614
|
+
"required": true,
|
|
615
|
+
"description": "Signature",
|
|
616
|
+
"default": "",
|
|
617
|
+
"type": "string",
|
|
618
|
+
"routing": {
|
|
619
|
+
"send": {
|
|
620
|
+
"type": "query",
|
|
621
|
+
"property": "signature",
|
|
622
|
+
"value": "={{ $value }}",
|
|
623
|
+
"propertyInDotNotation": false
|
|
624
|
+
}
|
|
625
|
+
},
|
|
626
|
+
"displayOptions": {
|
|
627
|
+
"show": {
|
|
628
|
+
"resource": [
|
|
629
|
+
"Auto Invest"
|
|
630
|
+
],
|
|
631
|
+
"operation": [
|
|
632
|
+
"GET Sapi V 1 Lending Auto Invest All Asset"
|
|
633
|
+
]
|
|
634
|
+
}
|
|
635
|
+
}
|
|
636
|
+
},
|
|
637
|
+
{
|
|
638
|
+
"displayName": "GET /sapi/v1/lending/auto-invest/source-asset/list",
|
|
639
|
+
"name": "operation",
|
|
640
|
+
"type": "notice",
|
|
641
|
+
"typeOptions": {
|
|
642
|
+
"theme": "info"
|
|
643
|
+
},
|
|
644
|
+
"default": "",
|
|
645
|
+
"displayOptions": {
|
|
646
|
+
"show": {
|
|
647
|
+
"resource": [
|
|
648
|
+
"Auto Invest"
|
|
649
|
+
],
|
|
650
|
+
"operation": [
|
|
651
|
+
"GET Sapi V 1 Lending Auto Invest Source Asset List"
|
|
652
|
+
]
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
"displayName": "Target Asset",
|
|
658
|
+
"name": "targetAsset",
|
|
659
|
+
"default": "BTC",
|
|
660
|
+
"type": "string",
|
|
661
|
+
"routing": {
|
|
662
|
+
"send": {
|
|
663
|
+
"type": "query",
|
|
664
|
+
"property": "targetAsset",
|
|
665
|
+
"value": "={{ $value }}",
|
|
666
|
+
"propertyInDotNotation": false
|
|
667
|
+
}
|
|
668
|
+
},
|
|
669
|
+
"displayOptions": {
|
|
670
|
+
"show": {
|
|
671
|
+
"resource": [
|
|
672
|
+
"Auto Invest"
|
|
673
|
+
],
|
|
674
|
+
"operation": [
|
|
675
|
+
"GET Sapi V 1 Lending Auto Invest Source Asset List"
|
|
676
|
+
]
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
},
|
|
680
|
+
{
|
|
681
|
+
"displayName": "Index Id",
|
|
682
|
+
"name": "indexId",
|
|
683
|
+
"default": 1,
|
|
684
|
+
"type": "number",
|
|
685
|
+
"routing": {
|
|
686
|
+
"send": {
|
|
687
|
+
"type": "query",
|
|
688
|
+
"property": "indexId",
|
|
689
|
+
"value": "={{ $value }}",
|
|
690
|
+
"propertyInDotNotation": false
|
|
691
|
+
}
|
|
692
|
+
},
|
|
693
|
+
"displayOptions": {
|
|
694
|
+
"show": {
|
|
695
|
+
"resource": [
|
|
696
|
+
"Auto Invest"
|
|
697
|
+
],
|
|
698
|
+
"operation": [
|
|
699
|
+
"GET Sapi V 1 Lending Auto Invest Source Asset List"
|
|
700
|
+
]
|
|
701
|
+
}
|
|
702
|
+
}
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
"displayName": "Usage Type",
|
|
706
|
+
"name": "usageType",
|
|
707
|
+
"required": true,
|
|
708
|
+
"default": "RECURRING",
|
|
709
|
+
"type": "string",
|
|
710
|
+
"routing": {
|
|
711
|
+
"send": {
|
|
712
|
+
"type": "query",
|
|
713
|
+
"property": "usageType",
|
|
714
|
+
"value": "={{ $value }}",
|
|
715
|
+
"propertyInDotNotation": false
|
|
716
|
+
}
|
|
717
|
+
},
|
|
718
|
+
"displayOptions": {
|
|
719
|
+
"show": {
|
|
720
|
+
"resource": [
|
|
721
|
+
"Auto Invest"
|
|
722
|
+
],
|
|
723
|
+
"operation": [
|
|
724
|
+
"GET Sapi V 1 Lending Auto Invest Source Asset List"
|
|
725
|
+
]
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
},
|
|
729
|
+
{
|
|
730
|
+
"displayName": "Flexible Allowed To Use",
|
|
731
|
+
"name": "flexibleAllowedToUse",
|
|
732
|
+
"default": true,
|
|
733
|
+
"type": "boolean",
|
|
734
|
+
"routing": {
|
|
735
|
+
"send": {
|
|
736
|
+
"type": "query",
|
|
737
|
+
"property": "flexibleAllowedToUse",
|
|
738
|
+
"value": "={{ $value }}",
|
|
739
|
+
"propertyInDotNotation": false
|
|
740
|
+
}
|
|
741
|
+
},
|
|
742
|
+
"displayOptions": {
|
|
743
|
+
"show": {
|
|
744
|
+
"resource": [
|
|
745
|
+
"Auto Invest"
|
|
746
|
+
],
|
|
747
|
+
"operation": [
|
|
748
|
+
"GET Sapi V 1 Lending Auto Invest Source Asset List"
|
|
749
|
+
]
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
},
|
|
753
|
+
{
|
|
754
|
+
"displayName": "Recv Window",
|
|
755
|
+
"name": "recvWindow",
|
|
756
|
+
"description": "The value cannot be greater than 60000",
|
|
757
|
+
"default": 5000,
|
|
758
|
+
"type": "number",
|
|
759
|
+
"routing": {
|
|
760
|
+
"send": {
|
|
761
|
+
"type": "query",
|
|
762
|
+
"property": "recvWindow",
|
|
763
|
+
"value": "={{ $value }}",
|
|
764
|
+
"propertyInDotNotation": false
|
|
765
|
+
}
|
|
766
|
+
},
|
|
767
|
+
"displayOptions": {
|
|
768
|
+
"show": {
|
|
769
|
+
"resource": [
|
|
770
|
+
"Auto Invest"
|
|
771
|
+
],
|
|
772
|
+
"operation": [
|
|
773
|
+
"GET Sapi V 1 Lending Auto Invest Source Asset List"
|
|
774
|
+
]
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
},
|
|
778
|
+
{
|
|
779
|
+
"displayName": "Timestamp",
|
|
780
|
+
"name": "timestamp",
|
|
781
|
+
"required": true,
|
|
782
|
+
"description": "UTC timestamp in ms",
|
|
783
|
+
"default": 0,
|
|
784
|
+
"type": "number",
|
|
785
|
+
"routing": {
|
|
786
|
+
"send": {
|
|
787
|
+
"type": "query",
|
|
788
|
+
"property": "timestamp",
|
|
789
|
+
"value": "={{ $value }}",
|
|
790
|
+
"propertyInDotNotation": false
|
|
791
|
+
}
|
|
792
|
+
},
|
|
793
|
+
"displayOptions": {
|
|
794
|
+
"show": {
|
|
795
|
+
"resource": [
|
|
796
|
+
"Auto Invest"
|
|
797
|
+
],
|
|
798
|
+
"operation": [
|
|
799
|
+
"GET Sapi V 1 Lending Auto Invest Source Asset List"
|
|
800
|
+
]
|
|
801
|
+
}
|
|
802
|
+
}
|
|
803
|
+
},
|
|
804
|
+
{
|
|
805
|
+
"displayName": "Signature",
|
|
806
|
+
"name": "signature",
|
|
807
|
+
"required": true,
|
|
808
|
+
"description": "Signature",
|
|
809
|
+
"default": "",
|
|
810
|
+
"type": "string",
|
|
811
|
+
"routing": {
|
|
812
|
+
"send": {
|
|
813
|
+
"type": "query",
|
|
814
|
+
"property": "signature",
|
|
815
|
+
"value": "={{ $value }}",
|
|
816
|
+
"propertyInDotNotation": false
|
|
817
|
+
}
|
|
818
|
+
},
|
|
819
|
+
"displayOptions": {
|
|
820
|
+
"show": {
|
|
821
|
+
"resource": [
|
|
822
|
+
"Auto Invest"
|
|
823
|
+
],
|
|
824
|
+
"operation": [
|
|
825
|
+
"GET Sapi V 1 Lending Auto Invest Source Asset List"
|
|
826
|
+
]
|
|
827
|
+
}
|
|
828
|
+
}
|
|
829
|
+
},
|
|
830
|
+
{
|
|
831
|
+
"displayName": "POST /sapi/v1/lending/auto-invest/plan/add",
|
|
832
|
+
"name": "operation",
|
|
833
|
+
"type": "notice",
|
|
834
|
+
"typeOptions": {
|
|
835
|
+
"theme": "info"
|
|
836
|
+
},
|
|
837
|
+
"default": "",
|
|
838
|
+
"displayOptions": {
|
|
839
|
+
"show": {
|
|
840
|
+
"resource": [
|
|
841
|
+
"Auto Invest"
|
|
842
|
+
],
|
|
843
|
+
"operation": [
|
|
844
|
+
"POST Sapi V 1 Lending Auto Invest Plan Add"
|
|
845
|
+
]
|
|
846
|
+
}
|
|
847
|
+
}
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
"displayName": "Source Type",
|
|
851
|
+
"name": "sourceType",
|
|
852
|
+
"required": true,
|
|
853
|
+
"default": "MAIN_SITE",
|
|
854
|
+
"type": "options",
|
|
855
|
+
"options": [
|
|
856
|
+
{
|
|
857
|
+
"name": "MAIN SITE",
|
|
858
|
+
"value": "MAIN_SITE"
|
|
859
|
+
},
|
|
860
|
+
{
|
|
861
|
+
"name": "TR",
|
|
862
|
+
"value": "TR"
|
|
863
|
+
}
|
|
864
|
+
],
|
|
865
|
+
"routing": {
|
|
866
|
+
"send": {
|
|
867
|
+
"type": "query",
|
|
868
|
+
"property": "sourceType",
|
|
869
|
+
"value": "={{ $value }}",
|
|
870
|
+
"propertyInDotNotation": false
|
|
871
|
+
}
|
|
872
|
+
},
|
|
873
|
+
"displayOptions": {
|
|
874
|
+
"show": {
|
|
875
|
+
"resource": [
|
|
876
|
+
"Auto Invest"
|
|
877
|
+
],
|
|
878
|
+
"operation": [
|
|
879
|
+
"POST Sapi V 1 Lending Auto Invest Plan Add"
|
|
880
|
+
]
|
|
881
|
+
}
|
|
882
|
+
}
|
|
883
|
+
},
|
|
884
|
+
{
|
|
885
|
+
"displayName": "Request Id",
|
|
886
|
+
"name": "requestId",
|
|
887
|
+
"default": "",
|
|
888
|
+
"type": "string",
|
|
889
|
+
"routing": {
|
|
890
|
+
"send": {
|
|
891
|
+
"type": "query",
|
|
892
|
+
"property": "requestId",
|
|
893
|
+
"value": "={{ $value }}",
|
|
894
|
+
"propertyInDotNotation": false
|
|
895
|
+
}
|
|
896
|
+
},
|
|
897
|
+
"displayOptions": {
|
|
898
|
+
"show": {
|
|
899
|
+
"resource": [
|
|
900
|
+
"Auto Invest"
|
|
901
|
+
],
|
|
902
|
+
"operation": [
|
|
903
|
+
"POST Sapi V 1 Lending Auto Invest Plan Add"
|
|
904
|
+
]
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
},
|
|
908
|
+
{
|
|
909
|
+
"displayName": "Plan Type",
|
|
910
|
+
"name": "planType",
|
|
911
|
+
"required": true,
|
|
912
|
+
"default": "SINGLE",
|
|
913
|
+
"type": "options",
|
|
914
|
+
"options": [
|
|
915
|
+
{
|
|
916
|
+
"name": "SINGLE",
|
|
917
|
+
"value": "SINGLE"
|
|
918
|
+
},
|
|
919
|
+
{
|
|
920
|
+
"name": "PORTFOLIO",
|
|
921
|
+
"value": "PORTFOLIO"
|
|
922
|
+
},
|
|
923
|
+
{
|
|
924
|
+
"name": "INDEX",
|
|
925
|
+
"value": "INDEX"
|
|
926
|
+
}
|
|
927
|
+
],
|
|
928
|
+
"routing": {
|
|
929
|
+
"send": {
|
|
930
|
+
"type": "query",
|
|
931
|
+
"property": "planType",
|
|
932
|
+
"value": "={{ $value }}",
|
|
933
|
+
"propertyInDotNotation": false
|
|
934
|
+
}
|
|
935
|
+
},
|
|
936
|
+
"displayOptions": {
|
|
937
|
+
"show": {
|
|
938
|
+
"resource": [
|
|
939
|
+
"Auto Invest"
|
|
940
|
+
],
|
|
941
|
+
"operation": [
|
|
942
|
+
"POST Sapi V 1 Lending Auto Invest Plan Add"
|
|
943
|
+
]
|
|
944
|
+
}
|
|
945
|
+
}
|
|
946
|
+
},
|
|
947
|
+
{
|
|
948
|
+
"displayName": "Index Id",
|
|
949
|
+
"name": "IndexId",
|
|
950
|
+
"default": 0,
|
|
951
|
+
"type": "number",
|
|
952
|
+
"routing": {
|
|
953
|
+
"send": {
|
|
954
|
+
"type": "query",
|
|
955
|
+
"property": "IndexId",
|
|
956
|
+
"value": "={{ $value }}",
|
|
957
|
+
"propertyInDotNotation": false
|
|
958
|
+
}
|
|
959
|
+
},
|
|
960
|
+
"displayOptions": {
|
|
961
|
+
"show": {
|
|
962
|
+
"resource": [
|
|
963
|
+
"Auto Invest"
|
|
964
|
+
],
|
|
965
|
+
"operation": [
|
|
966
|
+
"POST Sapi V 1 Lending Auto Invest Plan Add"
|
|
967
|
+
]
|
|
968
|
+
}
|
|
969
|
+
}
|
|
970
|
+
},
|
|
971
|
+
{
|
|
972
|
+
"displayName": "Subscription Amount",
|
|
973
|
+
"name": "subscriptionAmount",
|
|
974
|
+
"required": true,
|
|
975
|
+
"default": 0,
|
|
976
|
+
"type": "number",
|
|
977
|
+
"routing": {
|
|
978
|
+
"send": {
|
|
979
|
+
"type": "query",
|
|
980
|
+
"property": "subscriptionAmount",
|
|
981
|
+
"value": "={{ $value }}",
|
|
982
|
+
"propertyInDotNotation": false
|
|
983
|
+
}
|
|
984
|
+
},
|
|
985
|
+
"displayOptions": {
|
|
986
|
+
"show": {
|
|
987
|
+
"resource": [
|
|
988
|
+
"Auto Invest"
|
|
989
|
+
],
|
|
990
|
+
"operation": [
|
|
991
|
+
"POST Sapi V 1 Lending Auto Invest Plan Add"
|
|
992
|
+
]
|
|
993
|
+
}
|
|
994
|
+
}
|
|
995
|
+
},
|
|
996
|
+
{
|
|
997
|
+
"displayName": "Subscription Cycle",
|
|
998
|
+
"name": "subscriptionCycle",
|
|
999
|
+
"required": true,
|
|
1000
|
+
"default": "H1",
|
|
1001
|
+
"type": "options",
|
|
1002
|
+
"options": [
|
|
1003
|
+
{
|
|
1004
|
+
"name": "H 1",
|
|
1005
|
+
"value": "H1"
|
|
1006
|
+
},
|
|
1007
|
+
{
|
|
1008
|
+
"name": "H 4",
|
|
1009
|
+
"value": "H4"
|
|
1010
|
+
},
|
|
1011
|
+
{
|
|
1012
|
+
"name": "H 8",
|
|
1013
|
+
"value": "H8"
|
|
1014
|
+
},
|
|
1015
|
+
{
|
|
1016
|
+
"name": "H 12",
|
|
1017
|
+
"value": "H12"
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
"name": "WEEKLY",
|
|
1021
|
+
"value": "WEEKLY"
|
|
1022
|
+
},
|
|
1023
|
+
{
|
|
1024
|
+
"name": "DAILY",
|
|
1025
|
+
"value": "DAILY"
|
|
1026
|
+
},
|
|
1027
|
+
{
|
|
1028
|
+
"name": "MONTHLY",
|
|
1029
|
+
"value": "MONTHLY"
|
|
1030
|
+
},
|
|
1031
|
+
{
|
|
1032
|
+
"name": "BI WEEKLY",
|
|
1033
|
+
"value": "BI_WEEKLY"
|
|
1034
|
+
}
|
|
1035
|
+
],
|
|
1036
|
+
"routing": {
|
|
1037
|
+
"send": {
|
|
1038
|
+
"type": "query",
|
|
1039
|
+
"property": "subscriptionCycle",
|
|
1040
|
+
"value": "={{ $value }}",
|
|
1041
|
+
"propertyInDotNotation": false
|
|
1042
|
+
}
|
|
1043
|
+
},
|
|
1044
|
+
"displayOptions": {
|
|
1045
|
+
"show": {
|
|
1046
|
+
"resource": [
|
|
1047
|
+
"Auto Invest"
|
|
1048
|
+
],
|
|
1049
|
+
"operation": [
|
|
1050
|
+
"POST Sapi V 1 Lending Auto Invest Plan Add"
|
|
1051
|
+
]
|
|
1052
|
+
}
|
|
1053
|
+
}
|
|
1054
|
+
},
|
|
1055
|
+
{
|
|
1056
|
+
"displayName": "Subscription Start Day",
|
|
1057
|
+
"name": "subscriptionStartDay",
|
|
1058
|
+
"default": 0,
|
|
1059
|
+
"type": "number",
|
|
1060
|
+
"routing": {
|
|
1061
|
+
"send": {
|
|
1062
|
+
"type": "query",
|
|
1063
|
+
"property": "subscriptionStartDay",
|
|
1064
|
+
"value": "={{ $value }}",
|
|
1065
|
+
"propertyInDotNotation": false
|
|
1066
|
+
}
|
|
1067
|
+
},
|
|
1068
|
+
"displayOptions": {
|
|
1069
|
+
"show": {
|
|
1070
|
+
"resource": [
|
|
1071
|
+
"Auto Invest"
|
|
1072
|
+
],
|
|
1073
|
+
"operation": [
|
|
1074
|
+
"POST Sapi V 1 Lending Auto Invest Plan Add"
|
|
1075
|
+
]
|
|
1076
|
+
}
|
|
1077
|
+
}
|
|
1078
|
+
},
|
|
1079
|
+
{
|
|
1080
|
+
"displayName": "Subscription Start Weekday",
|
|
1081
|
+
"name": "subscriptionStartWeekday",
|
|
1082
|
+
"default": "MON",
|
|
1083
|
+
"type": "options",
|
|
1084
|
+
"options": [
|
|
1085
|
+
{
|
|
1086
|
+
"name": "MON",
|
|
1087
|
+
"value": "MON"
|
|
1088
|
+
},
|
|
1089
|
+
{
|
|
1090
|
+
"name": "TUE",
|
|
1091
|
+
"value": "TUE"
|
|
1092
|
+
},
|
|
1093
|
+
{
|
|
1094
|
+
"name": "WED",
|
|
1095
|
+
"value": "WED"
|
|
1096
|
+
},
|
|
1097
|
+
{
|
|
1098
|
+
"name": "THU",
|
|
1099
|
+
"value": "THU"
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
"name": "FRI",
|
|
1103
|
+
"value": "FRI"
|
|
1104
|
+
},
|
|
1105
|
+
{
|
|
1106
|
+
"name": "SAT",
|
|
1107
|
+
"value": "SAT"
|
|
1108
|
+
},
|
|
1109
|
+
{
|
|
1110
|
+
"name": "SUN",
|
|
1111
|
+
"value": "SUN"
|
|
1112
|
+
}
|
|
1113
|
+
],
|
|
1114
|
+
"routing": {
|
|
1115
|
+
"send": {
|
|
1116
|
+
"type": "query",
|
|
1117
|
+
"property": "subscriptionStartWeekday",
|
|
1118
|
+
"value": "={{ $value }}",
|
|
1119
|
+
"propertyInDotNotation": false
|
|
1120
|
+
}
|
|
1121
|
+
},
|
|
1122
|
+
"displayOptions": {
|
|
1123
|
+
"show": {
|
|
1124
|
+
"resource": [
|
|
1125
|
+
"Auto Invest"
|
|
1126
|
+
],
|
|
1127
|
+
"operation": [
|
|
1128
|
+
"POST Sapi V 1 Lending Auto Invest Plan Add"
|
|
1129
|
+
]
|
|
1130
|
+
}
|
|
1131
|
+
}
|
|
1132
|
+
},
|
|
1133
|
+
{
|
|
1134
|
+
"displayName": "Subscription Start Time",
|
|
1135
|
+
"name": "subscriptionStartTime",
|
|
1136
|
+
"required": true,
|
|
1137
|
+
"default": 0,
|
|
1138
|
+
"type": "number",
|
|
1139
|
+
"routing": {
|
|
1140
|
+
"send": {
|
|
1141
|
+
"type": "query",
|
|
1142
|
+
"property": "subscriptionStartTime",
|
|
1143
|
+
"value": "={{ $value }}",
|
|
1144
|
+
"propertyInDotNotation": false
|
|
1145
|
+
}
|
|
1146
|
+
},
|
|
1147
|
+
"displayOptions": {
|
|
1148
|
+
"show": {
|
|
1149
|
+
"resource": [
|
|
1150
|
+
"Auto Invest"
|
|
1151
|
+
],
|
|
1152
|
+
"operation": [
|
|
1153
|
+
"POST Sapi V 1 Lending Auto Invest Plan Add"
|
|
1154
|
+
]
|
|
1155
|
+
}
|
|
1156
|
+
}
|
|
1157
|
+
},
|
|
1158
|
+
{
|
|
1159
|
+
"displayName": "Source Asset",
|
|
1160
|
+
"name": "sourceAsset",
|
|
1161
|
+
"required": true,
|
|
1162
|
+
"default": "USDT",
|
|
1163
|
+
"type": "string",
|
|
1164
|
+
"routing": {
|
|
1165
|
+
"send": {
|
|
1166
|
+
"type": "query",
|
|
1167
|
+
"property": "sourceAsset",
|
|
1168
|
+
"value": "={{ $value }}",
|
|
1169
|
+
"propertyInDotNotation": false
|
|
1170
|
+
}
|
|
1171
|
+
},
|
|
1172
|
+
"displayOptions": {
|
|
1173
|
+
"show": {
|
|
1174
|
+
"resource": [
|
|
1175
|
+
"Auto Invest"
|
|
1176
|
+
],
|
|
1177
|
+
"operation": [
|
|
1178
|
+
"POST Sapi V 1 Lending Auto Invest Plan Add"
|
|
1179
|
+
]
|
|
1180
|
+
}
|
|
1181
|
+
}
|
|
1182
|
+
},
|
|
1183
|
+
{
|
|
1184
|
+
"displayName": "Flexible Allowed To Use",
|
|
1185
|
+
"name": "flexibleAllowedToUse",
|
|
1186
|
+
"default": true,
|
|
1187
|
+
"type": "boolean",
|
|
1188
|
+
"routing": {
|
|
1189
|
+
"send": {
|
|
1190
|
+
"type": "query",
|
|
1191
|
+
"property": "flexibleAllowedToUse",
|
|
1192
|
+
"value": "={{ $value }}",
|
|
1193
|
+
"propertyInDotNotation": false
|
|
1194
|
+
}
|
|
1195
|
+
},
|
|
1196
|
+
"displayOptions": {
|
|
1197
|
+
"show": {
|
|
1198
|
+
"resource": [
|
|
1199
|
+
"Auto Invest"
|
|
1200
|
+
],
|
|
1201
|
+
"operation": [
|
|
1202
|
+
"POST Sapi V 1 Lending Auto Invest Plan Add"
|
|
1203
|
+
]
|
|
1204
|
+
}
|
|
1205
|
+
}
|
|
1206
|
+
},
|
|
1207
|
+
{
|
|
1208
|
+
"displayName": "Details",
|
|
1209
|
+
"name": "details",
|
|
1210
|
+
"required": true,
|
|
1211
|
+
"default": "[\n {\n \"targetAsset\": \"BTC\"\n }\n]",
|
|
1212
|
+
"type": "json",
|
|
1213
|
+
"routing": {
|
|
1214
|
+
"send": {
|
|
1215
|
+
"type": "query",
|
|
1216
|
+
"property": "details",
|
|
1217
|
+
"value": "={{ $value }}",
|
|
1218
|
+
"propertyInDotNotation": false
|
|
1219
|
+
}
|
|
1220
|
+
},
|
|
1221
|
+
"displayOptions": {
|
|
1222
|
+
"show": {
|
|
1223
|
+
"resource": [
|
|
1224
|
+
"Auto Invest"
|
|
1225
|
+
],
|
|
1226
|
+
"operation": [
|
|
1227
|
+
"POST Sapi V 1 Lending Auto Invest Plan Add"
|
|
1228
|
+
]
|
|
1229
|
+
}
|
|
1230
|
+
}
|
|
1231
|
+
},
|
|
1232
|
+
{
|
|
1233
|
+
"displayName": "Recv Window",
|
|
1234
|
+
"name": "recvWindow",
|
|
1235
|
+
"description": "The value cannot be greater than 60000",
|
|
1236
|
+
"default": 5000,
|
|
1237
|
+
"type": "number",
|
|
1238
|
+
"routing": {
|
|
1239
|
+
"send": {
|
|
1240
|
+
"type": "query",
|
|
1241
|
+
"property": "recvWindow",
|
|
1242
|
+
"value": "={{ $value }}",
|
|
1243
|
+
"propertyInDotNotation": false
|
|
1244
|
+
}
|
|
1245
|
+
},
|
|
1246
|
+
"displayOptions": {
|
|
1247
|
+
"show": {
|
|
1248
|
+
"resource": [
|
|
1249
|
+
"Auto Invest"
|
|
1250
|
+
],
|
|
1251
|
+
"operation": [
|
|
1252
|
+
"POST Sapi V 1 Lending Auto Invest Plan Add"
|
|
1253
|
+
]
|
|
1254
|
+
}
|
|
1255
|
+
}
|
|
1256
|
+
},
|
|
1257
|
+
{
|
|
1258
|
+
"displayName": "Timestamp",
|
|
1259
|
+
"name": "timestamp",
|
|
1260
|
+
"required": true,
|
|
1261
|
+
"description": "UTC timestamp in ms",
|
|
1262
|
+
"default": 0,
|
|
1263
|
+
"type": "number",
|
|
1264
|
+
"routing": {
|
|
1265
|
+
"send": {
|
|
1266
|
+
"type": "query",
|
|
1267
|
+
"property": "timestamp",
|
|
1268
|
+
"value": "={{ $value }}",
|
|
1269
|
+
"propertyInDotNotation": false
|
|
1270
|
+
}
|
|
1271
|
+
},
|
|
1272
|
+
"displayOptions": {
|
|
1273
|
+
"show": {
|
|
1274
|
+
"resource": [
|
|
1275
|
+
"Auto Invest"
|
|
1276
|
+
],
|
|
1277
|
+
"operation": [
|
|
1278
|
+
"POST Sapi V 1 Lending Auto Invest Plan Add"
|
|
1279
|
+
]
|
|
1280
|
+
}
|
|
1281
|
+
}
|
|
1282
|
+
},
|
|
1283
|
+
{
|
|
1284
|
+
"displayName": "Signature",
|
|
1285
|
+
"name": "signature",
|
|
1286
|
+
"required": true,
|
|
1287
|
+
"description": "Signature",
|
|
1288
|
+
"default": "",
|
|
1289
|
+
"type": "string",
|
|
1290
|
+
"routing": {
|
|
1291
|
+
"send": {
|
|
1292
|
+
"type": "query",
|
|
1293
|
+
"property": "signature",
|
|
1294
|
+
"value": "={{ $value }}",
|
|
1295
|
+
"propertyInDotNotation": false
|
|
1296
|
+
}
|
|
1297
|
+
},
|
|
1298
|
+
"displayOptions": {
|
|
1299
|
+
"show": {
|
|
1300
|
+
"resource": [
|
|
1301
|
+
"Auto Invest"
|
|
1302
|
+
],
|
|
1303
|
+
"operation": [
|
|
1304
|
+
"POST Sapi V 1 Lending Auto Invest Plan Add"
|
|
1305
|
+
]
|
|
1306
|
+
}
|
|
1307
|
+
}
|
|
1308
|
+
},
|
|
1309
|
+
{
|
|
1310
|
+
"displayName": "POST /sapi/v1/lending/auto-invest/plan/edit",
|
|
1311
|
+
"name": "operation",
|
|
1312
|
+
"type": "notice",
|
|
1313
|
+
"typeOptions": {
|
|
1314
|
+
"theme": "info"
|
|
1315
|
+
},
|
|
1316
|
+
"default": "",
|
|
1317
|
+
"displayOptions": {
|
|
1318
|
+
"show": {
|
|
1319
|
+
"resource": [
|
|
1320
|
+
"Auto Invest"
|
|
1321
|
+
],
|
|
1322
|
+
"operation": [
|
|
1323
|
+
"POST Sapi V 1 Lending Auto Invest Plan Edit"
|
|
1324
|
+
]
|
|
1325
|
+
}
|
|
1326
|
+
}
|
|
1327
|
+
},
|
|
1328
|
+
{
|
|
1329
|
+
"displayName": "Plan Id",
|
|
1330
|
+
"name": "planId",
|
|
1331
|
+
"required": true,
|
|
1332
|
+
"default": 0,
|
|
1333
|
+
"type": "number",
|
|
1334
|
+
"routing": {
|
|
1335
|
+
"send": {
|
|
1336
|
+
"type": "query",
|
|
1337
|
+
"property": "planId",
|
|
1338
|
+
"value": "={{ $value }}",
|
|
1339
|
+
"propertyInDotNotation": false
|
|
1340
|
+
}
|
|
1341
|
+
},
|
|
1342
|
+
"displayOptions": {
|
|
1343
|
+
"show": {
|
|
1344
|
+
"resource": [
|
|
1345
|
+
"Auto Invest"
|
|
1346
|
+
],
|
|
1347
|
+
"operation": [
|
|
1348
|
+
"POST Sapi V 1 Lending Auto Invest Plan Edit"
|
|
1349
|
+
]
|
|
1350
|
+
}
|
|
1351
|
+
}
|
|
1352
|
+
},
|
|
1353
|
+
{
|
|
1354
|
+
"displayName": "Subscription Amount",
|
|
1355
|
+
"name": "subscriptionAmount",
|
|
1356
|
+
"required": true,
|
|
1357
|
+
"default": 0,
|
|
1358
|
+
"type": "number",
|
|
1359
|
+
"routing": {
|
|
1360
|
+
"send": {
|
|
1361
|
+
"type": "query",
|
|
1362
|
+
"property": "subscriptionAmount",
|
|
1363
|
+
"value": "={{ $value }}",
|
|
1364
|
+
"propertyInDotNotation": false
|
|
1365
|
+
}
|
|
1366
|
+
},
|
|
1367
|
+
"displayOptions": {
|
|
1368
|
+
"show": {
|
|
1369
|
+
"resource": [
|
|
1370
|
+
"Auto Invest"
|
|
1371
|
+
],
|
|
1372
|
+
"operation": [
|
|
1373
|
+
"POST Sapi V 1 Lending Auto Invest Plan Edit"
|
|
1374
|
+
]
|
|
1375
|
+
}
|
|
1376
|
+
}
|
|
1377
|
+
},
|
|
1378
|
+
{
|
|
1379
|
+
"displayName": "Subscription Cycle",
|
|
1380
|
+
"name": "subscriptionCycle",
|
|
1381
|
+
"required": true,
|
|
1382
|
+
"default": "H1",
|
|
1383
|
+
"type": "options",
|
|
1384
|
+
"options": [
|
|
1385
|
+
{
|
|
1386
|
+
"name": "H 1",
|
|
1387
|
+
"value": "H1"
|
|
1388
|
+
},
|
|
1389
|
+
{
|
|
1390
|
+
"name": "H 4",
|
|
1391
|
+
"value": "H4"
|
|
1392
|
+
},
|
|
1393
|
+
{
|
|
1394
|
+
"name": "H 8",
|
|
1395
|
+
"value": "H8"
|
|
1396
|
+
},
|
|
1397
|
+
{
|
|
1398
|
+
"name": "H 12",
|
|
1399
|
+
"value": "H12"
|
|
1400
|
+
},
|
|
1401
|
+
{
|
|
1402
|
+
"name": "WEEKLY",
|
|
1403
|
+
"value": "WEEKLY"
|
|
1404
|
+
},
|
|
1405
|
+
{
|
|
1406
|
+
"name": "DAILY",
|
|
1407
|
+
"value": "DAILY"
|
|
1408
|
+
},
|
|
1409
|
+
{
|
|
1410
|
+
"name": "MONTHLY",
|
|
1411
|
+
"value": "MONTHLY"
|
|
1412
|
+
},
|
|
1413
|
+
{
|
|
1414
|
+
"name": "BI WEEKLY",
|
|
1415
|
+
"value": "BI_WEEKLY"
|
|
1416
|
+
}
|
|
1417
|
+
],
|
|
1418
|
+
"routing": {
|
|
1419
|
+
"send": {
|
|
1420
|
+
"type": "query",
|
|
1421
|
+
"property": "subscriptionCycle",
|
|
1422
|
+
"value": "={{ $value }}",
|
|
1423
|
+
"propertyInDotNotation": false
|
|
1424
|
+
}
|
|
1425
|
+
},
|
|
1426
|
+
"displayOptions": {
|
|
1427
|
+
"show": {
|
|
1428
|
+
"resource": [
|
|
1429
|
+
"Auto Invest"
|
|
1430
|
+
],
|
|
1431
|
+
"operation": [
|
|
1432
|
+
"POST Sapi V 1 Lending Auto Invest Plan Edit"
|
|
1433
|
+
]
|
|
1434
|
+
}
|
|
1435
|
+
}
|
|
1436
|
+
},
|
|
1437
|
+
{
|
|
1438
|
+
"displayName": "Subscription Start Day",
|
|
1439
|
+
"name": "subscriptionStartDay",
|
|
1440
|
+
"default": 0,
|
|
1441
|
+
"type": "number",
|
|
1442
|
+
"routing": {
|
|
1443
|
+
"send": {
|
|
1444
|
+
"type": "query",
|
|
1445
|
+
"property": "subscriptionStartDay",
|
|
1446
|
+
"value": "={{ $value }}",
|
|
1447
|
+
"propertyInDotNotation": false
|
|
1448
|
+
}
|
|
1449
|
+
},
|
|
1450
|
+
"displayOptions": {
|
|
1451
|
+
"show": {
|
|
1452
|
+
"resource": [
|
|
1453
|
+
"Auto Invest"
|
|
1454
|
+
],
|
|
1455
|
+
"operation": [
|
|
1456
|
+
"POST Sapi V 1 Lending Auto Invest Plan Edit"
|
|
1457
|
+
]
|
|
1458
|
+
}
|
|
1459
|
+
}
|
|
1460
|
+
},
|
|
1461
|
+
{
|
|
1462
|
+
"displayName": "Subscription Start Weekday",
|
|
1463
|
+
"name": "subscriptionStartWeekday",
|
|
1464
|
+
"default": "MON",
|
|
1465
|
+
"type": "options",
|
|
1466
|
+
"options": [
|
|
1467
|
+
{
|
|
1468
|
+
"name": "MON",
|
|
1469
|
+
"value": "MON"
|
|
1470
|
+
},
|
|
1471
|
+
{
|
|
1472
|
+
"name": "TUE",
|
|
1473
|
+
"value": "TUE"
|
|
1474
|
+
},
|
|
1475
|
+
{
|
|
1476
|
+
"name": "WED",
|
|
1477
|
+
"value": "WED"
|
|
1478
|
+
},
|
|
1479
|
+
{
|
|
1480
|
+
"name": "THU",
|
|
1481
|
+
"value": "THU"
|
|
1482
|
+
},
|
|
1483
|
+
{
|
|
1484
|
+
"name": "FRI",
|
|
1485
|
+
"value": "FRI"
|
|
1486
|
+
},
|
|
1487
|
+
{
|
|
1488
|
+
"name": "SAT",
|
|
1489
|
+
"value": "SAT"
|
|
1490
|
+
},
|
|
1491
|
+
{
|
|
1492
|
+
"name": "SUN",
|
|
1493
|
+
"value": "SUN"
|
|
1494
|
+
}
|
|
1495
|
+
],
|
|
1496
|
+
"routing": {
|
|
1497
|
+
"send": {
|
|
1498
|
+
"type": "query",
|
|
1499
|
+
"property": "subscriptionStartWeekday",
|
|
1500
|
+
"value": "={{ $value }}",
|
|
1501
|
+
"propertyInDotNotation": false
|
|
1502
|
+
}
|
|
1503
|
+
},
|
|
1504
|
+
"displayOptions": {
|
|
1505
|
+
"show": {
|
|
1506
|
+
"resource": [
|
|
1507
|
+
"Auto Invest"
|
|
1508
|
+
],
|
|
1509
|
+
"operation": [
|
|
1510
|
+
"POST Sapi V 1 Lending Auto Invest Plan Edit"
|
|
1511
|
+
]
|
|
1512
|
+
}
|
|
1513
|
+
}
|
|
1514
|
+
},
|
|
1515
|
+
{
|
|
1516
|
+
"displayName": "Subscription Start Time",
|
|
1517
|
+
"name": "subscriptionStartTime",
|
|
1518
|
+
"required": true,
|
|
1519
|
+
"default": 0,
|
|
1520
|
+
"type": "number",
|
|
1521
|
+
"routing": {
|
|
1522
|
+
"send": {
|
|
1523
|
+
"type": "query",
|
|
1524
|
+
"property": "subscriptionStartTime",
|
|
1525
|
+
"value": "={{ $value }}",
|
|
1526
|
+
"propertyInDotNotation": false
|
|
1527
|
+
}
|
|
1528
|
+
},
|
|
1529
|
+
"displayOptions": {
|
|
1530
|
+
"show": {
|
|
1531
|
+
"resource": [
|
|
1532
|
+
"Auto Invest"
|
|
1533
|
+
],
|
|
1534
|
+
"operation": [
|
|
1535
|
+
"POST Sapi V 1 Lending Auto Invest Plan Edit"
|
|
1536
|
+
]
|
|
1537
|
+
}
|
|
1538
|
+
}
|
|
1539
|
+
},
|
|
1540
|
+
{
|
|
1541
|
+
"displayName": "Source Asset",
|
|
1542
|
+
"name": "sourceAsset",
|
|
1543
|
+
"required": true,
|
|
1544
|
+
"default": "USDT",
|
|
1545
|
+
"type": "string",
|
|
1546
|
+
"routing": {
|
|
1547
|
+
"send": {
|
|
1548
|
+
"type": "query",
|
|
1549
|
+
"property": "sourceAsset",
|
|
1550
|
+
"value": "={{ $value }}",
|
|
1551
|
+
"propertyInDotNotation": false
|
|
1552
|
+
}
|
|
1553
|
+
},
|
|
1554
|
+
"displayOptions": {
|
|
1555
|
+
"show": {
|
|
1556
|
+
"resource": [
|
|
1557
|
+
"Auto Invest"
|
|
1558
|
+
],
|
|
1559
|
+
"operation": [
|
|
1560
|
+
"POST Sapi V 1 Lending Auto Invest Plan Edit"
|
|
1561
|
+
]
|
|
1562
|
+
}
|
|
1563
|
+
}
|
|
1564
|
+
},
|
|
1565
|
+
{
|
|
1566
|
+
"displayName": "Flexible Allowed To Use",
|
|
1567
|
+
"name": "flexibleAllowedToUse",
|
|
1568
|
+
"default": true,
|
|
1569
|
+
"type": "boolean",
|
|
1570
|
+
"routing": {
|
|
1571
|
+
"send": {
|
|
1572
|
+
"type": "query",
|
|
1573
|
+
"property": "flexibleAllowedToUse",
|
|
1574
|
+
"value": "={{ $value }}",
|
|
1575
|
+
"propertyInDotNotation": false
|
|
1576
|
+
}
|
|
1577
|
+
},
|
|
1578
|
+
"displayOptions": {
|
|
1579
|
+
"show": {
|
|
1580
|
+
"resource": [
|
|
1581
|
+
"Auto Invest"
|
|
1582
|
+
],
|
|
1583
|
+
"operation": [
|
|
1584
|
+
"POST Sapi V 1 Lending Auto Invest Plan Edit"
|
|
1585
|
+
]
|
|
1586
|
+
}
|
|
1587
|
+
}
|
|
1588
|
+
},
|
|
1589
|
+
{
|
|
1590
|
+
"displayName": "Details",
|
|
1591
|
+
"name": "details",
|
|
1592
|
+
"default": "[\n {\n \"targetAsset\": \"BTC\"\n }\n]",
|
|
1593
|
+
"type": "json",
|
|
1594
|
+
"routing": {
|
|
1595
|
+
"send": {
|
|
1596
|
+
"type": "query",
|
|
1597
|
+
"property": "details",
|
|
1598
|
+
"value": "={{ $value }}",
|
|
1599
|
+
"propertyInDotNotation": false
|
|
1600
|
+
}
|
|
1601
|
+
},
|
|
1602
|
+
"displayOptions": {
|
|
1603
|
+
"show": {
|
|
1604
|
+
"resource": [
|
|
1605
|
+
"Auto Invest"
|
|
1606
|
+
],
|
|
1607
|
+
"operation": [
|
|
1608
|
+
"POST Sapi V 1 Lending Auto Invest Plan Edit"
|
|
1609
|
+
]
|
|
1610
|
+
}
|
|
1611
|
+
}
|
|
1612
|
+
},
|
|
1613
|
+
{
|
|
1614
|
+
"displayName": "Recv Window",
|
|
1615
|
+
"name": "recvWindow",
|
|
1616
|
+
"description": "The value cannot be greater than 60000",
|
|
1617
|
+
"default": 5000,
|
|
1618
|
+
"type": "number",
|
|
1619
|
+
"routing": {
|
|
1620
|
+
"send": {
|
|
1621
|
+
"type": "query",
|
|
1622
|
+
"property": "recvWindow",
|
|
1623
|
+
"value": "={{ $value }}",
|
|
1624
|
+
"propertyInDotNotation": false
|
|
1625
|
+
}
|
|
1626
|
+
},
|
|
1627
|
+
"displayOptions": {
|
|
1628
|
+
"show": {
|
|
1629
|
+
"resource": [
|
|
1630
|
+
"Auto Invest"
|
|
1631
|
+
],
|
|
1632
|
+
"operation": [
|
|
1633
|
+
"POST Sapi V 1 Lending Auto Invest Plan Edit"
|
|
1634
|
+
]
|
|
1635
|
+
}
|
|
1636
|
+
}
|
|
1637
|
+
},
|
|
1638
|
+
{
|
|
1639
|
+
"displayName": "Timestamp",
|
|
1640
|
+
"name": "timestamp",
|
|
1641
|
+
"required": true,
|
|
1642
|
+
"description": "UTC timestamp in ms",
|
|
1643
|
+
"default": 0,
|
|
1644
|
+
"type": "number",
|
|
1645
|
+
"routing": {
|
|
1646
|
+
"send": {
|
|
1647
|
+
"type": "query",
|
|
1648
|
+
"property": "timestamp",
|
|
1649
|
+
"value": "={{ $value }}",
|
|
1650
|
+
"propertyInDotNotation": false
|
|
1651
|
+
}
|
|
1652
|
+
},
|
|
1653
|
+
"displayOptions": {
|
|
1654
|
+
"show": {
|
|
1655
|
+
"resource": [
|
|
1656
|
+
"Auto Invest"
|
|
1657
|
+
],
|
|
1658
|
+
"operation": [
|
|
1659
|
+
"POST Sapi V 1 Lending Auto Invest Plan Edit"
|
|
1660
|
+
]
|
|
1661
|
+
}
|
|
1662
|
+
}
|
|
1663
|
+
},
|
|
1664
|
+
{
|
|
1665
|
+
"displayName": "Signature",
|
|
1666
|
+
"name": "signature",
|
|
1667
|
+
"required": true,
|
|
1668
|
+
"description": "Signature",
|
|
1669
|
+
"default": "",
|
|
1670
|
+
"type": "string",
|
|
1671
|
+
"routing": {
|
|
1672
|
+
"send": {
|
|
1673
|
+
"type": "query",
|
|
1674
|
+
"property": "signature",
|
|
1675
|
+
"value": "={{ $value }}",
|
|
1676
|
+
"propertyInDotNotation": false
|
|
1677
|
+
}
|
|
1678
|
+
},
|
|
1679
|
+
"displayOptions": {
|
|
1680
|
+
"show": {
|
|
1681
|
+
"resource": [
|
|
1682
|
+
"Auto Invest"
|
|
1683
|
+
],
|
|
1684
|
+
"operation": [
|
|
1685
|
+
"POST Sapi V 1 Lending Auto Invest Plan Edit"
|
|
1686
|
+
]
|
|
1687
|
+
}
|
|
1688
|
+
}
|
|
1689
|
+
},
|
|
1690
|
+
{
|
|
1691
|
+
"displayName": "POST /sapi/v1/lending/auto-invest/plan/edit-status",
|
|
1692
|
+
"name": "operation",
|
|
1693
|
+
"type": "notice",
|
|
1694
|
+
"typeOptions": {
|
|
1695
|
+
"theme": "info"
|
|
1696
|
+
},
|
|
1697
|
+
"default": "",
|
|
1698
|
+
"displayOptions": {
|
|
1699
|
+
"show": {
|
|
1700
|
+
"resource": [
|
|
1701
|
+
"Auto Invest"
|
|
1702
|
+
],
|
|
1703
|
+
"operation": [
|
|
1704
|
+
"POST Sapi V 1 Lending Auto Invest Plan Edit Status"
|
|
1705
|
+
]
|
|
1706
|
+
}
|
|
1707
|
+
}
|
|
1708
|
+
},
|
|
1709
|
+
{
|
|
1710
|
+
"displayName": "Plan Id",
|
|
1711
|
+
"name": "planId",
|
|
1712
|
+
"required": true,
|
|
1713
|
+
"default": 0,
|
|
1714
|
+
"type": "number",
|
|
1715
|
+
"routing": {
|
|
1716
|
+
"send": {
|
|
1717
|
+
"type": "query",
|
|
1718
|
+
"property": "planId",
|
|
1719
|
+
"value": "={{ $value }}",
|
|
1720
|
+
"propertyInDotNotation": false
|
|
1721
|
+
}
|
|
1722
|
+
},
|
|
1723
|
+
"displayOptions": {
|
|
1724
|
+
"show": {
|
|
1725
|
+
"resource": [
|
|
1726
|
+
"Auto Invest"
|
|
1727
|
+
],
|
|
1728
|
+
"operation": [
|
|
1729
|
+
"POST Sapi V 1 Lending Auto Invest Plan Edit Status"
|
|
1730
|
+
]
|
|
1731
|
+
}
|
|
1732
|
+
}
|
|
1733
|
+
},
|
|
1734
|
+
{
|
|
1735
|
+
"displayName": "Status",
|
|
1736
|
+
"name": "status",
|
|
1737
|
+
"required": true,
|
|
1738
|
+
"default": "ONGOING",
|
|
1739
|
+
"type": "options",
|
|
1740
|
+
"options": [
|
|
1741
|
+
{
|
|
1742
|
+
"name": "ONGOING",
|
|
1743
|
+
"value": "ONGOING"
|
|
1744
|
+
},
|
|
1745
|
+
{
|
|
1746
|
+
"name": "PAUSED",
|
|
1747
|
+
"value": "PAUSED"
|
|
1748
|
+
},
|
|
1749
|
+
{
|
|
1750
|
+
"name": "REMOVED",
|
|
1751
|
+
"value": "REMOVED"
|
|
1752
|
+
}
|
|
1753
|
+
],
|
|
1754
|
+
"routing": {
|
|
1755
|
+
"send": {
|
|
1756
|
+
"type": "query",
|
|
1757
|
+
"property": "status",
|
|
1758
|
+
"value": "={{ $value }}",
|
|
1759
|
+
"propertyInDotNotation": false
|
|
1760
|
+
}
|
|
1761
|
+
},
|
|
1762
|
+
"displayOptions": {
|
|
1763
|
+
"show": {
|
|
1764
|
+
"resource": [
|
|
1765
|
+
"Auto Invest"
|
|
1766
|
+
],
|
|
1767
|
+
"operation": [
|
|
1768
|
+
"POST Sapi V 1 Lending Auto Invest Plan Edit Status"
|
|
1769
|
+
]
|
|
1770
|
+
}
|
|
1771
|
+
}
|
|
1772
|
+
},
|
|
1773
|
+
{
|
|
1774
|
+
"displayName": "Recv Window",
|
|
1775
|
+
"name": "recvWindow",
|
|
1776
|
+
"description": "The value cannot be greater than 60000",
|
|
1777
|
+
"default": 5000,
|
|
1778
|
+
"type": "number",
|
|
1779
|
+
"routing": {
|
|
1780
|
+
"send": {
|
|
1781
|
+
"type": "query",
|
|
1782
|
+
"property": "recvWindow",
|
|
1783
|
+
"value": "={{ $value }}",
|
|
1784
|
+
"propertyInDotNotation": false
|
|
1785
|
+
}
|
|
1786
|
+
},
|
|
1787
|
+
"displayOptions": {
|
|
1788
|
+
"show": {
|
|
1789
|
+
"resource": [
|
|
1790
|
+
"Auto Invest"
|
|
1791
|
+
],
|
|
1792
|
+
"operation": [
|
|
1793
|
+
"POST Sapi V 1 Lending Auto Invest Plan Edit Status"
|
|
1794
|
+
]
|
|
1795
|
+
}
|
|
1796
|
+
}
|
|
1797
|
+
},
|
|
1798
|
+
{
|
|
1799
|
+
"displayName": "Timestamp",
|
|
1800
|
+
"name": "timestamp",
|
|
1801
|
+
"required": true,
|
|
1802
|
+
"description": "UTC timestamp in ms",
|
|
1803
|
+
"default": 0,
|
|
1804
|
+
"type": "number",
|
|
1805
|
+
"routing": {
|
|
1806
|
+
"send": {
|
|
1807
|
+
"type": "query",
|
|
1808
|
+
"property": "timestamp",
|
|
1809
|
+
"value": "={{ $value }}",
|
|
1810
|
+
"propertyInDotNotation": false
|
|
1811
|
+
}
|
|
1812
|
+
},
|
|
1813
|
+
"displayOptions": {
|
|
1814
|
+
"show": {
|
|
1815
|
+
"resource": [
|
|
1816
|
+
"Auto Invest"
|
|
1817
|
+
],
|
|
1818
|
+
"operation": [
|
|
1819
|
+
"POST Sapi V 1 Lending Auto Invest Plan Edit Status"
|
|
1820
|
+
]
|
|
1821
|
+
}
|
|
1822
|
+
}
|
|
1823
|
+
},
|
|
1824
|
+
{
|
|
1825
|
+
"displayName": "Signature",
|
|
1826
|
+
"name": "signature",
|
|
1827
|
+
"required": true,
|
|
1828
|
+
"description": "Signature",
|
|
1829
|
+
"default": "",
|
|
1830
|
+
"type": "string",
|
|
1831
|
+
"routing": {
|
|
1832
|
+
"send": {
|
|
1833
|
+
"type": "query",
|
|
1834
|
+
"property": "signature",
|
|
1835
|
+
"value": "={{ $value }}",
|
|
1836
|
+
"propertyInDotNotation": false
|
|
1837
|
+
}
|
|
1838
|
+
},
|
|
1839
|
+
"displayOptions": {
|
|
1840
|
+
"show": {
|
|
1841
|
+
"resource": [
|
|
1842
|
+
"Auto Invest"
|
|
1843
|
+
],
|
|
1844
|
+
"operation": [
|
|
1845
|
+
"POST Sapi V 1 Lending Auto Invest Plan Edit Status"
|
|
1846
|
+
]
|
|
1847
|
+
}
|
|
1848
|
+
}
|
|
1849
|
+
},
|
|
1850
|
+
{
|
|
1851
|
+
"displayName": "GET /sapi/v1/lending/auto-invest/plan/list",
|
|
1852
|
+
"name": "operation",
|
|
1853
|
+
"type": "notice",
|
|
1854
|
+
"typeOptions": {
|
|
1855
|
+
"theme": "info"
|
|
1856
|
+
},
|
|
1857
|
+
"default": "",
|
|
1858
|
+
"displayOptions": {
|
|
1859
|
+
"show": {
|
|
1860
|
+
"resource": [
|
|
1861
|
+
"Auto Invest"
|
|
1862
|
+
],
|
|
1863
|
+
"operation": [
|
|
1864
|
+
"GET Sapi V 1 Lending Auto Invest Plan List"
|
|
1865
|
+
]
|
|
1866
|
+
}
|
|
1867
|
+
}
|
|
1868
|
+
},
|
|
1869
|
+
{
|
|
1870
|
+
"displayName": "Plan Type",
|
|
1871
|
+
"name": "planType",
|
|
1872
|
+
"required": true,
|
|
1873
|
+
"default": "",
|
|
1874
|
+
"type": "string",
|
|
1875
|
+
"routing": {
|
|
1876
|
+
"send": {
|
|
1877
|
+
"type": "query",
|
|
1878
|
+
"property": "planType",
|
|
1879
|
+
"value": "={{ $value }}",
|
|
1880
|
+
"propertyInDotNotation": false
|
|
1881
|
+
}
|
|
1882
|
+
},
|
|
1883
|
+
"displayOptions": {
|
|
1884
|
+
"show": {
|
|
1885
|
+
"resource": [
|
|
1886
|
+
"Auto Invest"
|
|
1887
|
+
],
|
|
1888
|
+
"operation": [
|
|
1889
|
+
"GET Sapi V 1 Lending Auto Invest Plan List"
|
|
1890
|
+
]
|
|
1891
|
+
}
|
|
1892
|
+
}
|
|
1893
|
+
},
|
|
1894
|
+
{
|
|
1895
|
+
"displayName": "Recv Window",
|
|
1896
|
+
"name": "recvWindow",
|
|
1897
|
+
"description": "The value cannot be greater than 60000",
|
|
1898
|
+
"default": 5000,
|
|
1899
|
+
"type": "number",
|
|
1900
|
+
"routing": {
|
|
1901
|
+
"send": {
|
|
1902
|
+
"type": "query",
|
|
1903
|
+
"property": "recvWindow",
|
|
1904
|
+
"value": "={{ $value }}",
|
|
1905
|
+
"propertyInDotNotation": false
|
|
1906
|
+
}
|
|
1907
|
+
},
|
|
1908
|
+
"displayOptions": {
|
|
1909
|
+
"show": {
|
|
1910
|
+
"resource": [
|
|
1911
|
+
"Auto Invest"
|
|
1912
|
+
],
|
|
1913
|
+
"operation": [
|
|
1914
|
+
"GET Sapi V 1 Lending Auto Invest Plan List"
|
|
1915
|
+
]
|
|
1916
|
+
}
|
|
1917
|
+
}
|
|
1918
|
+
},
|
|
1919
|
+
{
|
|
1920
|
+
"displayName": "Timestamp",
|
|
1921
|
+
"name": "timestamp",
|
|
1922
|
+
"required": true,
|
|
1923
|
+
"description": "UTC timestamp in ms",
|
|
1924
|
+
"default": 0,
|
|
1925
|
+
"type": "number",
|
|
1926
|
+
"routing": {
|
|
1927
|
+
"send": {
|
|
1928
|
+
"type": "query",
|
|
1929
|
+
"property": "timestamp",
|
|
1930
|
+
"value": "={{ $value }}",
|
|
1931
|
+
"propertyInDotNotation": false
|
|
1932
|
+
}
|
|
1933
|
+
},
|
|
1934
|
+
"displayOptions": {
|
|
1935
|
+
"show": {
|
|
1936
|
+
"resource": [
|
|
1937
|
+
"Auto Invest"
|
|
1938
|
+
],
|
|
1939
|
+
"operation": [
|
|
1940
|
+
"GET Sapi V 1 Lending Auto Invest Plan List"
|
|
1941
|
+
]
|
|
1942
|
+
}
|
|
1943
|
+
}
|
|
1944
|
+
},
|
|
1945
|
+
{
|
|
1946
|
+
"displayName": "Signature",
|
|
1947
|
+
"name": "signature",
|
|
1948
|
+
"required": true,
|
|
1949
|
+
"description": "Signature",
|
|
1950
|
+
"default": "",
|
|
1951
|
+
"type": "string",
|
|
1952
|
+
"routing": {
|
|
1953
|
+
"send": {
|
|
1954
|
+
"type": "query",
|
|
1955
|
+
"property": "signature",
|
|
1956
|
+
"value": "={{ $value }}",
|
|
1957
|
+
"propertyInDotNotation": false
|
|
1958
|
+
}
|
|
1959
|
+
},
|
|
1960
|
+
"displayOptions": {
|
|
1961
|
+
"show": {
|
|
1962
|
+
"resource": [
|
|
1963
|
+
"Auto Invest"
|
|
1964
|
+
],
|
|
1965
|
+
"operation": [
|
|
1966
|
+
"GET Sapi V 1 Lending Auto Invest Plan List"
|
|
1967
|
+
]
|
|
1968
|
+
}
|
|
1969
|
+
}
|
|
1970
|
+
},
|
|
1971
|
+
{
|
|
1972
|
+
"displayName": "GET /sapi/v1/lending/auto-invest/plan/id",
|
|
1973
|
+
"name": "operation",
|
|
1974
|
+
"type": "notice",
|
|
1975
|
+
"typeOptions": {
|
|
1976
|
+
"theme": "info"
|
|
1977
|
+
},
|
|
1978
|
+
"default": "",
|
|
1979
|
+
"displayOptions": {
|
|
1980
|
+
"show": {
|
|
1981
|
+
"resource": [
|
|
1982
|
+
"Auto Invest"
|
|
1983
|
+
],
|
|
1984
|
+
"operation": [
|
|
1985
|
+
"GET Sapi V 1 Lending Auto Invest Plan Id"
|
|
1986
|
+
]
|
|
1987
|
+
}
|
|
1988
|
+
}
|
|
1989
|
+
},
|
|
1990
|
+
{
|
|
1991
|
+
"displayName": "Plan Id",
|
|
1992
|
+
"name": "planId",
|
|
1993
|
+
"default": 0,
|
|
1994
|
+
"type": "number",
|
|
1995
|
+
"routing": {
|
|
1996
|
+
"send": {
|
|
1997
|
+
"type": "query",
|
|
1998
|
+
"property": "planId",
|
|
1999
|
+
"value": "={{ $value }}",
|
|
2000
|
+
"propertyInDotNotation": false
|
|
2001
|
+
}
|
|
2002
|
+
},
|
|
2003
|
+
"displayOptions": {
|
|
2004
|
+
"show": {
|
|
2005
|
+
"resource": [
|
|
2006
|
+
"Auto Invest"
|
|
2007
|
+
],
|
|
2008
|
+
"operation": [
|
|
2009
|
+
"GET Sapi V 1 Lending Auto Invest Plan Id"
|
|
2010
|
+
]
|
|
2011
|
+
}
|
|
2012
|
+
}
|
|
2013
|
+
},
|
|
2014
|
+
{
|
|
2015
|
+
"displayName": "Request Id",
|
|
2016
|
+
"name": "requestId",
|
|
2017
|
+
"default": "",
|
|
2018
|
+
"type": "string",
|
|
2019
|
+
"routing": {
|
|
2020
|
+
"send": {
|
|
2021
|
+
"type": "query",
|
|
2022
|
+
"property": "requestId",
|
|
2023
|
+
"value": "={{ $value }}",
|
|
2024
|
+
"propertyInDotNotation": false
|
|
2025
|
+
}
|
|
2026
|
+
},
|
|
2027
|
+
"displayOptions": {
|
|
2028
|
+
"show": {
|
|
2029
|
+
"resource": [
|
|
2030
|
+
"Auto Invest"
|
|
2031
|
+
],
|
|
2032
|
+
"operation": [
|
|
2033
|
+
"GET Sapi V 1 Lending Auto Invest Plan Id"
|
|
2034
|
+
]
|
|
2035
|
+
}
|
|
2036
|
+
}
|
|
2037
|
+
},
|
|
2038
|
+
{
|
|
2039
|
+
"displayName": "Recv Window",
|
|
2040
|
+
"name": "recvWindow",
|
|
2041
|
+
"description": "The value cannot be greater than 60000",
|
|
2042
|
+
"default": 5000,
|
|
2043
|
+
"type": "number",
|
|
2044
|
+
"routing": {
|
|
2045
|
+
"send": {
|
|
2046
|
+
"type": "query",
|
|
2047
|
+
"property": "recvWindow",
|
|
2048
|
+
"value": "={{ $value }}",
|
|
2049
|
+
"propertyInDotNotation": false
|
|
2050
|
+
}
|
|
2051
|
+
},
|
|
2052
|
+
"displayOptions": {
|
|
2053
|
+
"show": {
|
|
2054
|
+
"resource": [
|
|
2055
|
+
"Auto Invest"
|
|
2056
|
+
],
|
|
2057
|
+
"operation": [
|
|
2058
|
+
"GET Sapi V 1 Lending Auto Invest Plan Id"
|
|
2059
|
+
]
|
|
2060
|
+
}
|
|
2061
|
+
}
|
|
2062
|
+
},
|
|
2063
|
+
{
|
|
2064
|
+
"displayName": "Timestamp",
|
|
2065
|
+
"name": "timestamp",
|
|
2066
|
+
"required": true,
|
|
2067
|
+
"description": "UTC timestamp in ms",
|
|
2068
|
+
"default": 0,
|
|
2069
|
+
"type": "number",
|
|
2070
|
+
"routing": {
|
|
2071
|
+
"send": {
|
|
2072
|
+
"type": "query",
|
|
2073
|
+
"property": "timestamp",
|
|
2074
|
+
"value": "={{ $value }}",
|
|
2075
|
+
"propertyInDotNotation": false
|
|
2076
|
+
}
|
|
2077
|
+
},
|
|
2078
|
+
"displayOptions": {
|
|
2079
|
+
"show": {
|
|
2080
|
+
"resource": [
|
|
2081
|
+
"Auto Invest"
|
|
2082
|
+
],
|
|
2083
|
+
"operation": [
|
|
2084
|
+
"GET Sapi V 1 Lending Auto Invest Plan Id"
|
|
2085
|
+
]
|
|
2086
|
+
}
|
|
2087
|
+
}
|
|
2088
|
+
},
|
|
2089
|
+
{
|
|
2090
|
+
"displayName": "Signature",
|
|
2091
|
+
"name": "signature",
|
|
2092
|
+
"required": true,
|
|
2093
|
+
"description": "Signature",
|
|
2094
|
+
"default": "",
|
|
2095
|
+
"type": "string",
|
|
2096
|
+
"routing": {
|
|
2097
|
+
"send": {
|
|
2098
|
+
"type": "query",
|
|
2099
|
+
"property": "signature",
|
|
2100
|
+
"value": "={{ $value }}",
|
|
2101
|
+
"propertyInDotNotation": false
|
|
2102
|
+
}
|
|
2103
|
+
},
|
|
2104
|
+
"displayOptions": {
|
|
2105
|
+
"show": {
|
|
2106
|
+
"resource": [
|
|
2107
|
+
"Auto Invest"
|
|
2108
|
+
],
|
|
2109
|
+
"operation": [
|
|
2110
|
+
"GET Sapi V 1 Lending Auto Invest Plan Id"
|
|
2111
|
+
]
|
|
2112
|
+
}
|
|
2113
|
+
}
|
|
2114
|
+
},
|
|
2115
|
+
{
|
|
2116
|
+
"displayName": "GET /sapi/v1/lending/auto-invest/history/list",
|
|
2117
|
+
"name": "operation",
|
|
2118
|
+
"type": "notice",
|
|
2119
|
+
"typeOptions": {
|
|
2120
|
+
"theme": "info"
|
|
2121
|
+
},
|
|
2122
|
+
"default": "",
|
|
2123
|
+
"displayOptions": {
|
|
2124
|
+
"show": {
|
|
2125
|
+
"resource": [
|
|
2126
|
+
"Auto Invest"
|
|
2127
|
+
],
|
|
2128
|
+
"operation": [
|
|
2129
|
+
"GET Sapi V 1 Lending Auto Invest History List"
|
|
2130
|
+
]
|
|
2131
|
+
}
|
|
2132
|
+
}
|
|
2133
|
+
},
|
|
2134
|
+
{
|
|
2135
|
+
"displayName": "Plan Id",
|
|
2136
|
+
"name": "planId",
|
|
2137
|
+
"default": 0,
|
|
2138
|
+
"type": "number",
|
|
2139
|
+
"routing": {
|
|
2140
|
+
"send": {
|
|
2141
|
+
"type": "query",
|
|
2142
|
+
"property": "planId",
|
|
2143
|
+
"value": "={{ $value }}",
|
|
2144
|
+
"propertyInDotNotation": false
|
|
2145
|
+
}
|
|
2146
|
+
},
|
|
2147
|
+
"displayOptions": {
|
|
2148
|
+
"show": {
|
|
2149
|
+
"resource": [
|
|
2150
|
+
"Auto Invest"
|
|
2151
|
+
],
|
|
2152
|
+
"operation": [
|
|
2153
|
+
"GET Sapi V 1 Lending Auto Invest History List"
|
|
2154
|
+
]
|
|
2155
|
+
}
|
|
2156
|
+
}
|
|
2157
|
+
},
|
|
2158
|
+
{
|
|
2159
|
+
"displayName": "Start Time",
|
|
2160
|
+
"name": "startTime",
|
|
2161
|
+
"description": "UTC timestamp in ms",
|
|
2162
|
+
"default": 0,
|
|
2163
|
+
"type": "number",
|
|
2164
|
+
"routing": {
|
|
2165
|
+
"send": {
|
|
2166
|
+
"type": "query",
|
|
2167
|
+
"property": "startTime",
|
|
2168
|
+
"value": "={{ $value }}",
|
|
2169
|
+
"propertyInDotNotation": false
|
|
2170
|
+
}
|
|
2171
|
+
},
|
|
2172
|
+
"displayOptions": {
|
|
2173
|
+
"show": {
|
|
2174
|
+
"resource": [
|
|
2175
|
+
"Auto Invest"
|
|
2176
|
+
],
|
|
2177
|
+
"operation": [
|
|
2178
|
+
"GET Sapi V 1 Lending Auto Invest History List"
|
|
2179
|
+
]
|
|
2180
|
+
}
|
|
2181
|
+
}
|
|
2182
|
+
},
|
|
2183
|
+
{
|
|
2184
|
+
"displayName": "End Time",
|
|
2185
|
+
"name": "endTime",
|
|
2186
|
+
"description": "UTC timestamp in ms",
|
|
2187
|
+
"default": 0,
|
|
2188
|
+
"type": "number",
|
|
2189
|
+
"routing": {
|
|
2190
|
+
"send": {
|
|
2191
|
+
"type": "query",
|
|
2192
|
+
"property": "endTime",
|
|
2193
|
+
"value": "={{ $value }}",
|
|
2194
|
+
"propertyInDotNotation": false
|
|
2195
|
+
}
|
|
2196
|
+
},
|
|
2197
|
+
"displayOptions": {
|
|
2198
|
+
"show": {
|
|
2199
|
+
"resource": [
|
|
2200
|
+
"Auto Invest"
|
|
2201
|
+
],
|
|
2202
|
+
"operation": [
|
|
2203
|
+
"GET Sapi V 1 Lending Auto Invest History List"
|
|
2204
|
+
]
|
|
2205
|
+
}
|
|
2206
|
+
}
|
|
2207
|
+
},
|
|
2208
|
+
{
|
|
2209
|
+
"displayName": "Target Asset",
|
|
2210
|
+
"name": "targetAsset",
|
|
2211
|
+
"default": 0,
|
|
2212
|
+
"type": "number",
|
|
2213
|
+
"routing": {
|
|
2214
|
+
"send": {
|
|
2215
|
+
"type": "query",
|
|
2216
|
+
"property": "targetAsset",
|
|
2217
|
+
"value": "={{ $value }}",
|
|
2218
|
+
"propertyInDotNotation": false
|
|
2219
|
+
}
|
|
2220
|
+
},
|
|
2221
|
+
"displayOptions": {
|
|
2222
|
+
"show": {
|
|
2223
|
+
"resource": [
|
|
2224
|
+
"Auto Invest"
|
|
2225
|
+
],
|
|
2226
|
+
"operation": [
|
|
2227
|
+
"GET Sapi V 1 Lending Auto Invest History List"
|
|
2228
|
+
]
|
|
2229
|
+
}
|
|
2230
|
+
}
|
|
2231
|
+
},
|
|
2232
|
+
{
|
|
2233
|
+
"displayName": "Plan Type",
|
|
2234
|
+
"name": "planType",
|
|
2235
|
+
"default": "SINGLE",
|
|
2236
|
+
"type": "options",
|
|
2237
|
+
"options": [
|
|
2238
|
+
{
|
|
2239
|
+
"name": "SINGLE",
|
|
2240
|
+
"value": "SINGLE"
|
|
2241
|
+
},
|
|
2242
|
+
{
|
|
2243
|
+
"name": "PORTFOLIO",
|
|
2244
|
+
"value": "PORTFOLIO"
|
|
2245
|
+
},
|
|
2246
|
+
{
|
|
2247
|
+
"name": "INDEX",
|
|
2248
|
+
"value": "INDEX"
|
|
2249
|
+
},
|
|
2250
|
+
{
|
|
2251
|
+
"name": "ALL",
|
|
2252
|
+
"value": "ALL"
|
|
2253
|
+
}
|
|
2254
|
+
],
|
|
2255
|
+
"routing": {
|
|
2256
|
+
"send": {
|
|
2257
|
+
"type": "query",
|
|
2258
|
+
"property": "planType",
|
|
2259
|
+
"value": "={{ $value }}",
|
|
2260
|
+
"propertyInDotNotation": false
|
|
2261
|
+
}
|
|
2262
|
+
},
|
|
2263
|
+
"displayOptions": {
|
|
2264
|
+
"show": {
|
|
2265
|
+
"resource": [
|
|
2266
|
+
"Auto Invest"
|
|
2267
|
+
],
|
|
2268
|
+
"operation": [
|
|
2269
|
+
"GET Sapi V 1 Lending Auto Invest History List"
|
|
2270
|
+
]
|
|
2271
|
+
}
|
|
2272
|
+
}
|
|
2273
|
+
},
|
|
2274
|
+
{
|
|
2275
|
+
"displayName": "Size",
|
|
2276
|
+
"name": "size",
|
|
2277
|
+
"description": "Default:10 Max:100",
|
|
2278
|
+
"default": 100,
|
|
2279
|
+
"type": "number",
|
|
2280
|
+
"routing": {
|
|
2281
|
+
"send": {
|
|
2282
|
+
"type": "query",
|
|
2283
|
+
"property": "size",
|
|
2284
|
+
"value": "={{ $value }}",
|
|
2285
|
+
"propertyInDotNotation": false
|
|
2286
|
+
}
|
|
2287
|
+
},
|
|
2288
|
+
"displayOptions": {
|
|
2289
|
+
"show": {
|
|
2290
|
+
"resource": [
|
|
2291
|
+
"Auto Invest"
|
|
2292
|
+
],
|
|
2293
|
+
"operation": [
|
|
2294
|
+
"GET Sapi V 1 Lending Auto Invest History List"
|
|
2295
|
+
]
|
|
2296
|
+
}
|
|
2297
|
+
}
|
|
2298
|
+
},
|
|
2299
|
+
{
|
|
2300
|
+
"displayName": "Current",
|
|
2301
|
+
"name": "current",
|
|
2302
|
+
"description": "Current querying page. Start from 1. Default:1",
|
|
2303
|
+
"default": 1,
|
|
2304
|
+
"type": "number",
|
|
2305
|
+
"routing": {
|
|
2306
|
+
"send": {
|
|
2307
|
+
"type": "query",
|
|
2308
|
+
"property": "current",
|
|
2309
|
+
"value": "={{ $value }}",
|
|
2310
|
+
"propertyInDotNotation": false
|
|
2311
|
+
}
|
|
2312
|
+
},
|
|
2313
|
+
"displayOptions": {
|
|
2314
|
+
"show": {
|
|
2315
|
+
"resource": [
|
|
2316
|
+
"Auto Invest"
|
|
2317
|
+
],
|
|
2318
|
+
"operation": [
|
|
2319
|
+
"GET Sapi V 1 Lending Auto Invest History List"
|
|
2320
|
+
]
|
|
2321
|
+
}
|
|
2322
|
+
}
|
|
2323
|
+
},
|
|
2324
|
+
{
|
|
2325
|
+
"displayName": "Recv Window",
|
|
2326
|
+
"name": "recvWindow",
|
|
2327
|
+
"description": "The value cannot be greater than 60000",
|
|
2328
|
+
"default": 5000,
|
|
2329
|
+
"type": "number",
|
|
2330
|
+
"routing": {
|
|
2331
|
+
"send": {
|
|
2332
|
+
"type": "query",
|
|
2333
|
+
"property": "recvWindow",
|
|
2334
|
+
"value": "={{ $value }}",
|
|
2335
|
+
"propertyInDotNotation": false
|
|
2336
|
+
}
|
|
2337
|
+
},
|
|
2338
|
+
"displayOptions": {
|
|
2339
|
+
"show": {
|
|
2340
|
+
"resource": [
|
|
2341
|
+
"Auto Invest"
|
|
2342
|
+
],
|
|
2343
|
+
"operation": [
|
|
2344
|
+
"GET Sapi V 1 Lending Auto Invest History List"
|
|
2345
|
+
]
|
|
2346
|
+
}
|
|
2347
|
+
}
|
|
2348
|
+
},
|
|
2349
|
+
{
|
|
2350
|
+
"displayName": "Timestamp",
|
|
2351
|
+
"name": "timestamp",
|
|
2352
|
+
"required": true,
|
|
2353
|
+
"description": "UTC timestamp in ms",
|
|
2354
|
+
"default": 0,
|
|
2355
|
+
"type": "number",
|
|
2356
|
+
"routing": {
|
|
2357
|
+
"send": {
|
|
2358
|
+
"type": "query",
|
|
2359
|
+
"property": "timestamp",
|
|
2360
|
+
"value": "={{ $value }}",
|
|
2361
|
+
"propertyInDotNotation": false
|
|
2362
|
+
}
|
|
2363
|
+
},
|
|
2364
|
+
"displayOptions": {
|
|
2365
|
+
"show": {
|
|
2366
|
+
"resource": [
|
|
2367
|
+
"Auto Invest"
|
|
2368
|
+
],
|
|
2369
|
+
"operation": [
|
|
2370
|
+
"GET Sapi V 1 Lending Auto Invest History List"
|
|
2371
|
+
]
|
|
2372
|
+
}
|
|
2373
|
+
}
|
|
2374
|
+
},
|
|
2375
|
+
{
|
|
2376
|
+
"displayName": "Signature",
|
|
2377
|
+
"name": "signature",
|
|
2378
|
+
"required": true,
|
|
2379
|
+
"description": "Signature",
|
|
2380
|
+
"default": "",
|
|
2381
|
+
"type": "string",
|
|
2382
|
+
"routing": {
|
|
2383
|
+
"send": {
|
|
2384
|
+
"type": "query",
|
|
2385
|
+
"property": "signature",
|
|
2386
|
+
"value": "={{ $value }}",
|
|
2387
|
+
"propertyInDotNotation": false
|
|
2388
|
+
}
|
|
2389
|
+
},
|
|
2390
|
+
"displayOptions": {
|
|
2391
|
+
"show": {
|
|
2392
|
+
"resource": [
|
|
2393
|
+
"Auto Invest"
|
|
2394
|
+
],
|
|
2395
|
+
"operation": [
|
|
2396
|
+
"GET Sapi V 1 Lending Auto Invest History List"
|
|
2397
|
+
]
|
|
2398
|
+
}
|
|
2399
|
+
}
|
|
2400
|
+
},
|
|
2401
|
+
{
|
|
2402
|
+
"displayName": "GET /sapi/v1/lending/auto-invest/index/info",
|
|
2403
|
+
"name": "operation",
|
|
2404
|
+
"type": "notice",
|
|
2405
|
+
"typeOptions": {
|
|
2406
|
+
"theme": "info"
|
|
2407
|
+
},
|
|
2408
|
+
"default": "",
|
|
2409
|
+
"displayOptions": {
|
|
2410
|
+
"show": {
|
|
2411
|
+
"resource": [
|
|
2412
|
+
"Auto Invest"
|
|
2413
|
+
],
|
|
2414
|
+
"operation": [
|
|
2415
|
+
"GET Sapi V 1 Lending Auto Invest Index Info"
|
|
2416
|
+
]
|
|
2417
|
+
}
|
|
2418
|
+
}
|
|
2419
|
+
},
|
|
2420
|
+
{
|
|
2421
|
+
"displayName": "Index Id",
|
|
2422
|
+
"name": "indexId",
|
|
2423
|
+
"required": true,
|
|
2424
|
+
"default": 0,
|
|
2425
|
+
"type": "number",
|
|
2426
|
+
"routing": {
|
|
2427
|
+
"send": {
|
|
2428
|
+
"type": "query",
|
|
2429
|
+
"property": "indexId",
|
|
2430
|
+
"value": "={{ $value }}",
|
|
2431
|
+
"propertyInDotNotation": false
|
|
2432
|
+
}
|
|
2433
|
+
},
|
|
2434
|
+
"displayOptions": {
|
|
2435
|
+
"show": {
|
|
2436
|
+
"resource": [
|
|
2437
|
+
"Auto Invest"
|
|
2438
|
+
],
|
|
2439
|
+
"operation": [
|
|
2440
|
+
"GET Sapi V 1 Lending Auto Invest Index Info"
|
|
2441
|
+
]
|
|
2442
|
+
}
|
|
2443
|
+
}
|
|
2444
|
+
},
|
|
2445
|
+
{
|
|
2446
|
+
"displayName": "Recv Window",
|
|
2447
|
+
"name": "recvWindow",
|
|
2448
|
+
"description": "The value cannot be greater than 60000",
|
|
2449
|
+
"default": 5000,
|
|
2450
|
+
"type": "number",
|
|
2451
|
+
"routing": {
|
|
2452
|
+
"send": {
|
|
2453
|
+
"type": "query",
|
|
2454
|
+
"property": "recvWindow",
|
|
2455
|
+
"value": "={{ $value }}",
|
|
2456
|
+
"propertyInDotNotation": false
|
|
2457
|
+
}
|
|
2458
|
+
},
|
|
2459
|
+
"displayOptions": {
|
|
2460
|
+
"show": {
|
|
2461
|
+
"resource": [
|
|
2462
|
+
"Auto Invest"
|
|
2463
|
+
],
|
|
2464
|
+
"operation": [
|
|
2465
|
+
"GET Sapi V 1 Lending Auto Invest Index Info"
|
|
2466
|
+
]
|
|
2467
|
+
}
|
|
2468
|
+
}
|
|
2469
|
+
},
|
|
2470
|
+
{
|
|
2471
|
+
"displayName": "Timestamp",
|
|
2472
|
+
"name": "timestamp",
|
|
2473
|
+
"required": true,
|
|
2474
|
+
"description": "UTC timestamp in ms",
|
|
2475
|
+
"default": 0,
|
|
2476
|
+
"type": "number",
|
|
2477
|
+
"routing": {
|
|
2478
|
+
"send": {
|
|
2479
|
+
"type": "query",
|
|
2480
|
+
"property": "timestamp",
|
|
2481
|
+
"value": "={{ $value }}",
|
|
2482
|
+
"propertyInDotNotation": false
|
|
2483
|
+
}
|
|
2484
|
+
},
|
|
2485
|
+
"displayOptions": {
|
|
2486
|
+
"show": {
|
|
2487
|
+
"resource": [
|
|
2488
|
+
"Auto Invest"
|
|
2489
|
+
],
|
|
2490
|
+
"operation": [
|
|
2491
|
+
"GET Sapi V 1 Lending Auto Invest Index Info"
|
|
2492
|
+
]
|
|
2493
|
+
}
|
|
2494
|
+
}
|
|
2495
|
+
},
|
|
2496
|
+
{
|
|
2497
|
+
"displayName": "Signature",
|
|
2498
|
+
"name": "signature",
|
|
2499
|
+
"required": true,
|
|
2500
|
+
"description": "Signature",
|
|
2501
|
+
"default": "",
|
|
2502
|
+
"type": "string",
|
|
2503
|
+
"routing": {
|
|
2504
|
+
"send": {
|
|
2505
|
+
"type": "query",
|
|
2506
|
+
"property": "signature",
|
|
2507
|
+
"value": "={{ $value }}",
|
|
2508
|
+
"propertyInDotNotation": false
|
|
2509
|
+
}
|
|
2510
|
+
},
|
|
2511
|
+
"displayOptions": {
|
|
2512
|
+
"show": {
|
|
2513
|
+
"resource": [
|
|
2514
|
+
"Auto Invest"
|
|
2515
|
+
],
|
|
2516
|
+
"operation": [
|
|
2517
|
+
"GET Sapi V 1 Lending Auto Invest Index Info"
|
|
2518
|
+
]
|
|
2519
|
+
}
|
|
2520
|
+
}
|
|
2521
|
+
},
|
|
2522
|
+
{
|
|
2523
|
+
"displayName": "GET /sapi/v1/lending/auto-invest/index/user-summary",
|
|
2524
|
+
"name": "operation",
|
|
2525
|
+
"type": "notice",
|
|
2526
|
+
"typeOptions": {
|
|
2527
|
+
"theme": "info"
|
|
2528
|
+
},
|
|
2529
|
+
"default": "",
|
|
2530
|
+
"displayOptions": {
|
|
2531
|
+
"show": {
|
|
2532
|
+
"resource": [
|
|
2533
|
+
"Auto Invest"
|
|
2534
|
+
],
|
|
2535
|
+
"operation": [
|
|
2536
|
+
"GET Sapi V 1 Lending Auto Invest Index User Summary"
|
|
2537
|
+
]
|
|
2538
|
+
}
|
|
2539
|
+
}
|
|
2540
|
+
},
|
|
2541
|
+
{
|
|
2542
|
+
"displayName": "Index Id",
|
|
2543
|
+
"name": "indexId",
|
|
2544
|
+
"required": true,
|
|
2545
|
+
"default": 0,
|
|
2546
|
+
"type": "number",
|
|
2547
|
+
"routing": {
|
|
2548
|
+
"send": {
|
|
2549
|
+
"type": "query",
|
|
2550
|
+
"property": "indexId",
|
|
2551
|
+
"value": "={{ $value }}",
|
|
2552
|
+
"propertyInDotNotation": false
|
|
2553
|
+
}
|
|
2554
|
+
},
|
|
2555
|
+
"displayOptions": {
|
|
2556
|
+
"show": {
|
|
2557
|
+
"resource": [
|
|
2558
|
+
"Auto Invest"
|
|
2559
|
+
],
|
|
2560
|
+
"operation": [
|
|
2561
|
+
"GET Sapi V 1 Lending Auto Invest Index User Summary"
|
|
2562
|
+
]
|
|
2563
|
+
}
|
|
2564
|
+
}
|
|
2565
|
+
},
|
|
2566
|
+
{
|
|
2567
|
+
"displayName": "Recv Window",
|
|
2568
|
+
"name": "recvWindow",
|
|
2569
|
+
"description": "The value cannot be greater than 60000",
|
|
2570
|
+
"default": 5000,
|
|
2571
|
+
"type": "number",
|
|
2572
|
+
"routing": {
|
|
2573
|
+
"send": {
|
|
2574
|
+
"type": "query",
|
|
2575
|
+
"property": "recvWindow",
|
|
2576
|
+
"value": "={{ $value }}",
|
|
2577
|
+
"propertyInDotNotation": false
|
|
2578
|
+
}
|
|
2579
|
+
},
|
|
2580
|
+
"displayOptions": {
|
|
2581
|
+
"show": {
|
|
2582
|
+
"resource": [
|
|
2583
|
+
"Auto Invest"
|
|
2584
|
+
],
|
|
2585
|
+
"operation": [
|
|
2586
|
+
"GET Sapi V 1 Lending Auto Invest Index User Summary"
|
|
2587
|
+
]
|
|
2588
|
+
}
|
|
2589
|
+
}
|
|
2590
|
+
},
|
|
2591
|
+
{
|
|
2592
|
+
"displayName": "Timestamp",
|
|
2593
|
+
"name": "timestamp",
|
|
2594
|
+
"required": true,
|
|
2595
|
+
"description": "UTC timestamp in ms",
|
|
2596
|
+
"default": 0,
|
|
2597
|
+
"type": "number",
|
|
2598
|
+
"routing": {
|
|
2599
|
+
"send": {
|
|
2600
|
+
"type": "query",
|
|
2601
|
+
"property": "timestamp",
|
|
2602
|
+
"value": "={{ $value }}",
|
|
2603
|
+
"propertyInDotNotation": false
|
|
2604
|
+
}
|
|
2605
|
+
},
|
|
2606
|
+
"displayOptions": {
|
|
2607
|
+
"show": {
|
|
2608
|
+
"resource": [
|
|
2609
|
+
"Auto Invest"
|
|
2610
|
+
],
|
|
2611
|
+
"operation": [
|
|
2612
|
+
"GET Sapi V 1 Lending Auto Invest Index User Summary"
|
|
2613
|
+
]
|
|
2614
|
+
}
|
|
2615
|
+
}
|
|
2616
|
+
},
|
|
2617
|
+
{
|
|
2618
|
+
"displayName": "Signature",
|
|
2619
|
+
"name": "signature",
|
|
2620
|
+
"required": true,
|
|
2621
|
+
"description": "Signature",
|
|
2622
|
+
"default": "",
|
|
2623
|
+
"type": "string",
|
|
2624
|
+
"routing": {
|
|
2625
|
+
"send": {
|
|
2626
|
+
"type": "query",
|
|
2627
|
+
"property": "signature",
|
|
2628
|
+
"value": "={{ $value }}",
|
|
2629
|
+
"propertyInDotNotation": false
|
|
2630
|
+
}
|
|
2631
|
+
},
|
|
2632
|
+
"displayOptions": {
|
|
2633
|
+
"show": {
|
|
2634
|
+
"resource": [
|
|
2635
|
+
"Auto Invest"
|
|
2636
|
+
],
|
|
2637
|
+
"operation": [
|
|
2638
|
+
"GET Sapi V 1 Lending Auto Invest Index User Summary"
|
|
2639
|
+
]
|
|
2640
|
+
}
|
|
2641
|
+
}
|
|
2642
|
+
},
|
|
2643
|
+
{
|
|
2644
|
+
"displayName": "POST /sapi/v1/lending/auto-invest/one-off",
|
|
2645
|
+
"name": "operation",
|
|
2646
|
+
"type": "notice",
|
|
2647
|
+
"typeOptions": {
|
|
2648
|
+
"theme": "info"
|
|
2649
|
+
},
|
|
2650
|
+
"default": "",
|
|
2651
|
+
"displayOptions": {
|
|
2652
|
+
"show": {
|
|
2653
|
+
"resource": [
|
|
2654
|
+
"Auto Invest"
|
|
2655
|
+
],
|
|
2656
|
+
"operation": [
|
|
2657
|
+
"POST Sapi V 1 Lending Auto Invest One Off"
|
|
2658
|
+
]
|
|
2659
|
+
}
|
|
2660
|
+
}
|
|
2661
|
+
},
|
|
2662
|
+
{
|
|
2663
|
+
"displayName": "Source Type",
|
|
2664
|
+
"name": "sourceType",
|
|
2665
|
+
"required": true,
|
|
2666
|
+
"default": "MAIN_SITE",
|
|
2667
|
+
"type": "string",
|
|
2668
|
+
"routing": {
|
|
2669
|
+
"send": {
|
|
2670
|
+
"type": "query",
|
|
2671
|
+
"property": "sourceType",
|
|
2672
|
+
"value": "={{ $value }}",
|
|
2673
|
+
"propertyInDotNotation": false
|
|
2674
|
+
}
|
|
2675
|
+
},
|
|
2676
|
+
"displayOptions": {
|
|
2677
|
+
"show": {
|
|
2678
|
+
"resource": [
|
|
2679
|
+
"Auto Invest"
|
|
2680
|
+
],
|
|
2681
|
+
"operation": [
|
|
2682
|
+
"POST Sapi V 1 Lending Auto Invest One Off"
|
|
2683
|
+
]
|
|
2684
|
+
}
|
|
2685
|
+
}
|
|
2686
|
+
},
|
|
2687
|
+
{
|
|
2688
|
+
"displayName": "Request Id",
|
|
2689
|
+
"name": "requestId",
|
|
2690
|
+
"default": "TR12354859",
|
|
2691
|
+
"type": "string",
|
|
2692
|
+
"routing": {
|
|
2693
|
+
"send": {
|
|
2694
|
+
"type": "query",
|
|
2695
|
+
"property": "requestId",
|
|
2696
|
+
"value": "={{ $value }}",
|
|
2697
|
+
"propertyInDotNotation": false
|
|
2698
|
+
}
|
|
2699
|
+
},
|
|
2700
|
+
"displayOptions": {
|
|
2701
|
+
"show": {
|
|
2702
|
+
"resource": [
|
|
2703
|
+
"Auto Invest"
|
|
2704
|
+
],
|
|
2705
|
+
"operation": [
|
|
2706
|
+
"POST Sapi V 1 Lending Auto Invest One Off"
|
|
2707
|
+
]
|
|
2708
|
+
}
|
|
2709
|
+
}
|
|
2710
|
+
},
|
|
2711
|
+
{
|
|
2712
|
+
"displayName": "Subscription Amount",
|
|
2713
|
+
"name": "subscriptionAmount",
|
|
2714
|
+
"required": true,
|
|
2715
|
+
"default": 10.1,
|
|
2716
|
+
"type": "number",
|
|
2717
|
+
"routing": {
|
|
2718
|
+
"send": {
|
|
2719
|
+
"type": "query",
|
|
2720
|
+
"property": "subscriptionAmount",
|
|
2721
|
+
"value": "={{ $value }}",
|
|
2722
|
+
"propertyInDotNotation": false
|
|
2723
|
+
}
|
|
2724
|
+
},
|
|
2725
|
+
"displayOptions": {
|
|
2726
|
+
"show": {
|
|
2727
|
+
"resource": [
|
|
2728
|
+
"Auto Invest"
|
|
2729
|
+
],
|
|
2730
|
+
"operation": [
|
|
2731
|
+
"POST Sapi V 1 Lending Auto Invest One Off"
|
|
2732
|
+
]
|
|
2733
|
+
}
|
|
2734
|
+
}
|
|
2735
|
+
},
|
|
2736
|
+
{
|
|
2737
|
+
"displayName": "Source Asset",
|
|
2738
|
+
"name": "sourceAsset",
|
|
2739
|
+
"required": true,
|
|
2740
|
+
"default": "USDT",
|
|
2741
|
+
"type": "string",
|
|
2742
|
+
"routing": {
|
|
2743
|
+
"send": {
|
|
2744
|
+
"type": "query",
|
|
2745
|
+
"property": "sourceAsset",
|
|
2746
|
+
"value": "={{ $value }}",
|
|
2747
|
+
"propertyInDotNotation": false
|
|
2748
|
+
}
|
|
2749
|
+
},
|
|
2750
|
+
"displayOptions": {
|
|
2751
|
+
"show": {
|
|
2752
|
+
"resource": [
|
|
2753
|
+
"Auto Invest"
|
|
2754
|
+
],
|
|
2755
|
+
"operation": [
|
|
2756
|
+
"POST Sapi V 1 Lending Auto Invest One Off"
|
|
2757
|
+
]
|
|
2758
|
+
}
|
|
2759
|
+
}
|
|
2760
|
+
},
|
|
2761
|
+
{
|
|
2762
|
+
"displayName": "Flexible Allowed To Use",
|
|
2763
|
+
"name": "flexibleAllowedToUse",
|
|
2764
|
+
"default": true,
|
|
2765
|
+
"type": "boolean",
|
|
2766
|
+
"routing": {
|
|
2767
|
+
"send": {
|
|
2768
|
+
"type": "query",
|
|
2769
|
+
"property": "flexibleAllowedToUse",
|
|
2770
|
+
"value": "={{ $value }}",
|
|
2771
|
+
"propertyInDotNotation": false
|
|
2772
|
+
}
|
|
2773
|
+
},
|
|
2774
|
+
"displayOptions": {
|
|
2775
|
+
"show": {
|
|
2776
|
+
"resource": [
|
|
2777
|
+
"Auto Invest"
|
|
2778
|
+
],
|
|
2779
|
+
"operation": [
|
|
2780
|
+
"POST Sapi V 1 Lending Auto Invest One Off"
|
|
2781
|
+
]
|
|
2782
|
+
}
|
|
2783
|
+
}
|
|
2784
|
+
},
|
|
2785
|
+
{
|
|
2786
|
+
"displayName": "Plan Id",
|
|
2787
|
+
"name": "planId",
|
|
2788
|
+
"default": 12345,
|
|
2789
|
+
"type": "number",
|
|
2790
|
+
"routing": {
|
|
2791
|
+
"send": {
|
|
2792
|
+
"type": "query",
|
|
2793
|
+
"property": "planId",
|
|
2794
|
+
"value": "={{ $value }}",
|
|
2795
|
+
"propertyInDotNotation": false
|
|
2796
|
+
}
|
|
2797
|
+
},
|
|
2798
|
+
"displayOptions": {
|
|
2799
|
+
"show": {
|
|
2800
|
+
"resource": [
|
|
2801
|
+
"Auto Invest"
|
|
2802
|
+
],
|
|
2803
|
+
"operation": [
|
|
2804
|
+
"POST Sapi V 1 Lending Auto Invest One Off"
|
|
2805
|
+
]
|
|
2806
|
+
}
|
|
2807
|
+
}
|
|
2808
|
+
},
|
|
2809
|
+
{
|
|
2810
|
+
"displayName": "Index Id",
|
|
2811
|
+
"name": "indexId",
|
|
2812
|
+
"default": 1,
|
|
2813
|
+
"type": "number",
|
|
2814
|
+
"routing": {
|
|
2815
|
+
"send": {
|
|
2816
|
+
"type": "query",
|
|
2817
|
+
"property": "indexId",
|
|
2818
|
+
"value": "={{ $value }}",
|
|
2819
|
+
"propertyInDotNotation": false
|
|
2820
|
+
}
|
|
2821
|
+
},
|
|
2822
|
+
"displayOptions": {
|
|
2823
|
+
"show": {
|
|
2824
|
+
"resource": [
|
|
2825
|
+
"Auto Invest"
|
|
2826
|
+
],
|
|
2827
|
+
"operation": [
|
|
2828
|
+
"POST Sapi V 1 Lending Auto Invest One Off"
|
|
2829
|
+
]
|
|
2830
|
+
}
|
|
2831
|
+
}
|
|
2832
|
+
},
|
|
2833
|
+
{
|
|
2834
|
+
"displayName": "Details",
|
|
2835
|
+
"name": "details",
|
|
2836
|
+
"default": "[\n {\n \"targetAsset\": \"BTC\",\n \"percentage\": 40\n }\n]",
|
|
2837
|
+
"type": "json",
|
|
2838
|
+
"routing": {
|
|
2839
|
+
"send": {
|
|
2840
|
+
"type": "query",
|
|
2841
|
+
"property": "details",
|
|
2842
|
+
"value": "={{ $value }}",
|
|
2843
|
+
"propertyInDotNotation": false
|
|
2844
|
+
}
|
|
2845
|
+
},
|
|
2846
|
+
"displayOptions": {
|
|
2847
|
+
"show": {
|
|
2848
|
+
"resource": [
|
|
2849
|
+
"Auto Invest"
|
|
2850
|
+
],
|
|
2851
|
+
"operation": [
|
|
2852
|
+
"POST Sapi V 1 Lending Auto Invest One Off"
|
|
2853
|
+
]
|
|
2854
|
+
}
|
|
2855
|
+
}
|
|
2856
|
+
},
|
|
2857
|
+
{
|
|
2858
|
+
"displayName": "Recv Window",
|
|
2859
|
+
"name": "recvWindow",
|
|
2860
|
+
"description": "The value cannot be greater than 60000",
|
|
2861
|
+
"default": 5000,
|
|
2862
|
+
"type": "number",
|
|
2863
|
+
"routing": {
|
|
2864
|
+
"send": {
|
|
2865
|
+
"type": "query",
|
|
2866
|
+
"property": "recvWindow",
|
|
2867
|
+
"value": "={{ $value }}",
|
|
2868
|
+
"propertyInDotNotation": false
|
|
2869
|
+
}
|
|
2870
|
+
},
|
|
2871
|
+
"displayOptions": {
|
|
2872
|
+
"show": {
|
|
2873
|
+
"resource": [
|
|
2874
|
+
"Auto Invest"
|
|
2875
|
+
],
|
|
2876
|
+
"operation": [
|
|
2877
|
+
"POST Sapi V 1 Lending Auto Invest One Off"
|
|
2878
|
+
]
|
|
2879
|
+
}
|
|
2880
|
+
}
|
|
2881
|
+
},
|
|
2882
|
+
{
|
|
2883
|
+
"displayName": "Timestamp",
|
|
2884
|
+
"name": "timestamp",
|
|
2885
|
+
"required": true,
|
|
2886
|
+
"description": "UTC timestamp in ms",
|
|
2887
|
+
"default": 0,
|
|
2888
|
+
"type": "number",
|
|
2889
|
+
"routing": {
|
|
2890
|
+
"send": {
|
|
2891
|
+
"type": "query",
|
|
2892
|
+
"property": "timestamp",
|
|
2893
|
+
"value": "={{ $value }}",
|
|
2894
|
+
"propertyInDotNotation": false
|
|
2895
|
+
}
|
|
2896
|
+
},
|
|
2897
|
+
"displayOptions": {
|
|
2898
|
+
"show": {
|
|
2899
|
+
"resource": [
|
|
2900
|
+
"Auto Invest"
|
|
2901
|
+
],
|
|
2902
|
+
"operation": [
|
|
2903
|
+
"POST Sapi V 1 Lending Auto Invest One Off"
|
|
2904
|
+
]
|
|
2905
|
+
}
|
|
2906
|
+
}
|
|
2907
|
+
},
|
|
2908
|
+
{
|
|
2909
|
+
"displayName": "Signature",
|
|
2910
|
+
"name": "signature",
|
|
2911
|
+
"required": true,
|
|
2912
|
+
"description": "Signature",
|
|
2913
|
+
"default": "",
|
|
2914
|
+
"type": "string",
|
|
2915
|
+
"routing": {
|
|
2916
|
+
"send": {
|
|
2917
|
+
"type": "query",
|
|
2918
|
+
"property": "signature",
|
|
2919
|
+
"value": "={{ $value }}",
|
|
2920
|
+
"propertyInDotNotation": false
|
|
2921
|
+
}
|
|
2922
|
+
},
|
|
2923
|
+
"displayOptions": {
|
|
2924
|
+
"show": {
|
|
2925
|
+
"resource": [
|
|
2926
|
+
"Auto Invest"
|
|
2927
|
+
],
|
|
2928
|
+
"operation": [
|
|
2929
|
+
"POST Sapi V 1 Lending Auto Invest One Off"
|
|
2930
|
+
]
|
|
2931
|
+
}
|
|
2932
|
+
}
|
|
2933
|
+
},
|
|
2934
|
+
{
|
|
2935
|
+
"displayName": "GET /sapi/v1/lending/auto-invest/one-off/status",
|
|
2936
|
+
"name": "operation",
|
|
2937
|
+
"type": "notice",
|
|
2938
|
+
"typeOptions": {
|
|
2939
|
+
"theme": "info"
|
|
2940
|
+
},
|
|
2941
|
+
"default": "",
|
|
2942
|
+
"displayOptions": {
|
|
2943
|
+
"show": {
|
|
2944
|
+
"resource": [
|
|
2945
|
+
"Auto Invest"
|
|
2946
|
+
],
|
|
2947
|
+
"operation": [
|
|
2948
|
+
"GET Sapi V 1 Lending Auto Invest One Off Status"
|
|
2949
|
+
]
|
|
2950
|
+
}
|
|
2951
|
+
}
|
|
2952
|
+
},
|
|
2953
|
+
{
|
|
2954
|
+
"displayName": "Transaction Id",
|
|
2955
|
+
"name": "transactionId",
|
|
2956
|
+
"required": true,
|
|
2957
|
+
"default": 12345,
|
|
2958
|
+
"type": "number",
|
|
2959
|
+
"routing": {
|
|
2960
|
+
"send": {
|
|
2961
|
+
"type": "query",
|
|
2962
|
+
"property": "transactionId",
|
|
2963
|
+
"value": "={{ $value }}",
|
|
2964
|
+
"propertyInDotNotation": false
|
|
2965
|
+
}
|
|
2966
|
+
},
|
|
2967
|
+
"displayOptions": {
|
|
2968
|
+
"show": {
|
|
2969
|
+
"resource": [
|
|
2970
|
+
"Auto Invest"
|
|
2971
|
+
],
|
|
2972
|
+
"operation": [
|
|
2973
|
+
"GET Sapi V 1 Lending Auto Invest One Off Status"
|
|
2974
|
+
]
|
|
2975
|
+
}
|
|
2976
|
+
}
|
|
2977
|
+
},
|
|
2978
|
+
{
|
|
2979
|
+
"displayName": "Request Id",
|
|
2980
|
+
"name": "requestId",
|
|
2981
|
+
"default": "TR12354859",
|
|
2982
|
+
"type": "string",
|
|
2983
|
+
"routing": {
|
|
2984
|
+
"send": {
|
|
2985
|
+
"type": "query",
|
|
2986
|
+
"property": "requestId",
|
|
2987
|
+
"value": "={{ $value }}",
|
|
2988
|
+
"propertyInDotNotation": false
|
|
2989
|
+
}
|
|
2990
|
+
},
|
|
2991
|
+
"displayOptions": {
|
|
2992
|
+
"show": {
|
|
2993
|
+
"resource": [
|
|
2994
|
+
"Auto Invest"
|
|
2995
|
+
],
|
|
2996
|
+
"operation": [
|
|
2997
|
+
"GET Sapi V 1 Lending Auto Invest One Off Status"
|
|
2998
|
+
]
|
|
2999
|
+
}
|
|
3000
|
+
}
|
|
3001
|
+
},
|
|
3002
|
+
{
|
|
3003
|
+
"displayName": "Recv Window",
|
|
3004
|
+
"name": "recvWindow",
|
|
3005
|
+
"description": "The value cannot be greater than 60000",
|
|
3006
|
+
"default": 5000,
|
|
3007
|
+
"type": "number",
|
|
3008
|
+
"routing": {
|
|
3009
|
+
"send": {
|
|
3010
|
+
"type": "query",
|
|
3011
|
+
"property": "recvWindow",
|
|
3012
|
+
"value": "={{ $value }}",
|
|
3013
|
+
"propertyInDotNotation": false
|
|
3014
|
+
}
|
|
3015
|
+
},
|
|
3016
|
+
"displayOptions": {
|
|
3017
|
+
"show": {
|
|
3018
|
+
"resource": [
|
|
3019
|
+
"Auto Invest"
|
|
3020
|
+
],
|
|
3021
|
+
"operation": [
|
|
3022
|
+
"GET Sapi V 1 Lending Auto Invest One Off Status"
|
|
3023
|
+
]
|
|
3024
|
+
}
|
|
3025
|
+
}
|
|
3026
|
+
},
|
|
3027
|
+
{
|
|
3028
|
+
"displayName": "Timestamp",
|
|
3029
|
+
"name": "timestamp",
|
|
3030
|
+
"required": true,
|
|
3031
|
+
"description": "UTC timestamp in ms",
|
|
3032
|
+
"default": 0,
|
|
3033
|
+
"type": "number",
|
|
3034
|
+
"routing": {
|
|
3035
|
+
"send": {
|
|
3036
|
+
"type": "query",
|
|
3037
|
+
"property": "timestamp",
|
|
3038
|
+
"value": "={{ $value }}",
|
|
3039
|
+
"propertyInDotNotation": false
|
|
3040
|
+
}
|
|
3041
|
+
},
|
|
3042
|
+
"displayOptions": {
|
|
3043
|
+
"show": {
|
|
3044
|
+
"resource": [
|
|
3045
|
+
"Auto Invest"
|
|
3046
|
+
],
|
|
3047
|
+
"operation": [
|
|
3048
|
+
"GET Sapi V 1 Lending Auto Invest One Off Status"
|
|
3049
|
+
]
|
|
3050
|
+
}
|
|
3051
|
+
}
|
|
3052
|
+
},
|
|
3053
|
+
{
|
|
3054
|
+
"displayName": "Signature",
|
|
3055
|
+
"name": "signature",
|
|
3056
|
+
"required": true,
|
|
3057
|
+
"description": "Signature",
|
|
3058
|
+
"default": "",
|
|
3059
|
+
"type": "string",
|
|
3060
|
+
"routing": {
|
|
3061
|
+
"send": {
|
|
3062
|
+
"type": "query",
|
|
3063
|
+
"property": "signature",
|
|
3064
|
+
"value": "={{ $value }}",
|
|
3065
|
+
"propertyInDotNotation": false
|
|
3066
|
+
}
|
|
3067
|
+
},
|
|
3068
|
+
"displayOptions": {
|
|
3069
|
+
"show": {
|
|
3070
|
+
"resource": [
|
|
3071
|
+
"Auto Invest"
|
|
3072
|
+
],
|
|
3073
|
+
"operation": [
|
|
3074
|
+
"GET Sapi V 1 Lending Auto Invest One Off Status"
|
|
3075
|
+
]
|
|
3076
|
+
}
|
|
3077
|
+
}
|
|
3078
|
+
},
|
|
3079
|
+
{
|
|
3080
|
+
"displayName": "POST /sapi/v1/lending/auto-invest/redeem",
|
|
3081
|
+
"name": "operation",
|
|
3082
|
+
"type": "notice",
|
|
3083
|
+
"typeOptions": {
|
|
3084
|
+
"theme": "info"
|
|
3085
|
+
},
|
|
3086
|
+
"default": "",
|
|
3087
|
+
"displayOptions": {
|
|
3088
|
+
"show": {
|
|
3089
|
+
"resource": [
|
|
3090
|
+
"Auto Invest"
|
|
3091
|
+
],
|
|
3092
|
+
"operation": [
|
|
3093
|
+
"POST Sapi V 1 Lending Auto Invest Redeem"
|
|
3094
|
+
]
|
|
3095
|
+
}
|
|
3096
|
+
}
|
|
3097
|
+
},
|
|
3098
|
+
{
|
|
3099
|
+
"displayName": "Index Id",
|
|
3100
|
+
"name": "indexId",
|
|
3101
|
+
"required": true,
|
|
3102
|
+
"description": "PORTFOLIO plan's Id",
|
|
3103
|
+
"default": 123456,
|
|
3104
|
+
"type": "number",
|
|
3105
|
+
"routing": {
|
|
3106
|
+
"send": {
|
|
3107
|
+
"type": "query",
|
|
3108
|
+
"property": "indexId",
|
|
3109
|
+
"value": "={{ $value }}",
|
|
3110
|
+
"propertyInDotNotation": false
|
|
3111
|
+
}
|
|
3112
|
+
},
|
|
3113
|
+
"displayOptions": {
|
|
3114
|
+
"show": {
|
|
3115
|
+
"resource": [
|
|
3116
|
+
"Auto Invest"
|
|
3117
|
+
],
|
|
3118
|
+
"operation": [
|
|
3119
|
+
"POST Sapi V 1 Lending Auto Invest Redeem"
|
|
3120
|
+
]
|
|
3121
|
+
}
|
|
3122
|
+
}
|
|
3123
|
+
},
|
|
3124
|
+
{
|
|
3125
|
+
"displayName": "Request Id",
|
|
3126
|
+
"name": "requestId",
|
|
3127
|
+
"description": "sourceType + unique, transactionId and requestId cannot be empty at the same time",
|
|
3128
|
+
"default": "TR12354859",
|
|
3129
|
+
"type": "string",
|
|
3130
|
+
"routing": {
|
|
3131
|
+
"send": {
|
|
3132
|
+
"type": "query",
|
|
3133
|
+
"property": "requestId",
|
|
3134
|
+
"value": "={{ $value }}",
|
|
3135
|
+
"propertyInDotNotation": false
|
|
3136
|
+
}
|
|
3137
|
+
},
|
|
3138
|
+
"displayOptions": {
|
|
3139
|
+
"show": {
|
|
3140
|
+
"resource": [
|
|
3141
|
+
"Auto Invest"
|
|
3142
|
+
],
|
|
3143
|
+
"operation": [
|
|
3144
|
+
"POST Sapi V 1 Lending Auto Invest Redeem"
|
|
3145
|
+
]
|
|
3146
|
+
}
|
|
3147
|
+
}
|
|
3148
|
+
},
|
|
3149
|
+
{
|
|
3150
|
+
"displayName": "Redemption Percentage",
|
|
3151
|
+
"name": "redemptionPercentage",
|
|
3152
|
+
"required": true,
|
|
3153
|
+
"description": "user redeem percentage,10/20/100.",
|
|
3154
|
+
"default": 10,
|
|
3155
|
+
"type": "number",
|
|
3156
|
+
"routing": {
|
|
3157
|
+
"send": {
|
|
3158
|
+
"type": "query",
|
|
3159
|
+
"property": "redemptionPercentage",
|
|
3160
|
+
"value": "={{ $value }}",
|
|
3161
|
+
"propertyInDotNotation": false
|
|
3162
|
+
}
|
|
3163
|
+
},
|
|
3164
|
+
"displayOptions": {
|
|
3165
|
+
"show": {
|
|
3166
|
+
"resource": [
|
|
3167
|
+
"Auto Invest"
|
|
3168
|
+
],
|
|
3169
|
+
"operation": [
|
|
3170
|
+
"POST Sapi V 1 Lending Auto Invest Redeem"
|
|
3171
|
+
]
|
|
3172
|
+
}
|
|
3173
|
+
}
|
|
3174
|
+
},
|
|
3175
|
+
{
|
|
3176
|
+
"displayName": "Recv Window",
|
|
3177
|
+
"name": "recvWindow",
|
|
3178
|
+
"description": "The value cannot be greater than 60000",
|
|
3179
|
+
"default": 5000,
|
|
3180
|
+
"type": "number",
|
|
3181
|
+
"routing": {
|
|
3182
|
+
"send": {
|
|
3183
|
+
"type": "query",
|
|
3184
|
+
"property": "recvWindow",
|
|
3185
|
+
"value": "={{ $value }}",
|
|
3186
|
+
"propertyInDotNotation": false
|
|
3187
|
+
}
|
|
3188
|
+
},
|
|
3189
|
+
"displayOptions": {
|
|
3190
|
+
"show": {
|
|
3191
|
+
"resource": [
|
|
3192
|
+
"Auto Invest"
|
|
3193
|
+
],
|
|
3194
|
+
"operation": [
|
|
3195
|
+
"POST Sapi V 1 Lending Auto Invest Redeem"
|
|
3196
|
+
]
|
|
3197
|
+
}
|
|
3198
|
+
}
|
|
3199
|
+
},
|
|
3200
|
+
{
|
|
3201
|
+
"displayName": "Timestamp",
|
|
3202
|
+
"name": "timestamp",
|
|
3203
|
+
"required": true,
|
|
3204
|
+
"description": "UTC timestamp in ms",
|
|
3205
|
+
"default": 0,
|
|
3206
|
+
"type": "number",
|
|
3207
|
+
"routing": {
|
|
3208
|
+
"send": {
|
|
3209
|
+
"type": "query",
|
|
3210
|
+
"property": "timestamp",
|
|
3211
|
+
"value": "={{ $value }}",
|
|
3212
|
+
"propertyInDotNotation": false
|
|
3213
|
+
}
|
|
3214
|
+
},
|
|
3215
|
+
"displayOptions": {
|
|
3216
|
+
"show": {
|
|
3217
|
+
"resource": [
|
|
3218
|
+
"Auto Invest"
|
|
3219
|
+
],
|
|
3220
|
+
"operation": [
|
|
3221
|
+
"POST Sapi V 1 Lending Auto Invest Redeem"
|
|
3222
|
+
]
|
|
3223
|
+
}
|
|
3224
|
+
}
|
|
3225
|
+
},
|
|
3226
|
+
{
|
|
3227
|
+
"displayName": "Signature",
|
|
3228
|
+
"name": "signature",
|
|
3229
|
+
"required": true,
|
|
3230
|
+
"description": "Signature",
|
|
3231
|
+
"default": "",
|
|
3232
|
+
"type": "string",
|
|
3233
|
+
"routing": {
|
|
3234
|
+
"send": {
|
|
3235
|
+
"type": "query",
|
|
3236
|
+
"property": "signature",
|
|
3237
|
+
"value": "={{ $value }}",
|
|
3238
|
+
"propertyInDotNotation": false
|
|
3239
|
+
}
|
|
3240
|
+
},
|
|
3241
|
+
"displayOptions": {
|
|
3242
|
+
"show": {
|
|
3243
|
+
"resource": [
|
|
3244
|
+
"Auto Invest"
|
|
3245
|
+
],
|
|
3246
|
+
"operation": [
|
|
3247
|
+
"POST Sapi V 1 Lending Auto Invest Redeem"
|
|
3248
|
+
]
|
|
3249
|
+
}
|
|
3250
|
+
}
|
|
3251
|
+
},
|
|
3252
|
+
{
|
|
3253
|
+
"displayName": "GET /sapi/v1/lending/auto-invest/redeem/history",
|
|
3254
|
+
"name": "operation",
|
|
3255
|
+
"type": "notice",
|
|
3256
|
+
"typeOptions": {
|
|
3257
|
+
"theme": "info"
|
|
3258
|
+
},
|
|
3259
|
+
"default": "",
|
|
3260
|
+
"displayOptions": {
|
|
3261
|
+
"show": {
|
|
3262
|
+
"resource": [
|
|
3263
|
+
"Auto Invest"
|
|
3264
|
+
],
|
|
3265
|
+
"operation": [
|
|
3266
|
+
"GET Sapi V 1 Lending Auto Invest Redeem History"
|
|
3267
|
+
]
|
|
3268
|
+
}
|
|
3269
|
+
}
|
|
3270
|
+
},
|
|
3271
|
+
{
|
|
3272
|
+
"displayName": "Request Id",
|
|
3273
|
+
"name": "requestId",
|
|
3274
|
+
"required": true,
|
|
3275
|
+
"default": 12345,
|
|
3276
|
+
"type": "number",
|
|
3277
|
+
"routing": {
|
|
3278
|
+
"send": {
|
|
3279
|
+
"type": "query",
|
|
3280
|
+
"property": "requestId",
|
|
3281
|
+
"value": "={{ $value }}",
|
|
3282
|
+
"propertyInDotNotation": false
|
|
3283
|
+
}
|
|
3284
|
+
},
|
|
3285
|
+
"displayOptions": {
|
|
3286
|
+
"show": {
|
|
3287
|
+
"resource": [
|
|
3288
|
+
"Auto Invest"
|
|
3289
|
+
],
|
|
3290
|
+
"operation": [
|
|
3291
|
+
"GET Sapi V 1 Lending Auto Invest Redeem History"
|
|
3292
|
+
]
|
|
3293
|
+
}
|
|
3294
|
+
}
|
|
3295
|
+
},
|
|
3296
|
+
{
|
|
3297
|
+
"displayName": "Start Time",
|
|
3298
|
+
"name": "startTime",
|
|
3299
|
+
"description": "UTC timestamp in ms",
|
|
3300
|
+
"default": 0,
|
|
3301
|
+
"type": "number",
|
|
3302
|
+
"routing": {
|
|
3303
|
+
"send": {
|
|
3304
|
+
"type": "query",
|
|
3305
|
+
"property": "startTime",
|
|
3306
|
+
"value": "={{ $value }}",
|
|
3307
|
+
"propertyInDotNotation": false
|
|
3308
|
+
}
|
|
3309
|
+
},
|
|
3310
|
+
"displayOptions": {
|
|
3311
|
+
"show": {
|
|
3312
|
+
"resource": [
|
|
3313
|
+
"Auto Invest"
|
|
3314
|
+
],
|
|
3315
|
+
"operation": [
|
|
3316
|
+
"GET Sapi V 1 Lending Auto Invest Redeem History"
|
|
3317
|
+
]
|
|
3318
|
+
}
|
|
3319
|
+
}
|
|
3320
|
+
},
|
|
3321
|
+
{
|
|
3322
|
+
"displayName": "End Time",
|
|
3323
|
+
"name": "endTime",
|
|
3324
|
+
"description": "UTC timestamp in ms",
|
|
3325
|
+
"default": 0,
|
|
3326
|
+
"type": "number",
|
|
3327
|
+
"routing": {
|
|
3328
|
+
"send": {
|
|
3329
|
+
"type": "query",
|
|
3330
|
+
"property": "endTime",
|
|
3331
|
+
"value": "={{ $value }}",
|
|
3332
|
+
"propertyInDotNotation": false
|
|
3333
|
+
}
|
|
3334
|
+
},
|
|
3335
|
+
"displayOptions": {
|
|
3336
|
+
"show": {
|
|
3337
|
+
"resource": [
|
|
3338
|
+
"Auto Invest"
|
|
3339
|
+
],
|
|
3340
|
+
"operation": [
|
|
3341
|
+
"GET Sapi V 1 Lending Auto Invest Redeem History"
|
|
3342
|
+
]
|
|
3343
|
+
}
|
|
3344
|
+
}
|
|
3345
|
+
},
|
|
3346
|
+
{
|
|
3347
|
+
"displayName": "Current",
|
|
3348
|
+
"name": "current",
|
|
3349
|
+
"description": "Current querying page. Start from 1. Default:1",
|
|
3350
|
+
"default": 1,
|
|
3351
|
+
"type": "number",
|
|
3352
|
+
"routing": {
|
|
3353
|
+
"send": {
|
|
3354
|
+
"type": "query",
|
|
3355
|
+
"property": "current",
|
|
3356
|
+
"value": "={{ $value }}",
|
|
3357
|
+
"propertyInDotNotation": false
|
|
3358
|
+
}
|
|
3359
|
+
},
|
|
3360
|
+
"displayOptions": {
|
|
3361
|
+
"show": {
|
|
3362
|
+
"resource": [
|
|
3363
|
+
"Auto Invest"
|
|
3364
|
+
],
|
|
3365
|
+
"operation": [
|
|
3366
|
+
"GET Sapi V 1 Lending Auto Invest Redeem History"
|
|
3367
|
+
]
|
|
3368
|
+
}
|
|
3369
|
+
}
|
|
3370
|
+
},
|
|
3371
|
+
{
|
|
3372
|
+
"displayName": "Asset",
|
|
3373
|
+
"name": "asset",
|
|
3374
|
+
"default": "BTC",
|
|
3375
|
+
"type": "string",
|
|
3376
|
+
"routing": {
|
|
3377
|
+
"send": {
|
|
3378
|
+
"type": "query",
|
|
3379
|
+
"property": "asset",
|
|
3380
|
+
"value": "={{ $value }}",
|
|
3381
|
+
"propertyInDotNotation": false
|
|
3382
|
+
}
|
|
3383
|
+
},
|
|
3384
|
+
"displayOptions": {
|
|
3385
|
+
"show": {
|
|
3386
|
+
"resource": [
|
|
3387
|
+
"Auto Invest"
|
|
3388
|
+
],
|
|
3389
|
+
"operation": [
|
|
3390
|
+
"GET Sapi V 1 Lending Auto Invest Redeem History"
|
|
3391
|
+
]
|
|
3392
|
+
}
|
|
3393
|
+
}
|
|
3394
|
+
},
|
|
3395
|
+
{
|
|
3396
|
+
"displayName": "Size",
|
|
3397
|
+
"name": "size",
|
|
3398
|
+
"description": "Default:10 Max:100",
|
|
3399
|
+
"default": 100,
|
|
3400
|
+
"type": "number",
|
|
3401
|
+
"routing": {
|
|
3402
|
+
"send": {
|
|
3403
|
+
"type": "query",
|
|
3404
|
+
"property": "size",
|
|
3405
|
+
"value": "={{ $value }}",
|
|
3406
|
+
"propertyInDotNotation": false
|
|
3407
|
+
}
|
|
3408
|
+
},
|
|
3409
|
+
"displayOptions": {
|
|
3410
|
+
"show": {
|
|
3411
|
+
"resource": [
|
|
3412
|
+
"Auto Invest"
|
|
3413
|
+
],
|
|
3414
|
+
"operation": [
|
|
3415
|
+
"GET Sapi V 1 Lending Auto Invest Redeem History"
|
|
3416
|
+
]
|
|
3417
|
+
}
|
|
3418
|
+
}
|
|
3419
|
+
},
|
|
3420
|
+
{
|
|
3421
|
+
"displayName": "Recv Window",
|
|
3422
|
+
"name": "recvWindow",
|
|
3423
|
+
"description": "The value cannot be greater than 60000",
|
|
3424
|
+
"default": 5000,
|
|
3425
|
+
"type": "number",
|
|
3426
|
+
"routing": {
|
|
3427
|
+
"send": {
|
|
3428
|
+
"type": "query",
|
|
3429
|
+
"property": "recvWindow",
|
|
3430
|
+
"value": "={{ $value }}",
|
|
3431
|
+
"propertyInDotNotation": false
|
|
3432
|
+
}
|
|
3433
|
+
},
|
|
3434
|
+
"displayOptions": {
|
|
3435
|
+
"show": {
|
|
3436
|
+
"resource": [
|
|
3437
|
+
"Auto Invest"
|
|
3438
|
+
],
|
|
3439
|
+
"operation": [
|
|
3440
|
+
"GET Sapi V 1 Lending Auto Invest Redeem History"
|
|
3441
|
+
]
|
|
3442
|
+
}
|
|
3443
|
+
}
|
|
3444
|
+
},
|
|
3445
|
+
{
|
|
3446
|
+
"displayName": "Timestamp",
|
|
3447
|
+
"name": "timestamp",
|
|
3448
|
+
"required": true,
|
|
3449
|
+
"description": "UTC timestamp in ms",
|
|
3450
|
+
"default": 0,
|
|
3451
|
+
"type": "number",
|
|
3452
|
+
"routing": {
|
|
3453
|
+
"send": {
|
|
3454
|
+
"type": "query",
|
|
3455
|
+
"property": "timestamp",
|
|
3456
|
+
"value": "={{ $value }}",
|
|
3457
|
+
"propertyInDotNotation": false
|
|
3458
|
+
}
|
|
3459
|
+
},
|
|
3460
|
+
"displayOptions": {
|
|
3461
|
+
"show": {
|
|
3462
|
+
"resource": [
|
|
3463
|
+
"Auto Invest"
|
|
3464
|
+
],
|
|
3465
|
+
"operation": [
|
|
3466
|
+
"GET Sapi V 1 Lending Auto Invest Redeem History"
|
|
3467
|
+
]
|
|
3468
|
+
}
|
|
3469
|
+
}
|
|
3470
|
+
},
|
|
3471
|
+
{
|
|
3472
|
+
"displayName": "Signature",
|
|
3473
|
+
"name": "signature",
|
|
3474
|
+
"required": true,
|
|
3475
|
+
"description": "Signature",
|
|
3476
|
+
"default": "",
|
|
3477
|
+
"type": "string",
|
|
3478
|
+
"routing": {
|
|
3479
|
+
"send": {
|
|
3480
|
+
"type": "query",
|
|
3481
|
+
"property": "signature",
|
|
3482
|
+
"value": "={{ $value }}",
|
|
3483
|
+
"propertyInDotNotation": false
|
|
3484
|
+
}
|
|
3485
|
+
},
|
|
3486
|
+
"displayOptions": {
|
|
3487
|
+
"show": {
|
|
3488
|
+
"resource": [
|
|
3489
|
+
"Auto Invest"
|
|
3490
|
+
],
|
|
3491
|
+
"operation": [
|
|
3492
|
+
"GET Sapi V 1 Lending Auto Invest Redeem History"
|
|
3493
|
+
]
|
|
3494
|
+
}
|
|
3495
|
+
}
|
|
3496
|
+
},
|
|
3497
|
+
{
|
|
3498
|
+
"displayName": "GET /sapi/v1/lending/auto-invest/rebalance/history",
|
|
3499
|
+
"name": "operation",
|
|
3500
|
+
"type": "notice",
|
|
3501
|
+
"typeOptions": {
|
|
3502
|
+
"theme": "info"
|
|
3503
|
+
},
|
|
3504
|
+
"default": "",
|
|
3505
|
+
"displayOptions": {
|
|
3506
|
+
"show": {
|
|
3507
|
+
"resource": [
|
|
3508
|
+
"Auto Invest"
|
|
3509
|
+
],
|
|
3510
|
+
"operation": [
|
|
3511
|
+
"GET Sapi V 1 Lending Auto Invest Rebalance History"
|
|
3512
|
+
]
|
|
3513
|
+
}
|
|
3514
|
+
}
|
|
3515
|
+
},
|
|
3516
|
+
{
|
|
3517
|
+
"displayName": "Start Time",
|
|
3518
|
+
"name": "startTime",
|
|
3519
|
+
"description": "UTC timestamp in ms",
|
|
3520
|
+
"default": 0,
|
|
3521
|
+
"type": "number",
|
|
3522
|
+
"routing": {
|
|
3523
|
+
"send": {
|
|
3524
|
+
"type": "query",
|
|
3525
|
+
"property": "startTime",
|
|
3526
|
+
"value": "={{ $value }}",
|
|
3527
|
+
"propertyInDotNotation": false
|
|
3528
|
+
}
|
|
3529
|
+
},
|
|
3530
|
+
"displayOptions": {
|
|
3531
|
+
"show": {
|
|
3532
|
+
"resource": [
|
|
3533
|
+
"Auto Invest"
|
|
3534
|
+
],
|
|
3535
|
+
"operation": [
|
|
3536
|
+
"GET Sapi V 1 Lending Auto Invest Rebalance History"
|
|
3537
|
+
]
|
|
3538
|
+
}
|
|
3539
|
+
}
|
|
3540
|
+
},
|
|
3541
|
+
{
|
|
3542
|
+
"displayName": "End Time",
|
|
3543
|
+
"name": "endTime",
|
|
3544
|
+
"description": "UTC timestamp in ms",
|
|
3545
|
+
"default": 0,
|
|
3546
|
+
"type": "number",
|
|
3547
|
+
"routing": {
|
|
3548
|
+
"send": {
|
|
3549
|
+
"type": "query",
|
|
3550
|
+
"property": "endTime",
|
|
3551
|
+
"value": "={{ $value }}",
|
|
3552
|
+
"propertyInDotNotation": false
|
|
3553
|
+
}
|
|
3554
|
+
},
|
|
3555
|
+
"displayOptions": {
|
|
3556
|
+
"show": {
|
|
3557
|
+
"resource": [
|
|
3558
|
+
"Auto Invest"
|
|
3559
|
+
],
|
|
3560
|
+
"operation": [
|
|
3561
|
+
"GET Sapi V 1 Lending Auto Invest Rebalance History"
|
|
3562
|
+
]
|
|
3563
|
+
}
|
|
3564
|
+
}
|
|
3565
|
+
},
|
|
3566
|
+
{
|
|
3567
|
+
"displayName": "Current",
|
|
3568
|
+
"name": "current",
|
|
3569
|
+
"description": "Current querying page. Start from 1. Default:1",
|
|
3570
|
+
"default": 1,
|
|
3571
|
+
"type": "number",
|
|
3572
|
+
"routing": {
|
|
3573
|
+
"send": {
|
|
3574
|
+
"type": "query",
|
|
3575
|
+
"property": "current",
|
|
3576
|
+
"value": "={{ $value }}",
|
|
3577
|
+
"propertyInDotNotation": false
|
|
3578
|
+
}
|
|
3579
|
+
},
|
|
3580
|
+
"displayOptions": {
|
|
3581
|
+
"show": {
|
|
3582
|
+
"resource": [
|
|
3583
|
+
"Auto Invest"
|
|
3584
|
+
],
|
|
3585
|
+
"operation": [
|
|
3586
|
+
"GET Sapi V 1 Lending Auto Invest Rebalance History"
|
|
3587
|
+
]
|
|
3588
|
+
}
|
|
3589
|
+
}
|
|
3590
|
+
},
|
|
3591
|
+
{
|
|
3592
|
+
"displayName": "Size",
|
|
3593
|
+
"name": "size",
|
|
3594
|
+
"description": "Default:10 Max:100",
|
|
3595
|
+
"default": 100,
|
|
3596
|
+
"type": "number",
|
|
3597
|
+
"routing": {
|
|
3598
|
+
"send": {
|
|
3599
|
+
"type": "query",
|
|
3600
|
+
"property": "size",
|
|
3601
|
+
"value": "={{ $value }}",
|
|
3602
|
+
"propertyInDotNotation": false
|
|
3603
|
+
}
|
|
3604
|
+
},
|
|
3605
|
+
"displayOptions": {
|
|
3606
|
+
"show": {
|
|
3607
|
+
"resource": [
|
|
3608
|
+
"Auto Invest"
|
|
3609
|
+
],
|
|
3610
|
+
"operation": [
|
|
3611
|
+
"GET Sapi V 1 Lending Auto Invest Rebalance History"
|
|
3612
|
+
]
|
|
3613
|
+
}
|
|
3614
|
+
}
|
|
3615
|
+
},
|
|
3616
|
+
{
|
|
3617
|
+
"displayName": "Recv Window",
|
|
3618
|
+
"name": "recvWindow",
|
|
3619
|
+
"description": "The value cannot be greater than 60000",
|
|
3620
|
+
"default": 5000,
|
|
3621
|
+
"type": "number",
|
|
3622
|
+
"routing": {
|
|
3623
|
+
"send": {
|
|
3624
|
+
"type": "query",
|
|
3625
|
+
"property": "recvWindow",
|
|
3626
|
+
"value": "={{ $value }}",
|
|
3627
|
+
"propertyInDotNotation": false
|
|
3628
|
+
}
|
|
3629
|
+
},
|
|
3630
|
+
"displayOptions": {
|
|
3631
|
+
"show": {
|
|
3632
|
+
"resource": [
|
|
3633
|
+
"Auto Invest"
|
|
3634
|
+
],
|
|
3635
|
+
"operation": [
|
|
3636
|
+
"GET Sapi V 1 Lending Auto Invest Rebalance History"
|
|
3637
|
+
]
|
|
3638
|
+
}
|
|
3639
|
+
}
|
|
3640
|
+
},
|
|
3641
|
+
{
|
|
3642
|
+
"displayName": "Timestamp",
|
|
3643
|
+
"name": "timestamp",
|
|
3644
|
+
"required": true,
|
|
3645
|
+
"description": "UTC timestamp in ms",
|
|
3646
|
+
"default": 0,
|
|
3647
|
+
"type": "number",
|
|
3648
|
+
"routing": {
|
|
3649
|
+
"send": {
|
|
3650
|
+
"type": "query",
|
|
3651
|
+
"property": "timestamp",
|
|
3652
|
+
"value": "={{ $value }}",
|
|
3653
|
+
"propertyInDotNotation": false
|
|
3654
|
+
}
|
|
3655
|
+
},
|
|
3656
|
+
"displayOptions": {
|
|
3657
|
+
"show": {
|
|
3658
|
+
"resource": [
|
|
3659
|
+
"Auto Invest"
|
|
3660
|
+
],
|
|
3661
|
+
"operation": [
|
|
3662
|
+
"GET Sapi V 1 Lending Auto Invest Rebalance History"
|
|
3663
|
+
]
|
|
3664
|
+
}
|
|
3665
|
+
}
|
|
3666
|
+
},
|
|
3667
|
+
{
|
|
3668
|
+
"displayName": "Signature",
|
|
3669
|
+
"name": "signature",
|
|
3670
|
+
"required": true,
|
|
3671
|
+
"description": "Signature",
|
|
3672
|
+
"default": "",
|
|
3673
|
+
"type": "string",
|
|
3674
|
+
"routing": {
|
|
3675
|
+
"send": {
|
|
3676
|
+
"type": "query",
|
|
3677
|
+
"property": "signature",
|
|
3678
|
+
"value": "={{ $value }}",
|
|
3679
|
+
"propertyInDotNotation": false
|
|
3680
|
+
}
|
|
3681
|
+
},
|
|
3682
|
+
"displayOptions": {
|
|
3683
|
+
"show": {
|
|
3684
|
+
"resource": [
|
|
3685
|
+
"Auto Invest"
|
|
3686
|
+
],
|
|
3687
|
+
"operation": [
|
|
3688
|
+
"GET Sapi V 1 Lending Auto Invest Rebalance History"
|
|
3689
|
+
]
|
|
3690
|
+
}
|
|
3691
|
+
}
|
|
3692
|
+
},
|
|
3693
|
+
];
|
|
3694
|
+
//# sourceMappingURL=index.js.map
|