bitget-api 2.2.0 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/lib/rest-client-v2.d.ts +528 -260
  2. package/lib/rest-client-v2.js +26 -26
  3. package/lib/rest-client-v2.js.map +1 -1
  4. package/lib/types/response/index.d.ts +10 -3
  5. package/lib/types/response/index.js +10 -3
  6. package/lib/types/response/index.js.map +1 -1
  7. package/lib/types/response/{futures.d.ts → v1/futures.d.ts} +1 -1
  8. package/lib/types/response/v1/futures.js.map +1 -0
  9. package/lib/types/response/v1/shared.js.map +1 -0
  10. package/lib/types/response/{spot.js.map → v1/spot.js.map} +1 -1
  11. package/lib/types/response/v2/broker.d.ts +135 -0
  12. package/lib/types/response/v2/broker.js +8 -0
  13. package/lib/types/response/v2/broker.js.map +1 -0
  14. package/lib/types/response/v2/common.d.ts +384 -0
  15. package/lib/types/response/v2/common.js +8 -0
  16. package/lib/types/response/v2/common.js.map +1 -0
  17. package/lib/types/response/v2/copy-trading.d.ts +385 -0
  18. package/lib/types/response/v2/copy-trading.js +10 -0
  19. package/lib/types/response/v2/copy-trading.js.map +1 -0
  20. package/lib/types/response/v2/earn.d.ts +294 -0
  21. package/lib/types/response/v2/earn.js +10 -0
  22. package/lib/types/response/v2/earn.js.map +1 -0
  23. package/lib/types/response/v2/futures.d.ts +546 -0
  24. package/lib/types/response/v2/futures.js +8 -0
  25. package/lib/types/response/v2/futures.js.map +1 -0
  26. package/lib/types/response/v2/margin.d.ts +277 -0
  27. package/lib/types/response/v2/margin.js +8 -0
  28. package/lib/types/response/v2/margin.js.map +1 -0
  29. package/lib/types/response/v2/spot.d.ts +385 -0
  30. package/lib/types/response/v2/spot.js +8 -0
  31. package/lib/types/response/v2/spot.js.map +1 -0
  32. package/package.json +1 -1
  33. package/lib/types/response/futures.js.map +0 -1
  34. package/lib/types/response/shared.js.map +0 -1
  35. /package/lib/types/response/{futures.js → v1/futures.js} +0 -0
  36. /package/lib/types/response/{shared.d.ts → v1/shared.d.ts} +0 -0
  37. /package/lib/types/response/{shared.js → v1/shared.js} +0 -0
  38. /package/lib/types/response/{spot.d.ts → v1/spot.d.ts} +0 -0
  39. /package/lib/types/response/{spot.js → v1/spot.js} +0 -0
