ccxt 4.5.44 → 4.5.46

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 (111) hide show
  1. package/README.md +9 -12
  2. package/dist/ccxt.browser.min.js +3 -3
  3. package/dist/cjs/ccxt.js +1 -12
  4. package/dist/cjs/src/abstract/kucoinfutures.js +1 -1
  5. package/dist/cjs/src/base/Exchange.js +39 -3
  6. package/dist/cjs/src/base/functions/encode.js +2 -2
  7. package/dist/cjs/src/base/functions/generic.js +8 -2
  8. package/dist/cjs/src/binance.js +11 -2
  9. package/dist/cjs/src/bitget.js +3 -1
  10. package/dist/cjs/src/bitmart.js +144 -21
  11. package/dist/cjs/src/bitrue.js +1 -1
  12. package/dist/cjs/src/bitteam.js +1 -1
  13. package/dist/cjs/src/btcbox.js +1 -1
  14. package/dist/cjs/src/bybit.js +58 -56
  15. package/dist/cjs/src/bydfi.js +102 -100
  16. package/dist/cjs/src/cex.js +1 -0
  17. package/dist/cjs/src/gate.js +264 -170
  18. package/dist/cjs/src/grvt.js +3 -2
  19. package/dist/cjs/src/hyperliquid.js +16 -5
  20. package/dist/cjs/src/kraken.js +4 -2
  21. package/dist/cjs/src/krakenfutures.js +1 -5
  22. package/dist/cjs/src/kucoin.js +4733 -972
  23. package/dist/cjs/src/kucoinfutures.js +14 -3434
  24. package/dist/cjs/src/lbank.js +1 -1
  25. package/dist/cjs/src/okx.js +75 -57
  26. package/dist/cjs/src/paradex.js +2 -6
  27. package/dist/cjs/src/poloniex.js +1 -1
  28. package/dist/cjs/src/pro/bydfi.js +19 -19
  29. package/dist/cjs/src/pro/gate.js +114 -53
  30. package/dist/cjs/src/pro/grvt.js +5 -3
  31. package/dist/cjs/src/pro/htx.js +4 -4
  32. package/dist/cjs/src/pro/kucoin.js +819 -178
  33. package/dist/cjs/src/pro/kucoinfutures.js +95 -1261
  34. package/dist/cjs/src/pro/mexc.js +10 -5
  35. package/dist/cjs/src/pro/okx.js +85 -40
  36. package/index.d.cts +2 -0
  37. package/js/ccxt.d.ts +2 -14
  38. package/js/ccxt.js +2 -10
  39. package/js/src/abstract/bitmart.d.ts +7 -0
  40. package/js/src/abstract/bydfi.d.ts +29 -29
  41. package/js/src/abstract/kraken.d.ts +1 -0
  42. package/js/src/abstract/kucoin.d.ts +46 -2
  43. package/js/src/abstract/kucoinfutures.d.ts +27 -11
  44. package/js/src/base/Exchange.d.ts +13 -1
  45. package/js/src/base/Exchange.js +39 -3
  46. package/js/src/base/functions/encode.js +2 -2
  47. package/js/src/base/functions/generic.js +9 -3
  48. package/js/src/binance.js +11 -2
  49. package/js/src/bitget.js +3 -1
  50. package/js/src/bitmart.d.ts +18 -4
  51. package/js/src/bitmart.js +144 -21
  52. package/js/src/bitrue.js +1 -1
  53. package/js/src/bitteam.js +1 -1
  54. package/js/src/btcbox.js +1 -1
  55. package/js/src/bybit.d.ts +1 -0
  56. package/js/src/bybit.js +58 -56
  57. package/js/src/bydfi.d.ts +31 -31
  58. package/js/src/bydfi.js +102 -100
  59. package/js/src/cex.js +2 -1
  60. package/js/src/gate.d.ts +125 -119
  61. package/js/src/gate.js +264 -170
  62. package/js/src/grvt.js +3 -2
  63. package/js/src/hyperliquid.d.ts +3 -1
  64. package/js/src/hyperliquid.js +16 -5
  65. package/js/src/kraken.js +4 -2
  66. package/js/src/krakenfutures.js +1 -5
  67. package/js/src/kucoin.d.ts +696 -100
  68. package/js/src/kucoin.js +4734 -973
  69. package/js/src/kucoinfutures.d.ts +4 -522
  70. package/js/src/kucoinfutures.js +14 -3434
  71. package/js/src/lbank.js +1 -1
  72. package/js/src/okx.d.ts +1 -0
  73. package/js/src/okx.js +75 -57
  74. package/js/src/paradex.d.ts +0 -1
  75. package/js/src/paradex.js +2 -6
  76. package/js/src/poloniex.js +1 -1
  77. package/js/src/pro/bydfi.d.ts +18 -18
  78. package/js/src/pro/bydfi.js +19 -19
  79. package/js/src/pro/gate.d.ts +30 -1
  80. package/js/src/pro/gate.js +114 -53
  81. package/js/src/pro/grvt.js +5 -3
  82. package/js/src/pro/htx.js +4 -4
  83. package/js/src/pro/kucoin.d.ts +70 -30
  84. package/js/src/pro/kucoin.js +821 -180
  85. package/js/src/pro/kucoinfutures.d.ts +17 -195
  86. package/js/src/pro/kucoinfutures.js +96 -1262
  87. package/js/src/pro/mexc.js +10 -5
  88. package/js/src/pro/okx.d.ts +1 -0
  89. package/js/src/pro/okx.js +85 -40
  90. package/package.json +2 -2
  91. package/dist/cjs/src/abstract/alp.js +0 -11
  92. package/dist/cjs/src/abstract/defx.js +0 -11
  93. package/dist/cjs/src/abstract/timex.js +0 -11
  94. package/dist/cjs/src/alp.js +0 -1059
  95. package/dist/cjs/src/defx.js +0 -2142
  96. package/dist/cjs/src/pro/defx.js +0 -866
  97. package/dist/cjs/src/timex.js +0 -1793
  98. package/js/src/abstract/alp.d.ts +0 -21
  99. package/js/src/abstract/alp.js +0 -5
  100. package/js/src/abstract/defx.d.ts +0 -72
  101. package/js/src/abstract/defx.js +0 -5
  102. package/js/src/abstract/timex.d.ts +0 -65
  103. package/js/src/abstract/timex.js +0 -5
  104. package/js/src/alp.d.ts +0 -209
  105. package/js/src/alp.js +0 -1052
  106. package/js/src/defx.d.ts +0 -348
  107. package/js/src/defx.js +0 -2135
  108. package/js/src/pro/defx.d.ts +0 -236
  109. package/js/src/pro/defx.js +0 -859
  110. package/js/src/timex.d.ts +0 -247
  111. package/js/src/timex.js +0 -1786
