@sharpe-terminal/mcp-server 1.5.0 → 1.6.1
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 +15 -7
- package/dist/api-client.d.ts +16 -2
- package/dist/api-client.d.ts.map +1 -1
- package/dist/api-client.js +18 -9
- package/dist/api-client.js.map +1 -1
- package/dist/composite-tools.d.ts.map +1 -1
- package/dist/composite-tools.js +16 -13
- package/dist/composite-tools.js.map +1 -1
- package/dist/contracts/manifest.d.ts +52 -0
- package/dist/contracts/manifest.d.ts.map +1 -0
- package/dist/contracts/manifest.js +9 -0
- package/dist/contracts/manifest.js.map +1 -0
- package/dist/endpoint-tools.d.ts +107 -0
- package/dist/endpoint-tools.d.ts.map +1 -0
- package/dist/endpoint-tools.js +382 -0
- package/dist/endpoint-tools.js.map +1 -0
- package/dist/server.d.ts +21 -1
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +143 -103
- package/dist/server.js.map +1 -1
- package/dist/tool-runtime.d.ts +33 -45
- package/dist/tool-runtime.d.ts.map +1 -1
- package/dist/tool-runtime.js +113 -250
- package/dist/tool-runtime.js.map +1 -1
- package/package.json +7 -2
- package/dist/tools.d.ts +0 -570
- package/dist/tools.d.ts.map +0 -1
- package/dist/tools.js +0 -1148
- package/dist/tools.js.map +0 -1
package/dist/tools.d.ts
DELETED
|
@@ -1,570 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const globalOverviewSchema: {
|
|
3
|
-
tab: z.ZodDefault<z.ZodEnum<{
|
|
4
|
-
crypto: "crypto";
|
|
5
|
-
equity: "equity";
|
|
6
|
-
preipo: "preipo";
|
|
7
|
-
etf: "etf";
|
|
8
|
-
index: "index";
|
|
9
|
-
commodity: "commodity";
|
|
10
|
-
fx: "fx";
|
|
11
|
-
}>>;
|
|
12
|
-
limit: z.ZodOptional<z.ZodNumber>;
|
|
13
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
14
|
-
};
|
|
15
|
-
export declare const rwaPerpRatesSchema: {
|
|
16
|
-
type: z.ZodDefault<z.ZodEnum<{
|
|
17
|
-
current: "current";
|
|
18
|
-
stats: "stats";
|
|
19
|
-
history: "history";
|
|
20
|
-
}>>;
|
|
21
|
-
symbol: z.ZodOptional<z.ZodString>;
|
|
22
|
-
venue: z.ZodOptional<z.ZodString>;
|
|
23
|
-
days: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
24
|
-
limit: z.ZodOptional<z.ZodNumber>;
|
|
25
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
26
|
-
};
|
|
27
|
-
export declare const fundingRatesSchema: {
|
|
28
|
-
type: z.ZodDefault<z.ZodEnum<{
|
|
29
|
-
current: "current";
|
|
30
|
-
history: "history";
|
|
31
|
-
accumulated: "accumulated";
|
|
32
|
-
}>>;
|
|
33
|
-
coin: z.ZodOptional<z.ZodString>;
|
|
34
|
-
exchange: z.ZodOptional<z.ZodString>;
|
|
35
|
-
margin: z.ZodOptional<z.ZodEnum<{
|
|
36
|
-
linear: "linear";
|
|
37
|
-
inverse: "inverse";
|
|
38
|
-
}>>;
|
|
39
|
-
asset_class: z.ZodOptional<z.ZodEnum<{
|
|
40
|
-
crypto: "crypto";
|
|
41
|
-
equity: "equity";
|
|
42
|
-
index: "index";
|
|
43
|
-
commodity: "commodity";
|
|
44
|
-
fx: "fx";
|
|
45
|
-
}>>;
|
|
46
|
-
days: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
47
|
-
limit: z.ZodOptional<z.ZodNumber>;
|
|
48
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
49
|
-
sort: z.ZodOptional<z.ZodEnum<{
|
|
50
|
-
open_interest: "open_interest";
|
|
51
|
-
"-open_interest": "-open_interest";
|
|
52
|
-
}>>;
|
|
53
|
-
extremes: z.ZodOptional<z.ZodNumber>;
|
|
54
|
-
min_oi_usd: z.ZodOptional<z.ZodNumber>;
|
|
55
|
-
stats: z.ZodOptional<z.ZodEnum<{
|
|
56
|
-
1: "1";
|
|
57
|
-
}>>;
|
|
58
|
-
summary: z.ZodOptional<z.ZodEnum<{
|
|
59
|
-
1: "1";
|
|
60
|
-
}>>;
|
|
61
|
-
};
|
|
62
|
-
export declare const fundingSettlementSchema: {
|
|
63
|
-
window: z.ZodDefault<z.ZodEnum<{
|
|
64
|
-
current: "current";
|
|
65
|
-
"1d": "1d";
|
|
66
|
-
"3d": "3d";
|
|
67
|
-
"7d": "7d";
|
|
68
|
-
}>>;
|
|
69
|
-
class: z.ZodDefault<z.ZodEnum<{
|
|
70
|
-
crypto: "crypto";
|
|
71
|
-
all: "all";
|
|
72
|
-
rwa: "rwa";
|
|
73
|
-
}>>;
|
|
74
|
-
coin: z.ZodOptional<z.ZodString>;
|
|
75
|
-
exchange: z.ZodOptional<z.ZodString>;
|
|
76
|
-
limit: z.ZodOptional<z.ZodNumber>;
|
|
77
|
-
};
|
|
78
|
-
export declare const futuresDataSchema: {
|
|
79
|
-
chart: z.ZodEnum<{
|
|
80
|
-
[x: string]: string;
|
|
81
|
-
}>;
|
|
82
|
-
coin: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
83
|
-
timeframe: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
84
|
-
"1W": "1W";
|
|
85
|
-
"2W": "2W";
|
|
86
|
-
"1M": "1M";
|
|
87
|
-
"3M": "3M";
|
|
88
|
-
"6M": "6M";
|
|
89
|
-
"1Y": "1Y";
|
|
90
|
-
"3Y": "3Y";
|
|
91
|
-
}>>>;
|
|
92
|
-
exchanges: z.ZodOptional<z.ZodString>;
|
|
93
|
-
limit: z.ZodOptional<z.ZodNumber>;
|
|
94
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
95
|
-
};
|
|
96
|
-
export declare const futuresCoinsSchema: {};
|
|
97
|
-
export declare const correlationMatrixSchema: {
|
|
98
|
-
period: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
99
|
-
"30d": "30d";
|
|
100
|
-
"90d": "90d";
|
|
101
|
-
"1y": "1y";
|
|
102
|
-
"3y": "3y";
|
|
103
|
-
}>>>;
|
|
104
|
-
ids: z.ZodOptional<z.ZodString>;
|
|
105
|
-
};
|
|
106
|
-
export declare const arbitrageSpotPerpSchema: {
|
|
107
|
-
exchange: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
108
|
-
direction: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
109
|
-
all: "all";
|
|
110
|
-
long: "long";
|
|
111
|
-
short: "short";
|
|
112
|
-
}>>>;
|
|
113
|
-
minOiUsd: z.ZodOptional<z.ZodNumber>;
|
|
114
|
-
};
|
|
115
|
-
export declare const arbitrageCrossExchangeSchema: {
|
|
116
|
-
exchanges: z.ZodOptional<z.ZodString>;
|
|
117
|
-
minOiUsd: z.ZodOptional<z.ZodNumber>;
|
|
118
|
-
minVolUsd: z.ZodOptional<z.ZodNumber>;
|
|
119
|
-
assetClass: z.ZodOptional<z.ZodEnum<{
|
|
120
|
-
crypto: "crypto";
|
|
121
|
-
all: "all";
|
|
122
|
-
rwa: "rwa";
|
|
123
|
-
}>>;
|
|
124
|
-
limit: z.ZodOptional<z.ZodNumber>;
|
|
125
|
-
};
|
|
126
|
-
export declare const arbitrageScannerSchema: {
|
|
127
|
-
coin: z.ZodOptional<z.ZodString>;
|
|
128
|
-
exchanges: z.ZodOptional<z.ZodString>;
|
|
129
|
-
minApr: z.ZodOptional<z.ZodNumber>;
|
|
130
|
-
minOiUsd: z.ZodOptional<z.ZodNumber>;
|
|
131
|
-
minVolumeUsd: z.ZodOptional<z.ZodNumber>;
|
|
132
|
-
minDepthUsd: z.ZodOptional<z.ZodNumber>;
|
|
133
|
-
marginType: z.ZodOptional<z.ZodEnum<{
|
|
134
|
-
linear: "linear";
|
|
135
|
-
inverse: "inverse";
|
|
136
|
-
both: "both";
|
|
137
|
-
}>>;
|
|
138
|
-
notional: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
139
|
-
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
140
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
141
|
-
};
|
|
142
|
-
export declare const cexSpotTransferScannerSchema: {
|
|
143
|
-
coin: z.ZodOptional<z.ZodString>;
|
|
144
|
-
exchanges: z.ZodOptional<z.ZodString>;
|
|
145
|
-
minApr: z.ZodOptional<z.ZodNumber>;
|
|
146
|
-
minDepthUsd: z.ZodOptional<z.ZodNumber>;
|
|
147
|
-
notional: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
148
|
-
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
149
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
150
|
-
};
|
|
151
|
-
export declare const heatmapSchema: {
|
|
152
|
-
mode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
153
|
-
coins: "coins";
|
|
154
|
-
narratives: "narratives";
|
|
155
|
-
ecosystems: "ecosystems";
|
|
156
|
-
}>>>;
|
|
157
|
-
category: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
158
|
-
};
|
|
159
|
-
export declare const tokenScannerSchema: {
|
|
160
|
-
mode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
161
|
-
hot: "hot";
|
|
162
|
-
"new-runners": "new-runners";
|
|
163
|
-
"alpha-drops": "alpha-drops";
|
|
164
|
-
"ai-top": "ai-top";
|
|
165
|
-
"top-new": "top-new";
|
|
166
|
-
}>>>;
|
|
167
|
-
chains: z.ZodOptional<z.ZodString>;
|
|
168
|
-
chain: z.ZodOptional<z.ZodString>;
|
|
169
|
-
profile: z.ZodOptional<z.ZodEnum<{
|
|
170
|
-
discovery: "discovery";
|
|
171
|
-
balanced: "balanced";
|
|
172
|
-
strict: "strict";
|
|
173
|
-
}>>;
|
|
174
|
-
days: z.ZodOptional<z.ZodNumber>;
|
|
175
|
-
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
176
|
-
minLiquidityUsd: z.ZodOptional<z.ZodNumber>;
|
|
177
|
-
minVolumeH24: z.ZodOptional<z.ZodNumber>;
|
|
178
|
-
minTxnsH1: z.ZodOptional<z.ZodNumber>;
|
|
179
|
-
minTxnsH24: z.ZodOptional<z.ZodNumber>;
|
|
180
|
-
maxAgeHours: z.ZodOptional<z.ZodNumber>;
|
|
181
|
-
includeUnknownAge: z.ZodOptional<z.ZodBoolean>;
|
|
182
|
-
sortBy: z.ZodOptional<z.ZodEnum<{
|
|
183
|
-
score: "score";
|
|
184
|
-
readiness: "readiness";
|
|
185
|
-
rs: "rs";
|
|
186
|
-
volume: "volume";
|
|
187
|
-
momentum: "momentum";
|
|
188
|
-
}>>;
|
|
189
|
-
minBreakoutReadiness: z.ZodOptional<z.ZodNumber>;
|
|
190
|
-
minRelativeStrength: z.ZodOptional<z.ZodNumber>;
|
|
191
|
-
maxVolLiqRatio: z.ZodOptional<z.ZodNumber>;
|
|
192
|
-
minPriceChangeH1: z.ZodOptional<z.ZodNumber>;
|
|
193
|
-
};
|
|
194
|
-
export declare const rugCheckSecuritySchema: {
|
|
195
|
-
address: z.ZodString;
|
|
196
|
-
chainId: z.ZodNumber;
|
|
197
|
-
};
|
|
198
|
-
export declare const rugCheckTrendingSchema: {
|
|
199
|
-
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
200
|
-
};
|
|
201
|
-
export declare const stablecoinsSchema: {
|
|
202
|
-
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
203
|
-
detail: "detail";
|
|
204
|
-
overview: "overview";
|
|
205
|
-
yields: "yields";
|
|
206
|
-
}>>>;
|
|
207
|
-
slug: z.ZodOptional<z.ZodString>;
|
|
208
|
-
};
|
|
209
|
-
export declare const mindshareSchema: {
|
|
210
|
-
tokens: z.ZodOptional<z.ZodEnum<{
|
|
211
|
-
true: "true";
|
|
212
|
-
false: "false";
|
|
213
|
-
}>>;
|
|
214
|
-
narrative: z.ZodOptional<z.ZodString>;
|
|
215
|
-
historical: z.ZodOptional<z.ZodEnum<{
|
|
216
|
-
true: "true";
|
|
217
|
-
false: "false";
|
|
218
|
-
}>>;
|
|
219
|
-
timeframe: z.ZodOptional<z.ZodEnum<{
|
|
220
|
-
"1W": "1W";
|
|
221
|
-
"1M": "1M";
|
|
222
|
-
"3M": "3M";
|
|
223
|
-
"6M": "6M";
|
|
224
|
-
"1Y": "1Y";
|
|
225
|
-
"3Y": "3Y";
|
|
226
|
-
}>>;
|
|
227
|
-
window: z.ZodOptional<z.ZodEnum<{
|
|
228
|
-
"7d": "7d";
|
|
229
|
-
"30d": "30d";
|
|
230
|
-
now: "now";
|
|
231
|
-
"24h": "24h";
|
|
232
|
-
}>>;
|
|
233
|
-
};
|
|
234
|
-
export declare const webTrafficSchema: {
|
|
235
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
236
|
-
coin: "coin";
|
|
237
|
-
exchange: "exchange";
|
|
238
|
-
narrative: "narrative";
|
|
239
|
-
}>>;
|
|
240
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
241
|
-
market: "market";
|
|
242
|
-
rankings: "rankings";
|
|
243
|
-
snapshots: "snapshots";
|
|
244
|
-
}>>;
|
|
245
|
-
tf: z.ZodOptional<z.ZodEnum<{
|
|
246
|
-
all: "all";
|
|
247
|
-
"7d": "7d";
|
|
248
|
-
"30d": "30d";
|
|
249
|
-
"90d": "90d";
|
|
250
|
-
"1y": "1y";
|
|
251
|
-
"3y": "3y";
|
|
252
|
-
}>>;
|
|
253
|
-
entities: z.ZodOptional<z.ZodString>;
|
|
254
|
-
sub: z.ZodOptional<z.ZodEnum<{
|
|
255
|
-
global: "global";
|
|
256
|
-
trending: "trending";
|
|
257
|
-
categories: "categories";
|
|
258
|
-
}>>;
|
|
259
|
-
};
|
|
260
|
-
export declare const narrativesSchema: {
|
|
261
|
-
narrative: z.ZodOptional<z.ZodString>;
|
|
262
|
-
correlation: z.ZodOptional<z.ZodString>;
|
|
263
|
-
timeframe: z.ZodOptional<z.ZodString>;
|
|
264
|
-
sort: z.ZodOptional<z.ZodEnum<{
|
|
265
|
-
"-change24h": "-change24h";
|
|
266
|
-
change24h: "change24h";
|
|
267
|
-
}>>;
|
|
268
|
-
top: z.ZodOptional<z.ZodNumber>;
|
|
269
|
-
bottom: z.ZodOptional<z.ZodNumber>;
|
|
270
|
-
};
|
|
271
|
-
export declare const ecosystemsSchema: {
|
|
272
|
-
ecosystem: z.ZodOptional<z.ZodString>;
|
|
273
|
-
excludeNative: z.ZodOptional<z.ZodString>;
|
|
274
|
-
correlation: z.ZodOptional<z.ZodString>;
|
|
275
|
-
timeframe: z.ZodOptional<z.ZodString>;
|
|
276
|
-
};
|
|
277
|
-
export declare const memecoinsSchema: {
|
|
278
|
-
narrative: z.ZodOptional<z.ZodString>;
|
|
279
|
-
historical: z.ZodOptional<z.ZodEnum<{
|
|
280
|
-
"7d": "7d";
|
|
281
|
-
"30d": "30d";
|
|
282
|
-
"1y": "1y";
|
|
283
|
-
"24h": "24h";
|
|
284
|
-
}>>;
|
|
285
|
-
coinHistory: z.ZodOptional<z.ZodEnum<{
|
|
286
|
-
"7d": "7d";
|
|
287
|
-
"1y": "1y";
|
|
288
|
-
"24h": "24h";
|
|
289
|
-
"1m": "1m";
|
|
290
|
-
}>>;
|
|
291
|
-
};
|
|
292
|
-
export declare const memecoinLaunchesSchema: {
|
|
293
|
-
chains: z.ZodOptional<z.ZodString>;
|
|
294
|
-
days: z.ZodOptional<z.ZodNumber>;
|
|
295
|
-
limit: z.ZodOptional<z.ZodNumber>;
|
|
296
|
-
profile: z.ZodOptional<z.ZodEnum<{
|
|
297
|
-
discovery: "discovery";
|
|
298
|
-
balanced: "balanced";
|
|
299
|
-
strict: "strict";
|
|
300
|
-
}>>;
|
|
301
|
-
};
|
|
302
|
-
export declare const newsSchema: {
|
|
303
|
-
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
304
|
-
category: z.ZodOptional<z.ZodString>;
|
|
305
|
-
coin: z.ZodOptional<z.ZodString>;
|
|
306
|
-
since: z.ZodOptional<z.ZodString>;
|
|
307
|
-
q: z.ZodOptional<z.ZodString>;
|
|
308
|
-
offset: z.ZodOptional<z.ZodNumber>;
|
|
309
|
-
};
|
|
310
|
-
export declare const marketOverviewSchema: {};
|
|
311
|
-
export declare const pricePredictionSchema: {
|
|
312
|
-
coin: z.ZodOptional<z.ZodString>;
|
|
313
|
-
};
|
|
314
|
-
export declare const searchMarketCapSchema: {
|
|
315
|
-
q: z.ZodString;
|
|
316
|
-
};
|
|
317
|
-
export declare const gemFinderSchema: {
|
|
318
|
-
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
319
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
320
|
-
};
|
|
321
|
-
export declare const derivativesOverviewSchema: {};
|
|
322
|
-
export declare const apiCoverageSchema: {};
|
|
323
|
-
export declare const listingsDataSchema: {
|
|
324
|
-
narrative: z.ZodOptional<z.ZodString>;
|
|
325
|
-
exchange: z.ZodOptional<z.ZodEnum<{
|
|
326
|
-
binance: "binance";
|
|
327
|
-
okx: "okx";
|
|
328
|
-
bybit: "bybit";
|
|
329
|
-
gateio: "gateio";
|
|
330
|
-
mexc: "mexc";
|
|
331
|
-
}>>;
|
|
332
|
-
};
|
|
333
|
-
export declare const listingsRecentSchema: {
|
|
334
|
-
narrative: z.ZodOptional<z.ZodString>;
|
|
335
|
-
exchange: z.ZodOptional<z.ZodEnum<{
|
|
336
|
-
hyperliquid: "hyperliquid";
|
|
337
|
-
binance: "binance";
|
|
338
|
-
okx: "okx";
|
|
339
|
-
bybit: "bybit";
|
|
340
|
-
gateio: "gateio";
|
|
341
|
-
mexc: "mexc";
|
|
342
|
-
bitget: "bitget";
|
|
343
|
-
kucoin: "kucoin";
|
|
344
|
-
bingx: "bingx";
|
|
345
|
-
bitmart: "bitmart";
|
|
346
|
-
deepcoin: "deepcoin";
|
|
347
|
-
coinbase: "coinbase";
|
|
348
|
-
kraken: "kraken";
|
|
349
|
-
crypto_com: "crypto_com";
|
|
350
|
-
upbit: "upbit";
|
|
351
|
-
bithumb: "bithumb";
|
|
352
|
-
htx: "htx";
|
|
353
|
-
bitfinex: "bitfinex";
|
|
354
|
-
bitstamp: "bitstamp";
|
|
355
|
-
gemini: "gemini";
|
|
356
|
-
bitmex: "bitmex";
|
|
357
|
-
deribit: "deribit";
|
|
358
|
-
phemex: "phemex";
|
|
359
|
-
lbank: "lbank";
|
|
360
|
-
bitrue: "bitrue";
|
|
361
|
-
coinex: "coinex";
|
|
362
|
-
backpack: "backpack";
|
|
363
|
-
hashkey: "hashkey";
|
|
364
|
-
whitebit: "whitebit";
|
|
365
|
-
toobit: "toobit";
|
|
366
|
-
aster: "aster";
|
|
367
|
-
dydx: "dydx";
|
|
368
|
-
aevo: "aevo";
|
|
369
|
-
}>>;
|
|
370
|
-
venue_type: z.ZodOptional<z.ZodEnum<{
|
|
371
|
-
dex: "dex";
|
|
372
|
-
cex: "cex";
|
|
373
|
-
perp_dex: "perp_dex";
|
|
374
|
-
}>>;
|
|
375
|
-
market_type: z.ZodOptional<z.ZodEnum<{
|
|
376
|
-
spot: "spot";
|
|
377
|
-
perp: "perp";
|
|
378
|
-
futures: "futures";
|
|
379
|
-
options: "options";
|
|
380
|
-
margin: "margin";
|
|
381
|
-
}>>;
|
|
382
|
-
event_type: z.ZodOptional<z.ZodEnum<{
|
|
383
|
-
listing: "listing";
|
|
384
|
-
delisting: "delisting";
|
|
385
|
-
suspension: "suspension";
|
|
386
|
-
resumption: "resumption";
|
|
387
|
-
prelaunch: "prelaunch";
|
|
388
|
-
}>>;
|
|
389
|
-
asset_class: z.ZodOptional<z.ZodEnum<{
|
|
390
|
-
token: "token";
|
|
391
|
-
spot_pair: "spot_pair";
|
|
392
|
-
perp_contract: "perp_contract";
|
|
393
|
-
futures_contract: "futures_contract";
|
|
394
|
-
options_contract: "options_contract";
|
|
395
|
-
}>>;
|
|
396
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
397
|
-
announced: "announced";
|
|
398
|
-
scheduled: "scheduled";
|
|
399
|
-
live: "live";
|
|
400
|
-
completed: "completed";
|
|
401
|
-
cancelled: "cancelled";
|
|
402
|
-
needs_review: "needs_review";
|
|
403
|
-
}>>;
|
|
404
|
-
confidence: z.ZodOptional<z.ZodEnum<{
|
|
405
|
-
manual: "manual";
|
|
406
|
-
authoritative: "authoritative";
|
|
407
|
-
high: "high";
|
|
408
|
-
medium: "medium";
|
|
409
|
-
low: "low";
|
|
410
|
-
proxy: "proxy";
|
|
411
|
-
}>>;
|
|
412
|
-
from: z.ZodOptional<z.ZodString>;
|
|
413
|
-
to: z.ZodOptional<z.ZodString>;
|
|
414
|
-
days: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
415
|
-
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
416
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
417
|
-
};
|
|
418
|
-
export declare const listingsEventsSchema: {
|
|
419
|
-
exchange: z.ZodOptional<z.ZodEnum<{
|
|
420
|
-
hyperliquid: "hyperliquid";
|
|
421
|
-
binance: "binance";
|
|
422
|
-
okx: "okx";
|
|
423
|
-
bybit: "bybit";
|
|
424
|
-
gateio: "gateio";
|
|
425
|
-
mexc: "mexc";
|
|
426
|
-
bitget: "bitget";
|
|
427
|
-
kucoin: "kucoin";
|
|
428
|
-
bingx: "bingx";
|
|
429
|
-
bitmart: "bitmart";
|
|
430
|
-
deepcoin: "deepcoin";
|
|
431
|
-
coinbase: "coinbase";
|
|
432
|
-
kraken: "kraken";
|
|
433
|
-
crypto_com: "crypto_com";
|
|
434
|
-
upbit: "upbit";
|
|
435
|
-
bithumb: "bithumb";
|
|
436
|
-
htx: "htx";
|
|
437
|
-
bitfinex: "bitfinex";
|
|
438
|
-
bitstamp: "bitstamp";
|
|
439
|
-
gemini: "gemini";
|
|
440
|
-
bitmex: "bitmex";
|
|
441
|
-
deribit: "deribit";
|
|
442
|
-
phemex: "phemex";
|
|
443
|
-
lbank: "lbank";
|
|
444
|
-
bitrue: "bitrue";
|
|
445
|
-
coinex: "coinex";
|
|
446
|
-
backpack: "backpack";
|
|
447
|
-
hashkey: "hashkey";
|
|
448
|
-
whitebit: "whitebit";
|
|
449
|
-
toobit: "toobit";
|
|
450
|
-
aster: "aster";
|
|
451
|
-
dydx: "dydx";
|
|
452
|
-
aevo: "aevo";
|
|
453
|
-
}>>;
|
|
454
|
-
venue_type: z.ZodOptional<z.ZodEnum<{
|
|
455
|
-
dex: "dex";
|
|
456
|
-
cex: "cex";
|
|
457
|
-
perp_dex: "perp_dex";
|
|
458
|
-
}>>;
|
|
459
|
-
market_type: z.ZodOptional<z.ZodEnum<{
|
|
460
|
-
spot: "spot";
|
|
461
|
-
perp: "perp";
|
|
462
|
-
futures: "futures";
|
|
463
|
-
options: "options";
|
|
464
|
-
margin: "margin";
|
|
465
|
-
}>>;
|
|
466
|
-
event_type: z.ZodOptional<z.ZodEnum<{
|
|
467
|
-
listing: "listing";
|
|
468
|
-
delisting: "delisting";
|
|
469
|
-
suspension: "suspension";
|
|
470
|
-
resumption: "resumption";
|
|
471
|
-
prelaunch: "prelaunch";
|
|
472
|
-
}>>;
|
|
473
|
-
asset_class: z.ZodOptional<z.ZodEnum<{
|
|
474
|
-
token: "token";
|
|
475
|
-
spot_pair: "spot_pair";
|
|
476
|
-
perp_contract: "perp_contract";
|
|
477
|
-
futures_contract: "futures_contract";
|
|
478
|
-
options_contract: "options_contract";
|
|
479
|
-
}>>;
|
|
480
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
481
|
-
announced: "announced";
|
|
482
|
-
scheduled: "scheduled";
|
|
483
|
-
live: "live";
|
|
484
|
-
completed: "completed";
|
|
485
|
-
cancelled: "cancelled";
|
|
486
|
-
needs_review: "needs_review";
|
|
487
|
-
}>>;
|
|
488
|
-
narrative: z.ZodOptional<z.ZodString>;
|
|
489
|
-
confidence: z.ZodOptional<z.ZodEnum<{
|
|
490
|
-
manual: "manual";
|
|
491
|
-
authoritative: "authoritative";
|
|
492
|
-
high: "high";
|
|
493
|
-
medium: "medium";
|
|
494
|
-
low: "low";
|
|
495
|
-
proxy: "proxy";
|
|
496
|
-
}>>;
|
|
497
|
-
from: z.ZodOptional<z.ZodString>;
|
|
498
|
-
to: z.ZodOptional<z.ZodString>;
|
|
499
|
-
days: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
500
|
-
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
501
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
502
|
-
};
|
|
503
|
-
export declare const listingsExchangesSchema: {
|
|
504
|
-
venue_type: z.ZodOptional<z.ZodEnum<{
|
|
505
|
-
dex: "dex";
|
|
506
|
-
cex: "cex";
|
|
507
|
-
perp_dex: "perp_dex";
|
|
508
|
-
}>>;
|
|
509
|
-
market_type: z.ZodOptional<z.ZodEnum<{
|
|
510
|
-
spot: "spot";
|
|
511
|
-
perp: "perp";
|
|
512
|
-
futures: "futures";
|
|
513
|
-
options: "options";
|
|
514
|
-
margin: "margin";
|
|
515
|
-
}>>;
|
|
516
|
-
enabled: z.ZodOptional<z.ZodEnum<{
|
|
517
|
-
true: "true";
|
|
518
|
-
false: "false";
|
|
519
|
-
}>>;
|
|
520
|
-
};
|
|
521
|
-
export declare const signalScoreSchema: {
|
|
522
|
-
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
523
|
-
min_score: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
524
|
-
coin: z.ZodOptional<z.ZodString>;
|
|
525
|
-
};
|
|
526
|
-
export declare const pumpDumpSchema: {
|
|
527
|
-
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
528
|
-
min_score: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
529
|
-
phase: z.ZodOptional<z.ZodEnum<{
|
|
530
|
-
setup: "setup";
|
|
531
|
-
markup: "markup";
|
|
532
|
-
distribution: "distribution";
|
|
533
|
-
dump: "dump";
|
|
534
|
-
dumping: "dumping";
|
|
535
|
-
}>>;
|
|
536
|
-
coin: z.ZodOptional<z.ZodString>;
|
|
537
|
-
};
|
|
538
|
-
/**
|
|
539
|
-
* oi-snapshot is documented as current open interest by exchange, but both
|
|
540
|
-
* routes return the whole ascending window (up to 5,000 raw rows). Keep each
|
|
541
|
-
* exchange's newest reading, largest first, so "current" means current.
|
|
542
|
-
*/
|
|
543
|
-
export declare function latestRowPerExchange(rows: unknown[]): unknown[];
|
|
544
|
-
export interface PostProcessContext {
|
|
545
|
-
/** The API already paged this response (it carried a pagination block). */
|
|
546
|
-
paginated: boolean;
|
|
547
|
-
}
|
|
548
|
-
export interface ToolDef {
|
|
549
|
-
name: string;
|
|
550
|
-
description: string;
|
|
551
|
-
schema: Record<string, z.ZodType>;
|
|
552
|
-
apiPath: string;
|
|
553
|
-
fallbackPath: string;
|
|
554
|
-
/**
|
|
555
|
-
* Adjusts the arguments before the request, e.g. a default page size for a
|
|
556
|
-
* route whose unpaged answer is megabytes the MAX_ITEMS cap would discard.
|
|
557
|
-
*/
|
|
558
|
-
prepareArgs?: (args: Record<string, unknown>) => Record<string, unknown>;
|
|
559
|
-
/**
|
|
560
|
-
* Runs after the HTTP response is unwrapped but before MAX_ITEMS truncation.
|
|
561
|
-
* Use this to re-apply a filter the tool already sent to the backend, so the
|
|
562
|
-
* requested rows survive truncation instead of being cut off by an
|
|
563
|
-
* arbitrary prefix of the unfiltered book, or to page a free route that
|
|
564
|
-
* ignores limit/cursor (skip it when `context.paginated` says the API
|
|
565
|
-
* already did).
|
|
566
|
-
*/
|
|
567
|
-
postProcess?: (data: unknown, args: Record<string, unknown>, context?: PostProcessContext) => unknown;
|
|
568
|
-
}
|
|
569
|
-
export declare const TOOL_DEFS: ToolDef[];
|
|
570
|
-
//# sourceMappingURL=tools.d.ts.map
|
package/dist/tools.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tools.d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