@@ -0,0 +1,385 @@
1
+ /**
2
+ *
3
+ *
4
+ * Copy Trading | Future copy trading | Trader Api
5
+ *
6
+ *
7
+ */
8
+ export interface CTFuturesTraderCurrentOrderV2 {
9
+ trackingNo: string;
10
+ openOrderId: string;
11
+ symbol: string;
12
+ posSide: string;
13
+ openLeverage: string;
14
+ openPriceAvg: string;
15
+ openTime: string;
16
+ openSize: string;
17
+ presetStopSurplusPrice: string;
18
+ presetStopLossPrice: string;
19
+ openFee: string;
20
+ followCount: string;
21
+ }
22
+ export interface CTFuturesTraderCurrentOrdersV2 {
23
+ trackingList: CTFuturesTraderCurrentOrderV2[];
24
+ endId: string;
25
+ }
26
+ export interface CTFuturesTraderHistoryOrderV2 {
27
+ trackingNo: string;
28
+ symbol: string;
29
+ openOrderId: string;
30
+ closeOrderId: string;
31
+ productType: string;
32
+ posSide: string;
33
+ openLeverage: string;
34
+ openPriceAvg: string;
35
+ openTime: string;
36
+ openSize: string;
37
+ closeSize: string;
38
+ closeTime: string;
39
+ closePriceAvg: string;
40
+ stopType: string;
41
+ achievedPL: string;
42
+ openFee: string;
43
+ closeFee: string;
44
+ cTime: string;
45
+ }
46
+ export interface CTFuturesTraderHistoryOrderV2 {
47
+ trackingList: CTFuturesTraderHistoryOrderV2[];
48
+ endId: string;
49
+ }
50
+ export interface CTRateCTimeV2 {
51
+ rate: string;
52
+ ctime: string;
53
+ }
54
+ export interface CTAmountCTimeV2 {
55
+ amount: string;
56
+ ctime: string;
57
+ }
58
+ export interface CTFuturesTraderTotalOrderSummaryV2 {
59
+ roi: string;
60
+ tradingOrderNum: string;
61
+ totalFollowerNum: string;
62
+ currentFollowerNum: string;
63
+ totalpl: string;
64
+ gainNum: string;
65
+ lossNum: string;
66
+ winRate: string;
67
+ tradingPairsAvailableList: string[];
68
+ lastWeekRoiList: CTRateCTimeV2[];
69
+ lastWeekProfitList: CTAmountCTimeV2[];
70
+ lastMonthRoiList: CTRateCTimeV2[];
71
+ lastMonthProfitList: CTAmountCTimeV2[];
72
+ totalEquity: string;
73
+ }
74
+ export interface CTFuturesTraderProfitHistoryItemV2 {
75
+ coin: string;
76
+ profitCount: string;
77
+ lastProfitTime: string;
78
+ }
79
+ export interface CTFuturesTraderHistoryProfitSummaryV2 {
80
+ profitSummary: {
81
+ yesterdayProfit: string;
82
+ sumProfit: string;
83
+ waitProfit: string;
84
+ yesterdayTime: string;
85
+ };
86
+ profitHistoryList: CTFuturesTraderProfitHistoryItemV2[];
87
+ }
88
+ export interface CTFuturesTraderProfitShare {
89
+ profitId: string;
90
+ coin: string;
91
+ profit: string;
92
+ nickName: string;
93
+ profitTime: string;
94
+ }
95
+ export interface CTFuturesTraderProfitShareHistoryV2 {
96
+ profitList: CTFuturesTraderProfitShare[];
97
+ endId: string;
98
+ }
99
+ export interface CTFuturesTraderSymbolSettingsV2 {
100
+ symbol: string;
101
+ openTrader: string;
102
+ minOpenCount: string;
103
+ maxLeverage: string;
104
+ stopSurplusRatio: string;
105
+ stopLossRatio: string;
106
+ }
107
+ export interface CTFuturesTraderMyFollowersV2 {
108
+ accountEquity: string;
109
+ isRemove: string;
110
+ followerHeadPic: string;
111
+ followerName: string;
112
+ followerUid: string;
113
+ followerTime: string;
114
+ }
115
+ /**
116
+ *
117
+ *
118
+ * Copy Trading | Future copy trading | Follower Api
119
+ *
120
+ *
121
+ */
122
+ export interface CTFuturesFollowerCurrentOrdersV2 {
123
+ trackingNo: string;
124
+ traderName: string;
125
+ openOrderId: string;
126
+ closeOrderId: string;
127
+ traderId: string;
128
+ symbol: string;
129
+ posSide: string;
130
+ openLeverage: string;
131
+ openAvgPrice: string;
132
+ openTime: string;
133
+ openSize: string;
134
+ closeAvgPrice: string;
135
+ closeSize: string;
136
+ openMarginSz: string;
137
+ closeTime: string;
138
+ }
139
+ export interface CTFuturesFollowerHistoryOrderV2 {
140
+ trackingNo: string;
141
+ posSide: string;
142
+ openLeverage: string;
143
+ openSize: string;
144
+ closeSize: string;
145
+ openPriceAvg: string;
146
+ closePriceAvg: string;
147
+ achievedPL: string;
148
+ openFee: string;
149
+ closeFee: string;
150
+ symbol: string;
151
+ profitRate: string;
152
+ netProfit: string;
153
+ openOrderId: string;
154
+ closeOrderId: string;
155
+ openTime: string;
156
+ closeTime: string;
157
+ traderId: string;
158
+ productType: string;
159
+ }
160
+ export interface CTFuturesFollowerHistoryOrdersV2 {
161
+ trackingList: CTFuturesFollowerHistoryOrderV2[];
162
+ endId: string;
163
+ }
164
+ export interface CTFuturesFollowerSettingV2 {
165
+ symbol: string;
166
+ productType: string;
167
+ marginType: string;
168
+ marginCoin: string;
169
+ leverType: string;
170
+ longLeverage: string;
171
+ shortLeverage: string;
172
+ traceType: string;
173
+ }
174
+ export interface CTFuturesFollowerSettingsV2 {
175
+ followerEnable: string;
176
+ detailList: CTFuturesFollowerSettingV2[];
177
+ }
178
+ export interface CTFuturesFollowerMyTradersV2 {
179
+ certificationType: string;
180
+ traderId: string;
181
+ traderName: string;
182
+ maxFollowLimit: string;
183
+ followCount: string;
184
+ traceTotalMarginAmount: string;
185
+ traceTotalNetProfit: string;
186
+ traceTotalProfit: string;
187
+ currentTradingPairs: string[];
188
+ followerTime: string;
189
+ bgbMaxFollowLimit: string;
190
+ bgbFollowCount: string;
191
+ }
192
+ /**
193
+ *
194
+ *
195
+ * Copy Trading | Spot copy trading | Trader api
196
+ *
197
+ *
198
+ */
199
+ export interface CTSpotTraderProfitSummaryV2 {
200
+ profitSummarys: {
201
+ yesterdayProfit: string;
202
+ yesterdayTime: string;
203
+ sumProfit: string;
204
+ waitProfit: string;
205
+ };
206
+ profitHistoryList: {
207
+ coin: string;
208
+ profitCount: string;
209
+ lastProfitTime: string;
210
+ historysByDateList: {
211
+ profit: string;
212
+ profitTime: string;
213
+ }[];
214
+ }[];
215
+ }
216
+ export interface CTSpotTraderHistoryProfitShareItemV2 {
217
+ profitId: string;
218
+ coin: string;
219
+ distributeRatio: string;
220
+ profit: string;
221
+ followerName: string;
222
+ profitTime: string;
223
+ }
224
+ export interface CTSpotTraderHistoryProfitSharingV2 {
225
+ endId: string;
226
+ profitList: CTSpotTraderHistoryProfitShareItemV2[];
227
+ }
228
+ export interface CTSpotTraderUnrealizedProfitV2 {
229
+ distributeRatio: string;
230
+ coin: string;
231
+ profit: string;
232
+ followerName: string;
233
+ }
234
+ export interface CTSpotTraderTotalOrderDetailV2 {
235
+ totalFollowerNum: string;
236
+ currentFollowerNum: string;
237
+ maxFollowerNum: string;
238
+ tradingOrderNum: string;
239
+ totalpl: string;
240
+ gainNum: string;
241
+ lossNum: string;
242
+ totalEquity: string;
243
+ winRate: string;
244
+ lastWeekRoiList: CTAmountCTimeV2[];
245
+ lastMonthRoiList: CTRateCTimeV2[];
246
+ lastWeekProfitList: CTAmountCTimeV2[];
247
+ lastMonthProfitList: CTAmountCTimeV2[];
248
+ }
249
+ export interface CTSpotTraderHistoryOrderV2 {
250
+ trackingNo: string;
251
+ fillSize: string;
252
+ buyPrice: string;
253
+ sellPrice: string;
254
+ achievedPL: string;
255
+ buyTime: string;
256
+ sellTime: string;
257
+ buyFee: string;
258
+ sellFee: string;
259
+ achievedPLR: string;
260
+ symbol: string;
261
+ netProfit: string;
262
+ followCount: string;
263
+ }
264
+ export interface CTSpotTraderHistoryOrdersV2 {
265
+ endId: string;
266
+ trackingList: CTSpotTraderHistoryOrderV2[];
267
+ }
268
+ export interface CTSpotTraderCurrentTrackingOrderV2 {
269
+ trackingNo: string;
270
+ orderId: string;
271
+ buyFillSize: string;
272
+ buyDelegateSize: string;
273
+ buyPrice: string;
274
+ unrealizedPL: string;
275
+ buyTime: string;
276
+ buyFee: string;
277
+ unrealizedPLR: string;
278
+ symbol: string;
279
+ stopLossPrice: string | null;
280
+ stopSurplusPrice: string | null;
281
+ followCount: string;
282
+ }
283
+ export interface CTSpotTraderCurrentTrackingOrdersV2 {
284
+ endId: string;
285
+ trackingList: CTSpotTraderCurrentTrackingOrderV2[];
286
+ }
287
+ export interface CTSpotTraderFollowerListV2 {
288
+ accountEquity: string;
289
+ isRemove: string;
290
+ followerHeadPic: string | null;
291
+ followerName: string;
292
+ followerUid: string;
293
+ followerTime: string;
294
+ }
295
+ /**
296
+ *
297
+ *
298
+ * Copy Trading | Spot copy trading | Follower api
299
+ *
300
+ *
301
+ */
302
+ export interface CTSpotFollowerMyTraderV2 {
303
+ certificationType: string;
304
+ traceTotalAmount: string;
305
+ traceTotalNetProfit: string;
306
+ traceTotalProfit: string;
307
+ traderName: string;
308
+ traderId: string;
309
+ maxFollowLimit: string;
310
+ bgbMaxFollowLimit: string;
311
+ followCount: string;
312
+ bgbFollowCount: string;
313
+ followerTime: string;
314
+ }
315
+ export interface CTSpotFollowerMyTradersV2 {
316
+ resultList: CTSpotFollowerMyTraderV2[];
317
+ }
318
+ export interface CTSpotFollowerTradeSettingV2 {
319
+ maxTraceAmount: string;
320
+ stopLossRation: string;
321
+ stopSurplusRation: string;
322
+ symbol: string;
323
+ traceType: string;
324
+ }
325
+ export interface CTSpotFollowerTradeSymbolSettingV2 {
326
+ maxStopLossRation: string;
327
+ maxStopSurplusRation: string;
328
+ maxTraceAmount: string;
329
+ maxTraceAmountSystem: string;
330
+ maxTraceSize: string;
331
+ maxTraceRation: string;
332
+ minStopLossRation: string;
333
+ minStopSurplusRation: string;
334
+ minTraceAmount: string;
335
+ minTraceSize: string;
336
+ minTraceRation: string;
337
+ sliderMaxStopLossRatio: string;
338
+ sliderMaxStopSurplusRatio: string;
339
+ symbol: string;
340
+ }
341
+ export interface CTSpotFollowerFollowConfigurationV2 {
342
+ enable: string;
343
+ profitRate: string;
344
+ settledInDays: string;
345
+ tradeSettingList: CTSpotFollowerTradeSettingV2[];
346
+ tradeSymbolSettingList: CTSpotFollowerTradeSymbolSettingV2[];
347
+ traderHeadPic: string;
348
+ traderName: string;
349
+ }
350
+ export interface CTSpotFollowerHistoryOrderV2 {
351
+ trackingNo: string;
352
+ traderId: string;
353
+ fillSize: string;
354
+ buyPrice: string;
355
+ sellPrice: string;
356
+ buyFee: string;
357
+ sellFee: string;
358
+ achievedPL: string;
359
+ achievedPLR: string;
360
+ symbol: string;
361
+ buyTime: string;
362
+ sellTime: string;
363
+ }
364
+ export interface CTSpotFollowerHistoryOrdersV2 {
365
+ endId: string;
366
+ trackingList: CTSpotFollowerHistoryOrderV2[];
367
+ }
368
+ export interface CTSpotFollowerCurrentOrderV2 {
369
+ trackingNo: string;
370
+ traderId: string;
371
+ buyFillSize: string;
372
+ buyDelegateSize: string;
373
+ buyPrice: string;
374
+ unrealizedPL: string;
375
+ buyTime: string;
376
+ buyFee: string;
377
+ unrealizedPLR: string;
378
+ symbol: string;
379
+ stopSurplusPrice: string | null;
380
+ stopLossPrice: string | null;
381
+ }
382
+ export interface CTSpotFollowerCurrentOrdersV2 {
383
+ endId: string;
384
+ trackingList: CTSpotFollowerCurrentOrderV2[];
385
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * Copy Trading | Future copy trading | Trader Api
6
+ *
7
+ *
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ //# sourceMappingURL=copy-trading.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"copy-trading.js","sourceRoot":"","sources":["../../../../src/types/response/v2/copy-trading.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG"}
@@ -0,0 +1,294 @@
1
+ /**
2
+ *
3
+ *
4
+ * Earn | Savings
5
+ *
6
+ *
7
+ */
8
+ export interface EarnSavingsProductsV2 {
9
+ productId: string;
10
+ coin: string;
11
+ periodType: string;
12
+ period: string;
13
+ apyType: string;
14
+ advanceRedeem: string;
15
+ settleMethod: string;
16
+ apyList: {
17
+ rateLevel: string;
18
+ minStepVal: string;
19
+ maxStepVal: string;
20
+ currentApy: string;
21
+ }[];
22
+ status: string;
23
+ productLevel: string;
24
+ }
25
+ export interface EarnSavingsAccountV2 {
26
+ btcAmount: string;
27
+ usdtAmount: string;
28
+ btc24hEarning: string;
29
+ usdt24hEarning: string;
30
+ btcTotalEarning: string;
31
+ usdtTotalEarning: string;
32
+ }
33
+ export interface EarnSavingsAssetV2 {
34
+ productId: string;
35
+ orderId: string;
36
+ productCoin: string;
37
+ interestCoin: string;
38
+ periodType: string;
39
+ period: string;
40
+ holdAmount: string;
41
+ lastProfit: string;
42
+ totalProfit: string;
43
+ holdDays: string;
44
+ status: string;
45
+ allowRedemption: string;
46
+ productLevel: string;
47
+ apy: {
48
+ rateLevel: string;
49
+ minApy: string;
50
+ maxApy: string;
51
+ currentApy: string;
52
+ }[];
53
+ }
54
+ export interface EarnSavingsAssetsV2 {
55
+ resultList: EarnSavingsAssetV2[];
56
+ endId: string;
57
+ }
58
+ export interface EarnSavingsRecordV2 {
59
+ orderId: string;
60
+ coinName: string;
61
+ settleCoinName: string;
62
+ productType: string;
63
+ period: string;
64
+ productLevel: string;
65
+ amount: string;
66
+ ts: string;
67
+ orderType: string;
68
+ }
69
+ export interface EarnSavingsRecordsV2 {
70
+ resultList: EarnSavingsRecordV2[];
71
+ endId: string;
72
+ }
73
+ export interface EarnSavingsSubscriptionDetailV2 {
74
+ singleMinAmount: string;
75
+ singleMaxAmount: string;
76
+ remainingAmount: string;
77
+ subscribePrecision: string;
78
+ profitPrecision: string;
79
+ subscribeTime: string;
80
+ interestTime: string;
81
+ settleTime: string;
82
+ expireTime: string;
83
+ redeemTime: string;
84
+ settleMethod: string;
85
+ apyList: {
86
+ rateLevel: string;
87
+ minStepVal: string;
88
+ maxStepVal: string;
89
+ currentApy: string;
90
+ }[];
91
+ redeemDelay: string;
92
+ }
93
+ /**
94
+ *
95
+ *
96
+ * Earn | Earn Account
97
+ *
98
+ *
99
+ */
100
+ /**
101
+ *
102
+ *
103
+ * Earn | Shark Fin
104
+ *
105
+ *
106
+ */
107
+ export interface EarnSharkfinProductV2 {
108
+ productId: string;
109
+ productName: string;
110
+ productCoin: string;
111
+ subscribeCoin: string;
112
+ farmingStartTime: string;
113
+ farmingEndTime: string;
114
+ lowerRate: string;
115
+ defaultRate: string;
116
+ upperRate: string;
117
+ period: string;
118
+ interestStartTime: string;
119
+ status: string;
120
+ minAmount: string;
121
+ limitAmount: string;
122
+ soldAmount: string;
123
+ endTime: string;
124
+ startTime: string;
125
+ }
126
+ export interface EarnSharkfinProductsV2 {
127
+ resultList: EarnSharkfinProductV2[];
128
+ endId: string;
129
+ }
130
+ export interface EarnSharkfinAccountV2 {
131
+ btcSubscribeAmount: string;
132
+ usdtSubscribeAmount: string;
133
+ btcHistoricalAmount: string;
134
+ usdtHistoricalAmount: string;
135
+ btcTotalEarning: string;
136
+ usdtTotalEarning: string;
137
+ }
138
+ export interface EarnSharkfinAssetV2 {
139
+ productId: string;
140
+ interestStartTime: string;
141
+ interestEndTime: string;
142
+ productCoin: string;
143
+ subscribeCoin: string;
144
+ trend: string;
145
+ settleTime: string;
146
+ interestAmount: string;
147
+ productStatus: string;
148
+ }
149
+ export interface EarnSharkfinAssetsV2 {
150
+ resultList: EarnSharkfinAssetV2[];
151
+ endId: string;
152
+ }
153
+ export interface EarnSharkfinRecordV2 {
154
+ orderId: string;
155
+ product: string;
156
+ period: string;
157
+ amount: string;
158
+ ts: string;
159
+ type: string;
160
+ }
161
+ export interface EarnSharkfinRecordsV2 {
162
+ resultList: EarnSharkfinRecordV2[];
163
+ endId: string;
164
+ }
165
+ export interface EarnSharkfinSubscriptionDetailV2 {
166
+ productCoin: string;
167
+ subscribeCoin: string;
168
+ interestTime: string;
169
+ expirationTime: string;
170
+ minPrice: string;
171
+ currentPrice: string;
172
+ maxPrice: string;
173
+ minRate: string;
174
+ defaultRate: string;
175
+ maxRate: string;
176
+ period: string;
177
+ productMinAmount: string;
178
+ availableBalance: string;
179
+ userAmount: string;
180
+ remainingAmount: string;
181
+ profitPrecision: string;
182
+ subscribePrecision: string;
183
+ }
184
+ /**
185
+ *
186
+ *
187
+ * Earn | Loan
188
+ *
189
+ *
190
+ */
191
+ export interface EarnLoanCurrencyLoanInfoV2 {
192
+ coin: string;
193
+ hourRate7D: string;
194
+ rate7D: string;
195
+ hourRate30D: string;
196
+ rate30D: string;
197
+ minUsdt: string;
198
+ maxUsdt: string;
199
+ min: string;
200
+ max: string;
201
+ }
202
+ export interface EarnLoanCurrencyPledgeInfoV2 {
203
+ coin: string;
204
+ initRate: string;
205
+ supRate: string;
206
+ forceRate: string;
207
+ minUsdt: string;
208
+ maxUsdt: string;
209
+ }
210
+ export interface EarnLoanCurrenciesV2 {
211
+ loanInfos: EarnLoanCurrencyLoanInfoV2[];
212
+ pledgeInfos: EarnLoanCurrencyPledgeInfoV2[];
213
+ }
214
+ export interface EarnLoanOrdersV2 {
215
+ orderId: string;
216
+ loanCoin: string;
217
+ loanAmount: string;
218
+ interestAmount: string;
219
+ hourInterestRate: string;
220
+ pledgeCoin: string;
221
+ pledgeAmount: string;
222
+ pledgeRate: string;
223
+ supRate: string;
224
+ forceRate: string;
225
+ borrowTime: string;
226
+ expireTime: string;
227
+ }
228
+ export interface EarnLoanRepayResponseV2 {
229
+ loanCoin: string;
230
+ pledgeCoin: string;
231
+ repayAmount: string;
232
+ payInterest: string;
233
+ repayLoanAmount: string;
234
+ repayUnlockAmount: string;
235
+ }
236
+ export interface EarnLoanRepayHistoryV2 {
237
+ orderId: string;
238
+ loanCoin: string;
239
+ pledgeCoin: string;
240
+ repayAmount: string;
241
+ payInterest: string;
242
+ repayLoanAmount: string;
243
+ repayUnlockAmount: string;
244
+ repayTime: string;
245
+ }
246
+ export interface EarnLoanPledgeRateHistoryV2 {
247
+ loanCoin: string;
248
+ pledgeCoin: string;
249
+ orderId: string;
250
+ reviseTime: string;
251
+ reviseSide: string;
252
+ reviseAmount: string;
253
+ afterPledgeRate: string;
254
+ beforePledgeRate: string;
255
+ }
256
+ export interface EarnLoanHistoryV2 {
257
+ orderId: string;
258
+ loanCoin: string;
259
+ pledgeCoin: string;
260
+ initPledgeAmount: string;
261
+ initLoanAmount: string;
262
+ hourRate: string;
263
+ daily: string;
264
+ borrowTime: string;
265
+ status: string;
266
+ }
267
+ export interface EarnLoanDebtPledgeInfoV2 {
268
+ coin: string;
269
+ amount: string;
270
+ amountUsdt: string;
271
+ }
272
+ export interface EarnLoanDebtLoanInfoV2 {
273
+ coin: string;
274
+ amount: string;
275
+ amountUsdt: string;
276
+ }
277
+ export interface EarnLoanDebtsV2 {
278
+ pledgeInfos: EarnLoanDebtPledgeInfoV2[];
279
+ loanInfos: EarnLoanDebtLoanInfoV2[];
280
+ }
281
+ export interface EarnLoanLiquidationRecordsV2 {
282
+ orderId: string;
283
+ loanCoin: string;
284
+ pledgeCoin: string;
285
+ reduceTime: string;
286
+ pledgeRate: string;
287
+ pledgePrice: string;
288
+ status: string;
289
+ pledgeAmount: string;
290
+ reduceFee: string;
291
+ residueAmount: string;
292
+ runlockAmount: string;
293
+ repayLoanAmount: string;
294
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * Earn | Savings
6
+ *
7
+ *
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ //# sourceMappingURL=earn.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"earn.js","sourceRoot":"","sources":["../../../../src/types/response/v2/earn.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG"}