ccxt 4.5.53 → 4.5.54
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 +144 -145
- package/dist/ccxt.browser.min.js +3 -3
- package/dist/cjs/ccxt.js +1 -4
- package/dist/cjs/src/base/Exchange.js +29 -0
- package/dist/cjs/src/bydfi.js +1 -1
- package/dist/cjs/src/coinbase.js +1 -1
- package/dist/cjs/src/coinbaseinternational.js +0 -38
- package/dist/cjs/src/coinex.js +1 -1
- package/dist/cjs/src/deepcoin.js +1 -1
- package/dist/cjs/src/dydx.js +1 -1
- package/dist/cjs/src/hollaex.js +2 -6
- package/dist/cjs/src/modetrade.js +1 -1
- package/dist/cjs/src/pacifica.js +42 -44
- package/dist/cjs/src/paradex.js +1 -1
- package/dist/cjs/src/pro/backpack.js +12 -3
- package/dist/cjs/src/pro/binance.js +7 -2
- package/dist/cjs/src/pro/hashkey.js +7 -4
- package/dist/cjs/src/pro/krakenfutures.js +27 -12
- package/dist/cjs/src/pro/kucoin.js +3 -3
- package/dist/cjs/src/pro/modetrade.js +1 -1
- package/dist/cjs/src/pro/weex.js +7 -5
- package/dist/cjs/src/pro/woo.js +1 -1
- package/dist/cjs/src/pro/woofipro.js +1 -1
- package/dist/cjs/src/weex.js +9 -6
- package/dist/cjs/src/woo.js +1 -1
- package/dist/cjs/src/woofipro.js +1 -1
- package/dist/cjs/src/xt.js +2 -2
- package/js/ccxt.d.ts +2 -5
- package/js/ccxt.js +2 -4
- package/js/src/base/Exchange.d.ts +23 -2
- package/js/src/base/Exchange.js +29 -0
- package/js/src/bydfi.js +1 -1
- package/js/src/coinbase.js +1 -1
- package/js/src/coinbaseexchange.d.ts +1 -1
- package/js/src/coinbaseinternational.d.ts +0 -21
- package/js/src/coinbaseinternational.js +0 -38
- package/js/src/coinex.js +1 -1
- package/js/src/deepcoin.js +1 -1
- package/js/src/dydx.js +1 -1
- package/js/src/hollaex.js +2 -6
- package/js/src/modetrade.js +1 -1
- package/js/src/pacifica.js +42 -44
- package/js/src/paradex.js +1 -1
- package/js/src/pro/backpack.js +12 -3
- package/js/src/pro/binance.d.ts +1 -1
- package/js/src/pro/binance.js +7 -2
- package/js/src/pro/hashkey.js +7 -4
- package/js/src/pro/krakenfutures.js +27 -12
- package/js/src/pro/kucoin.js +3 -3
- package/js/src/pro/modetrade.js +1 -1
- package/js/src/pro/weex.d.ts +1 -0
- package/js/src/pro/weex.js +7 -5
- package/js/src/pro/woo.js +1 -1
- package/js/src/pro/woofipro.js +1 -1
- package/js/src/protobuf/mexc/compiled.d.cts +0 -6
- package/js/src/static_dependencies/dydx-v4-client/long/index.d.cts +0 -6
- package/js/src/static_dependencies/fflake/browser.d.ts +5 -5
- package/js/src/static_dependencies/noble-curves/abstract/weierstrass.d.ts +0 -1
- package/js/src/weex.js +9 -6
- package/js/src/woo.js +1 -1
- package/js/src/woofipro.js +1 -1
- package/js/src/xt.js +2 -2
- package/package.json +3 -3
- package/dist/cjs/src/abstract/zonda.js +0 -11
- package/dist/cjs/src/zonda.js +0 -1998
- package/js/src/abstract/zonda.d.ts +0 -56
- package/js/src/abstract/zonda.js +0 -11
- package/js/src/zonda.d.ts +0 -214
- package/js/src/zonda.js +0 -1997
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { implicitReturnType } from '../base/types.js';
|
|
2
|
-
import { Exchange as _Exchange } from '../base/Exchange.js';
|
|
3
|
-
interface Exchange {
|
|
4
|
-
publicGetIdAll(params?: {}): Promise<implicitReturnType>;
|
|
5
|
-
publicGetIdMarket(params?: {}): Promise<implicitReturnType>;
|
|
6
|
-
publicGetIdOrderbook(params?: {}): Promise<implicitReturnType>;
|
|
7
|
-
publicGetIdTicker(params?: {}): Promise<implicitReturnType>;
|
|
8
|
-
publicGetIdTrades(params?: {}): Promise<implicitReturnType>;
|
|
9
|
-
privatePostInfo(params?: {}): Promise<implicitReturnType>;
|
|
10
|
-
privatePostTrade(params?: {}): Promise<implicitReturnType>;
|
|
11
|
-
privatePostCancel(params?: {}): Promise<implicitReturnType>;
|
|
12
|
-
privatePostOrderbook(params?: {}): Promise<implicitReturnType>;
|
|
13
|
-
privatePostOrders(params?: {}): Promise<implicitReturnType>;
|
|
14
|
-
privatePostTransfer(params?: {}): Promise<implicitReturnType>;
|
|
15
|
-
privatePostWithdraw(params?: {}): Promise<implicitReturnType>;
|
|
16
|
-
privatePostHistory(params?: {}): Promise<implicitReturnType>;
|
|
17
|
-
privatePostTransactions(params?: {}): Promise<implicitReturnType>;
|
|
18
|
-
v1_01PublicGetTradingTicker(params?: {}): Promise<implicitReturnType>;
|
|
19
|
-
v1_01PublicGetTradingTickerSymbol(params?: {}): Promise<implicitReturnType>;
|
|
20
|
-
v1_01PublicGetTradingStats(params?: {}): Promise<implicitReturnType>;
|
|
21
|
-
v1_01PublicGetTradingStatsSymbol(params?: {}): Promise<implicitReturnType>;
|
|
22
|
-
v1_01PublicGetTradingOrderbookSymbol(params?: {}): Promise<implicitReturnType>;
|
|
23
|
-
v1_01PublicGetTradingTransactionsSymbol(params?: {}): Promise<implicitReturnType>;
|
|
24
|
-
v1_01PublicGetTradingCandleHistorySymbolResolution(params?: {}): Promise<implicitReturnType>;
|
|
25
|
-
v1_01PrivateGetApiPaymentsDepositsCryptoAddresses(params?: {}): Promise<implicitReturnType>;
|
|
26
|
-
v1_01PrivateGetPaymentsWithdrawalDetailId(params?: {}): Promise<implicitReturnType>;
|
|
27
|
-
v1_01PrivateGetPaymentsDepositDetailId(params?: {}): Promise<implicitReturnType>;
|
|
28
|
-
v1_01PrivateGetTradingOffer(params?: {}): Promise<implicitReturnType>;
|
|
29
|
-
v1_01PrivateGetTradingStopOffer(params?: {}): Promise<implicitReturnType>;
|
|
30
|
-
v1_01PrivateGetTradingConfigSymbol(params?: {}): Promise<implicitReturnType>;
|
|
31
|
-
v1_01PrivateGetTradingHistoryTransactions(params?: {}): Promise<implicitReturnType>;
|
|
32
|
-
v1_01PrivateGetBalancesBITBAYHistory(params?: {}): Promise<implicitReturnType>;
|
|
33
|
-
v1_01PrivateGetBalancesBITBAYBalance(params?: {}): Promise<implicitReturnType>;
|
|
34
|
-
v1_01PrivateGetFiatCantorRateBaseIdQuoteId(params?: {}): Promise<implicitReturnType>;
|
|
35
|
-
v1_01PrivateGetFiatCantorHistory(params?: {}): Promise<implicitReturnType>;
|
|
36
|
-
v1_01PrivateGetClientPaymentsV2CustomerCryptoCurrencyChannelsDeposit(params?: {}): Promise<implicitReturnType>;
|
|
37
|
-
v1_01PrivateGetClientPaymentsV2CustomerCryptoCurrencyChannelsWithdrawal(params?: {}): Promise<implicitReturnType>;
|
|
38
|
-
v1_01PrivateGetClientPaymentsV2CustomerCryptoDepositFee(params?: {}): Promise<implicitReturnType>;
|
|
39
|
-
v1_01PrivateGetClientPaymentsV2CustomerCryptoWithdrawalFee(params?: {}): Promise<implicitReturnType>;
|
|
40
|
-
v1_01PrivatePostTradingOfferSymbol(params?: {}): Promise<implicitReturnType>;
|
|
41
|
-
v1_01PrivatePostTradingStopOfferSymbol(params?: {}): Promise<implicitReturnType>;
|
|
42
|
-
v1_01PrivatePostTradingConfigSymbol(params?: {}): Promise<implicitReturnType>;
|
|
43
|
-
v1_01PrivatePostBalancesBITBAYBalance(params?: {}): Promise<implicitReturnType>;
|
|
44
|
-
v1_01PrivatePostBalancesBITBAYBalanceTransferSourceDestination(params?: {}): Promise<implicitReturnType>;
|
|
45
|
-
v1_01PrivatePostFiatCantorExchange(params?: {}): Promise<implicitReturnType>;
|
|
46
|
-
v1_01PrivatePostApiPaymentsWithdrawalsCrypto(params?: {}): Promise<implicitReturnType>;
|
|
47
|
-
v1_01PrivatePostApiPaymentsWithdrawalsFiat(params?: {}): Promise<implicitReturnType>;
|
|
48
|
-
v1_01PrivatePostClientPaymentsV2CustomerCryptoDeposit(params?: {}): Promise<implicitReturnType>;
|
|
49
|
-
v1_01PrivatePostClientPaymentsV2CustomerCryptoWithdrawal(params?: {}): Promise<implicitReturnType>;
|
|
50
|
-
v1_01PrivateDeleteTradingOfferSymbolIdSidePrice(params?: {}): Promise<implicitReturnType>;
|
|
51
|
-
v1_01PrivateDeleteTradingStopOfferSymbolIdSidePrice(params?: {}): Promise<implicitReturnType>;
|
|
52
|
-
v1_01PrivatePutBalancesBITBAYBalanceId(params?: {}): Promise<implicitReturnType>;
|
|
53
|
-
}
|
|
54
|
-
declare abstract class Exchange extends _Exchange {
|
|
55
|
-
}
|
|
56
|
-
export default Exchange;
|
package/js/src/abstract/zonda.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// ----------------------------------------------------------------------------
|
|
2
|
-
|
|
3
|
-
// PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN:
|
|
4
|
-
// https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code
|
|
5
|
-
// EDIT THE CORRESPONDENT .ts FILE INSTEAD
|
|
6
|
-
|
|
7
|
-
// -------------------------------------------------------------------------------
|
|
8
|
-
import { Exchange as _Exchange } from '../base/Exchange.js';
|
|
9
|
-
class Exchange extends _Exchange {
|
|
10
|
-
}
|
|
11
|
-
export default Exchange;
|
package/js/src/zonda.d.ts
DELETED
|
@@ -1,214 +0,0 @@
|
|
|
1
|
-
import Exchange from './abstract/zonda.js';
|
|
2
|
-
import type { TransferEntry, Balances, Currency, Int, Market, OHLCV, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade, Transaction, Num, Dict, int, LedgerEntry, DepositAddress } from './base/types.js';
|
|
3
|
-
/**
|
|
4
|
-
* @class zonda
|
|
5
|
-
* @augments Exchange
|
|
6
|
-
*/
|
|
7
|
-
export default class zonda extends Exchange {
|
|
8
|
-
describe(): any;
|
|
9
|
-
/**
|
|
10
|
-
* @method
|
|
11
|
-
* @name zonda#fetchMarkets
|
|
12
|
-
* @see https://docs.zondacrypto.exchange/reference/ticker-1
|
|
13
|
-
* @description retrieves data on all markets for zonda
|
|
14
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
15
|
-
* @returns {object[]} an array of objects representing market data
|
|
16
|
-
*/
|
|
17
|
-
fetchMarkets(params?: {}): Promise<Market[]>;
|
|
18
|
-
parseMarket(item: any): Market;
|
|
19
|
-
/**
|
|
20
|
-
* @method
|
|
21
|
-
* @name zonda#fetchOpenOrders
|
|
22
|
-
* @see https://docs.zondacrypto.exchange/reference/active-orders
|
|
23
|
-
* @description fetch all unfilled currently open orders
|
|
24
|
-
* @param {string} symbol not used by zonda fetchOpenOrders
|
|
25
|
-
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
26
|
-
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
27
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
28
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
29
|
-
*/
|
|
30
|
-
fetchOpenOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
31
|
-
parseOrder(order: Dict, market?: Market): Order;
|
|
32
|
-
/**
|
|
33
|
-
* @method
|
|
34
|
-
* @name zonda#fetchMyTrades
|
|
35
|
-
* @see https://docs.zondacrypto.exchange/reference/transactions-history
|
|
36
|
-
* @description fetch all trades made by the user
|
|
37
|
-
* @param {string} symbol unified market symbol
|
|
38
|
-
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
39
|
-
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
40
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
41
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
42
|
-
*/
|
|
43
|
-
fetchMyTrades(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
44
|
-
parseBalance(response: any): Balances;
|
|
45
|
-
/**
|
|
46
|
-
* @method
|
|
47
|
-
* @name zonda#fetchBalance
|
|
48
|
-
* @see https://docs.zondacrypto.exchange/reference/list-of-wallets
|
|
49
|
-
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
50
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
51
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
52
|
-
*/
|
|
53
|
-
fetchBalance(params?: {}): Promise<Balances>;
|
|
54
|
-
/**
|
|
55
|
-
* @method
|
|
56
|
-
* @name zonda#fetchOrderBook
|
|
57
|
-
* @see https://docs.zondacrypto.exchange/reference/orderbook-2
|
|
58
|
-
* @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
59
|
-
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
60
|
-
* @param {int} [limit] the maximum amount of order book entries to return
|
|
61
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
62
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
63
|
-
*/
|
|
64
|
-
fetchOrderBook(symbol: string, limit?: Int, params?: {}): Promise<OrderBook>;
|
|
65
|
-
parseTicker(ticker: Dict, market?: Market): Ticker;
|
|
66
|
-
/**
|
|
67
|
-
* @method
|
|
68
|
-
* @name zonda#fetchTicker
|
|
69
|
-
* @description v1_01PublicGetTradingTickerSymbol retrieves timestamp, datetime, bid, ask, close, last, previousClose, v1_01PublicGetTradingStatsSymbol retrieves high, low, volume and opening price of an asset
|
|
70
|
-
* @see https://docs.zondacrypto.exchange/reference/market-statistics
|
|
71
|
-
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
72
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
73
|
-
* @param {string} [params.method] v1_01PublicGetTradingTickerSymbol (default) or v1_01PublicGetTradingStatsSymbol
|
|
74
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
75
|
-
*/
|
|
76
|
-
fetchTicker(symbol: string, params?: {}): Promise<Ticker>;
|
|
77
|
-
/**
|
|
78
|
-
* @ignore
|
|
79
|
-
* @method
|
|
80
|
-
* @name zonda#fetchTickersV2
|
|
81
|
-
* @description v1_01PublicGetTradingTicker retrieves timestamp, datetime, bid, ask, close, last, previousClose for each market, v1_01PublicGetTradingStats retrieves high, low, volume and opening price of each market
|
|
82
|
-
* @see https://docs.zondacrypto.exchange/reference/market-statistics
|
|
83
|
-
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
84
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
85
|
-
* @param {string} [params.method] v1_01PublicGetTradingTicker (default) or v1_01PublicGetTradingStats
|
|
86
|
-
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
87
|
-
*/
|
|
88
|
-
fetchTickers(symbols?: Strings, params?: {}): Promise<Tickers>;
|
|
89
|
-
/**
|
|
90
|
-
* @method
|
|
91
|
-
* @name zonda#fetchLedger
|
|
92
|
-
* @description fetch the history of changes, actions done by the user or operations that altered the balance of the user
|
|
93
|
-
* @see https://docs.zondacrypto.exchange/reference/operations-history
|
|
94
|
-
* @param {string} [code] unified currency code, default is undefined
|
|
95
|
-
* @param {int} [since] timestamp in ms of the earliest ledger entry, default is undefined
|
|
96
|
-
* @param {int} [limit] max number of ledger entries to return, default is undefined
|
|
97
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
98
|
-
* @returns {object} a [ledger structure]{@link https://docs.ccxt.com/?id=ledger-entry-structure}
|
|
99
|
-
*/
|
|
100
|
-
fetchLedger(code?: Str, since?: Int, limit?: Int, params?: {}): Promise<LedgerEntry[]>;
|
|
101
|
-
parseLedgerEntry(item: Dict, currency?: Currency): LedgerEntry;
|
|
102
|
-
parseLedgerEntryType(type: any): string;
|
|
103
|
-
parseOHLCV(ohlcv: any, market?: Market): OHLCV;
|
|
104
|
-
/**
|
|
105
|
-
* @method
|
|
106
|
-
* @name zonda#fetchOHLCV
|
|
107
|
-
* @see https://docs.zondacrypto.exchange/reference/candles-chart
|
|
108
|
-
* @description fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
|
109
|
-
* @param {string} symbol unified symbol of the market to fetch OHLCV data for
|
|
110
|
-
* @param {string} timeframe the length of time each candle represents
|
|
111
|
-
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
112
|
-
* @param {int} [limit] the maximum amount of candles to fetch
|
|
113
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
114
|
-
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
115
|
-
*/
|
|
116
|
-
fetchOHLCV(symbol: string, timeframe?: string, since?: Int, limit?: Int, params?: {}): Promise<OHLCV[]>;
|
|
117
|
-
parseTrade(trade: Dict, market?: Market): Trade;
|
|
118
|
-
/**
|
|
119
|
-
* @method
|
|
120
|
-
* @name zonda#fetchTrades
|
|
121
|
-
* @see https://docs.zondacrypto.exchange/reference/last-transactions
|
|
122
|
-
* @description get the list of most recent trades for a particular symbol
|
|
123
|
-
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
124
|
-
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
125
|
-
* @param {int} [limit] the maximum amount of trades to fetch
|
|
126
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
127
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
128
|
-
*/
|
|
129
|
-
fetchTrades(symbol: string, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
130
|
-
/**
|
|
131
|
-
* @method
|
|
132
|
-
* @name zonda#createOrder
|
|
133
|
-
* @description create a trade order
|
|
134
|
-
* @see https://docs.zondacrypto.exchange/reference/new-order
|
|
135
|
-
* @param {string} symbol unified symbol of the market to create an order in
|
|
136
|
-
* @param {string} type 'market' or 'limit'
|
|
137
|
-
* @param {string} side 'buy' or 'sell'
|
|
138
|
-
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
139
|
-
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
140
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
141
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
142
|
-
*/
|
|
143
|
-
createOrder(symbol: string, type: OrderType, side: OrderSide, amount: number, price?: Num, params?: {}): Promise<Order>;
|
|
144
|
-
/**
|
|
145
|
-
* @method
|
|
146
|
-
* @name zonda#cancelOrder
|
|
147
|
-
* @see https://docs.zondacrypto.exchange/reference/cancel-order
|
|
148
|
-
* @description cancels an open order
|
|
149
|
-
* @param {string} id order id
|
|
150
|
-
* @param {string} symbol unified symbol of the market the order was made in
|
|
151
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
152
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
153
|
-
*/
|
|
154
|
-
cancelOrder(id: string, symbol?: Str, params?: {}): Promise<Order>;
|
|
155
|
-
isFiat(currency: string): boolean;
|
|
156
|
-
parseDepositAddress(depositAddress: any, currency?: Currency): DepositAddress;
|
|
157
|
-
/**
|
|
158
|
-
* @method
|
|
159
|
-
* @name zonda#fetchDepositAddress
|
|
160
|
-
* @see https://docs.zondacrypto.exchange/reference/deposit-addresses-for-crypto
|
|
161
|
-
* @description fetch the deposit address for a currency associated with this account
|
|
162
|
-
* @param {string} code unified currency code
|
|
163
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
164
|
-
* @param {string} [params.walletId] Wallet id to filter deposit adresses.
|
|
165
|
-
* @returns {object} an [address structure]{@link https://docs.ccxt.com/?id=address-structure}
|
|
166
|
-
*/
|
|
167
|
-
fetchDepositAddress(code: string, params?: {}): Promise<DepositAddress>;
|
|
168
|
-
/**
|
|
169
|
-
* @method
|
|
170
|
-
* @name zonda#fetchDepositAddresses
|
|
171
|
-
* @see https://docs.zondacrypto.exchange/reference/deposit-addresses-for-crypto
|
|
172
|
-
* @description fetch deposit addresses for multiple currencies and chain types
|
|
173
|
-
* @param {string[]|undefined} codes zonda does not support filtering filtering by multiple codes and will ignore this parameter.
|
|
174
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
175
|
-
* @returns {object} a list of [address structures]{@link https://docs.ccxt.com/?id=address-structure}
|
|
176
|
-
*/
|
|
177
|
-
fetchDepositAddresses(codes?: Strings, params?: {}): Promise<DepositAddress[]>;
|
|
178
|
-
/**
|
|
179
|
-
* @method
|
|
180
|
-
* @name zonda#transfer
|
|
181
|
-
* @see https://docs.zondacrypto.exchange/reference/internal-transfer
|
|
182
|
-
* @description transfer currency internally between wallets on the same account
|
|
183
|
-
* @param {string} code unified currency code
|
|
184
|
-
* @param {float} amount amount to transfer
|
|
185
|
-
* @param {string} fromAccount account to transfer from
|
|
186
|
-
* @param {string} toAccount account to transfer to
|
|
187
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
188
|
-
* @returns {object} a [transfer structure]{@link https://docs.ccxt.com/?id=transfer-structure}
|
|
189
|
-
*/
|
|
190
|
-
transfer(code: string, amount: number, fromAccount: string, toAccount: string, params?: {}): Promise<TransferEntry>;
|
|
191
|
-
parseTransfer(transfer: Dict, currency?: Currency): TransferEntry;
|
|
192
|
-
parseTransferStatus(status: Str): Str;
|
|
193
|
-
/**
|
|
194
|
-
* @method
|
|
195
|
-
* @name zonda#withdraw
|
|
196
|
-
* @see https://docs.zondacrypto.exchange/reference/crypto-withdrawal-1
|
|
197
|
-
* @description make a withdrawal
|
|
198
|
-
* @param {string} code unified currency code
|
|
199
|
-
* @param {float} amount the amount to withdraw
|
|
200
|
-
* @param {string} address the address to withdraw to
|
|
201
|
-
* @param {string} tag
|
|
202
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
203
|
-
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
204
|
-
*/
|
|
205
|
-
withdraw(code: string, amount: number, address: string, tag?: Str, params?: {}): Promise<Transaction>;
|
|
206
|
-
parseTransaction(transaction: Dict, currency?: Currency): Transaction;
|
|
207
|
-
sign(path: any, api?: string, method?: string, params?: {}, headers?: any, body?: any): {
|
|
208
|
-
url: string;
|
|
209
|
-
method: string;
|
|
210
|
-
body: any;
|
|
211
|
-
headers: any;
|
|
212
|
-
};
|
|
213
|
-
handleErrors(httpCode: int, reason: string, url: string, method: string, headers: Dict, body: string, response: any, requestHeaders: any, requestBody: any): any;
|
|
214
|
-
}
|