ccxt 4.1.52 → 4.1.53
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 +6 -8
- package/dist/ccxt.browser.js +1311 -2712
- package/dist/ccxt.browser.min.js +7 -7
- package/dist/cjs/ccxt.js +1 -7
- package/dist/cjs/src/ace.js +56 -59
- package/dist/cjs/src/ascendex.js +1 -2
- package/dist/cjs/src/base/Exchange.js +1 -11
- package/dist/cjs/src/bingx.js +48 -8
- package/dist/cjs/src/bybit.js +2 -11
- package/dist/cjs/src/cryptocom.js +1 -0
- package/dist/cjs/src/digifinex.js +9 -6
- package/dist/cjs/src/lbank.js +2333 -443
- package/dist/cjs/src/ndax.js +59 -61
- package/dist/cjs/src/novadax.js +57 -59
- package/dist/cjs/src/oceanex.js +58 -60
- package/dist/cjs/src/okcoin.js +1 -9
- package/dist/cjs/src/okx.js +0 -7
- package/dist/cjs/src/poloniex.js +55 -57
- package/dist/cjs/src/poloniexfutures.js +67 -70
- package/dist/cjs/src/pro/bingx.js +18 -11
- package/dist/cjs/src/pro/poloniexfutures.js +9 -0
- package/dist/cjs/src/probit.js +62 -65
- package/dist/cjs/src/timex.js +1 -5
- package/dist/cjs/src/upbit.js +56 -58
- package/dist/cjs/src/wazirx.js +72 -74
- package/dist/cjs/src/whitebit.js +88 -91
- package/dist/cjs/src/woo.js +75 -77
- package/dist/cjs/src/zaif.js +57 -71
- package/dist/cjs/src/zonda.js +67 -70
- package/js/ccxt.d.ts +2 -8
- package/js/ccxt.js +2 -6
- package/js/src/abstract/bybit.d.ts +1 -0
- package/js/src/abstract/lbank.d.ts +57 -15
- package/js/src/ace.d.ts +8 -7
- package/js/src/ace.js +56 -59
- package/js/src/alpaca.d.ts +4 -4
- package/js/src/ascendex.d.ts +12 -12
- package/js/src/ascendex.js +1 -2
- package/js/src/base/Exchange.js +1 -11
- package/js/src/base/types.d.ts +73 -71
- package/js/src/bigone.d.ts +10 -10
- package/js/src/binance.d.ts +27 -27
- package/js/src/bingx.d.ts +15 -15
- package/js/src/bingx.js +48 -8
- package/js/src/bit2c.d.ts +5 -5
- package/js/src/bitbank.d.ts +5 -5
- package/js/src/bitbns.d.ts +7 -7
- package/js/src/bitfinex.d.ts +8 -8
- package/js/src/bitfinex2.d.ts +12 -12
- package/js/src/bitflyer.d.ts +9 -9
- package/js/src/bitforex.d.ts +6 -6
- package/js/src/bitget.d.ts +24 -24
- package/js/src/bithumb.d.ts +4 -4
- package/js/src/bitmart.d.ts +21 -21
- package/js/src/bitmex.d.ts +14 -14
- package/js/src/bitopro.d.ts +12 -12
- package/js/src/bitpanda.d.ts +11 -11
- package/js/src/bitrue.d.ts +8 -8
- package/js/src/bitso.d.ts +11 -11
- package/js/src/bitstamp.d.ts +10 -10
- package/js/src/bitstamp1.d.ts +4 -4
- package/js/src/bittrex.d.ts +14 -14
- package/js/src/bitvavo.d.ts +9 -9
- package/js/src/bl3p.d.ts +2 -2
- package/js/src/blockchaincom.d.ts +13 -13
- package/js/src/btcalpha.d.ts +9 -9
- package/js/src/btcbox.d.ts +6 -6
- package/js/src/btcmarkets.d.ts +12 -12
- package/js/src/btcturk.d.ts +5 -5
- package/js/src/bybit.d.ts +28 -28
- package/js/src/bybit.js +2 -11
- package/js/src/cex.d.ts +6 -6
- package/js/src/coinbase.d.ts +17 -17
- package/js/src/coinbasepro.d.ts +13 -13
- package/js/src/coincheck.d.ts +6 -6
- package/js/src/coinex.d.ts +18 -18
- package/js/src/coinlist.d.ts +14 -14
- package/js/src/coinmate.d.ts +7 -7
- package/js/src/coinone.d.ts +5 -5
- package/js/src/coinsph.d.ts +10 -10
- package/js/src/coinspot.d.ts +3 -3
- package/js/src/cryptocom.d.ts +16 -16
- package/js/src/cryptocom.js +1 -0
- package/js/src/currencycom.d.ts +10 -10
- package/js/src/delta.d.ts +10 -10
- package/js/src/deribit.d.ts +13 -13
- package/js/src/digifinex.d.ts +17 -17
- package/js/src/digifinex.js +9 -6
- package/js/src/exmo.d.ts +12 -12
- package/js/src/gate.d.ts +20 -20
- package/js/src/gemini.d.ts +6 -6
- package/js/src/hitbtc.d.ts +15 -15
- package/js/src/hollaex.d.ts +12 -12
- package/js/src/htx.d.ts +27 -27
- package/js/src/huobijp.d.ts +16 -16
- package/js/src/idex.d.ts +13 -13
- package/js/src/independentreserve.d.ts +6 -6
- package/js/src/indodax.d.ts +6 -6
- package/js/src/kraken.d.ts +16 -16
- package/js/src/krakenfutures.d.ts +9 -9
- package/js/src/kucoin.d.ts +15 -15
- package/js/src/kucoinfutures.d.ts +11 -11
- package/js/src/kuna.d.ts +12 -12
- package/js/src/latoken.d.ts +9 -9
- package/js/src/lbank.d.ts +65 -12
- package/js/src/lbank.js +2334 -444
- package/js/src/lbank2.d.ts +11 -11
- package/js/src/luno.d.ts +10 -10
- package/js/src/lykke.d.ts +8 -8
- package/js/src/mercado.d.ts +6 -6
- package/js/src/mexc.d.ts +23 -23
- package/js/src/ndax.d.ts +13 -12
- package/js/src/ndax.js +59 -61
- package/js/src/novadax.d.ts +13 -12
- package/js/src/novadax.js +57 -59
- package/js/src/oceanex.d.ts +10 -9
- package/js/src/oceanex.js +58 -60
- package/js/src/okcoin.d.ts +12 -13
- package/js/src/okcoin.js +1 -9
- package/js/src/okx.d.ts +26 -27
- package/js/src/okx.js +0 -7
- package/js/src/paymium.d.ts +2 -2
- package/js/src/phemex.d.ts +16 -16
- package/js/src/poloniex.d.ts +15 -14
- package/js/src/poloniex.js +55 -57
- package/js/src/poloniexfutures.d.ts +11 -10
- package/js/src/poloniexfutures.js +67 -70
- package/js/src/pro/alpaca.d.ts +3 -3
- package/js/src/pro/ascendex.d.ts +2 -2
- package/js/src/pro/binance.d.ts +9 -9
- package/js/src/pro/bingx.d.ts +3 -3
- package/js/src/pro/bingx.js +19 -12
- package/js/src/pro/bitfinex.d.ts +3 -3
- package/js/src/pro/bitfinex2.d.ts +3 -3
- package/js/src/pro/bitget.d.ts +3 -3
- package/js/src/pro/bitmart.d.ts +2 -2
- package/js/src/pro/bitmex.d.ts +3 -3
- package/js/src/pro/bitpanda.d.ts +3 -3
- package/js/src/pro/bitrue.d.ts +2 -2
- package/js/src/pro/bitstamp.d.ts +2 -2
- package/js/src/pro/bittrex.d.ts +3 -3
- package/js/src/pro/bitvavo.d.ts +3 -3
- package/js/src/pro/blockchaincom.d.ts +2 -2
- package/js/src/pro/bybit.d.ts +4 -4
- package/js/src/pro/cex.d.ts +3 -3
- package/js/src/pro/coinbasepro.d.ts +3 -3
- package/js/src/pro/coinex.d.ts +2 -2
- package/js/src/pro/cryptocom.d.ts +5 -5
- package/js/src/pro/deribit.d.ts +3 -3
- package/js/src/pro/exmo.d.ts +2 -2
- package/js/src/pro/gate.d.ts +3 -3
- package/js/src/pro/gemini.d.ts +2 -2
- package/js/src/pro/hitbtc.d.ts +3 -3
- package/js/src/pro/hollaex.d.ts +3 -3
- package/js/src/pro/htx.d.ts +3 -3
- package/js/src/pro/idex.d.ts +3 -3
- package/js/src/pro/kraken.d.ts +7 -7
- package/js/src/pro/krakenfutures.d.ts +4 -4
- package/js/src/pro/kucoin.d.ts +3 -3
- package/js/src/pro/kucoinfutures.d.ts +3 -3
- package/js/src/pro/mexc.d.ts +3 -3
- package/js/src/pro/okcoin.d.ts +2 -2
- package/js/src/pro/okx.d.ts +6 -6
- package/js/src/pro/phemex.d.ts +3 -3
- package/js/src/pro/poloniex.d.ts +3 -3
- package/js/src/pro/poloniexfutures.d.ts +3 -3
- package/js/src/pro/poloniexfutures.js +9 -0
- package/js/src/pro/probit.d.ts +3 -3
- package/js/src/pro/wazirx.d.ts +3 -3
- package/js/src/pro/whitebit.d.ts +3 -3
- package/js/src/pro/woo.d.ts +2 -2
- package/js/src/probit.d.ts +11 -10
- package/js/src/probit.js +62 -65
- package/js/src/tidex.d.ts +5 -5
- package/js/src/timex.d.ts +10 -10
- package/js/src/timex.js +1 -5
- package/js/src/tokocrypto.d.ts +9 -9
- package/js/src/upbit.d.ts +11 -10
- package/js/src/upbit.js +56 -58
- package/js/src/wavesexchange.d.ts +7 -7
- package/js/src/wazirx.d.ts +7 -6
- package/js/src/wazirx.js +72 -74
- package/js/src/whitebit.d.ts +12 -11
- package/js/src/whitebit.js +88 -91
- package/js/src/woo.d.ts +20 -19
- package/js/src/woo.js +75 -77
- package/js/src/yobit.d.ts +5 -5
- package/js/src/zaif.d.ts +6 -5
- package/js/src/zaif.js +57 -71
- package/js/src/zonda.d.ts +7 -6
- package/js/src/zonda.js +67 -70
- package/package.json +1 -1
- package/skip-tests.json +0 -15
- package/test.ts +0 -0
- package/js/src/abstract/bitstamp1.d.ts +0 -26
- package/js/src/abstract/bitstamp1.js +0 -11
- package/js/src/abstract/lbank2.d.ts +0 -64
- package/js/src/abstract/lbank2.js +0 -11
package/dist/cjs/src/zaif.js
CHANGED
|
@@ -128,16 +128,7 @@ class zaif extends zaif$1 {
|
|
|
128
128
|
},
|
|
129
129
|
},
|
|
130
130
|
},
|
|
131
|
-
'options': {
|
|
132
|
-
// zaif schedule defines several market-specific fees
|
|
133
|
-
'fees': {
|
|
134
|
-
'BTC/JPY': { 'maker': this.parseNumber('0'), 'taker': this.parseNumber('0.001') },
|
|
135
|
-
'BCH/JPY': { 'maker': this.parseNumber('0'), 'taker': this.parseNumber('0.003') },
|
|
136
|
-
'BCH/BTC': { 'maker': this.parseNumber('0'), 'taker': this.parseNumber('0.003') },
|
|
137
|
-
'PEPECASH/JPY': { 'maker': this.parseNumber('0'), 'taker': this.parseNumber('0.0001') },
|
|
138
|
-
'PEPECASH/BT': { 'maker': this.parseNumber('0'), 'taker': this.parseNumber('0.0001') },
|
|
139
|
-
},
|
|
140
|
-
},
|
|
131
|
+
'options': {},
|
|
141
132
|
'precisionMode': number.TICK_SIZE,
|
|
142
133
|
'exceptions': {
|
|
143
134
|
'exact': {
|
|
@@ -178,69 +169,64 @@ class zaif extends zaif$1 {
|
|
|
178
169
|
// }
|
|
179
170
|
// ]
|
|
180
171
|
//
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
'
|
|
216
|
-
'
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
172
|
+
return this.parseMarkets(markets);
|
|
173
|
+
}
|
|
174
|
+
parseMarket(market) {
|
|
175
|
+
const id = this.safeString(market, 'currency_pair');
|
|
176
|
+
const name = this.safeString(market, 'name');
|
|
177
|
+
const [baseId, quoteId] = name.split('/');
|
|
178
|
+
const base = this.safeCurrencyCode(baseId);
|
|
179
|
+
const quote = this.safeCurrencyCode(quoteId);
|
|
180
|
+
const symbol = base + '/' + quote;
|
|
181
|
+
return {
|
|
182
|
+
'id': id,
|
|
183
|
+
'symbol': symbol,
|
|
184
|
+
'base': base,
|
|
185
|
+
'quote': quote,
|
|
186
|
+
'settle': undefined,
|
|
187
|
+
'baseId': baseId,
|
|
188
|
+
'quoteId': quoteId,
|
|
189
|
+
'settleId': undefined,
|
|
190
|
+
'type': 'spot',
|
|
191
|
+
'spot': true,
|
|
192
|
+
'margin': undefined,
|
|
193
|
+
'swap': false,
|
|
194
|
+
'future': false,
|
|
195
|
+
'option': false,
|
|
196
|
+
'active': undefined,
|
|
197
|
+
'contract': false,
|
|
198
|
+
'linear': undefined,
|
|
199
|
+
'inverse': undefined,
|
|
200
|
+
'contractSize': undefined,
|
|
201
|
+
'expiry': undefined,
|
|
202
|
+
'expiryDatetime': undefined,
|
|
203
|
+
'strike': undefined,
|
|
204
|
+
'optionType': undefined,
|
|
205
|
+
'precision': {
|
|
206
|
+
'amount': this.safeNumber(market, 'item_unit_step'),
|
|
207
|
+
'price': this.parseNumber(this.parsePrecision(this.safeString(market, 'aux_unit_point'))),
|
|
208
|
+
},
|
|
209
|
+
'limits': {
|
|
210
|
+
'leverage': {
|
|
211
|
+
'min': undefined,
|
|
212
|
+
'max': undefined,
|
|
220
213
|
},
|
|
221
|
-
'
|
|
222
|
-
'
|
|
223
|
-
|
|
224
|
-
'max': undefined,
|
|
225
|
-
},
|
|
226
|
-
'amount': {
|
|
227
|
-
'min': this.safeNumber(market, 'item_unit_min'),
|
|
228
|
-
'max': undefined,
|
|
229
|
-
},
|
|
230
|
-
'price': {
|
|
231
|
-
'min': this.safeNumber(market, 'aux_unit_min'),
|
|
232
|
-
'max': undefined,
|
|
233
|
-
},
|
|
234
|
-
'cost': {
|
|
235
|
-
'min': undefined,
|
|
236
|
-
'max': undefined,
|
|
237
|
-
},
|
|
214
|
+
'amount': {
|
|
215
|
+
'min': this.safeNumber(market, 'item_unit_min'),
|
|
216
|
+
'max': undefined,
|
|
238
217
|
},
|
|
239
|
-
'
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
218
|
+
'price': {
|
|
219
|
+
'min': this.safeNumber(market, 'aux_unit_min'),
|
|
220
|
+
'max': undefined,
|
|
221
|
+
},
|
|
222
|
+
'cost': {
|
|
223
|
+
'min': undefined,
|
|
224
|
+
'max': undefined,
|
|
225
|
+
},
|
|
226
|
+
},
|
|
227
|
+
'created': undefined,
|
|
228
|
+
'info': market,
|
|
229
|
+
};
|
|
244
230
|
}
|
|
245
231
|
parseBalance(response) {
|
|
246
232
|
const balances = this.safeValue(response, 'return', {});
|
package/dist/cjs/src/zonda.js
CHANGED
|
@@ -304,7 +304,6 @@ class zonda extends zonda$1 {
|
|
|
304
304
|
* @returns {object[]} an array of objects representing market data
|
|
305
305
|
*/
|
|
306
306
|
const response = await this.v1_01PublicGetTradingTicker(params);
|
|
307
|
-
const fiatCurrencies = this.safeValue(this.options, 'fiatCurrencies', []);
|
|
308
307
|
//
|
|
309
308
|
// {
|
|
310
309
|
// "status": "Ok",
|
|
@@ -324,78 +323,76 @@ class zonda extends zonda$1 {
|
|
|
324
323
|
// },
|
|
325
324
|
// }
|
|
326
325
|
//
|
|
327
|
-
const result = [];
|
|
328
326
|
const items = this.safeValue(response, 'items', {});
|
|
329
|
-
const
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
327
|
+
const markets = Object.values(items);
|
|
328
|
+
return this.parseMarkets(markets);
|
|
329
|
+
}
|
|
330
|
+
parseMarket(item) {
|
|
331
|
+
const market = this.safeValue(item, 'market', {});
|
|
332
|
+
const id = this.safeString(market, 'code');
|
|
333
|
+
const first = this.safeValue(market, 'first', {});
|
|
334
|
+
const second = this.safeValue(market, 'second', {});
|
|
335
|
+
const baseId = this.safeString(first, 'currency');
|
|
336
|
+
const quoteId = this.safeString(second, 'currency');
|
|
337
|
+
const base = this.safeCurrencyCode(baseId);
|
|
338
|
+
const quote = this.safeCurrencyCode(quoteId);
|
|
339
|
+
let fees = this.safeValue(this.fees, 'trading', {});
|
|
340
|
+
const fiatCurrencies = this.safeValue(this.options, 'fiatCurrencies', []);
|
|
341
|
+
if (this.inArray(base, fiatCurrencies) || this.inArray(quote, fiatCurrencies)) {
|
|
342
|
+
fees = this.safeValue(this.fees, 'fiat', {});
|
|
343
|
+
}
|
|
344
|
+
// todo: check that the limits have ben interpreted correctly
|
|
345
|
+
return {
|
|
346
|
+
'id': id,
|
|
347
|
+
'symbol': base + '/' + quote,
|
|
348
|
+
'base': base,
|
|
349
|
+
'quote': quote,
|
|
350
|
+
'settle': undefined,
|
|
351
|
+
'baseId': baseId,
|
|
352
|
+
'quoteId': quoteId,
|
|
353
|
+
'settleId': undefined,
|
|
354
|
+
'type': 'spot',
|
|
355
|
+
'spot': true,
|
|
356
|
+
'margin': false,
|
|
357
|
+
'swap': false,
|
|
358
|
+
'future': false,
|
|
359
|
+
'option': false,
|
|
360
|
+
'active': undefined,
|
|
361
|
+
'contract': false,
|
|
362
|
+
'linear': undefined,
|
|
363
|
+
'inverse': undefined,
|
|
364
|
+
'taker': this.safeNumber(fees, 'taker'),
|
|
365
|
+
'maker': this.safeNumber(fees, 'maker'),
|
|
366
|
+
'contractSize': undefined,
|
|
367
|
+
'expiry': undefined,
|
|
368
|
+
'expiryDatetime': undefined,
|
|
369
|
+
'optionType': undefined,
|
|
370
|
+
'strike': undefined,
|
|
371
|
+
'precision': {
|
|
372
|
+
'amount': this.parseNumber(this.parsePrecision(this.safeString(first, 'scale'))),
|
|
373
|
+
'price': this.parseNumber(this.parsePrecision(this.safeString(second, 'scale'))),
|
|
374
|
+
},
|
|
375
|
+
'limits': {
|
|
376
|
+
'leverage': {
|
|
377
|
+
'min': undefined,
|
|
378
|
+
'max': undefined,
|
|
375
379
|
},
|
|
376
|
-
'
|
|
377
|
-
'
|
|
378
|
-
|
|
379
|
-
'max': undefined,
|
|
380
|
-
},
|
|
381
|
-
'amount': {
|
|
382
|
-
'min': this.safeNumber(first, 'minOffer'),
|
|
383
|
-
'max': undefined,
|
|
384
|
-
},
|
|
385
|
-
'price': {
|
|
386
|
-
'min': undefined,
|
|
387
|
-
'max': undefined,
|
|
388
|
-
},
|
|
389
|
-
'cost': {
|
|
390
|
-
'min': this.safeNumber(second, 'minOffer'),
|
|
391
|
-
'max': undefined,
|
|
392
|
-
},
|
|
380
|
+
'amount': {
|
|
381
|
+
'min': this.safeNumber(first, 'minOffer'),
|
|
382
|
+
'max': undefined,
|
|
393
383
|
},
|
|
394
|
-
'
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
384
|
+
'price': {
|
|
385
|
+
'min': undefined,
|
|
386
|
+
'max': undefined,
|
|
387
|
+
},
|
|
388
|
+
'cost': {
|
|
389
|
+
'min': undefined,
|
|
390
|
+
'max': undefined,
|
|
391
|
+
},
|
|
392
|
+
},
|
|
393
|
+
'created': undefined,
|
|
394
|
+
'info': item,
|
|
395
|
+
};
|
|
399
396
|
}
|
|
400
397
|
async fetchOpenOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
401
398
|
/**
|
package/js/ccxt.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as functions from './src/base/functions.js';
|
|
|
4
4
|
import * as errors from './src/base/errors.js';
|
|
5
5
|
import { Market, Trade, Fee, Ticker, OrderBook, Order, Transaction, Tickers, Currency, Balance, DepositAddress, WithdrawalResponse, DepositAddressResponse, OHLCV, Balances, PartialBalances, Dictionary, MinMax, Position, FundingRateHistory, Liquidation, FundingHistory, MarginMode, Greeks } from './src/base/types.js';
|
|
6
6
|
import { BaseError, ExchangeError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, MarginModeAlreadySet, BadResponse, NullResponse, InsufficientFunds, InvalidAddress, InvalidOrder, OrderNotFound, OrderNotCached, CancelPending, OrderImmediatelyFillable, OrderNotFillable, DuplicateOrderId, NotSupported, NetworkError, DDoSProtection, RateLimitExceeded, ExchangeNotAvailable, OnMaintenance, InvalidNonce, RequestTimeout, AuthenticationError, AddressPending, NoChange } from './src/base/errors.js';
|
|
7
|
-
declare const version = "4.1.
|
|
7
|
+
declare const version = "4.1.52";
|
|
8
8
|
import ace from './src/ace.js';
|
|
9
9
|
import alpaca from './src/alpaca.js';
|
|
10
10
|
import ascendex from './src/ascendex.js';
|
|
@@ -33,7 +33,6 @@ import bitpanda from './src/bitpanda.js';
|
|
|
33
33
|
import bitrue from './src/bitrue.js';
|
|
34
34
|
import bitso from './src/bitso.js';
|
|
35
35
|
import bitstamp from './src/bitstamp.js';
|
|
36
|
-
import bitstamp1 from './src/bitstamp1.js';
|
|
37
36
|
import bittrex from './src/bittrex.js';
|
|
38
37
|
import bitvavo from './src/bitvavo.js';
|
|
39
38
|
import bl3p from './src/bl3p.js';
|
|
@@ -81,7 +80,6 @@ import kucoinfutures from './src/kucoinfutures.js';
|
|
|
81
80
|
import kuna from './src/kuna.js';
|
|
82
81
|
import latoken from './src/latoken.js';
|
|
83
82
|
import lbank from './src/lbank.js';
|
|
84
|
-
import lbank2 from './src/lbank2.js';
|
|
85
83
|
import luno from './src/luno.js';
|
|
86
84
|
import lykke from './src/lykke.js';
|
|
87
85
|
import mercado from './src/mercado.js';
|
|
@@ -200,7 +198,6 @@ declare const exchanges: {
|
|
|
200
198
|
bitrue: typeof bitrue;
|
|
201
199
|
bitso: typeof bitso;
|
|
202
200
|
bitstamp: typeof bitstamp;
|
|
203
|
-
bitstamp1: typeof bitstamp1;
|
|
204
201
|
bittrex: typeof bittrex;
|
|
205
202
|
bitvavo: typeof bitvavo;
|
|
206
203
|
bl3p: typeof bl3p;
|
|
@@ -248,7 +245,6 @@ declare const exchanges: {
|
|
|
248
245
|
kuna: typeof kuna;
|
|
249
246
|
latoken: typeof latoken;
|
|
250
247
|
lbank: typeof lbank;
|
|
251
|
-
lbank2: typeof lbank2;
|
|
252
248
|
luno: typeof luno;
|
|
253
249
|
lykke: typeof lykke;
|
|
254
250
|
mercado: typeof mercado;
|
|
@@ -438,7 +434,6 @@ declare const ccxt: {
|
|
|
438
434
|
bitrue: typeof bitrue;
|
|
439
435
|
bitso: typeof bitso;
|
|
440
436
|
bitstamp: typeof bitstamp;
|
|
441
|
-
bitstamp1: typeof bitstamp1;
|
|
442
437
|
bittrex: typeof bittrex;
|
|
443
438
|
bitvavo: typeof bitvavo;
|
|
444
439
|
bl3p: typeof bl3p;
|
|
@@ -486,7 +481,6 @@ declare const ccxt: {
|
|
|
486
481
|
kuna: typeof kuna;
|
|
487
482
|
latoken: typeof latoken;
|
|
488
483
|
lbank: typeof lbank;
|
|
489
|
-
lbank2: typeof lbank2;
|
|
490
484
|
luno: typeof luno;
|
|
491
485
|
lykke: typeof lykke;
|
|
492
486
|
mercado: typeof mercado;
|
|
@@ -516,5 +510,5 @@ declare const ccxt: {
|
|
|
516
510
|
zaif: typeof zaif;
|
|
517
511
|
zonda: typeof zonda;
|
|
518
512
|
} & typeof functions & typeof errors;
|
|
519
|
-
export { version, Exchange, exchanges, pro, Precise, functions, errors, BaseError, ExchangeError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, MarginModeAlreadySet, BadResponse, NullResponse, InsufficientFunds, InvalidAddress, InvalidOrder, OrderNotFound, OrderNotCached, CancelPending, OrderImmediatelyFillable, OrderNotFillable, DuplicateOrderId, NotSupported, NetworkError, DDoSProtection, RateLimitExceeded, ExchangeNotAvailable, OnMaintenance, InvalidNonce, RequestTimeout, AuthenticationError, AddressPending, NoChange, Market, Trade, Fee, Ticker, OrderBook, Order, Transaction, Tickers, Currency, Balance, DepositAddress, WithdrawalResponse, DepositAddressResponse, OHLCV, Balances, PartialBalances, Dictionary, MinMax, Position, FundingRateHistory, Liquidation, FundingHistory, MarginMode, Greeks, ace, alpaca, ascendex, bequant, bigone, binance, binancecoinm, binanceus, binanceusdm, bingx, bit2c, bitbank, bitbay, bitbns, bitcoincom, bitfinex, bitfinex2, bitflyer, bitforex, bitget, bithumb, bitmart, bitmex, bitopro, bitpanda, bitrue, bitso, bitstamp,
|
|
513
|
+
export { version, Exchange, exchanges, pro, Precise, functions, errors, BaseError, ExchangeError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, MarginModeAlreadySet, BadResponse, NullResponse, InsufficientFunds, InvalidAddress, InvalidOrder, OrderNotFound, OrderNotCached, CancelPending, OrderImmediatelyFillable, OrderNotFillable, DuplicateOrderId, NotSupported, NetworkError, DDoSProtection, RateLimitExceeded, ExchangeNotAvailable, OnMaintenance, InvalidNonce, RequestTimeout, AuthenticationError, AddressPending, NoChange, Market, Trade, Fee, Ticker, OrderBook, Order, Transaction, Tickers, Currency, Balance, DepositAddress, WithdrawalResponse, DepositAddressResponse, OHLCV, Balances, PartialBalances, Dictionary, MinMax, Position, FundingRateHistory, Liquidation, FundingHistory, MarginMode, Greeks, ace, alpaca, ascendex, bequant, bigone, binance, binancecoinm, binanceus, binanceusdm, bingx, bit2c, bitbank, bitbay, bitbns, bitcoincom, bitfinex, bitfinex2, bitflyer, bitforex, bitget, bithumb, bitmart, bitmex, bitopro, bitpanda, bitrue, bitso, bitstamp, bittrex, bitvavo, bl3p, blockchaincom, btcalpha, btcbox, btcmarkets, btcturk, bybit, cex, coinbase, coinbaseprime, coinbasepro, coincheck, coinex, coinlist, coinmate, coinone, coinsph, coinspot, cryptocom, currencycom, delta, deribit, digifinex, exmo, fmfwio, gate, gateio, gemini, hitbtc, hitbtc3, hollaex, htx, huobi, huobijp, huobipro, idex, independentreserve, indodax, kraken, krakenfutures, kucoin, kucoinfutures, kuna, latoken, lbank, luno, lykke, mercado, mexc, mexc3, ndax, novadax, oceanex, okcoin, okex, okex5, okx, paymium, phemex, poloniex, poloniexfutures, probit, tidex, timex, tokocrypto, upbit, wavesexchange, wazirx, whitebit, woo, yobit, zaif, zonda, };
|
|
520
514
|
export default ccxt;
|
package/js/ccxt.js
CHANGED
|
@@ -38,7 +38,7 @@ import * as errors from './src/base/errors.js';
|
|
|
38
38
|
import { BaseError, ExchangeError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, MarginModeAlreadySet, BadResponse, NullResponse, InsufficientFunds, InvalidAddress, InvalidOrder, OrderNotFound, OrderNotCached, CancelPending, OrderImmediatelyFillable, OrderNotFillable, DuplicateOrderId, NotSupported, NetworkError, DDoSProtection, RateLimitExceeded, ExchangeNotAvailable, OnMaintenance, InvalidNonce, RequestTimeout, AuthenticationError, AddressPending, NoChange } from './src/base/errors.js';
|
|
39
39
|
//-----------------------------------------------------------------------------
|
|
40
40
|
// this is updated by vss.js when building
|
|
41
|
-
const version = '4.1.
|
|
41
|
+
const version = '4.1.53';
|
|
42
42
|
Exchange.ccxtVersion = version;
|
|
43
43
|
//-----------------------------------------------------------------------------
|
|
44
44
|
import ace from './src/ace.js';
|
|
@@ -69,7 +69,6 @@ import bitpanda from './src/bitpanda.js';
|
|
|
69
69
|
import bitrue from './src/bitrue.js';
|
|
70
70
|
import bitso from './src/bitso.js';
|
|
71
71
|
import bitstamp from './src/bitstamp.js';
|
|
72
|
-
import bitstamp1 from './src/bitstamp1.js';
|
|
73
72
|
import bittrex from './src/bittrex.js';
|
|
74
73
|
import bitvavo from './src/bitvavo.js';
|
|
75
74
|
import bl3p from './src/bl3p.js';
|
|
@@ -117,7 +116,6 @@ import kucoinfutures from './src/kucoinfutures.js';
|
|
|
117
116
|
import kuna from './src/kuna.js';
|
|
118
117
|
import latoken from './src/latoken.js';
|
|
119
118
|
import lbank from './src/lbank.js';
|
|
120
|
-
import lbank2 from './src/lbank2.js';
|
|
121
119
|
import luno from './src/luno.js';
|
|
122
120
|
import lykke from './src/lykke.js';
|
|
123
121
|
import mercado from './src/mercado.js';
|
|
@@ -237,7 +235,6 @@ const exchanges = {
|
|
|
237
235
|
'bitrue': bitrue,
|
|
238
236
|
'bitso': bitso,
|
|
239
237
|
'bitstamp': bitstamp,
|
|
240
|
-
'bitstamp1': bitstamp1,
|
|
241
238
|
'bittrex': bittrex,
|
|
242
239
|
'bitvavo': bitvavo,
|
|
243
240
|
'bl3p': bl3p,
|
|
@@ -285,7 +282,6 @@ const exchanges = {
|
|
|
285
282
|
'kuna': kuna,
|
|
286
283
|
'latoken': latoken,
|
|
287
284
|
'lbank': lbank,
|
|
288
|
-
'lbank2': lbank2,
|
|
289
285
|
'luno': luno,
|
|
290
286
|
'lykke': lykke,
|
|
291
287
|
'mercado': mercado,
|
|
@@ -390,6 +386,6 @@ pro.exchanges = Object.keys(pro);
|
|
|
390
386
|
pro['Exchange'] = Exchange; // now the same for rest and ts
|
|
391
387
|
//-----------------------------------------------------------------------------
|
|
392
388
|
const ccxt = Object.assign({ version, Exchange, Precise, 'exchanges': Object.keys(exchanges), 'pro': pro }, exchanges, functions, errors);
|
|
393
|
-
export { version, Exchange, exchanges, pro, Precise, functions, errors, BaseError, ExchangeError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, MarginModeAlreadySet, BadResponse, NullResponse, InsufficientFunds, InvalidAddress, InvalidOrder, OrderNotFound, OrderNotCached, CancelPending, OrderImmediatelyFillable, OrderNotFillable, DuplicateOrderId, NotSupported, NetworkError, DDoSProtection, RateLimitExceeded, ExchangeNotAvailable, OnMaintenance, InvalidNonce, RequestTimeout, AuthenticationError, AddressPending, NoChange, ace, alpaca, ascendex, bequant, bigone, binance, binancecoinm, binanceus, binanceusdm, bingx, bit2c, bitbank, bitbay, bitbns, bitcoincom, bitfinex, bitfinex2, bitflyer, bitforex, bitget, bithumb, bitmart, bitmex, bitopro, bitpanda, bitrue, bitso, bitstamp,
|
|
389
|
+
export { version, Exchange, exchanges, pro, Precise, functions, errors, BaseError, ExchangeError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, MarginModeAlreadySet, BadResponse, NullResponse, InsufficientFunds, InvalidAddress, InvalidOrder, OrderNotFound, OrderNotCached, CancelPending, OrderImmediatelyFillable, OrderNotFillable, DuplicateOrderId, NotSupported, NetworkError, DDoSProtection, RateLimitExceeded, ExchangeNotAvailable, OnMaintenance, InvalidNonce, RequestTimeout, AuthenticationError, AddressPending, NoChange, ace, alpaca, ascendex, bequant, bigone, binance, binancecoinm, binanceus, binanceusdm, bingx, bit2c, bitbank, bitbay, bitbns, bitcoincom, bitfinex, bitfinex2, bitflyer, bitforex, bitget, bithumb, bitmart, bitmex, bitopro, bitpanda, bitrue, bitso, bitstamp, bittrex, bitvavo, bl3p, blockchaincom, btcalpha, btcbox, btcmarkets, btcturk, bybit, cex, coinbase, coinbaseprime, coinbasepro, coincheck, coinex, coinlist, coinmate, coinone, coinsph, coinspot, cryptocom, currencycom, delta, deribit, digifinex, exmo, fmfwio, gate, gateio, gemini, hitbtc, hitbtc3, hollaex, htx, huobi, huobijp, huobipro, idex, independentreserve, indodax, kraken, krakenfutures, kucoin, kucoinfutures, kuna, latoken, lbank, luno, lykke, mercado, mexc, mexc3, ndax, novadax, oceanex, okcoin, okex, okex5, okx, paymium, phemex, poloniex, poloniexfutures, probit, tidex, timex, tokocrypto, upbit, wavesexchange, wazirx, whitebit, woo, yobit, zaif, zonda, };
|
|
394
390
|
export default ccxt;
|
|
395
391
|
//-----------------------------------------------------------------------------
|
|
@@ -149,6 +149,7 @@ interface Exchange {
|
|
|
149
149
|
privateGetV5AssetWithdrawWithdrawableAmount(params?: {}): Promise<implicitReturnType>;
|
|
150
150
|
privateGetV5UserQuerySubMembers(params?: {}): Promise<implicitReturnType>;
|
|
151
151
|
privateGetV5UserQueryApi(params?: {}): Promise<implicitReturnType>;
|
|
152
|
+
privateGetV5UserSubApikeys(params?: {}): Promise<implicitReturnType>;
|
|
152
153
|
privateGetV5UserGetMemberType(params?: {}): Promise<implicitReturnType>;
|
|
153
154
|
privateGetV5UserAffCustomerInfo(params?: {}): Promise<implicitReturnType>;
|
|
154
155
|
privateGetV5UserDelSubmember(params?: {}): Promise<implicitReturnType>;
|
|
@@ -1,21 +1,63 @@
|
|
|
1
1
|
import { implicitReturnType } from '../base/types.js';
|
|
2
2
|
import { Exchange as _Exchange } from '../base/Exchange.js';
|
|
3
3
|
interface Exchange {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
4
|
+
spotPublicGetCurrencyPairs(params?: {}): Promise<implicitReturnType>;
|
|
5
|
+
spotPublicGetAccuracy(params?: {}): Promise<implicitReturnType>;
|
|
6
|
+
spotPublicGetUsdToCny(params?: {}): Promise<implicitReturnType>;
|
|
7
|
+
spotPublicGetWithdrawConfigs(params?: {}): Promise<implicitReturnType>;
|
|
8
|
+
spotPublicGetTimestamp(params?: {}): Promise<implicitReturnType>;
|
|
9
|
+
spotPublicGetTicker24hr(params?: {}): Promise<implicitReturnType>;
|
|
10
|
+
spotPublicGetTicker(params?: {}): Promise<implicitReturnType>;
|
|
11
|
+
spotPublicGetDepth(params?: {}): Promise<implicitReturnType>;
|
|
12
|
+
spotPublicGetIncrDepth(params?: {}): Promise<implicitReturnType>;
|
|
13
|
+
spotPublicGetTrades(params?: {}): Promise<implicitReturnType>;
|
|
14
|
+
spotPublicGetKline(params?: {}): Promise<implicitReturnType>;
|
|
15
|
+
spotPublicGetSupplementSystemPing(params?: {}): Promise<implicitReturnType>;
|
|
16
|
+
spotPublicGetSupplementIncrDepth(params?: {}): Promise<implicitReturnType>;
|
|
17
|
+
spotPublicGetSupplementTrades(params?: {}): Promise<implicitReturnType>;
|
|
18
|
+
spotPublicGetSupplementTickerPrice(params?: {}): Promise<implicitReturnType>;
|
|
19
|
+
spotPublicGetSupplementTickerBookTicker(params?: {}): Promise<implicitReturnType>;
|
|
20
|
+
spotPublicPostSupplementSystemStatus(params?: {}): Promise<implicitReturnType>;
|
|
21
|
+
spotPrivatePostUserInfo(params?: {}): Promise<implicitReturnType>;
|
|
22
|
+
spotPrivatePostSubscribeGetKey(params?: {}): Promise<implicitReturnType>;
|
|
23
|
+
spotPrivatePostSubscribeRefreshKey(params?: {}): Promise<implicitReturnType>;
|
|
24
|
+
spotPrivatePostSubscribeDestroyKey(params?: {}): Promise<implicitReturnType>;
|
|
25
|
+
spotPrivatePostGetDepositAddress(params?: {}): Promise<implicitReturnType>;
|
|
26
|
+
spotPrivatePostDepositHistory(params?: {}): Promise<implicitReturnType>;
|
|
27
|
+
spotPrivatePostCreateOrder(params?: {}): Promise<implicitReturnType>;
|
|
28
|
+
spotPrivatePostBatchCreateOrder(params?: {}): Promise<implicitReturnType>;
|
|
29
|
+
spotPrivatePostCancelOrder(params?: {}): Promise<implicitReturnType>;
|
|
30
|
+
spotPrivatePostCancelClientOrders(params?: {}): Promise<implicitReturnType>;
|
|
31
|
+
spotPrivatePostOrdersInfo(params?: {}): Promise<implicitReturnType>;
|
|
32
|
+
spotPrivatePostOrdersInfoHistory(params?: {}): Promise<implicitReturnType>;
|
|
33
|
+
spotPrivatePostOrderTransactionDetail(params?: {}): Promise<implicitReturnType>;
|
|
34
|
+
spotPrivatePostTransactionHistory(params?: {}): Promise<implicitReturnType>;
|
|
35
|
+
spotPrivatePostOrdersInfoNoDeal(params?: {}): Promise<implicitReturnType>;
|
|
36
|
+
spotPrivatePostWithdraw(params?: {}): Promise<implicitReturnType>;
|
|
37
|
+
spotPrivatePostWithdrawCancel(params?: {}): Promise<implicitReturnType>;
|
|
38
|
+
spotPrivatePostWithdraws(params?: {}): Promise<implicitReturnType>;
|
|
39
|
+
spotPrivatePostSupplementUserInfo(params?: {}): Promise<implicitReturnType>;
|
|
40
|
+
spotPrivatePostSupplementWithdraw(params?: {}): Promise<implicitReturnType>;
|
|
41
|
+
spotPrivatePostSupplementDepositHistory(params?: {}): Promise<implicitReturnType>;
|
|
42
|
+
spotPrivatePostSupplementWithdraws(params?: {}): Promise<implicitReturnType>;
|
|
43
|
+
spotPrivatePostSupplementGetDepositAddress(params?: {}): Promise<implicitReturnType>;
|
|
44
|
+
spotPrivatePostSupplementAssetDetail(params?: {}): Promise<implicitReturnType>;
|
|
45
|
+
spotPrivatePostSupplementCustomerTradeFee(params?: {}): Promise<implicitReturnType>;
|
|
46
|
+
spotPrivatePostSupplementApiRestrictions(params?: {}): Promise<implicitReturnType>;
|
|
47
|
+
spotPrivatePostSupplementSystemPing(params?: {}): Promise<implicitReturnType>;
|
|
48
|
+
spotPrivatePostSupplementCreateOrderTest(params?: {}): Promise<implicitReturnType>;
|
|
49
|
+
spotPrivatePostSupplementCreateOrder(params?: {}): Promise<implicitReturnType>;
|
|
50
|
+
spotPrivatePostSupplementCancelOrder(params?: {}): Promise<implicitReturnType>;
|
|
51
|
+
spotPrivatePostSupplementCancelOrderBySymbol(params?: {}): Promise<implicitReturnType>;
|
|
52
|
+
spotPrivatePostSupplementOrdersInfo(params?: {}): Promise<implicitReturnType>;
|
|
53
|
+
spotPrivatePostSupplementOrdersInfoNoDeal(params?: {}): Promise<implicitReturnType>;
|
|
54
|
+
spotPrivatePostSupplementOrdersInfoHistory(params?: {}): Promise<implicitReturnType>;
|
|
55
|
+
spotPrivatePostSupplementUserInfoAccount(params?: {}): Promise<implicitReturnType>;
|
|
56
|
+
spotPrivatePostSupplementTransactionHistory(params?: {}): Promise<implicitReturnType>;
|
|
57
|
+
contractPublicGetCfdOpenApiV1PubGetTime(params?: {}): Promise<implicitReturnType>;
|
|
58
|
+
contractPublicGetCfdOpenApiV1PubInstrument(params?: {}): Promise<implicitReturnType>;
|
|
59
|
+
contractPublicGetCfdOpenApiV1PubMarketData(params?: {}): Promise<implicitReturnType>;
|
|
60
|
+
contractPublicGetCfdOpenApiV1PubMarketOrder(params?: {}): Promise<implicitReturnType>;
|
|
19
61
|
}
|
|
20
62
|
declare abstract class Exchange extends _Exchange {
|
|
21
63
|
}
|
package/js/src/ace.d.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import Exchange from './abstract/ace.js';
|
|
2
|
-
import { Balances, Int, OHLCV, Order, OrderBook, OrderSide, OrderType, Ticker, Tickers, Trade } from './base/types.js';
|
|
2
|
+
import { Balances, Int, Market, OHLCV, Order, OrderBook, OrderSide, OrderType, Str, Ticker, Tickers, Trade } from './base/types.js';
|
|
3
3
|
/**
|
|
4
4
|
* @class ace
|
|
5
5
|
* @extends Exchange
|
|
6
6
|
*/
|
|
7
7
|
export default class ace extends Exchange {
|
|
8
8
|
describe(): any;
|
|
9
|
-
fetchMarkets(params?: {}): Promise<
|
|
9
|
+
fetchMarkets(params?: {}): Promise<Market[]>;
|
|
10
|
+
parseMarket(market: any): Market;
|
|
10
11
|
parseTicker(ticker: any, market?: any): Ticker;
|
|
11
12
|
fetchTicker(symbol: string, params?: {}): Promise<Ticker>;
|
|
12
13
|
fetchTickers(symbols?: string[], params?: {}): Promise<Tickers>;
|
|
@@ -16,12 +17,12 @@ export default class ace extends Exchange {
|
|
|
16
17
|
parseOrderStatus(status: any): string;
|
|
17
18
|
parseOrder(order: any, market?: any): Order;
|
|
18
19
|
createOrder(symbol: string, type: OrderType, side: OrderSide, amount: any, price?: any, params?: {}): Promise<Order>;
|
|
19
|
-
cancelOrder(id: string, symbol?:
|
|
20
|
-
fetchOrder(id: string, symbol?:
|
|
21
|
-
fetchOpenOrders(symbol?:
|
|
20
|
+
cancelOrder(id: string, symbol?: Str, params?: {}): Promise<any>;
|
|
21
|
+
fetchOrder(id: string, symbol?: Str, params?: {}): Promise<Order>;
|
|
22
|
+
fetchOpenOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
22
23
|
parseTrade(trade: any, market?: any): Trade;
|
|
23
|
-
fetchOrderTrades(id: string, symbol?:
|
|
24
|
-
fetchMyTrades(symbol?:
|
|
24
|
+
fetchOrderTrades(id: string, symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
25
|
+
fetchMyTrades(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
25
26
|
parseBalance(response: any): Balances;
|
|
26
27
|
fetchBalance(params?: {}): Promise<Balances>;
|
|
27
28
|
sign(path: any, api?: string, method?: string, params?: {}, headers?: any, body?: any): {
|