@@ -1,10 +1,10 @@
1
1
  import kucoinRest from '../kucoin.js';
2
- import type { Int, Str, Strings, OrderBook, Order, Trade, Ticker, Tickers, OHLCV, Balances, Dict, Bool } from '../base/types.js';
2
+ import type { Balances, Bool, Dict, Int, OHLCV, Order, OrderBook, Position, Str, Strings, Ticker, Tickers, Trade } from '../base/types.js';
3
3
  import Client from '../base/ws/Client.js';
4
4
  export default class kucoin extends kucoinRest {
5
5
  describe(): any;
6
- negotiate(privateChannel: any, params?: {}): Promise<any>;
7
- negotiateHelper(privateChannel: any, params?: {}): Promise<string>;
6
+ negotiate(privateChannel: any, isFuturesMethod?: boolean, params?: {}): Promise<any>;
7
+ negotiateHelper(privateChannel: any, connectId: any, params?: {}): Promise<string>;
8
8
  requestId(): any;
9
9
  subscribe(url: any, messageHash: any, subscriptionHash: any, params?: {}, subscription?: any): Promise<any>;
10
10
  unSubscribe(url: any, messageHash: any, topic: any, subscriptionHash: any, params?: {}, subscription?: Dict): Promise<any>;
@@ -14,7 +14,8 @@ export default class kucoin extends kucoinRest {
14
14
  * @method
15
15
  * @name kucoin#watchTicker
16
16
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
17
- * @see https://www.kucoin.com/docs/websocket/spot-trading/public-channels/market-snapshot
17
+ * @see https://www.kucoin.com/docs-new/3470063w0
18
+ * @see https://www.kucoin.com/docs-new/3470081w0
18
19
  * @param {string} symbol unified symbol of the market to fetch the ticker for
19
20
  * @param {object} [params] extra parameters specific to the exchange API endpoint
20
21
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
@@ -24,7 +25,8 @@ export default class kucoin extends kucoinRest {
24
25
  * @method
25
26
  * @name kucoin#unWatchTicker
26
27
  * @description unWatches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
27
- * @see https://www.kucoin.com/docs/websocket/spot-trading/public-channels/market-snapshot
28
+ * @see https://www.kucoin.com/docs-new/3470063w0
29
+ * @see https://www.kucoin.com/docs-new/3470081w0
28
30
  * @param {string} symbol unified symbol of the market to fetch the ticker for
29
31
  * @param {object} [params] extra parameters specific to the exchange API endpoint
30
32
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
@@ -33,19 +35,23 @@ export default class kucoin extends kucoinRest {
33
35
  /**
34
36
  * @method
35
37
  * @name kucoin#watchTickers
36
- * @see https://www.kucoin.com/docs/websocket/spot-trading/public-channels/ticker
38
+ * @see https://www.kucoin.com/docs-new/3470063w0
39
+ * @see https://www.kucoin.com/docs-new/3470064w0
40
+ * @see https://www.kucoin.com/docs-new/3470081w0
37
41
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
38
42
  * @param {string[]} symbols unified symbol of the market to fetch the ticker for
39
43
  * @param {object} [params] extra parameters specific to the exchange API endpoint
40
- * @param {string} [params.method] either '/market/snapshot' or '/market/ticker' default is '/market/ticker'
44
+ * @param {string} [params.method] *spot markets only* either '/market/snapshot' or '/market/ticker' default is '/market/ticker'
41
45
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
42
46
  */
43
47
  watchTickers(symbols?: Strings, params?: {}): Promise<Tickers>;
44
48
  handleTicker(client: Client, message: any): void;
49
+ handleContractTicker(client: Client, message: any): void;
45
50
  /**
46
51
  * @method
47
52
  * @name kucoin#watchBidsAsks
48
- * @see https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level1-bbo-market-data
53
+ * @see https://www.kucoin.com/docs-new/3470067w0
54
+ * @see https://www.kucoin.com/docs-new/3470080w0
49
55
  * @description watches best bid & ask for symbols
50
56
  * @param {string[]} symbols unified symbol of the market to fetch the ticker for
51
57
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -59,7 +65,8 @@ export default class kucoin extends kucoinRest {
59
65
  * @method
60
66
  * @name kucoin#watchOHLCV
61
67
  * @description watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
62
- * @see https://www.kucoin.com/docs/websocket/spot-trading/public-channels/klines
68
+ * @see https://www.kucoin.com/docs-new/3470071w0
69
+ * @see https://www.kucoin.com/docs-new/3470086w0
63
70
  * @param {string} symbol unified symbol of the market to fetch OHLCV data for
64
71
  * @param {string} timeframe the length of time each candle represents
65
72
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
@@ -72,7 +79,8 @@ export default class kucoin extends kucoinRest {
72
79
  * @method
73
80
  * @name kucoin#unWatchOHLCV
74
81
  * @description unWatches historical candlestick data containing the open, high, low, and close price, and the volume of a market
75
- * @see https://www.kucoin.com/docs/websocket/spot-trading/public-channels/klines
82
+ * @see https://www.kucoin.com/docs-new/3470071w0
83
+ * @see https://www.kucoin.com/docs-new/3470086w0
76
84
  * @param {string} symbol unified symbol of the market to fetch OHLCV data for
77
85
  * @param {string} timeframe the length of time each candle represents
78
86
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -84,7 +92,8 @@ export default class kucoin extends kucoinRest {
84
92
  * @method
85
93
  * @name kucoin#watchTrades
86
94
  * @description get the list of most recent trades for a particular symbol
87
- * @see https://www.kucoin.com/docs/websocket/spot-trading/public-channels/match-execution-data
95
+ * @see https://www.kucoin.com/docs-new/3470072w0
96
+ * @see https://www.kucoin.com/docs-new/3470084w0
88
97
  * @param {string} symbol unified symbol of the market to fetch trades for
89
98
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
90
99
  * @param {int} [limit] the maximum amount of trades to fetch
@@ -96,7 +105,8 @@ export default class kucoin extends kucoinRest {
96
105
  * @method
97
106
  * @name kucoin#watchTradesForSymbols
98
107
  * @description get the list of most recent trades for a particular symbol
99
- * @see https://www.kucoin.com/docs/websocket/spot-trading/public-channels/match-execution-data
108
+ * @see https://www.kucoin.com/docs-new/3470072w0
109
+ * @see https://www.kucoin.com/docs-new/3470084w0
100
110
  * @param {string[]} symbols
101
111
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
102
112
  * @param {int} [limit] the maximum amount of trades to fetch
@@ -108,7 +118,8 @@ export default class kucoin extends kucoinRest {
108
118
  * @method
109
119
  * @name kucoin#unWatchTradesForSymbols
110
120
  * @description unWatches trades stream
111
- * @see https://www.kucoin.com/docs/websocket/spot-trading/public-channels/match-execution-data
121
+ * @see https://www.kucoin.com/docs-new/3470072w0
122
+ * @see https://www.kucoin.com/docs-new/3470084w0
112
123
  * @param {string} symbols
113
124
  * @param {object} [params] extra parameters specific to the exchange API endpoint
114
125
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
@@ -118,7 +129,8 @@ export default class kucoin extends kucoinRest {
118
129
  * @method
119
130
  * @name kucoin#unWatchTrades
120
131
  * @description unWatches trades stream
121
- * @see https://www.kucoin.com/docs/websocket/spot-trading/public-channels/match-execution-data
132
+ * @see https://www.kucoin.com/docs-new/3470072w0
133
+ * @see https://www.kucoin.com/docs-new/3470084w0
122
134
  * @param {string} symbol unified symbol of the market to fetch trades for
123
135
  * @param {object} [params] extra parameters specific to the exchange API endpoint
124
136
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
@@ -157,29 +169,32 @@ export default class kucoin extends kucoinRest {
157
169
  /**
158
170
  * @method
159
171
  * @name kucoin#watchOrderBookForSymbols
160
- * @see https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level1-bbo-market-data
161
- * @see https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level2-market-data
162
- * @see https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level2-5-best-ask-bid-orders
163
- * @see https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level2-50-best-ask-bid-orders
172
+ * @see https://www.kucoin.com/docs-new/3470069w0 // spot level 5
173
+ * @see https://www.kucoin.com/docs-new/3470070w0 // spot level 50
174
+ * @see https://www.kucoin.com/docs-new/3470068w0 // spot incremental
175
+ * @see https://www.kucoin.com/docs-new/3470083w0 // futures level 5
176
+ * @see https://www.kucoin.com/docs-new/3470097w0 // futures level 50
177
+ * @see https://www.kucoin.com/docs-new/3470082w0 // futures incremental
164
178
  * @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
165
179
  * @param {string[]} symbols unified array of symbols
166
180
  * @param {int} [limit] the maximum amount of order book entries to return
167
181
  * @param {object} [params] extra parameters specific to the exchange API endpoint
168
- * @param {string} [params.method] either '/market/level2' or '/spotMarket/level2Depth5' or '/spotMarket/level2Depth50' default is '/market/level2'
169
182
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
170
183
  */
171
184
  watchOrderBookForSymbols(symbols: string[], limit?: Int, params?: {}): Promise<OrderBook>;
172
185
  /**
173
186
  * @method
174
187
  * @name kucoin#unWatchOrderBookForSymbols
175
- * @see https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level1-bbo-market-data
176
- * @see https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level2-market-data
177
- * @see https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level2-5-best-ask-bid-orders
178
- * @see https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level2-50-best-ask-bid-orders
188
+ * @see https://www.kucoin.com/docs-new/3470069w0 // spot level 5
189
+ * @see https://www.kucoin.com/docs-new/3470070w0 // spot level 50
190
+ * @see https://www.kucoin.com/docs-new/3470068w0 // spot incremental
191
+ * @see https://www.kucoin.com/docs-new/3470083w0 // futures level 5
192
+ * @see https://www.kucoin.com/docs-new/3470097w0 // futures level 50
193
+ * @see https://www.kucoin.com/docs-new/3470082w0 // futures incremental
179
194
  * @description unWatches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
180
195
  * @param {string[]} symbols unified array of symbols
181
196
  * @param {object} [params] extra parameters specific to the exchange API endpoint
182
- * @param {string} [params.method] either '/market/level2' or '/spotMarket/level2Depth5' or '/spotMarket/level2Depth50' default is '/market/level2'
197
+ * @param {string} [params.method] either '/market/level2' or '/spotMarket/level2Depth5' or '/spotMarket/level2Depth50' or '/contractMarket/level2' or '/contractMarket/level2Depth5' or '/contractMarket/level2Depth50' default is '/market/level2' for spot and '/contractMarket/level2' for futures
183
198
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
184
199
  */
185
200
  unWatchOrderBookForSymbols(symbols: string[], params?: {}): Promise<any>;
@@ -194,44 +209,68 @@ export default class kucoin extends kucoinRest {
194
209
  * @method
195
210
  * @name kucoin#watchOrders
196
211
  * @description watches information on multiple orders made by the user
197
- * @see https://www.kucoin.com/docs/websocket/spot-trading/private-channels/private-order-change
198
- * @see https://www.kucoin.com/docs/websocket/spot-trading/private-channels/stop-order-event
212
+ * @see https://www.kucoin.com/docs-new/3470074w0 // spot regular orders
213
+ * @see https://www.kucoin.com/docs-new/3470139w0 // spot trigger orders
214
+ * @see https://www.kucoin.com/docs-new/3470090w0 // contract regular orders
215
+ * @see https://www.kucoin.com/docs-new/3470091w0 // contract trigger orders
199
216
  * @param {string} symbol unified market symbol of the market orders were made in
200
217
  * @param {int} [since] the earliest time in ms to fetch orders for
201
218
  * @param {int} [limit] the maximum number of order structures to retrieve
202
219
  * @param {object} [params] extra parameters specific to the exchange API endpoint
203
220
  * @param {boolean} [params.trigger] trigger orders are watched if true
221
+ * @param {string} [params.type] 'spot' or 'swap' (default is 'spot' if symbol is not provided)
204
222
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
205
223
  */
206
224
  watchOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
225
+ getOrdersMessageHashSuffix(topic: any): string;
207
226
  parseWsOrderStatus(status: any): string;
208
227
  parseWsOrder(order: any, market?: any): Order;
209
228
  handleOrder(client: Client, message: any): void;
210
229
  /**
211
230
  * @method
212
231
  * @name kucoin#watchMyTrades
213
- * @description watches information on multiple trades made by the user
214
- * @see https://www.kucoin.com/docs/websocket/spot-trading/private-channels/private-order-change
232
+ * @description watches information on multiple trades made by the user on spot
233
+ * @see https://www.kucoin.com/docs-new/3470074w0
234
+ * @see https://www.kucoin.com/docs-new/3470090w0
215
235
  * @param {string} symbol unified market symbol of the market trades were made in
216
236
  * @param {int} [since] the earliest time in ms to fetch trades for
217
237
  * @param {int} [limit] the maximum number of trade structures to retrieve
218
238
  * @param {object} [params] extra parameters specific to the exchange API endpoint
219
- * @param {string} [params.method] '/spotMarket/tradeOrders' or '/spot/tradeFills' default is '/spotMarket/tradeOrders'
239
+ * @param {string} [params.method] '/spotMarket/tradeOrders' or '/spot/tradeFills' or '/contractMarket/tradeOrders', default is '/spotMarket/tradeOrders'
220
240
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
221
241
  */
222
242
  watchMyTrades(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
243
+ getMyTradesMessageHashSuffix(topic: any): string;
223
244
  handleMyTrade(client: Client, message: any): void;
224
245
  parseWsTrade(trade: any, market?: any): Trade;
225
246
  /**
226
247
  * @method
227
248
  * @name kucoin#watchBalance
228
249
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
229
- * @see https://www.kucoin.com/docs/websocket/spot-trading/private-channels/account-balance-change
250
+ * @see https://www.kucoin.com/docs-new/3470075w0 // spot balance
251
+ * @see https://www.kucoin.com/docs-new/3470092w0 // contract balance
230
252
  * @param {object} [params] extra parameters specific to the exchange API endpoint
253
+ * @param {string} [params.type] 'spot' or 'swap' (default is 'spot')
231
254
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
232
255
  */
233
256
  watchBalance(params?: {}): Promise<Balances>;
257
+ setBalanceCache(client: Client, type: any): void;
258
+ loadBalanceSnapshot(client: any, messageHash: any, type: any): Promise<void>;
234
259
  handleBalance(client: Client, message: any): void;
260
+ /**
261
+ * @method
262
+ * @name kucoin#watchPosition
263
+ * @description watch open positions for a specific symbol
264
+ * @see https://www.kucoin.com/docs-new/3470093w0
265
+ * @param {string|undefined} symbol unified market symbol
266
+ * @param {object} params extra parameters specific to the exchange API endpoint
267
+ * @returns {object} a [position structure]{@link https://docs.ccxt.com/en/latest/manual.html#position-structure}
268
+ */
269
+ watchPosition(symbol?: Str, params?: {}): Promise<Position>;
270
+ getCurrentPosition(symbol: any): any;
271
+ setPositionCache(client: Client, symbol: string): void;
272
+ loadPositionSnapshot(client: any, messageHash: any, symbol: any): Promise<void>;
273
+ handlePosition(client: Client, message: any): void;
235
274
  handleSubject(client: Client, message: any): void;
236
275
  ping(client: Client): {
237
276
  id: any;
@@ -240,4 +279,5 @@ export default class kucoin extends kucoinRest {
240
279
  handlePong(client: Client, message: any): void;
241
280
  handleErrorMessage(client: Client, message: any): Bool;
242
281
  handleMessage(client: Client, message: any): void;
282
+ getMessageHash(elementName: string, symbol?: Str): string;
243
283
  }