@surf-ai/sdk 0.1.0 → 0.1.4
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/dist/react/index.d.ts +247 -179
- package/dist/react/index.js +215 -103
- package/dist/server/index.cjs +35 -35
- package/dist/server/index.d.cts +240 -172
- package/dist/server/index.d.ts +240 -172
- package/dist/server/index.js +35 -35
- package/package.json +8 -4
package/dist/react/index.d.ts
CHANGED
|
@@ -51,21 +51,23 @@ interface ApiCursorResponse<T> {
|
|
|
51
51
|
}
|
|
52
52
|
interface ExchangeDepthItem {
|
|
53
53
|
/** Total ask-side depth in base currency units */
|
|
54
|
-
ask_depth:
|
|
54
|
+
ask_depth: number;
|
|
55
|
+
/** Sell orders, price ascending */
|
|
55
56
|
asks: ExchangeDepthItemAsksItem[];
|
|
56
57
|
/** Total bid-side depth in base currency units */
|
|
57
|
-
bid_depth:
|
|
58
|
+
bid_depth: number;
|
|
59
|
+
/** Buy orders, price descending */
|
|
58
60
|
bids: ExchangeDepthItemBidsItem[];
|
|
59
61
|
/** Exchange identifier */
|
|
60
62
|
exchange: string;
|
|
61
63
|
/** (best_bid + best_ask) / 2 */
|
|
62
|
-
mid_price:
|
|
64
|
+
mid_price: number;
|
|
63
65
|
/** Trading pair like BTC/USDT */
|
|
64
66
|
pair: string;
|
|
65
67
|
/** Best ask - best bid */
|
|
66
|
-
spread:
|
|
68
|
+
spread: number;
|
|
67
69
|
/** Spread as percent of mid price */
|
|
68
|
-
spread_pct:
|
|
70
|
+
spread_pct: number;
|
|
69
71
|
}
|
|
70
72
|
interface ExchangeDepthItemAsksItem {
|
|
71
73
|
/** Amount at this level */
|
|
@@ -81,7 +83,7 @@ interface ExchangeDepthItemBidsItem {
|
|
|
81
83
|
}
|
|
82
84
|
interface ExchangeDepthParams {
|
|
83
85
|
/** Trading pair (e.g. BTC/USDT) */
|
|
84
|
-
pair
|
|
86
|
+
pair: string;
|
|
85
87
|
/** Market type: spot for spot trading, swap for perpetual contracts — @default 'spot' */
|
|
86
88
|
type?: 'spot' | 'swap';
|
|
87
89
|
/** Number of price levels (1-100) — @default '20' */
|
|
@@ -93,15 +95,15 @@ interface ExchangeFundingHistoryItem {
|
|
|
93
95
|
/** Exchange identifier */
|
|
94
96
|
exchange: string;
|
|
95
97
|
/** Funding rate at this settlement */
|
|
96
|
-
funding_rate:
|
|
98
|
+
funding_rate: number;
|
|
97
99
|
/** Perpetual contract pair like BTC/USDT */
|
|
98
100
|
pair: string;
|
|
99
101
|
/** Unix timestamp in seconds */
|
|
100
|
-
timestamp:
|
|
102
|
+
timestamp: number;
|
|
101
103
|
}
|
|
102
104
|
interface ExchangeFundingHistoryParams {
|
|
103
105
|
/** Trading pair (e.g. BTC/USDT) */
|
|
104
|
-
pair
|
|
106
|
+
pair: string;
|
|
105
107
|
/** Start of time range. Accepts Unix seconds or date string (YYYY-MM-DD, ISO8601). Not all exchanges support historical queries; some only return recent data regardless of this value. */
|
|
106
108
|
from?: string;
|
|
107
109
|
/** Max number of records. For longer history, paginate using the last returned timestamp as the next from value. — @default '100' */
|
|
@@ -110,6 +112,7 @@ interface ExchangeFundingHistoryParams {
|
|
|
110
112
|
exchange?: 'binance' | 'okx' | 'bybit' | 'bitget' | 'gate' | 'htx' | 'mexc' | 'bitfinex' | 'bitmex';
|
|
111
113
|
}
|
|
112
114
|
interface ExchangeKlinesItem {
|
|
115
|
+
/** OHLCV candles */
|
|
113
116
|
candles: ExchangeKlinesItemCandlesItem[];
|
|
114
117
|
/** Number of candles */
|
|
115
118
|
count: number;
|
|
@@ -120,15 +123,15 @@ interface ExchangeKlinesItem {
|
|
|
120
123
|
/** Trading pair */
|
|
121
124
|
pair: string;
|
|
122
125
|
/** Last candle datetime */
|
|
123
|
-
period_end:
|
|
126
|
+
period_end: string;
|
|
124
127
|
/** Highest price in period */
|
|
125
|
-
period_high:
|
|
128
|
+
period_high: number;
|
|
126
129
|
/** Lowest price in period */
|
|
127
|
-
period_low:
|
|
130
|
+
period_low: number;
|
|
128
131
|
/** First candle datetime */
|
|
129
|
-
period_start:
|
|
132
|
+
period_start: string;
|
|
130
133
|
/** Total volume in period */
|
|
131
|
-
period_volume:
|
|
134
|
+
period_volume: number;
|
|
132
135
|
}
|
|
133
136
|
interface ExchangeKlinesItemCandlesItem {
|
|
134
137
|
/** Closing price */
|
|
@@ -140,13 +143,13 @@ interface ExchangeKlinesItemCandlesItem {
|
|
|
140
143
|
/** Opening price */
|
|
141
144
|
open: number;
|
|
142
145
|
/** Candle open time in Unix seconds */
|
|
143
|
-
timestamp:
|
|
146
|
+
timestamp: number;
|
|
144
147
|
/** Trading volume in base currency units */
|
|
145
148
|
volume: number;
|
|
146
149
|
}
|
|
147
150
|
interface ExchangeKlinesParams {
|
|
148
151
|
/** Trading pair (e.g. BTC/USDT) */
|
|
149
|
-
pair
|
|
152
|
+
pair: string;
|
|
150
153
|
/** Market type: spot for spot trading, swap for perpetual contracts — @default 'spot' */
|
|
151
154
|
type?: 'spot' | 'swap';
|
|
152
155
|
/** Candle interval — @default '1h' */
|
|
@@ -162,15 +165,15 @@ interface ExchangeLongShortRatioItem {
|
|
|
162
165
|
/** Exchange identifier */
|
|
163
166
|
exchange: string;
|
|
164
167
|
/** Ratio of longs to shorts (e.g. 1.5 means 60% long / 40% short). To get percentages: long% = ratio/(ratio+1)*100, short% = 100/(ratio+1) */
|
|
165
|
-
long_short_ratio:
|
|
168
|
+
long_short_ratio: number;
|
|
166
169
|
/** Perpetual contract pair like BTC/USDT */
|
|
167
170
|
pair: string;
|
|
168
171
|
/** Unix timestamp in seconds */
|
|
169
|
-
timestamp:
|
|
172
|
+
timestamp: number;
|
|
170
173
|
}
|
|
171
174
|
interface ExchangeLongShortRatioParams {
|
|
172
175
|
/** Trading pair (e.g. BTC/USDT) */
|
|
173
|
-
pair
|
|
176
|
+
pair: string;
|
|
174
177
|
/** Data interval — @default '1h' */
|
|
175
178
|
interval?: '1h' | '4h' | '1d';
|
|
176
179
|
/** Start of time range. Accepts Unix seconds or date string (YYYY-MM-DD, ISO8601). Not all exchanges support historical queries; some only return recent data regardless of this value. */
|
|
@@ -182,21 +185,21 @@ interface ExchangeLongShortRatioParams {
|
|
|
182
185
|
}
|
|
183
186
|
interface ExchangeMarketsItem {
|
|
184
187
|
/** Whether the market is active */
|
|
185
|
-
active:
|
|
188
|
+
active: boolean;
|
|
186
189
|
/** Base currency */
|
|
187
|
-
base:
|
|
190
|
+
base: string;
|
|
188
191
|
/** Exchange identifier */
|
|
189
192
|
exchange: string;
|
|
190
193
|
/** Default maker fee rate */
|
|
191
|
-
maker_fee:
|
|
194
|
+
maker_fee: number;
|
|
192
195
|
/** Trading pair like BTC/USDT */
|
|
193
196
|
pair: string;
|
|
194
197
|
/** Quote currency */
|
|
195
|
-
quote:
|
|
198
|
+
quote: string;
|
|
196
199
|
/** Default taker fee rate */
|
|
197
|
-
taker_fee:
|
|
200
|
+
taker_fee: number;
|
|
198
201
|
/** Market type: spot, swap, future, option */
|
|
199
|
-
type:
|
|
202
|
+
type: string;
|
|
200
203
|
}
|
|
201
204
|
interface ExchangeMarketsParams {
|
|
202
205
|
/** Exchange identifier. When omitted, searches across all supported exchanges. */
|
|
@@ -224,15 +227,15 @@ interface ExchangePerpDataFunding {
|
|
|
224
227
|
/** Exchange identifier */
|
|
225
228
|
exchange: string;
|
|
226
229
|
/** Current funding rate (0.0001 = 0.01%) */
|
|
227
|
-
funding_rate:
|
|
230
|
+
funding_rate: number;
|
|
228
231
|
/** Index price derived from the weighted average of spot prices across multiple exchanges */
|
|
229
|
-
index_price:
|
|
232
|
+
index_price: number;
|
|
230
233
|
/** Funding interval like 8h */
|
|
231
|
-
interval:
|
|
234
|
+
interval: string;
|
|
232
235
|
/** Mark price calculated by the exchange from the index price and funding rate, used as the reference for liquidations */
|
|
233
|
-
mark_price:
|
|
236
|
+
mark_price: number;
|
|
234
237
|
/** Next settlement time ISO8601 */
|
|
235
|
-
next_funding:
|
|
238
|
+
next_funding: string;
|
|
236
239
|
/** Perpetual contract pair like BTC/USDT */
|
|
237
240
|
pair: string;
|
|
238
241
|
}
|
|
@@ -240,47 +243,47 @@ interface ExchangePerpDataOpenInterest {
|
|
|
240
243
|
/** Exchange identifier */
|
|
241
244
|
exchange: string;
|
|
242
245
|
/** Open interest in contracts */
|
|
243
|
-
open_interest_amount:
|
|
246
|
+
open_interest_amount: number;
|
|
244
247
|
/** Open interest in USD */
|
|
245
|
-
open_interest_usd:
|
|
248
|
+
open_interest_usd: number;
|
|
246
249
|
/** Trading pair like BTC/USDT */
|
|
247
250
|
pair: string;
|
|
248
251
|
/** Unix timestamp in seconds */
|
|
249
|
-
timestamp:
|
|
252
|
+
timestamp: number;
|
|
250
253
|
}
|
|
251
254
|
interface ExchangePerpParams {
|
|
252
255
|
/** Trading pair (e.g. BTC/USDT). The swap suffix ':USDT' is added automatically. */
|
|
253
|
-
pair
|
|
254
|
-
/** Comma-separated fields to include: 'funding' (current funding rate), 'oi' (open interest). Defaults to all fields. — @default 'funding' */
|
|
256
|
+
pair: string;
|
|
257
|
+
/** Comma-separated fields to include: 'funding' (current funding rate), 'oi' (open interest). Defaults to all fields. — @default 'funding,oi' */
|
|
255
258
|
fields?: string;
|
|
256
259
|
/** Exchange identifier — @default 'binance' */
|
|
257
260
|
exchange?: 'binance' | 'okx' | 'bybit' | 'bitget' | 'htx' | 'bitfinex' | 'bitmex';
|
|
258
261
|
}
|
|
259
262
|
interface ExchangePriceItem {
|
|
260
263
|
/** Best ask price */
|
|
261
|
-
ask:
|
|
264
|
+
ask: number;
|
|
262
265
|
/** Best bid price */
|
|
263
|
-
bid:
|
|
266
|
+
bid: number;
|
|
264
267
|
/** Price change percentage in 24h */
|
|
265
|
-
change_24h_pct:
|
|
268
|
+
change_24h_pct: number;
|
|
266
269
|
/** Exchange identifier like binance, okx */
|
|
267
270
|
exchange: string;
|
|
268
271
|
/** 24h high price */
|
|
269
|
-
high_24h:
|
|
272
|
+
high_24h: number;
|
|
270
273
|
/** Last traded price */
|
|
271
|
-
last:
|
|
274
|
+
last: number;
|
|
272
275
|
/** 24h low price */
|
|
273
|
-
low_24h:
|
|
276
|
+
low_24h: number;
|
|
274
277
|
/** Trading pair like BTC/USDT */
|
|
275
278
|
pair: string;
|
|
276
279
|
/** Unix timestamp in seconds */
|
|
277
|
-
timestamp:
|
|
280
|
+
timestamp: number;
|
|
278
281
|
/** 24h trading volume in base currency units */
|
|
279
|
-
volume_24h_base:
|
|
282
|
+
volume_24h_base: number;
|
|
280
283
|
}
|
|
281
284
|
interface ExchangePriceParams {
|
|
282
285
|
/** Trading pair (e.g. BTC/USDT) */
|
|
283
|
-
pair
|
|
286
|
+
pair: string;
|
|
284
287
|
/** Market type: spot for spot trading, swap for perpetual contracts — @default 'spot' */
|
|
285
288
|
type?: 'spot' | 'swap';
|
|
286
289
|
/** Exchange identifier — @default 'binance' */
|
|
@@ -297,15 +300,19 @@ interface FundDetailData {
|
|
|
297
300
|
invested_projects_count: number;
|
|
298
301
|
/** Fund jurisdiction */
|
|
299
302
|
jurisdiction?: string;
|
|
303
|
+
/** Fund links (website, social, etc.) */
|
|
300
304
|
links: FundDetailDataLinksItem[];
|
|
305
|
+
/** Fund team members */
|
|
301
306
|
members: FundDetailDataMembersItem[];
|
|
302
307
|
/** Fund name */
|
|
303
308
|
name: string;
|
|
309
|
+
/** Recent research publications */
|
|
304
310
|
recent_researches: FundDetailDataRecentResearchesItem[];
|
|
305
311
|
/** Fund tier ranking (lower is better) */
|
|
306
312
|
tier: number;
|
|
307
313
|
/** Fund type like `VC` or `Accelerator` */
|
|
308
314
|
type?: string;
|
|
315
|
+
/** X (Twitter) accounts */
|
|
309
316
|
x_accounts: FundDetailDataXAccountsItem[];
|
|
310
317
|
}
|
|
311
318
|
interface FundDetailDataLinksItem {
|
|
@@ -319,6 +326,7 @@ interface FundDetailDataMembersItem {
|
|
|
319
326
|
avatar?: string;
|
|
320
327
|
/** Member name */
|
|
321
328
|
name: string;
|
|
329
|
+
/** Member roles */
|
|
322
330
|
roles: unknown;
|
|
323
331
|
}
|
|
324
332
|
interface FundDetailDataRecentResearchesItem {
|
|
@@ -398,6 +406,7 @@ interface FundRankingItem {
|
|
|
398
406
|
name: string;
|
|
399
407
|
/** Fund tier ranking (lower is better) */
|
|
400
408
|
tier: number;
|
|
409
|
+
/** Top invested projects (up to 5) */
|
|
401
410
|
top_projects: FundRankingItemTopProjectsItem[];
|
|
402
411
|
/** Fund type */
|
|
403
412
|
type?: string;
|
|
@@ -422,13 +431,14 @@ interface FundRankingItemTopProjectsItem {
|
|
|
422
431
|
}
|
|
423
432
|
interface FundRankingParams {
|
|
424
433
|
/** Ranking metric. Can be `tier` (lower is better) or `portfolio_count` (number of invested projects). */
|
|
425
|
-
metric
|
|
434
|
+
metric: 'tier' | 'portfolio_count';
|
|
426
435
|
/** Results per page — @default '20' */
|
|
427
436
|
limit?: number;
|
|
428
437
|
/** Pagination offset — @default '0' */
|
|
429
438
|
offset?: number;
|
|
430
439
|
}
|
|
431
440
|
interface MarketEtfItem {
|
|
441
|
+
/** Flow breakdown by individual ETF ticker */
|
|
432
442
|
etfs?: MarketEtfItemEtfsItem[];
|
|
433
443
|
/** Daily net flow in USD (positive=inflow, negative=outflow) */
|
|
434
444
|
flow_usd: number;
|
|
@@ -445,7 +455,7 @@ interface MarketEtfItemEtfsItem {
|
|
|
445
455
|
}
|
|
446
456
|
interface MarketEtfParams {
|
|
447
457
|
/** Token symbol. Can be `BTC` or `ETH`. */
|
|
448
|
-
symbol
|
|
458
|
+
symbol: 'BTC' | 'ETH';
|
|
449
459
|
/** Field to sort results by — @default 'timestamp' */
|
|
450
460
|
sort_by?: 'flow_usd' | 'timestamp';
|
|
451
461
|
/** Sort order — @default 'desc' */
|
|
@@ -503,7 +513,7 @@ interface MarketLiquidationChartItem {
|
|
|
503
513
|
}
|
|
504
514
|
interface MarketLiquidationChartParams {
|
|
505
515
|
/** Token ticker symbol like `BTC` or `ETH` */
|
|
506
|
-
symbol
|
|
516
|
+
symbol: string;
|
|
507
517
|
/** Candlestick interval. Can be `1m`, `3m`, `5m`, `15m`, `30m`, `1h`, `4h`, `6h`, `8h`, `12h`, `1d`, or `1w`. — @default '1h' */
|
|
508
518
|
interval?: '1m' | '3m' | '5m' | '15m' | '30m' | '1h' | '4h' | '6h' | '8h' | '12h' | '1d' | '1w';
|
|
509
519
|
/** Exchange name. Can be `Binance`, `OKX`, `Bybit`, `Bitget`, `Hyperliquid`, `Gate`, `HTX`, `Bitmex`, `Bitfinex`, `CoinEx`, `Aster`, or `Lighter`. — @default 'Binance' */
|
|
@@ -581,9 +591,9 @@ interface MarketOnchainIndicatorItem {
|
|
|
581
591
|
}
|
|
582
592
|
interface MarketOnchainIndicatorParams {
|
|
583
593
|
/** Token ticker symbol. Can be `BTC` or `ETH`. */
|
|
584
|
-
symbol
|
|
594
|
+
symbol: 'BTC' | 'ETH';
|
|
585
595
|
/** On-chain metric name. Can be `nupl`, `sopr`, `mvrv`, `puell-multiple`, `nvm`, `nvt`, `nvt-golden-cross`, or `exchange-flows/{inflow,outflow,netflow,reserve}`. */
|
|
586
|
-
metric
|
|
596
|
+
metric: 'nupl' | 'sopr' | 'mvrv' | 'puell-multiple' | 'nvm' | 'nvt' | 'nvt-golden-cross' | 'exchange-flows/inflow' | 'exchange-flows/outflow' | 'exchange-flows/netflow' | 'exchange-flows/reserve';
|
|
587
597
|
/** Aggregation granularity. — @default 'day' */
|
|
588
598
|
granularity?: 'day';
|
|
589
599
|
/** Start of time range. Accepts Unix seconds or date string (YYYY-MM-DD). Defaults to 90 days ago when omitted. Maximum range is 365 days. */
|
|
@@ -611,7 +621,7 @@ interface MarketOptionsItem {
|
|
|
611
621
|
}
|
|
612
622
|
interface MarketOptionsParams {
|
|
613
623
|
/** Token symbol. Can be `BTC`, `ETH`, `SOL`, `XRP`, `BNB`, `DOGE`, `ADA`, or `AVAX`. */
|
|
614
|
-
symbol
|
|
624
|
+
symbol: 'BTC' | 'ETH' | 'SOL' | 'XRP' | 'BNB' | 'DOGE' | 'ADA' | 'AVAX';
|
|
615
625
|
/** Field to sort results by — @default 'volume_24h' */
|
|
616
626
|
sort_by?: 'open_interest' | 'volume_24h';
|
|
617
627
|
/** Sort order — @default 'desc' */
|
|
@@ -629,7 +639,7 @@ interface MarketPriceItem {
|
|
|
629
639
|
}
|
|
630
640
|
interface MarketPriceParams {
|
|
631
641
|
/** Single token ticker symbol like `BTC`, `ETH`, or `SOL` (multi-symbol not supported) */
|
|
632
|
-
symbol
|
|
642
|
+
symbol: string;
|
|
633
643
|
/** Predefined time range for historical data. Ignored when `from`/`to` are set. Can be `1d`, `7d`, `14d`, `30d`, `90d`, `180d`, `365d`, or `max`. — @default '30d' */
|
|
634
644
|
time_range?: '1d' | '7d' | '14d' | '30d' | '90d' | '180d' | '365d' | 'max';
|
|
635
645
|
/** Start of custom date range (Unix timestamp or YYYY-MM-DD). Must be used together with `to`. Overrides `time_range` when set. */
|
|
@@ -700,9 +710,9 @@ interface MarketPriceIndicatorItemValues {
|
|
|
700
710
|
}
|
|
701
711
|
interface MarketPriceIndicatorParams {
|
|
702
712
|
/** Technical indicator name. Can be `rsi`, `macd`, `ema`, `sma`, `bbands`, `stoch`, `adx`, `atr`, `cci`, `obv`, `vwap`, `dmi`, `ichimoku`, or `supertrend`. */
|
|
703
|
-
indicator
|
|
713
|
+
indicator: 'rsi' | 'macd' | 'ema' | 'sma' | 'bbands' | 'stoch' | 'adx' | 'atr' | 'cci' | 'obv' | 'vwap' | 'dmi' | 'ichimoku' | 'supertrend';
|
|
704
714
|
/** Trading pair as `BTC/USDT` or bare symbol like `BTC` */
|
|
705
|
-
symbol
|
|
715
|
+
symbol: string;
|
|
706
716
|
/** Candlestick interval. Can be `1m`, `5m`, `15m`, `30m`, `1h`, `2h`, `4h`, `12h`, `1d`, or `1w`. — @default '1d' */
|
|
707
717
|
interval?: '1m' | '5m' | '15m' | '30m' | '1h' | '2h' | '4h' | '12h' | '1d' | '1w';
|
|
708
718
|
/** Exchange for price data. Can be `binance`, `bybit`, `coinbase`, or `kraken`. — @default 'binance' */
|
|
@@ -782,9 +792,10 @@ interface NewsDetailData {
|
|
|
782
792
|
}
|
|
783
793
|
interface NewsDetailParams {
|
|
784
794
|
/** Article ID (returned as id in feed/search results) */
|
|
785
|
-
id
|
|
795
|
+
id: string;
|
|
786
796
|
}
|
|
787
797
|
interface NewsFeedItem {
|
|
798
|
+
/** Search highlight fragments with <em> tags around matching terms. Only present in search results. */
|
|
788
799
|
highlights?: NewsFeedItemHighlights;
|
|
789
800
|
/** Article ID. Use with the detail endpoint to fetch full content. */
|
|
790
801
|
id: string;
|
|
@@ -848,18 +859,20 @@ interface OnchainGasPriceData {
|
|
|
848
859
|
}
|
|
849
860
|
interface OnchainGasPriceParams {
|
|
850
861
|
/** Chain. Can be `ethereum`, `polygon`, `bsc`, `arbitrum`, `optimism`, `base`, `avalanche`, `fantom`, `linea`, or `cyber`. */
|
|
851
|
-
chain
|
|
862
|
+
chain: 'ethereum' | 'polygon' | 'bsc' | 'arbitrum' | 'optimism' | 'base' | 'avalanche' | 'fantom' | 'linea' | 'cyber';
|
|
852
863
|
}
|
|
853
864
|
interface OnchainStructuredQueryItem {
|
|
854
|
-
[key: string]: unknown;
|
|
855
865
|
}
|
|
856
866
|
interface OnchainStructuredQueryParams {
|
|
867
|
+
/** Columns to return. Omit to return all columns. Example for agent.ethereum_transactions: [`transaction_hash`, `from_address`, `value`] */
|
|
857
868
|
fields?: unknown;
|
|
869
|
+
/** WHERE conditions (ANDed together) */
|
|
858
870
|
filters?: OnchainStructuredQueryParamsFiltersItem[];
|
|
859
871
|
/** Max rows to return. Default 20, max 10000 */
|
|
860
872
|
limit?: number;
|
|
861
873
|
/** Rows to skip for pagination. Default 0 */
|
|
862
874
|
offset?: number;
|
|
875
|
+
/** ORDER BY clauses */
|
|
863
876
|
sort?: OnchainStructuredQueryParamsSortItem[];
|
|
864
877
|
/** Fully-qualified table name like `agent.my_table` */
|
|
865
878
|
source: string;
|
|
@@ -869,7 +882,7 @@ interface OnchainStructuredQueryParamsFiltersItem {
|
|
|
869
882
|
field: string;
|
|
870
883
|
/** Comparison operator: eq, neq, gt, gte, lt, lte, like, in, not_in. For `in`/`not_in`, value must be a JSON array */
|
|
871
884
|
op: string;
|
|
872
|
-
/**
|
|
885
|
+
/** Comparison value. Use a JSON array for `in`/`not_in` operators like `[21000000, 21000001]` */
|
|
873
886
|
value: unknown;
|
|
874
887
|
}
|
|
875
888
|
interface OnchainStructuredQueryParamsSortItem {
|
|
@@ -879,6 +892,7 @@ interface OnchainStructuredQueryParamsSortItem {
|
|
|
879
892
|
order?: string;
|
|
880
893
|
}
|
|
881
894
|
interface OnchainSchemaItem {
|
|
895
|
+
/** List of columns in this table */
|
|
882
896
|
columns: OnchainSchemaItemColumnsItem[];
|
|
883
897
|
/** Database name (always `agent`) */
|
|
884
898
|
database: string;
|
|
@@ -894,7 +908,6 @@ interface OnchainSchemaItemColumnsItem {
|
|
|
894
908
|
type: string;
|
|
895
909
|
}
|
|
896
910
|
interface OnchainSqlItem {
|
|
897
|
-
[key: string]: unknown;
|
|
898
911
|
}
|
|
899
912
|
interface OnchainSqlParams {
|
|
900
913
|
/** Maximum number of rows to return — @default '1000' */
|
|
@@ -903,12 +916,14 @@ interface OnchainSqlParams {
|
|
|
903
916
|
sql: string;
|
|
904
917
|
}
|
|
905
918
|
interface OnchainTxItem {
|
|
919
|
+
/** List of addresses and storage keys. Empty array for legacy; populated for EIP-2930+ */
|
|
906
920
|
accessList: OnchainTxItemAccesslistItem[];
|
|
921
|
+
/** Versioned hashes of blob commitments. EIP-4844 only */
|
|
907
922
|
blobVersionedHashes?: unknown;
|
|
908
923
|
/** Block hash, null if pending */
|
|
909
|
-
blockHash:
|
|
924
|
+
blockHash: string;
|
|
910
925
|
/** Block number (hex), null if pending */
|
|
911
|
-
blockNumber:
|
|
926
|
+
blockNumber: string;
|
|
912
927
|
/** Chain ID (hex) */
|
|
913
928
|
chainId?: string;
|
|
914
929
|
/** Sender address (0x-prefixed) */
|
|
@@ -934,9 +949,9 @@ interface OnchainTxItem {
|
|
|
934
949
|
/** Signature S (hex) */
|
|
935
950
|
s: string;
|
|
936
951
|
/** Recipient address, null for contract creation */
|
|
937
|
-
to:
|
|
952
|
+
to: string;
|
|
938
953
|
/** Index in block (hex), null if pending */
|
|
939
|
-
transactionIndex:
|
|
954
|
+
transactionIndex: string;
|
|
940
955
|
/** Transaction type: 0x0=legacy, 0x1=EIP-2930, 0x2=EIP-1559, 0x3=EIP-4844 */
|
|
941
956
|
type: string;
|
|
942
957
|
/** Signature V (hex). Legacy: recovery ID (0x1b/0x1c); EIP-2930+: parity (0x0/0x1) */
|
|
@@ -949,13 +964,14 @@ interface OnchainTxItem {
|
|
|
949
964
|
interface OnchainTxItemAccesslistItem {
|
|
950
965
|
/** Account address (0x-prefixed) */
|
|
951
966
|
address: string;
|
|
967
|
+
/** List of storage slot keys (0x-prefixed hex) */
|
|
952
968
|
storageKeys: unknown;
|
|
953
969
|
}
|
|
954
970
|
interface OnchainTxParams {
|
|
955
971
|
/** Transaction hash (0x-prefixed hex) */
|
|
956
|
-
hash
|
|
972
|
+
hash: string;
|
|
957
973
|
/** Chain. Can be `ethereum`, `polygon`, `bsc`, `arbitrum`, `optimism`, `base`, `avalanche`, `fantom`, `linea`, or `cyber`. */
|
|
958
|
-
chain
|
|
974
|
+
chain: 'ethereum' | 'polygon' | 'bsc' | 'arbitrum' | 'optimism' | 'base' | 'avalanche' | 'fantom' | 'linea' | 'cyber';
|
|
959
975
|
}
|
|
960
976
|
interface OnchainYieldRankingItem {
|
|
961
977
|
/** Total APY (base + reward) */
|
|
@@ -1010,7 +1026,7 @@ interface PredictionMarketCategoryMetricsParams {
|
|
|
1010
1026
|
category?: 'crypto' | 'culture' | 'economics' | 'financials' | 'politics' | 'stem' | 'sports';
|
|
1011
1027
|
/** Predefined time range: `7d`, `30d`, `90d`, `180d`, `1y`, or `all` — @default '30d' */
|
|
1012
1028
|
time_range?: '7d' | '30d' | '90d' | '180d' | '1y' | 'all';
|
|
1013
|
-
/**
|
|
1029
|
+
/** Maximum rows to return — @default '200' */
|
|
1014
1030
|
limit?: number;
|
|
1015
1031
|
/** Pagination offset — @default '0' */
|
|
1016
1032
|
offset?: number;
|
|
@@ -1024,6 +1040,7 @@ interface KalshiEventsItem {
|
|
|
1024
1040
|
event_title: string;
|
|
1025
1041
|
/** Number of markets in this event */
|
|
1026
1042
|
market_count: number;
|
|
1043
|
+
/** Markets within this event */
|
|
1027
1044
|
markets: KalshiEventsItemMarketsItem[];
|
|
1028
1045
|
}
|
|
1029
1046
|
interface KalshiEventsItemMarketsItem {
|
|
@@ -1062,7 +1079,7 @@ interface KalshiEventsItemMarketsItem {
|
|
|
1062
1079
|
}
|
|
1063
1080
|
interface KalshiEventsParams {
|
|
1064
1081
|
/** Event ticker identifier */
|
|
1065
|
-
event_ticker
|
|
1082
|
+
event_ticker: string;
|
|
1066
1083
|
/** Results per page — @default '20' */
|
|
1067
1084
|
limit?: number;
|
|
1068
1085
|
/** Pagination offset — @default '0' */
|
|
@@ -1104,7 +1121,7 @@ interface KalshiMarketsItem {
|
|
|
1104
1121
|
}
|
|
1105
1122
|
interface KalshiMarketsParams {
|
|
1106
1123
|
/** Market ticker identifier */
|
|
1107
|
-
market_ticker
|
|
1124
|
+
market_ticker: string;
|
|
1108
1125
|
/** Results per page — @default '20' */
|
|
1109
1126
|
limit?: number;
|
|
1110
1127
|
/** Pagination offset — @default '0' */
|
|
@@ -1118,7 +1135,7 @@ interface KalshiOpenInterestItem {
|
|
|
1118
1135
|
}
|
|
1119
1136
|
interface KalshiOpenInterestParams {
|
|
1120
1137
|
/** Market ticker identifier */
|
|
1121
|
-
ticker
|
|
1138
|
+
ticker: string;
|
|
1122
1139
|
/** Predefined time range: `7d`, `30d`, `90d`, `180d`, or `1y` — @default '30d' */
|
|
1123
1140
|
time_range?: '7d' | '30d' | '90d' | '180d' | '1y';
|
|
1124
1141
|
}
|
|
@@ -1148,7 +1165,7 @@ interface KalshiPricesItemSideB {
|
|
|
1148
1165
|
}
|
|
1149
1166
|
interface KalshiPricesParams {
|
|
1150
1167
|
/** Market ticker identifier */
|
|
1151
|
-
ticker
|
|
1168
|
+
ticker: string;
|
|
1152
1169
|
/** Predefined time range: `7d`, `30d`, `90d`, `180d`, or `1y`. Ignored when `interval=latest`. — @default '30d' */
|
|
1153
1170
|
time_range?: '7d' | '30d' | '90d' | '180d' | '1y';
|
|
1154
1171
|
/** Data interval: `1h` for hourly, `1d` for daily OHLC, `latest` for real-time price from trades — @default '1d' */
|
|
@@ -1220,7 +1237,7 @@ interface KalshiTradesItem {
|
|
|
1220
1237
|
}
|
|
1221
1238
|
interface KalshiTradesParams {
|
|
1222
1239
|
/** Market ticker identifier */
|
|
1223
|
-
ticker
|
|
1240
|
+
ticker: string;
|
|
1224
1241
|
/** Filter by taker side: `yes` or `no` */
|
|
1225
1242
|
taker_side?: 'yes' | 'no';
|
|
1226
1243
|
/** Minimum notional volume in USD (each contract = $1) */
|
|
@@ -1246,7 +1263,7 @@ interface KalshiVolumesItem {
|
|
|
1246
1263
|
}
|
|
1247
1264
|
interface KalshiVolumesParams {
|
|
1248
1265
|
/** Market ticker identifier */
|
|
1249
|
-
ticker
|
|
1266
|
+
ticker: string;
|
|
1250
1267
|
/** Predefined time range: `7d`, `30d`, `90d`, `180d`, or `1y` — @default '30d' */
|
|
1251
1268
|
time_range?: '7d' | '30d' | '90d' | '180d' | '1y';
|
|
1252
1269
|
}
|
|
@@ -1274,7 +1291,7 @@ interface PolymarketActivityItem {
|
|
|
1274
1291
|
}
|
|
1275
1292
|
interface PolymarketActivityParams {
|
|
1276
1293
|
/** Polymarket proxy wallet address */
|
|
1277
|
-
address
|
|
1294
|
+
address: string;
|
|
1278
1295
|
/** Results per page — @default '50' */
|
|
1279
1296
|
limit?: number;
|
|
1280
1297
|
/** Pagination offset — @default '0' */
|
|
@@ -1293,6 +1310,7 @@ interface PolymarketEventsItem {
|
|
|
1293
1310
|
image?: string;
|
|
1294
1311
|
/** Number of markets in this event */
|
|
1295
1312
|
market_count: number;
|
|
1313
|
+
/** Markets within this event */
|
|
1296
1314
|
markets: PolymarketEventsItemMarketsItem[];
|
|
1297
1315
|
/** Resolution source URL */
|
|
1298
1316
|
settlement_sources?: string;
|
|
@@ -1302,6 +1320,7 @@ interface PolymarketEventsItem {
|
|
|
1302
1320
|
status: string;
|
|
1303
1321
|
/** Surf curated event subcategory */
|
|
1304
1322
|
subcategory?: string;
|
|
1323
|
+
/** Event tags */
|
|
1305
1324
|
tags?: unknown;
|
|
1306
1325
|
/** Event title */
|
|
1307
1326
|
title: string;
|
|
@@ -1343,6 +1362,7 @@ interface PolymarketEventsItemMarketsItem {
|
|
|
1343
1362
|
status: string;
|
|
1344
1363
|
/** Surf curated market subcategory */
|
|
1345
1364
|
subcategory?: string;
|
|
1365
|
+
/** Market tags */
|
|
1346
1366
|
tags?: unknown;
|
|
1347
1367
|
/** Market title */
|
|
1348
1368
|
title: string;
|
|
@@ -1371,7 +1391,7 @@ interface PolymarketEventsItemMarketsItemSideB {
|
|
|
1371
1391
|
}
|
|
1372
1392
|
interface PolymarketEventsParams {
|
|
1373
1393
|
/** Event slug identifier */
|
|
1374
|
-
event_slug
|
|
1394
|
+
event_slug: string;
|
|
1375
1395
|
/** Results per page — @default '20' */
|
|
1376
1396
|
limit?: number;
|
|
1377
1397
|
/** Pagination offset — @default '0' */
|
|
@@ -1412,6 +1432,7 @@ interface PolymarketMarketsItem {
|
|
|
1412
1432
|
status: string;
|
|
1413
1433
|
/** Surf curated market subcategory */
|
|
1414
1434
|
subcategory?: string;
|
|
1435
|
+
/** Market tags */
|
|
1415
1436
|
tags?: unknown;
|
|
1416
1437
|
/** Market title */
|
|
1417
1438
|
title: string;
|
|
@@ -1440,7 +1461,7 @@ interface PolymarketMarketsItemSideB {
|
|
|
1440
1461
|
}
|
|
1441
1462
|
interface PolymarketMarketsParams {
|
|
1442
1463
|
/** Market slug identifier */
|
|
1443
|
-
market_slug
|
|
1464
|
+
market_slug: string;
|
|
1444
1465
|
/** Results per page — @default '20' */
|
|
1445
1466
|
limit?: number;
|
|
1446
1467
|
/** Pagination offset — @default '0' */
|
|
@@ -1456,7 +1477,7 @@ interface PolymarketOpenInterestItem {
|
|
|
1456
1477
|
}
|
|
1457
1478
|
interface PolymarketOpenInterestParams {
|
|
1458
1479
|
/** Market condition identifier */
|
|
1459
|
-
condition_id
|
|
1480
|
+
condition_id: string;
|
|
1460
1481
|
/** Predefined time range — @default '30d' */
|
|
1461
1482
|
time_range?: '7d' | '30d' | '90d' | '180d' | '1y';
|
|
1462
1483
|
}
|
|
@@ -1484,7 +1505,7 @@ interface PolymarketPositionsItem {
|
|
|
1484
1505
|
}
|
|
1485
1506
|
interface PolymarketPositionsParams {
|
|
1486
1507
|
/** Polymarket proxy wallet address */
|
|
1487
|
-
address
|
|
1508
|
+
address: string;
|
|
1488
1509
|
/** Results per page — @default '50' */
|
|
1489
1510
|
limit?: number;
|
|
1490
1511
|
/** Pagination offset — @default '0' */
|
|
@@ -1514,7 +1535,7 @@ interface PolymarketPricesItemSideB {
|
|
|
1514
1535
|
}
|
|
1515
1536
|
interface PolymarketPricesParams {
|
|
1516
1537
|
/** Market condition identifier */
|
|
1517
|
-
condition_id
|
|
1538
|
+
condition_id: string;
|
|
1518
1539
|
/** Predefined time range. Ignored when `interval` is `latest`. — @default '30d' */
|
|
1519
1540
|
time_range?: '7d' | '30d' | '90d' | '180d' | '1y';
|
|
1520
1541
|
/** Aggregation interval: `1h` (hourly), `1d` (daily), or `latest` (most recent snapshot) — @default '1d' */
|
|
@@ -1539,6 +1560,7 @@ interface PolymarketRankingItem {
|
|
|
1539
1560
|
status: string;
|
|
1540
1561
|
/** Surf curated market subcategory */
|
|
1541
1562
|
subcategory?: string;
|
|
1563
|
+
/** Market tags */
|
|
1542
1564
|
tags?: unknown;
|
|
1543
1565
|
}
|
|
1544
1566
|
interface PolymarketRankingParams {
|
|
@@ -1621,7 +1643,7 @@ interface PolymarketVolumesItem {
|
|
|
1621
1643
|
}
|
|
1622
1644
|
interface PolymarketVolumesParams {
|
|
1623
1645
|
/** Market condition identifier */
|
|
1624
|
-
condition_id
|
|
1646
|
+
condition_id: string;
|
|
1625
1647
|
/** Predefined time range — @default '30d' */
|
|
1626
1648
|
time_range?: '7d' | '30d' | '90d' | '180d' | '1y';
|
|
1627
1649
|
/** Aggregation interval: `1h` (hourly) or `1d` (daily) — @default '1d' */
|
|
@@ -1639,7 +1661,7 @@ interface ProjectDefiMetricsParams {
|
|
|
1639
1661
|
/** Fuzzy entity name search. Only use when 'id' is not available. May return unexpected results for ambiguous names. */
|
|
1640
1662
|
q?: string;
|
|
1641
1663
|
/** Metric to query. Can be `volume`, `fees` (or `fee` alias), `revenue`, `tvl`, or `users`. */
|
|
1642
|
-
metric
|
|
1664
|
+
metric: 'volume' | 'fee' | 'fees' | 'revenue' | 'tvl' | 'users';
|
|
1643
1665
|
/** Start of time range. Accepts Unix seconds (`1704067200`) or date string (`2024-01-01`) */
|
|
1644
1666
|
from?: string;
|
|
1645
1667
|
/** End of time range. Accepts Unix seconds (`1706745600`) or date string (`2024-02-01`) */
|
|
@@ -1664,7 +1686,7 @@ interface ProjectDefiRankingItem {
|
|
|
1664
1686
|
}
|
|
1665
1687
|
interface ProjectDefiRankingParams {
|
|
1666
1688
|
/** Ranking metric. Can be `tvl`, `revenue`, `fees`, `volume`, or `users`. */
|
|
1667
|
-
metric
|
|
1689
|
+
metric: 'tvl' | 'revenue' | 'fees' | 'volume' | 'users';
|
|
1668
1690
|
/** Results per page — @default '20' */
|
|
1669
1691
|
limit?: number;
|
|
1670
1692
|
/** Pagination offset — @default '0' */
|
|
@@ -1681,17 +1703,21 @@ interface ProjectDetailData {
|
|
|
1681
1703
|
tokenomics?: ProjectDetailDataTokenomics;
|
|
1682
1704
|
}
|
|
1683
1705
|
interface ProjectDetailDataContracts {
|
|
1706
|
+
/** List of deployed smart contract addresses across chains */
|
|
1684
1707
|
contracts?: ProjectDetailDataContractsContractsItem[];
|
|
1685
1708
|
}
|
|
1686
1709
|
interface ProjectDetailDataFunding {
|
|
1710
|
+
/** List of individual funding rounds */
|
|
1687
1711
|
rounds?: ProjectDetailDataFundingRoundsItem[];
|
|
1688
1712
|
/** Total capital raised across all rounds in USD */
|
|
1689
1713
|
total_raise?: number;
|
|
1690
1714
|
}
|
|
1691
1715
|
interface ProjectDetailDataOverview {
|
|
1716
|
+
/** Chains the project is deployed on */
|
|
1692
1717
|
chains?: unknown;
|
|
1693
1718
|
/** Short description of the project */
|
|
1694
1719
|
description?: string;
|
|
1720
|
+
/** Exchange names where the token is listed */
|
|
1695
1721
|
exchanges?: unknown;
|
|
1696
1722
|
/** Surf project UUID — pass as 'id' parameter to /project/detail, /project/events, or /project/defi/metrics for exact lookup. Prefer over 'q' (fuzzy name search). */
|
|
1697
1723
|
id: string;
|
|
@@ -1701,6 +1727,7 @@ interface ProjectDetailDataOverview {
|
|
|
1701
1727
|
name: string;
|
|
1702
1728
|
/** URL-friendly project slug */
|
|
1703
1729
|
slug?: string;
|
|
1730
|
+
/** Project category tags like `DeFi`, `NFT`, or `Layer2` */
|
|
1704
1731
|
tags?: unknown;
|
|
1705
1732
|
/** TGE status: pre, upcoming, or post */
|
|
1706
1733
|
tge_status?: string;
|
|
@@ -1720,11 +1747,13 @@ interface ProjectDetailDataSocial {
|
|
|
1720
1747
|
twitter?: ProjectDetailDataSocialTwitter;
|
|
1721
1748
|
}
|
|
1722
1749
|
interface ProjectDetailDataTeam {
|
|
1750
|
+
/** List of team members with their roles and social links */
|
|
1723
1751
|
members?: ProjectDetailDataTeamMembersItem[];
|
|
1724
1752
|
}
|
|
1725
1753
|
interface ProjectDetailDataTgeStatus {
|
|
1726
1754
|
/** TGE status: `pre`, `upcoming`, or `post`. Omitted when unknown. */
|
|
1727
1755
|
current_status?: string;
|
|
1756
|
+
/** Exchange names where the token is listed */
|
|
1728
1757
|
exchanges?: unknown;
|
|
1729
1758
|
/** Unix timestamp of the last TGE event */
|
|
1730
1759
|
last_event_time?: number;
|
|
@@ -1786,6 +1815,7 @@ interface ProjectDetailDataFundingRoundsItem {
|
|
|
1786
1815
|
amount?: number;
|
|
1787
1816
|
/** Date when the round closed in ISO 8601 format */
|
|
1788
1817
|
date?: string;
|
|
1818
|
+
/** Investors participating in this round */
|
|
1789
1819
|
investors?: ProjectDetailDataFundingRoundsItemInvestorsItem[];
|
|
1790
1820
|
/** Funding round name like `Seed`, `Series A`, or `Private` */
|
|
1791
1821
|
round_name: string;
|
|
@@ -1831,6 +1861,7 @@ interface ProjectDetailDataTeamMembersItem {
|
|
|
1831
1861
|
name: string;
|
|
1832
1862
|
/** Team member's role or title */
|
|
1833
1863
|
role?: string;
|
|
1864
|
+
/** Social profile links keyed by platform name like `twitter` or `linkedin` */
|
|
1834
1865
|
social_links?: ProjectDetailDataTeamMembersItemSocialLinks;
|
|
1835
1866
|
}
|
|
1836
1867
|
interface ProjectDetailDataFundingRoundsItemInvestorsItem {
|
|
@@ -1851,7 +1882,7 @@ interface ProjectDetailParams {
|
|
|
1851
1882
|
id?: string;
|
|
1852
1883
|
/** Fuzzy entity name search. Only use when 'id' is not available. May return unexpected results for ambiguous names. */
|
|
1853
1884
|
q?: string;
|
|
1854
|
-
/** Comma-separated sub-resources to include. Can be `overview`, `token_info`, `tokenomics`, `funding`, `team`, `contracts`, `social`, or `tge_status`. — @default 'overview' */
|
|
1885
|
+
/** Comma-separated sub-resources to include. Can be `overview`, `token_info`, `tokenomics`, `funding`, `team`, `contracts`, `social`, or `tge_status`. — @default 'overview,token_info,tokenomics,funding,team,contracts,social,tge_status' */
|
|
1855
1886
|
fields?: string;
|
|
1856
1887
|
}
|
|
1857
1888
|
interface SearchAirdropItem {
|
|
@@ -1874,6 +1905,7 @@ interface SearchAirdropItem {
|
|
|
1874
1905
|
/** Airdrop lifecycle stage: `POTENTIAL` (speculated, tasks open), `CONFIRMED` (announced, tasks open), `SNAPSHOT` (eligibility snapshot taken), `VERIFICATION` (claim window open), `REWARD_AVAILABLE` (ready to claim), `DISTRIBUTED` (sent, historical) */
|
|
1875
1906
|
status: string;
|
|
1876
1907
|
task_summary?: SearchAirdropItemTaskSummary;
|
|
1908
|
+
/** Full task list (only with include_tasks=true) */
|
|
1877
1909
|
tasks?: SearchAirdropItemTasksItem[];
|
|
1878
1910
|
/** Total project fundraise in USD (0 if unknown) */
|
|
1879
1911
|
total_raise: number;
|
|
@@ -1885,9 +1917,11 @@ interface SearchAirdropItemTaskSummary {
|
|
|
1885
1917
|
open: number;
|
|
1886
1918
|
/** Total number of tasks */
|
|
1887
1919
|
total: number;
|
|
1920
|
+
/** Distinct task types */
|
|
1888
1921
|
types: unknown;
|
|
1889
1922
|
}
|
|
1890
1923
|
interface SearchAirdropItemTasksItem {
|
|
1924
|
+
/** Supported blockchain names */
|
|
1891
1925
|
blockchains?: unknown;
|
|
1892
1926
|
/** Task close date as Unix seconds (0 if unknown) */
|
|
1893
1927
|
close_date: number;
|
|
@@ -1911,13 +1945,13 @@ interface SearchAirdropItemTasksItem {
|
|
|
1911
1945
|
interface SearchAirdropParams {
|
|
1912
1946
|
/** Search keyword for coin name */
|
|
1913
1947
|
q?: string;
|
|
1914
|
-
/** Comma-separated lifecycle phases. `active` = tasks open, can participate (POTENTIAL + CONFIRMED). `claimable` = eligible, can claim (SNAPSHOT + VERIFICATION + REWARD_AVAILABLE). `completed` = done (DISTRIBUTED). Defaults to `active,claimable` to show actionable airdrops. — @default 'active' */
|
|
1948
|
+
/** Comma-separated lifecycle phases. `active` = tasks open, can participate (POTENTIAL + CONFIRMED). `claimable` = eligible, can claim (SNAPSHOT + VERIFICATION + REWARD_AVAILABLE). `completed` = done (DISTRIBUTED). Defaults to `active,claimable` to show actionable airdrops. — @default 'active,claimable' */
|
|
1915
1949
|
phase?: string;
|
|
1916
1950
|
/** Filter by reward type */
|
|
1917
1951
|
reward_type?: 'airdrop' | 'points' | 'whitelist' | 'nft' | 'role' | 'ambassador';
|
|
1918
1952
|
/** Filter activities containing tasks of this type */
|
|
1919
1953
|
task_type?: 'social' | 'bounty-platforms' | 'testnet' | 'mainnet' | 'role' | 'form' | 'liquidity' | 'mint-nft' | 'game' | 'trading' | 'staking' | 'depin' | 'node' | 'ambassador' | 'hold' | 'check-wallet' | 'mint-domain' | 'predictions' | 'deploy';
|
|
1920
|
-
/** Only return activities with currently OPEN tasks — @default '
|
|
1954
|
+
/** Only return activities with currently OPEN tasks — @default 'False' */
|
|
1921
1955
|
has_open?: boolean;
|
|
1922
1956
|
/** Field to sort results by — @default 'last_status_update' */
|
|
1923
1957
|
sort_by?: 'total_raise' | 'xscore' | 'last_status_update';
|
|
@@ -1927,7 +1961,7 @@ interface SearchAirdropParams {
|
|
|
1927
1961
|
limit?: number;
|
|
1928
1962
|
/** Pagination offset — @default '0' */
|
|
1929
1963
|
offset?: number;
|
|
1930
|
-
/** Include full task list per activity — @default '
|
|
1964
|
+
/** Include full task list per activity — @default 'False' */
|
|
1931
1965
|
include_tasks?: boolean;
|
|
1932
1966
|
}
|
|
1933
1967
|
interface SearchEventsItem {
|
|
@@ -1965,6 +1999,7 @@ interface SearchFundItem {
|
|
|
1965
1999
|
name: string;
|
|
1966
2000
|
/** Fund tier ranking (lower is better) */
|
|
1967
2001
|
tier: number;
|
|
2002
|
+
/** Top invested projects (up to 5) */
|
|
1968
2003
|
top_projects: SearchFundItemTopProjectsItem[];
|
|
1969
2004
|
/** Fund type */
|
|
1970
2005
|
type?: string;
|
|
@@ -1989,7 +2024,7 @@ interface SearchFundItemTopProjectsItem {
|
|
|
1989
2024
|
}
|
|
1990
2025
|
interface SearchFundParams {
|
|
1991
2026
|
/** Search keyword — fund name like `a16z`, `paradigm`, or `coinbase ventures` */
|
|
1992
|
-
q
|
|
2027
|
+
q: string;
|
|
1993
2028
|
/** Results per page — @default '20' */
|
|
1994
2029
|
limit?: number;
|
|
1995
2030
|
/** Pagination offset — @default '0' */
|
|
@@ -2004,6 +2039,7 @@ interface SearchKalshiItem {
|
|
|
2004
2039
|
event_title: string;
|
|
2005
2040
|
/** Number of markets in this event */
|
|
2006
2041
|
market_count: number;
|
|
2042
|
+
/** Markets within this event */
|
|
2007
2043
|
markets: SearchKalshiItemMarketsItem[];
|
|
2008
2044
|
}
|
|
2009
2045
|
interface SearchKalshiItemMarketsItem {
|
|
@@ -2053,6 +2089,7 @@ interface SearchKalshiParams {
|
|
|
2053
2089
|
offset?: number;
|
|
2054
2090
|
}
|
|
2055
2091
|
interface SearchNewsItem {
|
|
2092
|
+
/** Search highlight fragments with <em> tags around matching terms. Only present in search results. */
|
|
2056
2093
|
highlights?: SearchNewsItemHighlights;
|
|
2057
2094
|
/** Article ID. Use with the detail endpoint to fetch full content. */
|
|
2058
2095
|
id: string;
|
|
@@ -2076,7 +2113,7 @@ interface SearchNewsItemHighlights {
|
|
|
2076
2113
|
}
|
|
2077
2114
|
interface SearchNewsParams {
|
|
2078
2115
|
/** Search keyword or phrase */
|
|
2079
|
-
q
|
|
2116
|
+
q: string;
|
|
2080
2117
|
}
|
|
2081
2118
|
interface SearchPolymarketItem {
|
|
2082
2119
|
/** Surf curated event category */
|
|
@@ -2091,6 +2128,7 @@ interface SearchPolymarketItem {
|
|
|
2091
2128
|
image?: string;
|
|
2092
2129
|
/** Number of markets in this event */
|
|
2093
2130
|
market_count: number;
|
|
2131
|
+
/** Markets within this event */
|
|
2094
2132
|
markets: SearchPolymarketItemMarketsItem[];
|
|
2095
2133
|
/** Resolution source URL */
|
|
2096
2134
|
settlement_sources?: string;
|
|
@@ -2100,6 +2138,7 @@ interface SearchPolymarketItem {
|
|
|
2100
2138
|
status: string;
|
|
2101
2139
|
/** Surf curated event subcategory */
|
|
2102
2140
|
subcategory?: string;
|
|
2141
|
+
/** Event tags */
|
|
2103
2142
|
tags?: unknown;
|
|
2104
2143
|
/** Event title */
|
|
2105
2144
|
title: string;
|
|
@@ -2141,6 +2180,7 @@ interface SearchPolymarketItemMarketsItem {
|
|
|
2141
2180
|
status: string;
|
|
2142
2181
|
/** Surf curated market subcategory */
|
|
2143
2182
|
subcategory?: string;
|
|
2183
|
+
/** Market tags */
|
|
2144
2184
|
tags?: unknown;
|
|
2145
2185
|
/** Market title */
|
|
2146
2186
|
title: string;
|
|
@@ -2182,6 +2222,7 @@ interface SearchPolymarketParams {
|
|
|
2182
2222
|
offset?: number;
|
|
2183
2223
|
}
|
|
2184
2224
|
interface SearchProjectItem {
|
|
2225
|
+
/** Chains the project operates on */
|
|
2185
2226
|
chains?: unknown;
|
|
2186
2227
|
/** Short description of the project */
|
|
2187
2228
|
description?: string;
|
|
@@ -2195,7 +2236,9 @@ interface SearchProjectItem {
|
|
|
2195
2236
|
slug?: string;
|
|
2196
2237
|
/** Primary token symbol like `BTC` or `ETH` */
|
|
2197
2238
|
symbol?: string;
|
|
2239
|
+
/** Project category tags */
|
|
2198
2240
|
tags?: unknown;
|
|
2241
|
+
/** Associated tokens */
|
|
2199
2242
|
tokens?: SearchProjectItemTokensItem[];
|
|
2200
2243
|
}
|
|
2201
2244
|
interface SearchProjectItemTokensItem {
|
|
@@ -2210,7 +2253,7 @@ interface SearchProjectItemTokensItem {
|
|
|
2210
2253
|
}
|
|
2211
2254
|
interface SearchProjectParams {
|
|
2212
2255
|
/** Search keyword — project name or ticker like `uniswap`, `bitcoin`, or `ETH` */
|
|
2213
|
-
q
|
|
2256
|
+
q: string;
|
|
2214
2257
|
/** Results per page — @default '20' */
|
|
2215
2258
|
limit?: number;
|
|
2216
2259
|
/** Pagination offset — @default '0' */
|
|
@@ -2234,7 +2277,7 @@ interface SearchSocialPeopleItem {
|
|
|
2234
2277
|
}
|
|
2235
2278
|
interface SearchSocialPeopleParams {
|
|
2236
2279
|
/** Search keyword or `@handle` for exact handle lookup. Use a keyword like `vitalik` for fuzzy matching across names and bios, or `@VitalikButerin` to find a specific account by handle */
|
|
2237
|
-
q
|
|
2280
|
+
q: string;
|
|
2238
2281
|
/** Results per page — @default '20' */
|
|
2239
2282
|
limit?: number;
|
|
2240
2283
|
/** Opaque cursor token from a previous response's next_cursor field for fetching the next page */
|
|
@@ -2244,6 +2287,7 @@ interface SearchSocialPostsItem {
|
|
|
2244
2287
|
author: SearchSocialPostsItemAuthor;
|
|
2245
2288
|
/** Unix timestamp (seconds) when the tweet was posted */
|
|
2246
2289
|
created_at: number;
|
|
2290
|
+
/** Attached media items (photos, videos, GIFs) */
|
|
2247
2291
|
media?: SearchSocialPostsItemMediaItem[];
|
|
2248
2292
|
stats: SearchSocialPostsItemStats;
|
|
2249
2293
|
/** Full text content of the tweet */
|
|
@@ -2281,7 +2325,7 @@ interface SearchSocialPostsItemStats {
|
|
|
2281
2325
|
}
|
|
2282
2326
|
interface SearchSocialPostsParams {
|
|
2283
2327
|
/** Search keyword or `from:handle` syntax like `ethereum` or `from:cz_binance` */
|
|
2284
|
-
q
|
|
2328
|
+
q: string;
|
|
2285
2329
|
/** Results per page — @default '20' */
|
|
2286
2330
|
limit?: number;
|
|
2287
2331
|
/** Opaque cursor token from a previous response's next_cursor field for fetching the next page */
|
|
@@ -2290,6 +2334,7 @@ interface SearchSocialPostsParams {
|
|
|
2290
2334
|
interface SearchWalletItem {
|
|
2291
2335
|
/** Primary wallet address for this entity */
|
|
2292
2336
|
address?: string;
|
|
2337
|
+
/** Known wallet addresses for this entity (max 10, use num_addresses for the total count) */
|
|
2293
2338
|
addresses?: SearchWalletItemAddressesItem[];
|
|
2294
2339
|
/** Chain of the primary address */
|
|
2295
2340
|
chain?: string;
|
|
@@ -2312,7 +2357,7 @@ interface SearchWalletItemAddressesItem {
|
|
|
2312
2357
|
}
|
|
2313
2358
|
interface SearchWalletParams {
|
|
2314
2359
|
/** Search keyword like `binance`, `vitalik.eth`, or `0xd8dA...` */
|
|
2315
|
-
q
|
|
2360
|
+
q: string;
|
|
2316
2361
|
/** Results per page — @default '20' */
|
|
2317
2362
|
limit?: number;
|
|
2318
2363
|
/** Pagination offset — @default '0' */
|
|
@@ -2330,7 +2375,7 @@ interface SearchWebItem {
|
|
|
2330
2375
|
}
|
|
2331
2376
|
interface SearchWebParams {
|
|
2332
2377
|
/** Search query like `bitcoin price prediction 2026` */
|
|
2333
|
-
q
|
|
2378
|
+
q: string;
|
|
2334
2379
|
/** Results per page — @default '20' */
|
|
2335
2380
|
limit?: number;
|
|
2336
2381
|
/** Pagination offset — @default '0' */
|
|
@@ -2350,19 +2395,21 @@ interface SocialDetailData {
|
|
|
2350
2395
|
twitter_id: string;
|
|
2351
2396
|
}
|
|
2352
2397
|
interface SocialDetailDataFollowerGeo {
|
|
2398
|
+
/** Follower count breakdown by geographic location */
|
|
2353
2399
|
locations: SocialDetailDataFollowerGeoLocationsItem[];
|
|
2354
2400
|
/** Total number of followers across all locations */
|
|
2355
2401
|
total_follower_count: number;
|
|
2356
2402
|
}
|
|
2357
2403
|
interface SocialDetailDataSentiment {
|
|
2358
2404
|
/** Sentiment score from -1 (very negative) to 1 (very positive) */
|
|
2359
|
-
score:
|
|
2405
|
+
score: number;
|
|
2360
2406
|
/** Time range for the sentiment analysis like 7d or 30d */
|
|
2361
2407
|
time_range: string;
|
|
2362
2408
|
}
|
|
2363
2409
|
interface SocialDetailDataSmartFollowers {
|
|
2364
2410
|
/** Total number of smart followers */
|
|
2365
2411
|
count: number;
|
|
2412
|
+
/** List of top smart followers sorted by influence score */
|
|
2366
2413
|
followers: SocialDetailDataSmartFollowersFollowersItem[];
|
|
2367
2414
|
}
|
|
2368
2415
|
interface SocialDetailDataFollowerGeoLocationsItem {
|
|
@@ -2398,7 +2445,7 @@ interface SocialDetailParams {
|
|
|
2398
2445
|
x_id?: string;
|
|
2399
2446
|
/** Entity name to resolve like `uniswap`, `ethereum`, or `aave` */
|
|
2400
2447
|
q?: string;
|
|
2401
|
-
/** Comma-separated sub-resources to include. Can be `sentiment`, `follower_geo`, or `smart_followers`. — @default 'sentiment' */
|
|
2448
|
+
/** Comma-separated sub-resources to include. Can be `sentiment`, `follower_geo`, or `smart_followers`. — @default 'sentiment,follower_geo,smart_followers' */
|
|
2402
2449
|
fields?: string;
|
|
2403
2450
|
/** Timeframe for sentiment data. Can be `24h`, `48h`, `7d`, `30d`, `3m`, `6m`, or `1y`. — @default '7d' */
|
|
2404
2451
|
time_range?: '24h' | '48h' | '7d' | '30d' | '3m' | '6m' | '1y';
|
|
@@ -2413,9 +2460,9 @@ interface SocialMindshareItem {
|
|
|
2413
2460
|
}
|
|
2414
2461
|
interface SocialMindshareParams {
|
|
2415
2462
|
/** Entity name to resolve like `uniswap`, `ethereum`, or `aave` */
|
|
2416
|
-
q
|
|
2463
|
+
q: string;
|
|
2417
2464
|
/** Time aggregation interval. Can be `5m`, `1h`, `1d`, or `7d`. */
|
|
2418
|
-
interval
|
|
2465
|
+
interval: '5m' | '1h' | '1d' | '7d';
|
|
2419
2466
|
/** Start timestamp. Accepts Unix seconds (1704067200) or date string (2024-01-01) */
|
|
2420
2467
|
from?: string;
|
|
2421
2468
|
/** End timestamp. Accepts Unix seconds (1706745600) or date string (2024-02-01) */
|
|
@@ -2429,6 +2476,7 @@ interface SocialRankingItem {
|
|
|
2429
2476
|
sentiment?: string;
|
|
2430
2477
|
/** Weighted sentiment score from -1 (very negative) to 1 (very positive) */
|
|
2431
2478
|
sentiment_score?: number;
|
|
2479
|
+
/** Project category tags */
|
|
2432
2480
|
tags?: unknown;
|
|
2433
2481
|
token?: SocialRankingItemToken;
|
|
2434
2482
|
/** Deprecated: no longer populated. */
|
|
@@ -2495,6 +2543,7 @@ interface SocialTweetRepliesItem {
|
|
|
2495
2543
|
author: SocialTweetRepliesItemAuthor;
|
|
2496
2544
|
/** Unix timestamp (seconds) when the tweet was posted */
|
|
2497
2545
|
created_at: number;
|
|
2546
|
+
/** Attached media items (photos, videos, GIFs) */
|
|
2498
2547
|
media?: SocialTweetRepliesItemMediaItem[];
|
|
2499
2548
|
stats: SocialTweetRepliesItemStats;
|
|
2500
2549
|
/** Full text content of the tweet */
|
|
@@ -2532,7 +2581,7 @@ interface SocialTweetRepliesItemStats {
|
|
|
2532
2581
|
}
|
|
2533
2582
|
interface SocialTweetRepliesParams {
|
|
2534
2583
|
/** Tweet ID to get replies for */
|
|
2535
|
-
tweet_id
|
|
2584
|
+
tweet_id: string;
|
|
2536
2585
|
/** Max results to return — @default '20' */
|
|
2537
2586
|
limit?: number;
|
|
2538
2587
|
/** Opaque cursor token from a previous response's next_cursor field for fetching the next page */
|
|
@@ -2542,6 +2591,7 @@ interface SocialTweetsItem {
|
|
|
2542
2591
|
author: SocialTweetsItemAuthor;
|
|
2543
2592
|
/** Unix timestamp (seconds) when the tweet was posted */
|
|
2544
2593
|
created_at: number;
|
|
2594
|
+
/** Attached media items (photos, videos, GIFs) */
|
|
2545
2595
|
media?: SocialTweetsItemMediaItem[];
|
|
2546
2596
|
stats: SocialTweetsItemStats;
|
|
2547
2597
|
/** Full text content of the tweet */
|
|
@@ -2579,7 +2629,7 @@ interface SocialTweetsItemStats {
|
|
|
2579
2629
|
}
|
|
2580
2630
|
interface SocialTweetsParams {
|
|
2581
2631
|
/** Comma-separated numeric post ID strings, max 100 */
|
|
2582
|
-
ids
|
|
2632
|
+
ids: string;
|
|
2583
2633
|
}
|
|
2584
2634
|
interface SocialUserData {
|
|
2585
2635
|
/** Profile picture URL */
|
|
@@ -2599,7 +2649,7 @@ interface SocialUserData {
|
|
|
2599
2649
|
}
|
|
2600
2650
|
interface SocialUserParams {
|
|
2601
2651
|
/** X (Twitter) username without @ like `cz_binance` or `vitalikbuterin` */
|
|
2602
|
-
handle
|
|
2652
|
+
handle: string;
|
|
2603
2653
|
}
|
|
2604
2654
|
interface SocialUserFollowersItem {
|
|
2605
2655
|
/** Profile picture URL */
|
|
@@ -2619,7 +2669,7 @@ interface SocialUserFollowersItem {
|
|
|
2619
2669
|
}
|
|
2620
2670
|
interface SocialUserFollowersParams {
|
|
2621
2671
|
/** X (Twitter) username without @ like `vitalikbuterin` or `cz_binance` */
|
|
2622
|
-
handle
|
|
2672
|
+
handle: string;
|
|
2623
2673
|
/** Max results to return — @default '20' */
|
|
2624
2674
|
limit?: number;
|
|
2625
2675
|
/** Opaque cursor token from a previous response's next_cursor field for fetching the next page */
|
|
@@ -2643,7 +2693,7 @@ interface SocialUserFollowingItem {
|
|
|
2643
2693
|
}
|
|
2644
2694
|
interface SocialUserFollowingParams {
|
|
2645
2695
|
/** X (Twitter) username without @ like `vitalikbuterin` or `cz_binance` */
|
|
2646
|
-
handle
|
|
2696
|
+
handle: string;
|
|
2647
2697
|
/** Max results to return — @default '20' */
|
|
2648
2698
|
limit?: number;
|
|
2649
2699
|
/** Opaque cursor token from a previous response's next_cursor field for fetching the next page */
|
|
@@ -2653,6 +2703,7 @@ interface SocialUserPostsItem {
|
|
|
2653
2703
|
author: SocialUserPostsItemAuthor;
|
|
2654
2704
|
/** Unix timestamp (seconds) when the tweet was posted */
|
|
2655
2705
|
created_at: number;
|
|
2706
|
+
/** Attached media items (photos, videos, GIFs) */
|
|
2656
2707
|
media?: SocialUserPostsItemMediaItem[];
|
|
2657
2708
|
stats: SocialUserPostsItemStats;
|
|
2658
2709
|
/** Full text content of the tweet */
|
|
@@ -2690,7 +2741,7 @@ interface SocialUserPostsItemStats {
|
|
|
2690
2741
|
}
|
|
2691
2742
|
interface SocialUserPostsParams {
|
|
2692
2743
|
/** X (Twitter) username without @ like `vitalikbuterin` or `cz_binance` */
|
|
2693
|
-
handle
|
|
2744
|
+
handle: string;
|
|
2694
2745
|
/** Results per page — @default '20' */
|
|
2695
2746
|
limit?: number;
|
|
2696
2747
|
/** Opaque cursor token from a previous response's next_cursor field for fetching the next page */
|
|
@@ -2702,6 +2753,7 @@ interface SocialUserRepliesItem {
|
|
|
2702
2753
|
author: SocialUserRepliesItemAuthor;
|
|
2703
2754
|
/** Unix timestamp (seconds) when the tweet was posted */
|
|
2704
2755
|
created_at: number;
|
|
2756
|
+
/** Attached media items (photos, videos, GIFs) */
|
|
2705
2757
|
media?: SocialUserRepliesItemMediaItem[];
|
|
2706
2758
|
stats: SocialUserRepliesItemStats;
|
|
2707
2759
|
/** Full text content of the tweet */
|
|
@@ -2739,7 +2791,7 @@ interface SocialUserRepliesItemStats {
|
|
|
2739
2791
|
}
|
|
2740
2792
|
interface SocialUserRepliesParams {
|
|
2741
2793
|
/** X (Twitter) username without @ like `vitalikbuterin` or `cz_binance` */
|
|
2742
|
-
handle
|
|
2794
|
+
handle: string;
|
|
2743
2795
|
/** Max results to return — @default '20' */
|
|
2744
2796
|
limit?: number;
|
|
2745
2797
|
/** Opaque cursor token from a previous response's next_cursor field for fetching the next page */
|
|
@@ -2775,7 +2827,7 @@ interface TokenDexTradesItem {
|
|
|
2775
2827
|
}
|
|
2776
2828
|
interface TokenDexTradesParams {
|
|
2777
2829
|
/** Token contract address (0x-prefixed hex) */
|
|
2778
|
-
address
|
|
2830
|
+
address: string;
|
|
2779
2831
|
/** Chain. Can be `ethereum` or `base`. — @default 'ethereum' */
|
|
2780
2832
|
chain?: 'ethereum' | 'base';
|
|
2781
2833
|
/** Results per page — @default '20' */
|
|
@@ -2797,15 +2849,16 @@ interface TokenHoldersItem {
|
|
|
2797
2849
|
}
|
|
2798
2850
|
interface TokenHoldersParams {
|
|
2799
2851
|
/** Token contract address (0x-prefixed hex or Solana base58) */
|
|
2800
|
-
address
|
|
2852
|
+
address: string;
|
|
2801
2853
|
/** Chain. Can be `ethereum`, `polygon`, `bsc`, `solana`, `avalanche`, `arbitrum`, `optimism`, or `base`. */
|
|
2802
|
-
chain
|
|
2854
|
+
chain: 'ethereum' | 'polygon' | 'bsc' | 'solana' | 'avalanche' | 'arbitrum' | 'optimism' | 'base';
|
|
2803
2855
|
/** Results per page — @default '20' */
|
|
2804
2856
|
limit?: number;
|
|
2805
2857
|
/** Pagination offset (accepted for API consistency but currently ignored) — @default '0' */
|
|
2806
2858
|
offset?: number;
|
|
2807
2859
|
}
|
|
2808
2860
|
interface TokenTokenomicsItem {
|
|
2861
|
+
/** Breakdown by allocation */
|
|
2809
2862
|
allocations?: TokenTokenomicsItemAllocationsItem[];
|
|
2810
2863
|
/** Unix timestamp in seconds */
|
|
2811
2864
|
timestamp: number;
|
|
@@ -2848,9 +2901,9 @@ interface TokenTransfersItem {
|
|
|
2848
2901
|
}
|
|
2849
2902
|
interface TokenTransfersParams {
|
|
2850
2903
|
/** Token contract address (0x-prefixed hex or Solana base58) */
|
|
2851
|
-
address
|
|
2904
|
+
address: string;
|
|
2852
2905
|
/** Chain. Can be `ethereum`, `base`, `solana`, or `tron`. */
|
|
2853
|
-
chain
|
|
2906
|
+
chain: 'ethereum' | 'base' | 'solana' | 'tron';
|
|
2854
2907
|
/** Start of date range. Accepts Unix seconds or YYYY-MM-DD. Defaults to 30 days ago. */
|
|
2855
2908
|
from?: string;
|
|
2856
2909
|
/** End of date range. Accepts Unix seconds or YYYY-MM-DD. Defaults to today. */
|
|
@@ -2861,14 +2914,20 @@ interface TokenTransfersParams {
|
|
|
2861
2914
|
offset?: number;
|
|
2862
2915
|
}
|
|
2863
2916
|
interface WalletDetailData {
|
|
2917
|
+
/** Chains the wallet has non-zero balances on. Always present (not controlled by fields param). For Solana addresses, returns a single entry. */
|
|
2864
2918
|
active_chains?: WalletDetailDataActiveChainsItem[];
|
|
2919
|
+
/** Token approvals (EVM-only, up to 50). Only present when `approvals` is included in the `fields` param. */
|
|
2865
2920
|
approvals?: WalletDetailDataApprovalsItem[];
|
|
2921
|
+
/** Per-field errors for any fields that failed to load */
|
|
2866
2922
|
errors?: WalletDetailDataErrorsItem[];
|
|
2867
2923
|
evm_balance?: WalletDetailDataEvmBalance;
|
|
2924
|
+
/** EVM token holdings (up to 50). Populated for EVM chains only. */
|
|
2868
2925
|
evm_tokens?: WalletDetailDataEvmTokensItem[];
|
|
2869
2926
|
labels?: WalletDetailDataLabels;
|
|
2927
|
+
/** NFT holdings (EVM-only, top 200 by value) */
|
|
2870
2928
|
nft?: WalletDetailDataNftItem[];
|
|
2871
2929
|
sol_balance?: WalletDetailDataSolBalance;
|
|
2930
|
+
/** Solana SPL token holdings from Solscan (up to 50). Populated for Solana chain only. */
|
|
2872
2931
|
sol_tokens?: WalletDetailDataSolTokensItem[];
|
|
2873
2932
|
}
|
|
2874
2933
|
interface WalletDetailDataActiveChainsItem {
|
|
@@ -2886,6 +2945,7 @@ interface WalletDetailDataApprovalsItem {
|
|
|
2886
2945
|
chain: string;
|
|
2887
2946
|
/** Full token name */
|
|
2888
2947
|
name?: string;
|
|
2948
|
+
/** List of approved spender contracts */
|
|
2889
2949
|
spenders: WalletDetailDataApprovalsItemSpendersItem[];
|
|
2890
2950
|
/** Token ticker symbol */
|
|
2891
2951
|
symbol: string;
|
|
@@ -2901,6 +2961,7 @@ interface WalletDetailDataErrorsItem {
|
|
|
2901
2961
|
interface WalletDetailDataEvmBalance {
|
|
2902
2962
|
/** Wallet address */
|
|
2903
2963
|
address: string;
|
|
2964
|
+
/** Per-chain balance breakdown, sorted by value descending (EVM only) */
|
|
2904
2965
|
chain_balances?: WalletDetailDataEvmBalanceChainBalancesItem[];
|
|
2905
2966
|
/** Total portfolio value in USD (EVM only) */
|
|
2906
2967
|
total_usd: number;
|
|
@@ -2932,6 +2993,7 @@ interface WalletDetailDataLabels {
|
|
|
2932
2993
|
entity_name?: string;
|
|
2933
2994
|
/** Type of entity like `exchange`, `fund`, or `whale` */
|
|
2934
2995
|
entity_type?: string;
|
|
2996
|
+
/** List of labels assigned to this address */
|
|
2935
2997
|
labels: WalletDetailDataLabelsLabelsItem[];
|
|
2936
2998
|
}
|
|
2937
2999
|
interface WalletDetailDataNftItem {
|
|
@@ -2992,10 +3054,10 @@ interface WalletDetailDataLabelsLabelsItem {
|
|
|
2992
3054
|
}
|
|
2993
3055
|
interface WalletDetailParams {
|
|
2994
3056
|
/** Wallet address (0x hex for EVM, base58 for Solana) */
|
|
2995
|
-
address
|
|
3057
|
+
address: string;
|
|
2996
3058
|
/** Chain filter for `tokens`, `nft`, and `approvals`. When omitted, inferred from address format: 0x addresses query all EVM chains, base58 addresses query Solana. */
|
|
2997
3059
|
chain?: 'ethereum' | 'polygon' | 'bsc' | 'avalanche' | 'arbitrum' | 'optimism' | 'fantom' | 'base' | 'solana';
|
|
2998
|
-
/** Comma-separated sub-resources to include. Valid: `balance`, `tokens`, `labels`, `nft`, `approvals`. The `active_chains` field is always returned. `approvals` is opt-in (not in default) as it triggers additional upstream calls. — @default 'balance' */
|
|
3060
|
+
/** Comma-separated sub-resources to include. Valid: `balance`, `tokens`, `labels`, `nft`, `approvals`. The `active_chains` field is always returned. `approvals` is opt-in (not in default) as it triggers additional upstream calls. — @default 'balance,tokens,labels,nft' */
|
|
2999
3061
|
fields?: string;
|
|
3000
3062
|
}
|
|
3001
3063
|
interface WalletHistoryItem {
|
|
@@ -3014,7 +3076,7 @@ interface WalletHistoryItem {
|
|
|
3014
3076
|
}
|
|
3015
3077
|
interface WalletHistoryParams {
|
|
3016
3078
|
/** Wallet address — must be a raw 0x-prefixed hex address, not an ENS name */
|
|
3017
|
-
address
|
|
3079
|
+
address: string;
|
|
3018
3080
|
/** Chain filter. Can be `ethereum`, `polygon`, `bsc`, `avalanche`, `arbitrum`, `optimism`, `fantom`, or `base`. — @default 'ethereum' */
|
|
3019
3081
|
chain?: 'ethereum' | 'polygon' | 'bsc' | 'avalanche' | 'arbitrum' | 'optimism' | 'fantom' | 'base';
|
|
3020
3082
|
/** Results per page — @default '20' */
|
|
@@ -3033,6 +3095,7 @@ interface WalletLabelsBatchItem {
|
|
|
3033
3095
|
entity_name?: string;
|
|
3034
3096
|
/** Type of entity like `exchange`, `fund`, or `whale` */
|
|
3035
3097
|
entity_type?: string;
|
|
3098
|
+
/** List of labels assigned to this address */
|
|
3036
3099
|
labels: WalletLabelsBatchItemLabelsItem[];
|
|
3037
3100
|
}
|
|
3038
3101
|
interface WalletLabelsBatchItemLabelsItem {
|
|
@@ -3043,7 +3106,7 @@ interface WalletLabelsBatchItemLabelsItem {
|
|
|
3043
3106
|
}
|
|
3044
3107
|
interface WalletLabelsBatchParams {
|
|
3045
3108
|
/** Comma-separated wallet addresses to look up, max 100 */
|
|
3046
|
-
addresses
|
|
3109
|
+
addresses: string;
|
|
3047
3110
|
}
|
|
3048
3111
|
interface WalletNetWorthItem {
|
|
3049
3112
|
/** Unix timestamp in seconds */
|
|
@@ -3053,13 +3116,14 @@ interface WalletNetWorthItem {
|
|
|
3053
3116
|
}
|
|
3054
3117
|
interface WalletNetWorthParams {
|
|
3055
3118
|
/** Wallet address (0x hex, base58, or ENS name like `vitalik.eth`) */
|
|
3056
|
-
address
|
|
3119
|
+
address: string;
|
|
3057
3120
|
}
|
|
3058
3121
|
interface WalletProtocolsItem {
|
|
3059
3122
|
/** Canonical chain name where the protocol operates */
|
|
3060
3123
|
chain: string;
|
|
3061
3124
|
/** Protocol logo image URL */
|
|
3062
3125
|
logo_url?: string;
|
|
3126
|
+
/** Individual positions held in this protocol */
|
|
3063
3127
|
positions: WalletProtocolsItemPositionsItem[];
|
|
3064
3128
|
/** Human-readable protocol name */
|
|
3065
3129
|
protocol_name: string;
|
|
@@ -3071,11 +3135,15 @@ interface WalletProtocolsItem {
|
|
|
3071
3135
|
interface WalletProtocolsItemPositionsItem {
|
|
3072
3136
|
/** Total USD value of this position */
|
|
3073
3137
|
balance_usd: number;
|
|
3138
|
+
/** Tokens borrowed in this position */
|
|
3074
3139
|
borrow_tokens?: WalletProtocolsItemPositionsItemBorrowTokensItem[];
|
|
3140
|
+
/** LP tokens in this position */
|
|
3075
3141
|
lp_tokens?: WalletProtocolsItemPositionsItemLpTokensItem[];
|
|
3076
3142
|
/** Position name or type like `Lending` or `Staking` */
|
|
3077
3143
|
name: string;
|
|
3144
|
+
/** Unclaimed reward tokens in this position */
|
|
3078
3145
|
reward_tokens?: WalletProtocolsItemPositionsItemRewardTokensItem[];
|
|
3146
|
+
/** Tokens supplied/deposited in this position */
|
|
3079
3147
|
supply_tokens?: WalletProtocolsItemPositionsItemSupplyTokensItem[];
|
|
3080
3148
|
}
|
|
3081
3149
|
interface WalletProtocolsItemPositionsItemBorrowTokensItem {
|
|
@@ -3136,7 +3204,7 @@ interface WalletProtocolsItemPositionsItemSupplyTokensItem {
|
|
|
3136
3204
|
}
|
|
3137
3205
|
interface WalletProtocolsParams {
|
|
3138
3206
|
/** Wallet address — must be a raw 0x-prefixed hex address, not an ENS name */
|
|
3139
|
-
address
|
|
3207
|
+
address: string;
|
|
3140
3208
|
/** Results per page — @default '20' */
|
|
3141
3209
|
limit?: number;
|
|
3142
3210
|
/** Pagination offset — @default '0' */
|
|
@@ -3166,7 +3234,7 @@ interface WalletTransfersItem {
|
|
|
3166
3234
|
}
|
|
3167
3235
|
interface WalletTransfersParams {
|
|
3168
3236
|
/** Wallet address — must be a raw address (0x-prefixed hex for EVM, base58 for Solana). ENS names like `vitalik.eth` are not supported; resolve to a 0x address first. */
|
|
3169
|
-
address
|
|
3237
|
+
address: string;
|
|
3170
3238
|
/** Chain. Can be `ethereum`, `base`, or `solana`. — @default 'ethereum' */
|
|
3171
3239
|
chain?: 'ethereum' | 'base' | 'solana';
|
|
3172
3240
|
/** Filter by transfer direction relative to the queried wallet. `in` for incoming, `out` for outgoing. Omit for both directions. */
|
|
@@ -3188,7 +3256,7 @@ interface WebFetchData {
|
|
|
3188
3256
|
}
|
|
3189
3257
|
interface WebFetchParams {
|
|
3190
3258
|
/** URL to fetch and parse */
|
|
3191
|
-
url
|
|
3259
|
+
url: string;
|
|
3192
3260
|
/** CSS selector to extract specific content */
|
|
3193
3261
|
target_selector?: string;
|
|
3194
3262
|
/** CSS selector to remove unwanted elements */
|
|
@@ -3200,111 +3268,111 @@ interface WebFetchParams {
|
|
|
3200
3268
|
}
|
|
3201
3269
|
|
|
3202
3270
|
/** Get order book bid/ask levels with computed stats: spread, spread percentage, mid-price, and total bid/ask depth. Use `limit` to control the number of price levels (1–100, default 20). Set `type=swap` to query perpetual contract order books instead of spot. */
|
|
3203
|
-
declare function useExchangeDepth(params
|
|
3271
|
+
declare function useExchangeDepth(params: ExchangeDepthParams): _tanstack_react_query.UseQueryResult<ApiResponse<ExchangeDepthItem>, Error>;
|
|
3204
3272
|
/** Get historical funding rate records for a perpetual contract. Use `from` to set the start time and `limit` to control result count. For longer history, paginate by using the last returned timestamp as the next `from` value. Note: not all exchanges support historical queries via `from`; some only return recent data regardless. For the latest funding rate snapshot, see `/exchange/perp?fields=funding`. */
|
|
3205
|
-
declare function useExchangeFundingHistory(params
|
|
3273
|
+
declare function useExchangeFundingHistory(params: ExchangeFundingHistoryParams): _tanstack_react_query.UseQueryResult<ApiResponse<ExchangeFundingHistoryItem>, Error>;
|
|
3206
3274
|
/** Get OHLCV candlestick data with period summary stats (high, low, total volume). Supports 15 intervals from `1m` to `1M`. Use `from` to set the start time and `limit` to control how many candles to return. For longer ranges, paginate by using the last returned candle's timestamp as the next `from` value. Exchange-side limits vary (200–1000 per request). Set `type=swap` to query perpetual contract candles instead of spot. */
|
|
3207
|
-
declare function useExchangeKlines(params
|
|
3275
|
+
declare function useExchangeKlines(params: ExchangeKlinesParams): _tanstack_react_query.UseQueryResult<ApiResponse<ExchangeKlinesItem>, Error>;
|
|
3208
3276
|
/** Get historical long/short ratio for a perpetual contract — ratio value, long account percentage, and short account percentage. Use `interval` (`1h`, `4h`, `1d`) for granularity, `from` for start time, and `limit` for result count. For longer history, paginate by using the last returned timestamp as the next `from` value. Note: not all exchanges support historical queries via `from`; some only return recent data regardless. Just pass the base pair (e.g. `pair=BTC/USDT`). For aggregated cross-exchange long/short ratio, see `/market/futures`. */
|
|
3209
|
-
declare function useExchangeLongShortRatio(params
|
|
3277
|
+
declare function useExchangeLongShortRatio(params: ExchangeLongShortRatioParams): _tanstack_react_query.UseQueryResult<ApiResponse<ExchangeLongShortRatioItem>, Error>;
|
|
3210
3278
|
/** List trading pairs available on an exchange. Filter by `type` (`spot`, `swap`, `future`, `option`) or free-text `search`. Returns pair name, base/quote currencies, market type, active status, and default fee rates. Use the returned `pair` values as the `pair` parameter in other exchange endpoints. */
|
|
3211
3279
|
declare function useExchangeMarkets(params?: ExchangeMarketsParams): _tanstack_react_query.UseQueryResult<ApiResponse<ExchangeMarketsItem>, Error>;
|
|
3212
3280
|
/** Get a combined snapshot of perpetual contract data for a pair. Use `fields` to select which sub-resources to fetch: `funding` (current funding rate, next settlement, mark/index price) and/or `oi` (open interest in contracts and USD). Just pass the base pair (e.g. `pair=BTC/USDT`). The `:USDT` swap suffix is added automatically. */
|
|
3213
|
-
declare function useExchangePerp(params
|
|
3281
|
+
declare function useExchangePerp(params: ExchangePerpParams): _tanstack_react_query.UseQueryResult<ApiObjectResponse<ExchangePerpData>, Error>;
|
|
3214
3282
|
/** Get the real-time ticker for a trading pair — last price, bid/ask, 24h high/low, 24h volume, and 24h price change. Set `type=swap` to query perpetual contract prices instead of spot. For historical price trends, use `/market/price`. */
|
|
3215
|
-
declare function useExchangePrice(params
|
|
3283
|
+
declare function useExchangePrice(params: ExchangePriceParams): _tanstack_react_query.UseQueryResult<ApiResponse<ExchangePriceItem>, Error>;
|
|
3216
3284
|
|
|
3217
3285
|
/** Get a fund's **profile metadata**: X accounts, team members, recent research, and invested project count. This does NOT return the list of investments — use `/fund/portfolio` for that. Lookup by UUID (`id`) or name (`q`). Returns 404 if not found. */
|
|
3218
3286
|
declare function useFundDetail(params?: FundDetailParams): _tanstack_react_query.UseQueryResult<ApiObjectResponse<FundDetailData>, Error>;
|
|
3219
3287
|
/** List investment rounds for a fund's portfolio, sorted by date (newest first). A project may appear multiple times if the fund participated in multiple rounds. Each entry includes project name, logo, date, raise amount, and lead investor status. Lookup by UUID (`id`) or name (`q`). */
|
|
3220
3288
|
declare function useInfiniteFundPortfolio(params?: Omit<FundPortfolioParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<FundPortfolioItem>, unknown>, Error>;
|
|
3221
3289
|
/** List top-ranked funds by metric. Available metrics: `tier` (lower is better), `portfolio_count` (number of invested projects). */
|
|
3222
|
-
declare function useInfiniteFundRanking(params
|
|
3290
|
+
declare function useInfiniteFundRanking(params: Omit<FundRankingParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<FundRankingItem>, unknown>, Error>;
|
|
3223
3291
|
|
|
3224
3292
|
/** Get Kalshi events with nested markets, optionally filtered by `event_ticker`. Each event includes market count and a list of markets. Data refresh: ~30 minutes */
|
|
3225
|
-
declare function useInfiniteKalshiEvents(params
|
|
3293
|
+
declare function useInfiniteKalshiEvents(params: Omit<KalshiEventsParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<KalshiEventsItem>, unknown>, Error>;
|
|
3226
3294
|
/** Get Kalshi markets, optionally filtered by `market_ticker`. Each market includes price, volume, and status. Data refresh: ~30 minutes */
|
|
3227
|
-
declare function useInfiniteKalshiMarkets(params
|
|
3295
|
+
declare function useInfiniteKalshiMarkets(params: Omit<KalshiMarketsParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<KalshiMarketsItem>, unknown>, Error>;
|
|
3228
3296
|
/** Get daily open interest history for a Kalshi market filtered by `time_range`. Data refresh: ~30 minutes */
|
|
3229
|
-
declare function
|
|
3297
|
+
declare function useInfiniteKalshiOpenInterest(params: Omit<KalshiOpenInterestParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<KalshiOpenInterestItem>, unknown>, Error>;
|
|
3230
3298
|
/** Get price history for a Kalshi market. Use `interval=1d` for daily OHLC from market reports (~30 min delay), or `interval=latest` for real-time price from trades. Data refresh: ~30 minutes (daily), real-time (latest) */
|
|
3231
|
-
declare function
|
|
3299
|
+
declare function useInfiniteKalshiPrices(params: Omit<KalshiPricesParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<KalshiPricesItem>, unknown>, Error>;
|
|
3232
3300
|
/** Get top-ranked Kalshi markets by last day's `notional_volume_usd` or `open_interest`. Filter by `status`. Data refresh: ~30 minutes */
|
|
3233
3301
|
declare function useInfiniteKalshiRanking(params?: Omit<KalshiRankingParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<KalshiRankingItem>, unknown>, Error>;
|
|
3234
3302
|
/** Get individual trade records for a Kalshi market. Filter by `taker_side`, `min_contracts`, and date range. Sort by `timestamp` or `num_contracts`. Data refresh: real-time */
|
|
3235
|
-
declare function useInfiniteKalshiTrades(params
|
|
3303
|
+
declare function useInfiniteKalshiTrades(params: Omit<KalshiTradesParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<KalshiTradesItem>, unknown>, Error>;
|
|
3236
3304
|
/** Get daily trading volume history for a Kalshi market filtered by `time_range`. Data refresh: ~30 minutes */
|
|
3237
|
-
declare function
|
|
3305
|
+
declare function useInfiniteKalshiVolumes(params: Omit<KalshiVolumesParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<KalshiVolumesItem>, unknown>, Error>;
|
|
3238
3306
|
|
|
3239
3307
|
/** Get daily ETF flow history for US spot ETFs — net flow (USD), token price, and per-ticker breakdown. Sorted by date descending. `symbol`: `BTC` or `ETH`. */
|
|
3240
|
-
declare function useMarketEtf(params
|
|
3308
|
+
declare function useMarketEtf(params: MarketEtfParams): _tanstack_react_query.UseQueryResult<ApiResponse<MarketEtfItem>, Error>;
|
|
3241
3309
|
/** Get Bitcoin Fear & Greed Index history — index value (0-100), classification label, and BTC price at each data point. Sorted newest-first. Use `from`/`to` to filter by date range. */
|
|
3242
3310
|
declare function useMarketFearGreed(params?: MarketFearGreedParams): _tanstack_react_query.UseQueryResult<ApiResponse<MarketFearGreedItem>, Error>;
|
|
3243
3311
|
/** Get futures market data across all tracked tokens — open interest, funding rate, long/short ratio, and 24h volume. Sort by `sort_by` (default: volume_24h). */
|
|
3244
3312
|
declare function useMarketFutures(params?: MarketFuturesParams): _tanstack_react_query.UseQueryResult<ApiResponse<MarketFuturesItem>, Error>;
|
|
3245
3313
|
/** Get OHLC-style aggregated liquidation data for a token on a specific exchange. Filter by `symbol`, `exchange`, and `interval`. Useful for charting liquidation volume over time. */
|
|
3246
|
-
declare function useMarketLiquidationChart(params
|
|
3314
|
+
declare function useMarketLiquidationChart(params: MarketLiquidationChartParams): _tanstack_react_query.UseQueryResult<ApiResponse<MarketLiquidationChartItem>, Error>;
|
|
3247
3315
|
/** Get liquidation breakdown by exchange — total, long, and short volumes in USD. Filter by `symbol` and `time_range` (`1h`, `4h`, `12h`, `24h`). */
|
|
3248
3316
|
declare function useMarketLiquidationExchangeList(params?: MarketLiquidationExchangeListParams): _tanstack_react_query.UseQueryResult<ApiResponse<MarketLiquidationExchangeListItem>, Error>;
|
|
3249
3317
|
/** Get individual large liquidation orders above a USD threshold (`min_amount`, default 10000). Filter by `exchange` and `symbol`. For aggregate totals and long/short breakdown by exchange, use `/market/liquidation/exchange-list`. For historical liquidation charts, use `/market/liquidation/chart`. */
|
|
3250
3318
|
declare function useMarketLiquidationOrder(params?: MarketLiquidationOrderParams): _tanstack_react_query.UseQueryResult<ApiResponse<MarketLiquidationOrderItem>, Error>;
|
|
3251
3319
|
/** Get on-chain indicator time-series for BTC or ETH. Metrics: `nupl`, `sopr`, `mvrv`, `puell-multiple`, `nvm`, `nvt`, `nvt-golden-cross`, `exchange-flows` (inflow/outflow/netflow/reserve). */
|
|
3252
|
-
declare function useMarketOnchainIndicator(params
|
|
3320
|
+
declare function useMarketOnchainIndicator(params: MarketOnchainIndicatorParams): _tanstack_react_query.UseQueryResult<ApiResponse<MarketOnchainIndicatorItem>, Error>;
|
|
3253
3321
|
/** Get options market data — open interest, volume, put/call ratio, and max pain price for a `symbol`. */
|
|
3254
|
-
declare function useMarketOptions(params
|
|
3322
|
+
declare function useMarketOptions(params: MarketOptionsParams): _tanstack_react_query.UseQueryResult<ApiResponse<MarketOptionsItem>, Error>;
|
|
3255
3323
|
/** Get historical price data points for a token. Use `time_range` for predefined windows (`1d`, `7d`, `14d`, `30d`, `90d`, `180d`, `365d`, `max`) or `from`/`to` for a custom date range (Unix timestamp or YYYY-MM-DD). Granularity is automatic: 5-min for 1d, hourly for 7-90d, daily for 180d+. */
|
|
3256
|
-
declare function useMarketPrice(params
|
|
3324
|
+
declare function useMarketPrice(params: MarketPriceParams): _tanstack_react_query.UseQueryResult<ApiResponse<MarketPriceItem>, Error>;
|
|
3257
3325
|
/** Get a technical indicator for a trading pair on a given exchange and interval. Set `from`/`to` for time-series mode, omit for latest value. Use `options` for indicator-specific tuning (e.g. `period:7`, `fast_period:8,slow_period:21,signal_period:5`, `period:10,stddev:1.5`). Indicators: `rsi`, `macd`, `ema`, `sma`, `bbands`, `stoch`, `adx`, `atr`, `cci`, `obv`, `vwap`, `dmi`, `ichimoku`, `supertrend`. */
|
|
3258
|
-
declare function useMarketPriceIndicator(params
|
|
3326
|
+
declare function useMarketPriceIndicator(params: MarketPriceIndicatorParams): _tanstack_react_query.UseQueryResult<ApiResponse<MarketPriceIndicatorItem>, Error>;
|
|
3259
3327
|
/** List tokens ranked by metric. Available metrics: `market_cap`, `top_gainers`, `top_losers`, `volume`. Note: `top_gainers` and `top_losers` rank by 24h price change within the top 250 coins by market cap. For circulating supply, FDV, ATH/ATL, use `/project/detail?fields=token_info`. */
|
|
3260
3328
|
declare function useInfiniteMarketRanking(params?: Omit<MarketRankingParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<MarketRankingItem>, unknown>, Error>;
|
|
3261
3329
|
|
|
3262
3330
|
/** Returns the full content of a single news article by its ID (returned as `id` in feed and search results). */
|
|
3263
|
-
declare function useNewsDetail(params
|
|
3331
|
+
declare function useNewsDetail(params: NewsDetailParams): _tanstack_react_query.UseQueryResult<ApiObjectResponse<NewsDetailData>, Error>;
|
|
3264
3332
|
/** Browse crypto news from major sources. Filter by `source` (enum), `project`, and time range (`from`/`to`). Sort by `recency` (default) or `trending`. Use the detail endpoint with article `id` for full content. */
|
|
3265
3333
|
declare function useInfiniteNewsFeed(params?: Omit<NewsFeedParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<NewsFeedItem>, unknown>, Error>;
|
|
3266
3334
|
|
|
3267
3335
|
/** List bridge protocols ranked by total USD volume over a time range. */
|
|
3268
3336
|
declare function useInfiniteOnchainBridgeRanking(params?: Omit<OnchainBridgeRankingParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<OnchainBridgeRankingItem>, unknown>, Error>;
|
|
3269
3337
|
/** Get the current gas price for an EVM chain via `eth_gasPrice` JSON-RPC. Returns gas price in both wei (raw) and Gwei (human-readable). **Supported chains:** `ethereum`, `polygon`, `bsc`, `arbitrum`, `optimism`, `base`, `avalanche`, `fantom`, `linea`, `cyber`. */
|
|
3270
|
-
declare function useOnchainGasPrice(params
|
|
3271
|
-
/** Execute a structured JSON query on blockchain data. No raw SQL needed — specify source, fields, filters, sort, and pagination. All tables live in the **agent** database. Use `GET /v1/onchain/schema` to discover available tables and their columns. - Source format: `agent.<table_name>` like `agent.ethereum_transactions` or `agent.ethereum_dex_trades` - Max 10,000 rows (default 20), 30s timeout. - **Always filter on block_date** — it is the partition key. Without it, queries scan billions of rows and will timeout. - **Data refresh:** ~24 hours. */
|
|
3272
|
-
declare function
|
|
3338
|
+
declare function useOnchainGasPrice(params: OnchainGasPriceParams): _tanstack_react_query.UseQueryResult<ApiObjectResponse<OnchainGasPriceData>, Error>;
|
|
3339
|
+
/** Execute a structured JSON query on blockchain data. No raw SQL needed — specify source, fields, filters, sort, and pagination. All tables live in the **agent** database. Use `GET /v1/onchain/schema` to discover available tables and their columns. - Source format: `agent.<table_name>` like `agent.ethereum_transactions` or `agent.ethereum_dex_trades` - Max 10,000 rows (default 20), 30s timeout. - **Always filter on block_date** — it is the partition key. Without it, queries scan billions of rows and will timeout. - **Data refresh:** ~24 hours. ## Example ```json { "source": "agent.ethereum_dex_trades", "fields": ["block_time", "project", "token_pair", "amount_usd", "taker"], "filters": [ {"field": "block_date", "op": "gte", "value": "2025-03-01"}, {"field": "project", "op": "eq", "value": "uniswap"}, {"field": "amount_usd", "op": "gte", "value": 100000} ], "sort": [{"field": "amount_usd", "order": "desc"}], "limit": 20 } ``` */
|
|
3340
|
+
declare function useInfiniteOnchainStructuredQuery(params: Omit<OnchainStructuredQueryParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<OnchainStructuredQueryItem>, unknown>, Error>;
|
|
3273
3341
|
/** Get table metadata — database, table, column names, types, and comments for all available on-chain databases. */
|
|
3274
|
-
declare function
|
|
3275
|
-
/** Execute a raw SQL SELECT query against blockchain data. All tables live in the **agent** database. Use `GET /v1/onchain/schema` to discover available tables and their columns before writing queries. */
|
|
3276
|
-
declare function
|
|
3342
|
+
declare function useInfiniteOnchainSchema(): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<OnchainSchemaItem>, unknown>, Error>;
|
|
3343
|
+
/** Execute a raw SQL SELECT query against blockchain data. All tables live in the **agent** database. Use `GET /v1/onchain/schema` to discover available tables and their columns before writing queries. ## Rules - Only SELECT/WITH statements allowed (read-only). - All table references must be database-qualified: `agent.<table_name>`. - Max 10,000 rows (default 1,000), 30s timeout. - **Always filter on block_date or block_number** — partition key, without it queries will timeout. - Avoid `SELECT *` on large tables. Specify only the columns you need. - **Data refresh:** ~24 hours. ## Example ```sql SELECT block_time, token_pair, amount_usd, taker, tx_hash FROM agent.ethereum_dex_trades WHERE block_date >= today() - 7 AND project = 'uniswap' AND amount_usd > 100000 ORDER BY amount_usd DESC LIMIT 20 ``` */
|
|
3344
|
+
declare function useInfiniteOnchainSql(params: Omit<OnchainSqlParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<OnchainSqlItem>, unknown>, Error>;
|
|
3277
3345
|
/** Get transaction details by hash. All numeric fields are hex-encoded — use parseInt(hex, 16) to convert. **Supported chains:** `ethereum`, `polygon`, `bsc`, `arbitrum`, `optimism`, `base`, `avalanche`, `fantom`, `linea`, `cyber`. Returns 404 if the transaction is not found. */
|
|
3278
|
-
declare function
|
|
3346
|
+
declare function useInfiniteOnchainTx(params: Omit<OnchainTxParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<OnchainTxItem>, unknown>, Error>;
|
|
3279
3347
|
/** List DeFi yield pools ranked by APY or TVL. Returns the latest snapshot. Filter by protocol. */
|
|
3280
3348
|
declare function useInfiniteOnchainYieldRanking(params?: Omit<OnchainYieldRankingParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<OnchainYieldRankingItem>, unknown>, Error>;
|
|
3281
3349
|
|
|
3282
3350
|
/** Get trade and redemption activity for a Polymarket wallet. Data refresh: ~30 minutes */
|
|
3283
|
-
declare function useInfinitePolymarketActivity(params
|
|
3351
|
+
declare function useInfinitePolymarketActivity(params: Omit<PolymarketActivityParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<PolymarketActivityItem>, unknown>, Error>;
|
|
3284
3352
|
/** Get Polymarket events with nested markets, optionally filtered by `event_slug`. Each event includes aggregated status, volume, and a list of markets with `side_a`/`side_b` outcomes. Data refresh: ~30 minutes */
|
|
3285
|
-
declare function useInfinitePolymarketEvents(params
|
|
3353
|
+
declare function useInfinitePolymarketEvents(params: Omit<PolymarketEventsParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<PolymarketEventsItem>, unknown>, Error>;
|
|
3286
3354
|
/** Get Polymarket markets, optionally filtered by `market_slug`. Each market includes `side_a` and `side_b` outcomes. Current prices are available via `/polymarket/prices` using the `condition_id`. Data refresh: ~30 minutes */
|
|
3287
|
-
declare function useInfinitePolymarketMarkets(params
|
|
3355
|
+
declare function useInfinitePolymarketMarkets(params: Omit<PolymarketMarketsParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<PolymarketMarketsItem>, unknown>, Error>;
|
|
3288
3356
|
/** Get daily open interest history for a Polymarket market. Data refresh: ~30 minutes */
|
|
3289
|
-
declare function
|
|
3357
|
+
declare function useInfinitePolymarketOpenInterest(params: Omit<PolymarketOpenInterestParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<PolymarketOpenInterestItem>, unknown>, Error>;
|
|
3290
3358
|
/** Get wallet positions on Polymarket markets. Data refresh: ~30 minutes */
|
|
3291
|
-
declare function useInfinitePolymarketPositions(params
|
|
3359
|
+
declare function useInfinitePolymarketPositions(params: Omit<PolymarketPositionsParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<PolymarketPositionsItem>, unknown>, Error>;
|
|
3292
3360
|
/** Get aggregated price history for a Polymarket market. Use `interval=latest` for the most recent price snapshot. Data refresh: ~30 minutes */
|
|
3293
|
-
declare function
|
|
3361
|
+
declare function useInfinitePolymarketPrices(params: Omit<PolymarketPricesParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<PolymarketPricesItem>, unknown>, Error>;
|
|
3294
3362
|
/** Get top-ranked Polymarket markets by `volume_24h`, `volume_7d`, `open_interest`, or `trade_count`. Filter by `status` and `end_before`. Data refresh: ~30 minutes */
|
|
3295
3363
|
declare function useInfinitePolymarketRanking(params?: Omit<PolymarketRankingParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<PolymarketRankingItem>, unknown>, Error>;
|
|
3296
3364
|
/** Get paginated trade records for a Polymarket market or wallet. Filter by `condition_id` (market) or `address` (wallet), plus `outcome_label`, `min_amount`, and date range. At least one of `condition_id` or `address` is required. Sort by `newest`, `oldest`, or `largest`. Data refresh: ~30 minutes */
|
|
3297
3365
|
declare function useInfinitePolymarketTrades(params?: Omit<PolymarketTradesParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<PolymarketTradesItem>, unknown>, Error>;
|
|
3298
3366
|
/** Get trading volume and trade count history for a Polymarket market. Data refresh: ~30 minutes */
|
|
3299
|
-
declare function
|
|
3367
|
+
declare function useInfinitePolymarketVolumes(params: Omit<PolymarketVolumesParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<PolymarketVolumesItem>, unknown>, Error>;
|
|
3300
3368
|
|
|
3301
3369
|
/** Get daily notional volume and open interest aggregated by category across Kalshi and Polymarket. Filter by `source` or `category`. Data refresh: daily */
|
|
3302
3370
|
declare function useInfinitePredictionMarketCategoryMetrics(params?: Omit<PredictionMarketCategoryMetricsParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<PredictionMarketCategoryMetricsItem>, unknown>, Error>;
|
|
3303
3371
|
|
|
3304
3372
|
/** Get time-series DeFi metrics for a project. Available metrics: `volume`, `fee`, `fees`, `revenue`, `tvl`, `users`. Lookup by UUID (`id`) or name (`q`). Filter by `chain` and date range (`from`/`to`). Returns 404 if the project is not found. **Note:** this endpoint only returns data for DeFi protocol projects (e.g. `aave`, `uniswap`, `lido`, `makerdao`). Use `q` with a DeFi protocol name. */
|
|
3305
|
-
declare function useInfiniteProjectDefiMetrics(params
|
|
3373
|
+
declare function useInfiniteProjectDefiMetrics(params: Omit<ProjectDefiMetricsParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<ProjectDefiMetricsItem>, unknown>, Error>;
|
|
3306
3374
|
/** Get top DeFi projects ranked by a protocol metric. Available metrics: `tvl`, `revenue`, `fees`, `volume`, `users`. */
|
|
3307
|
-
declare function useInfiniteProjectDefiRanking(params
|
|
3375
|
+
declare function useInfiniteProjectDefiRanking(params: Omit<ProjectDefiRankingParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<ProjectDefiRankingItem>, unknown>, Error>;
|
|
3308
3376
|
/** Get multiple project sub-resources in a single request. Use `fields` to select: `overview`, `token_info`, `tokenomics`, `funding`, `team`, `contracts`, `social`, `tge_status`. **Accepts project names directly** via `q` (e.g. `?q=aave`) — no need to call `/search/project` first. Also accepts UUID via `id`. Returns 404 if not found. For DeFi metrics (TVL, fees, revenue, volume, users) and per-chain breakdown, use `/project/defi/metrics`. */
|
|
3309
3377
|
declare function useProjectDetail(params?: ProjectDetailParams): _tanstack_react_query.UseQueryResult<ApiObjectResponse<ProjectDetailData>, Error>;
|
|
3310
3378
|
|
|
@@ -3313,70 +3381,70 @@ declare function useInfiniteSearchAirdrop(params?: Omit<SearchAirdropParams, 'of
|
|
|
3313
3381
|
/** Search project events by keyword, optionally filtered by `type`. Valid types: `launch`, `upgrade`, `partnership`, `news`, `airdrop`, `listing`, `twitter`. Lookup by UUID (`id`) or name (`q`). Returns 404 if the project is not found. */
|
|
3314
3382
|
declare function useInfiniteSearchEvents(params?: Omit<SearchEventsParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<SearchEventsItem>, unknown>, Error>;
|
|
3315
3383
|
/** Search funds by keyword. Returns matching funds with name, tier, type, logo, and top invested projects. */
|
|
3316
|
-
declare function useInfiniteSearchFund(params
|
|
3384
|
+
declare function useInfiniteSearchFund(params: Omit<SearchFundParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<SearchFundItem>, unknown>, Error>;
|
|
3317
3385
|
/** Search Kalshi events by keyword and/or category. Filter by keyword matching event title, subtitle, or market title; or by category. At least one of `q` or `category` is required. Returns events with nested markets. Data refresh: ~30 minutes */
|
|
3318
3386
|
declare function useInfiniteSearchKalshi(params?: Omit<SearchKalshiParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<SearchKalshiItem>, unknown>, Error>;
|
|
3319
3387
|
/** Search crypto news articles by keyword. Returns top 10 results ranked by relevance with highlighted matching fragments. */
|
|
3320
|
-
declare function
|
|
3388
|
+
declare function useInfiniteSearchNews(params: Omit<SearchNewsParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<SearchNewsItem>, unknown>, Error>;
|
|
3321
3389
|
/** Search Polymarket events by keyword, tags, and/or category. Filter by keyword matching market question, event title, or description; by comma-separated tag labels; or by Surf-curated category. At least one of `q`, `tags`, or `category` is required. Returns events with nested markets ranked by volume. Data refresh: ~30 minutes */
|
|
3322
3390
|
declare function useInfiniteSearchPolymarket(params?: Omit<SearchPolymarketParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<SearchPolymarketItem>, unknown>, Error>;
|
|
3323
3391
|
/** Search crypto projects by keyword. Returns matching projects with name, description, chains, and logo. */
|
|
3324
|
-
declare function useInfiniteSearchProject(params
|
|
3392
|
+
declare function useInfiniteSearchProject(params: Omit<SearchProjectParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<SearchProjectItem>, unknown>, Error>;
|
|
3325
3393
|
/** Search X (Twitter) users by keyword. Returns user profiles with handle, display name, bio, follower count, and avatar. */
|
|
3326
|
-
declare function useInfiniteSearchSocialPeople(params
|
|
3394
|
+
declare function useInfiniteSearchSocialPeople(params: Omit<SearchSocialPeopleParams, 'cursor'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiCursorResponse<SearchSocialPeopleItem>, unknown>, Error>;
|
|
3327
3395
|
/** Search X (Twitter) posts by keyword or `from:handle` syntax. Returns posts with author, content, engagement metrics, and timestamp. To load more results, check `meta.has_more`; if true, pass `meta.next_cursor` as the `cursor` query parameter in the next request. */
|
|
3328
|
-
declare function useInfiniteSearchSocialPosts(params
|
|
3396
|
+
declare function useInfiniteSearchSocialPosts(params: Omit<SearchSocialPostsParams, 'cursor'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiCursorResponse<SearchSocialPostsItem>, unknown>, Error>;
|
|
3329
3397
|
/** Search wallets by ENS name, address label, or address prefix. Returns matching wallet addresses with entity labels. */
|
|
3330
|
-
declare function useInfiniteSearchWallet(params
|
|
3398
|
+
declare function useInfiniteSearchWallet(params: Omit<SearchWalletParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<SearchWalletItem>, unknown>, Error>;
|
|
3331
3399
|
/** Search web pages, articles, and content by keyword. Filter by domain with `site` like `coindesk.com`. Returns titles, URLs, and content snippets. */
|
|
3332
|
-
declare function useInfiniteSearchWeb(params
|
|
3400
|
+
declare function useInfiniteSearchWeb(params: Omit<SearchWebParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<SearchWebItem>, unknown>, Error>;
|
|
3333
3401
|
|
|
3334
3402
|
/** Get a **point-in-time snapshot** of social analytics: sentiment score, follower geo breakdown, and top smart followers. Use `fields` to select: `sentiment`, `follower_geo`, `smart_followers`. Lookup by X account ID (`x_id`) or project name (`q`, e.g. `uniswap`, `solana`). The `q` parameter must be a crypto project name, not a personal Twitter handle. Returns 404 if the project has no linked Twitter account. For sentiment **trends over time**, use `/social/mindshare` instead. */
|
|
3335
3403
|
declare function useSocialDetail(params?: SocialDetailParams): _tanstack_react_query.UseQueryResult<ApiObjectResponse<SocialDetailData>, Error>;
|
|
3336
3404
|
/** Get mindshare (social view count) **time-series trend** for a project, aggregated by `interval`. Use this when the user asks about sentiment **trends**, mindshare **over time**, or social momentum changes. `interval` can be `5m`, `1h`, `1d`, or `7d`. Filter by date range with `from`/`to` (Unix seconds). Lookup by name (`q`). For a **point-in-time snapshot** of social analytics (sentiment score, follower geo, smart followers), use `/social/detail` instead. */
|
|
3337
|
-
declare function
|
|
3405
|
+
declare function useInfiniteSocialMindshare(params: Omit<SocialMindshareParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<SocialMindshareItem>, unknown>, Error>;
|
|
3338
3406
|
/** Get top crypto projects ranked by mindshare (social view count), sourced directly from Argus real-time data (refreshed every 5 minutes). Filter by `tag` to scope to a category (e.g. `dex`, `l1`, `meme`). Use `time_range` (`24h`, `48h`, `7d`, `30d`) to control the ranking window. Supports `limit`/`offset` pagination. */
|
|
3339
3407
|
declare function useInfiniteSocialRanking(params?: Omit<SocialRankingParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<SocialRankingItem>, unknown>, Error>;
|
|
3340
3408
|
/** Get smart follower count time-series for a project, sorted by date descending. Lookup by X account ID (`x_id`) or project name (`q`). The `q` parameter must be a project name (e.g. `uniswap`, `ethereum`), not a personal X handle — use `x_id` for individual accounts. Returns 404 if the project has no linked X account. */
|
|
3341
|
-
declare function
|
|
3409
|
+
declare function useInfiniteSocialSmartFollowersHistory(params?: Omit<SocialSmartFollowersHistoryParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<SocialSmartFollowersHistoryItem>, unknown>, Error>;
|
|
3342
3410
|
/** Returns replies/comments on a specific tweet. Lookup by `tweet_id`. */
|
|
3343
|
-
declare function useInfiniteSocialTweetReplies(params
|
|
3411
|
+
declare function useInfiniteSocialTweetReplies(params: Omit<SocialTweetRepliesParams, 'cursor'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiCursorResponse<SocialTweetRepliesItem>, unknown>, Error>;
|
|
3344
3412
|
/** Get X (Twitter) posts by numeric post ID strings. Pass up to 100 comma-separated IDs via the `ids` query parameter. */
|
|
3345
|
-
declare function
|
|
3413
|
+
declare function useInfiniteSocialTweets(params: Omit<SocialTweetsParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<SocialTweetsItem>, unknown>, Error>;
|
|
3346
3414
|
/** Get an X (Twitter) user profile — display name, follower count, following count, and bio. Lookup by `handle` (without @). */
|
|
3347
|
-
declare function useSocialUser(params
|
|
3415
|
+
declare function useSocialUser(params: SocialUserParams): _tanstack_react_query.UseQueryResult<ApiObjectResponse<SocialUserData>, Error>;
|
|
3348
3416
|
/** Returns a list of followers for the specified handle on X (Twitter). Lookup by `handle` (without @). */
|
|
3349
|
-
declare function useInfiniteSocialUserFollowers(params
|
|
3417
|
+
declare function useInfiniteSocialUserFollowers(params: Omit<SocialUserFollowersParams, 'cursor'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiCursorResponse<SocialUserFollowersItem>, unknown>, Error>;
|
|
3350
3418
|
/** Returns a list of users that the specified handle follows on X (Twitter). Lookup by `handle` (without @). */
|
|
3351
|
-
declare function useInfiniteSocialUserFollowing(params
|
|
3419
|
+
declare function useInfiniteSocialUserFollowing(params: Omit<SocialUserFollowingParams, 'cursor'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiCursorResponse<SocialUserFollowingItem>, unknown>, Error>;
|
|
3352
3420
|
/** Get recent X (Twitter) posts by a specific user, ordered by recency. Lookup by `handle` (without @). Use `filter=original` to exclude retweets. To load more results, check `meta.has_more`; if true, pass `meta.next_cursor` as the `cursor` query parameter in the next request. */
|
|
3353
|
-
declare function useInfiniteSocialUserPosts(params
|
|
3421
|
+
declare function useInfiniteSocialUserPosts(params: Omit<SocialUserPostsParams, 'cursor'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiCursorResponse<SocialUserPostsItem>, unknown>, Error>;
|
|
3354
3422
|
/** Returns recent replies by the specified handle on X (Twitter). Lookup by `handle` (without @). */
|
|
3355
|
-
declare function useInfiniteSocialUserReplies(params
|
|
3423
|
+
declare function useInfiniteSocialUserReplies(params: Omit<SocialUserRepliesParams, 'cursor'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiCursorResponse<SocialUserRepliesItem>, unknown>, Error>;
|
|
3356
3424
|
|
|
3357
3425
|
/** Get recent DEX swap events for a token contract address. Covers DEXes like `uniswap`, `sushiswap`, `curve`, and `balancer` on `ethereum` and `base`. Returns trading pair, amounts, USD value, and taker address. Data refresh: ~24 hours · Chain: Ethereum, Base */
|
|
3358
|
-
declare function useInfiniteTokenDexTrades(params
|
|
3426
|
+
declare function useInfiniteTokenDexTrades(params: Omit<TokenDexTradesParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<TokenDexTradesItem>, unknown>, Error>;
|
|
3359
3427
|
/** Get top token holders for a contract address — wallet address, balance, and percentage. Lookup by `address` and `chain`. Supports EVM chains and Solana. */
|
|
3360
|
-
declare function useInfiniteTokenHolders(params
|
|
3428
|
+
declare function useInfiniteTokenHolders(params: Omit<TokenHoldersParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<TokenHoldersItem>, unknown>, Error>;
|
|
3361
3429
|
/** Get token unlock time-series — unlock events with amounts and allocation breakdowns. Lookup by project UUID (`id`) or token `symbol`. Filter by date range with `from`/`to`. Defaults to the current calendar month when omitted. Returns 404 if no token found. */
|
|
3362
|
-
declare function
|
|
3430
|
+
declare function useInfiniteTokenTokenomics(params?: Omit<TokenTokenomicsParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<TokenTokenomicsItem>, unknown>, Error>;
|
|
3363
3431
|
/** Get recent transfer events **for a specific token** (ERC-20/TRC-20 contract). Pass the **token contract address** in `address` — returns every on-chain transfer of that token regardless of sender/receiver. Each record includes sender, receiver, raw amount, and block timestamp. Use this to analyze a token's on-chain activity (e.g. large movements, distribution patterns). Lookup: `address` (token contract) + `chain`. Sort by `asc` or `desc`. Data refresh: ~24 hours · Chain: Ethereum, Base, TRON (Solana uses a different source with no delay) */
|
|
3364
|
-
declare function useInfiniteTokenTransfers(params
|
|
3432
|
+
declare function useInfiniteTokenTransfers(params: Omit<TokenTransfersParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<TokenTransfersItem>, unknown>, Error>;
|
|
3365
3433
|
|
|
3366
3434
|
/** Get multiple wallet sub-resources in a single request. Lookup by `address`. Use `fields` to select: `balance`, `tokens`, `labels`, `nft`. Partial failures return available fields with per-field error info. Returns 422 if `fields` is invalid. */
|
|
3367
|
-
declare function useWalletDetail(params
|
|
3435
|
+
declare function useWalletDetail(params: WalletDetailParams): _tanstack_react_query.UseQueryResult<ApiObjectResponse<WalletDetailData>, Error>;
|
|
3368
3436
|
/** Get full transaction history for a wallet — swaps, transfers, and contract interactions. Lookup by `address`. Filter by `chain` — supports `ethereum`, `polygon`, `bsc`, `arbitrum`, `optimism`, `avalanche`, `fantom`, `base`. */
|
|
3369
|
-
declare function useInfiniteWalletHistory(params
|
|
3437
|
+
declare function useInfiniteWalletHistory(params: Omit<WalletHistoryParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<WalletHistoryItem>, unknown>, Error>;
|
|
3370
3438
|
/** Get entity labels for multiple wallet addresses. Pass up to 100 comma-separated addresses via the `addresses` query parameter. Returns entity name, type, and labels per address. */
|
|
3371
|
-
declare function
|
|
3439
|
+
declare function useInfiniteWalletLabelsBatch(params: Omit<WalletLabelsBatchParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<WalletLabelsBatchItem>, unknown>, Error>;
|
|
3372
3440
|
/** Get a time-series of the wallet's total net worth in USD. Returns ~288 data points at 5-minute intervals covering the last 24 hours. Fixed window — no custom time range supported. */
|
|
3373
|
-
declare function
|
|
3441
|
+
declare function useInfiniteWalletNetWorth(params: Omit<WalletNetWorthParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<WalletNetWorthItem>, unknown>, Error>;
|
|
3374
3442
|
/** Get all DeFi protocol positions for a wallet — lending, staking, LP, and farming with token breakdowns and USD values. Lookup by `address`. */
|
|
3375
|
-
declare function useInfiniteWalletProtocols(params
|
|
3443
|
+
declare function useInfiniteWalletProtocols(params: Omit<WalletProtocolsParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<WalletProtocolsItem>, unknown>, Error>;
|
|
3376
3444
|
/** Get recent token transfers **sent or received by a wallet**. Pass the **wallet address** in `address` — returns all ERC-20/SPL token transfers where this wallet is the sender or receiver. Each record includes token contract, counterparty, raw amount, and block timestamp. Use this to audit a wallet's token flow (e.g. inflows, outflows, airdrop receipts). Lookup: `address` (wallet, raw 0x hex or base58 — ENS not supported). Filter by `chain` — supports `ethereum`, `base`, `solana`. Data refresh: ~24 hours · Chain: Ethereum, Base (Solana uses a different source with no delay) */
|
|
3377
|
-
declare function useInfiniteWalletTransfers(params
|
|
3445
|
+
declare function useInfiniteWalletTransfers(params: Omit<WalletTransfersParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<WalletTransfersItem>, unknown>, Error>;
|
|
3378
3446
|
|
|
3379
3447
|
/** Fetch a web page and convert it to clean, LLM-friendly markdown. Use `target_selector` to extract specific page sections and `remove_selector` to strip unwanted elements. Returns 400 if the URL is invalid or unreachable. */
|
|
3380
|
-
declare function useWebFetch(params
|
|
3448
|
+
declare function useWebFetch(params: WebFetchParams): _tanstack_react_query.UseQueryResult<ApiObjectResponse<WebFetchData>, Error>;
|
|
3381
3449
|
|
|
3382
|
-
export { type ApiCursorResponse, type ApiObjectResponse, type ApiResponse, type CursorMeta, type ExchangeDepthItem, type ExchangeDepthItemAsksItem, type ExchangeDepthItemBidsItem, type ExchangeDepthParams, type ExchangeFundingHistoryItem, type ExchangeFundingHistoryParams, type ExchangeKlinesItem, type ExchangeKlinesItemCandlesItem, type ExchangeKlinesParams, type ExchangeLongShortRatioItem, type ExchangeLongShortRatioParams, type ExchangeMarketsItem, type ExchangeMarketsParams, type ExchangePerpData, type ExchangePerpDataFunding, type ExchangePerpDataOpenInterest, type ExchangePerpParams, type ExchangePriceItem, type ExchangePriceParams, type FundDetailData, type FundDetailDataLinksItem, type FundDetailDataMembersItem, type FundDetailDataRecentResearchesItem, type FundDetailDataXAccountsItem, type FundDetailParams, type FundPortfolioItem, type FundPortfolioParams, type FundRankingItem, type FundRankingItemTopProjectsItem, type FundRankingParams, type KalshiEventsItem, type KalshiEventsItemMarketsItem, type KalshiEventsParams, type KalshiMarketsItem, type KalshiMarketsParams, type KalshiOpenInterestItem, type KalshiOpenInterestParams, type KalshiPricesItem, type KalshiPricesItemSideA, type KalshiPricesItemSideB, type KalshiPricesParams, type KalshiRankingItem, type KalshiRankingParams, type KalshiTradesItem, type KalshiTradesParams, type KalshiVolumesItem, type KalshiVolumesParams, type MarketEtfItem, type MarketEtfItemEtfsItem, type MarketEtfParams, type MarketFearGreedItem, type MarketFearGreedParams, type MarketFuturesItem, type MarketFuturesParams, type MarketLiquidationChartItem, type MarketLiquidationChartParams, type MarketLiquidationExchangeListItem, type MarketLiquidationExchangeListParams, type MarketLiquidationOrderItem, type MarketLiquidationOrderParams, type MarketOnchainIndicatorItem, type MarketOnchainIndicatorParams, type MarketOptionsItem, type MarketOptionsParams, type MarketPriceIndicatorItem, type MarketPriceIndicatorItemValues, type MarketPriceIndicatorParams, type MarketPriceItem, type MarketPriceParams, type MarketRankingItem, type MarketRankingParams, type NewsDetailData, type NewsDetailParams, type NewsFeedItem, type NewsFeedItemHighlights, type NewsFeedParams, type OnchainBridgeRankingItem, type OnchainBridgeRankingParams, type OnchainGasPriceData, type OnchainGasPriceParams, type OnchainSchemaItem, type OnchainSchemaItemColumnsItem, type OnchainSqlItem, type OnchainSqlParams, type OnchainStructuredQueryItem, type OnchainStructuredQueryParams, type OnchainStructuredQueryParamsFiltersItem, type OnchainStructuredQueryParamsSortItem, type OnchainTxItem, type OnchainTxItemAccesslistItem, type OnchainTxParams, type OnchainYieldRankingItem, type OnchainYieldRankingParams, type PolymarketActivityItem, type PolymarketActivityParams, type PolymarketEventsItem, type PolymarketEventsItemMarketsItem, type PolymarketEventsItemMarketsItemSideA, type PolymarketEventsItemMarketsItemSideB, type PolymarketEventsParams, type PolymarketMarketsItem, type PolymarketMarketsItemSideA, type PolymarketMarketsItemSideB, type PolymarketMarketsParams, type PolymarketOpenInterestItem, type PolymarketOpenInterestParams, type PolymarketPositionsItem, type PolymarketPositionsParams, type PolymarketPricesItem, type PolymarketPricesItemSideA, type PolymarketPricesItemSideB, type PolymarketPricesParams, type PolymarketRankingItem, type PolymarketRankingParams, type PolymarketTradesItem, type PolymarketTradesParams, type PolymarketVolumesItem, type PolymarketVolumesParams, type PredictionMarketCategoryMetricsItem, type PredictionMarketCategoryMetricsParams, type ProjectDefiMetricsItem, type ProjectDefiMetricsParams, type ProjectDefiRankingItem, type ProjectDefiRankingParams, type ProjectDetailData, type ProjectDetailDataContracts, type ProjectDetailDataContractsContractsItem, type ProjectDetailDataFunding, type ProjectDetailDataFundingRoundsItem, type ProjectDetailDataFundingRoundsItemInvestorsItem, type ProjectDetailDataOverview, type ProjectDetailDataSocial, type ProjectDetailDataSocialDiscord, type ProjectDetailDataSocialGithub, type ProjectDetailDataSocialTelegram, type ProjectDetailDataSocialTwitter, type ProjectDetailDataTeam, type ProjectDetailDataTeamMembersItem, type ProjectDetailDataTeamMembersItemSocialLinks, type ProjectDetailDataTgeStatus, type ProjectDetailDataTokenInfo, type ProjectDetailDataTokenomics, type ProjectDetailParams, type ResponseMeta, type SearchAirdropItem, type SearchAirdropItemTaskSummary, type SearchAirdropItemTasksItem, type SearchAirdropParams, type SearchEventsItem, type SearchEventsParams, type SearchFundItem, type SearchFundItemTopProjectsItem, type SearchFundParams, type SearchKalshiItem, type SearchKalshiItemMarketsItem, type SearchKalshiParams, type SearchNewsItem, type SearchNewsItemHighlights, type SearchNewsParams, type SearchPolymarketItem, type SearchPolymarketItemMarketsItem, type SearchPolymarketItemMarketsItemSideA, type SearchPolymarketItemMarketsItemSideB, type SearchPolymarketParams, type SearchProjectItem, type SearchProjectItemTokensItem, type SearchProjectParams, type SearchSocialPeopleItem, type SearchSocialPeopleParams, type SearchSocialPostsItem, type SearchSocialPostsItemAuthor, type SearchSocialPostsItemMediaItem, type SearchSocialPostsItemStats, type SearchSocialPostsParams, type SearchWalletItem, type SearchWalletItemAddressesItem, type SearchWalletParams, type SearchWebItem, type SearchWebParams, type SocialDetailData, type SocialDetailDataFollowerGeo, type SocialDetailDataFollowerGeoLocationsItem, type SocialDetailDataSentiment, type SocialDetailDataSmartFollowers, type SocialDetailDataSmartFollowersFollowersItem, type SocialDetailParams, type SocialMindshareItem, type SocialMindshareParams, type SocialRankingItem, type SocialRankingItemProject, type SocialRankingItemToken, type SocialRankingItemTwitter, type SocialRankingParams, type SocialSmartFollowersHistoryItem, type SocialSmartFollowersHistoryParams, type SocialTweetRepliesItem, type SocialTweetRepliesItemAuthor, type SocialTweetRepliesItemMediaItem, type SocialTweetRepliesItemStats, type SocialTweetRepliesParams, type SocialTweetsItem, type SocialTweetsItemAuthor, type SocialTweetsItemMediaItem, type SocialTweetsItemStats, type SocialTweetsParams, type SocialUserData, type SocialUserFollowersItem, type SocialUserFollowersParams, type SocialUserFollowingItem, type SocialUserFollowingParams, type SocialUserParams, type SocialUserPostsItem, type SocialUserPostsItemAuthor, type SocialUserPostsItemMediaItem, type SocialUserPostsItemStats, type SocialUserPostsParams, type SocialUserRepliesItem, type SocialUserRepliesItemAuthor, type SocialUserRepliesItemMediaItem, type SocialUserRepliesItemStats, type SocialUserRepliesParams, type TokenDexTradesItem, type TokenDexTradesParams, type TokenHoldersItem, type TokenHoldersParams, type TokenTokenomicsItem, type TokenTokenomicsItemAllocationsItem, type TokenTokenomicsParams, type TokenTransfersItem, type TokenTransfersParams, type WalletDetailData, type WalletDetailDataActiveChainsItem, type WalletDetailDataApprovalsItem, type WalletDetailDataApprovalsItemSpendersItem, type WalletDetailDataErrorsItem, type WalletDetailDataEvmBalance, type WalletDetailDataEvmBalanceChainBalancesItem, type WalletDetailDataEvmTokensItem, type WalletDetailDataLabels, type WalletDetailDataLabelsLabelsItem, type WalletDetailDataNftItem, type WalletDetailDataSolBalance, type WalletDetailDataSolTokensItem, type WalletDetailParams, type WalletHistoryItem, type WalletHistoryParams, type WalletLabelsBatchItem, type WalletLabelsBatchItemLabelsItem, type WalletLabelsBatchParams, type WalletNetWorthItem, type WalletNetWorthParams, type WalletProtocolsItem, type WalletProtocolsItemPositionsItem, type WalletProtocolsItemPositionsItemBorrowTokensItem, type WalletProtocolsItemPositionsItemLpTokensItem, type WalletProtocolsItemPositionsItemRewardTokensItem, type WalletProtocolsItemPositionsItemSupplyTokensItem, type WalletProtocolsParams, type WalletTransfersItem, type WalletTransfersParams, type WebFetchData, type WebFetchParams, cn, toast, useExchangeDepth, useExchangeFundingHistory, useExchangeKlines, useExchangeLongShortRatio, useExchangeMarkets, useExchangePerp, useExchangePrice, useFundDetail, useInfiniteFundPortfolio, useInfiniteFundRanking, useInfiniteKalshiEvents, useInfiniteKalshiMarkets, useInfiniteKalshiRanking, useInfiniteKalshiTrades, useInfiniteMarketRanking, useInfiniteNewsFeed, useInfiniteOnchainBridgeRanking, useInfiniteOnchainYieldRanking, useInfinitePolymarketActivity, useInfinitePolymarketEvents, useInfinitePolymarketMarkets, useInfinitePolymarketPositions, useInfinitePolymarketRanking, useInfinitePolymarketTrades, useInfinitePredictionMarketCategoryMetrics, useInfiniteProjectDefiMetrics, useInfiniteProjectDefiRanking, useInfiniteSearchAirdrop, useInfiniteSearchEvents, useInfiniteSearchFund, useInfiniteSearchKalshi, useInfiniteSearchPolymarket, useInfiniteSearchProject, useInfiniteSearchSocialPeople, useInfiniteSearchSocialPosts, useInfiniteSearchWallet, useInfiniteSearchWeb, useInfiniteSocialRanking, useInfiniteSocialTweetReplies, useInfiniteSocialUserFollowers, useInfiniteSocialUserFollowing, useInfiniteSocialUserPosts, useInfiniteSocialUserReplies, useInfiniteTokenDexTrades, useInfiniteTokenHolders, useInfiniteTokenTransfers, useInfiniteWalletHistory, useInfiniteWalletProtocols, useInfiniteWalletTransfers, useKalshiOpenInterest, useKalshiPrices, useKalshiVolumes, useMarketEtf, useMarketFearGreed, useMarketFutures, useMarketLiquidationChart, useMarketLiquidationExchangeList, useMarketLiquidationOrder, useMarketOnchainIndicator, useMarketOptions, useMarketPrice, useMarketPriceIndicator, useNewsDetail, useOnchainGasPrice, useOnchainSchema, useOnchainSql, useOnchainStructuredQuery, useOnchainTx, usePolymarketOpenInterest, usePolymarketPrices, usePolymarketVolumes, useProjectDetail, useSearchNews, useSocialDetail, useSocialMindshare, useSocialSmartFollowersHistory, useSocialTweets, useSocialUser, useToast, useTokenTokenomics, useWalletDetail, useWalletLabelsBatch, useWalletNetWorth, useWebFetch };
|
|
3450
|
+
export { type ApiCursorResponse, type ApiObjectResponse, type ApiResponse, type CursorMeta, type ExchangeDepthItem, type ExchangeDepthItemAsksItem, type ExchangeDepthItemBidsItem, type ExchangeDepthParams, type ExchangeFundingHistoryItem, type ExchangeFundingHistoryParams, type ExchangeKlinesItem, type ExchangeKlinesItemCandlesItem, type ExchangeKlinesParams, type ExchangeLongShortRatioItem, type ExchangeLongShortRatioParams, type ExchangeMarketsItem, type ExchangeMarketsParams, type ExchangePerpData, type ExchangePerpDataFunding, type ExchangePerpDataOpenInterest, type ExchangePerpParams, type ExchangePriceItem, type ExchangePriceParams, type FundDetailData, type FundDetailDataLinksItem, type FundDetailDataMembersItem, type FundDetailDataRecentResearchesItem, type FundDetailDataXAccountsItem, type FundDetailParams, type FundPortfolioItem, type FundPortfolioParams, type FundRankingItem, type FundRankingItemTopProjectsItem, type FundRankingParams, type KalshiEventsItem, type KalshiEventsItemMarketsItem, type KalshiEventsParams, type KalshiMarketsItem, type KalshiMarketsParams, type KalshiOpenInterestItem, type KalshiOpenInterestParams, type KalshiPricesItem, type KalshiPricesItemSideA, type KalshiPricesItemSideB, type KalshiPricesParams, type KalshiRankingItem, type KalshiRankingParams, type KalshiTradesItem, type KalshiTradesParams, type KalshiVolumesItem, type KalshiVolumesParams, type MarketEtfItem, type MarketEtfItemEtfsItem, type MarketEtfParams, type MarketFearGreedItem, type MarketFearGreedParams, type MarketFuturesItem, type MarketFuturesParams, type MarketLiquidationChartItem, type MarketLiquidationChartParams, type MarketLiquidationExchangeListItem, type MarketLiquidationExchangeListParams, type MarketLiquidationOrderItem, type MarketLiquidationOrderParams, type MarketOnchainIndicatorItem, type MarketOnchainIndicatorParams, type MarketOptionsItem, type MarketOptionsParams, type MarketPriceIndicatorItem, type MarketPriceIndicatorItemValues, type MarketPriceIndicatorParams, type MarketPriceItem, type MarketPriceParams, type MarketRankingItem, type MarketRankingParams, type NewsDetailData, type NewsDetailParams, type NewsFeedItem, type NewsFeedItemHighlights, type NewsFeedParams, type OnchainBridgeRankingItem, type OnchainBridgeRankingParams, type OnchainGasPriceData, type OnchainGasPriceParams, type OnchainSchemaItem, type OnchainSchemaItemColumnsItem, type OnchainSqlItem, type OnchainSqlParams, type OnchainStructuredQueryItem, type OnchainStructuredQueryParams, type OnchainStructuredQueryParamsFiltersItem, type OnchainStructuredQueryParamsSortItem, type OnchainTxItem, type OnchainTxItemAccesslistItem, type OnchainTxParams, type OnchainYieldRankingItem, type OnchainYieldRankingParams, type PolymarketActivityItem, type PolymarketActivityParams, type PolymarketEventsItem, type PolymarketEventsItemMarketsItem, type PolymarketEventsItemMarketsItemSideA, type PolymarketEventsItemMarketsItemSideB, type PolymarketEventsParams, type PolymarketMarketsItem, type PolymarketMarketsItemSideA, type PolymarketMarketsItemSideB, type PolymarketMarketsParams, type PolymarketOpenInterestItem, type PolymarketOpenInterestParams, type PolymarketPositionsItem, type PolymarketPositionsParams, type PolymarketPricesItem, type PolymarketPricesItemSideA, type PolymarketPricesItemSideB, type PolymarketPricesParams, type PolymarketRankingItem, type PolymarketRankingParams, type PolymarketTradesItem, type PolymarketTradesParams, type PolymarketVolumesItem, type PolymarketVolumesParams, type PredictionMarketCategoryMetricsItem, type PredictionMarketCategoryMetricsParams, type ProjectDefiMetricsItem, type ProjectDefiMetricsParams, type ProjectDefiRankingItem, type ProjectDefiRankingParams, type ProjectDetailData, type ProjectDetailDataContracts, type ProjectDetailDataContractsContractsItem, type ProjectDetailDataFunding, type ProjectDetailDataFundingRoundsItem, type ProjectDetailDataFundingRoundsItemInvestorsItem, type ProjectDetailDataOverview, type ProjectDetailDataSocial, type ProjectDetailDataSocialDiscord, type ProjectDetailDataSocialGithub, type ProjectDetailDataSocialTelegram, type ProjectDetailDataSocialTwitter, type ProjectDetailDataTeam, type ProjectDetailDataTeamMembersItem, type ProjectDetailDataTeamMembersItemSocialLinks, type ProjectDetailDataTgeStatus, type ProjectDetailDataTokenInfo, type ProjectDetailDataTokenomics, type ProjectDetailParams, type ResponseMeta, type SearchAirdropItem, type SearchAirdropItemTaskSummary, type SearchAirdropItemTasksItem, type SearchAirdropParams, type SearchEventsItem, type SearchEventsParams, type SearchFundItem, type SearchFundItemTopProjectsItem, type SearchFundParams, type SearchKalshiItem, type SearchKalshiItemMarketsItem, type SearchKalshiParams, type SearchNewsItem, type SearchNewsItemHighlights, type SearchNewsParams, type SearchPolymarketItem, type SearchPolymarketItemMarketsItem, type SearchPolymarketItemMarketsItemSideA, type SearchPolymarketItemMarketsItemSideB, type SearchPolymarketParams, type SearchProjectItem, type SearchProjectItemTokensItem, type SearchProjectParams, type SearchSocialPeopleItem, type SearchSocialPeopleParams, type SearchSocialPostsItem, type SearchSocialPostsItemAuthor, type SearchSocialPostsItemMediaItem, type SearchSocialPostsItemStats, type SearchSocialPostsParams, type SearchWalletItem, type SearchWalletItemAddressesItem, type SearchWalletParams, type SearchWebItem, type SearchWebParams, type SocialDetailData, type SocialDetailDataFollowerGeo, type SocialDetailDataFollowerGeoLocationsItem, type SocialDetailDataSentiment, type SocialDetailDataSmartFollowers, type SocialDetailDataSmartFollowersFollowersItem, type SocialDetailParams, type SocialMindshareItem, type SocialMindshareParams, type SocialRankingItem, type SocialRankingItemProject, type SocialRankingItemToken, type SocialRankingItemTwitter, type SocialRankingParams, type SocialSmartFollowersHistoryItem, type SocialSmartFollowersHistoryParams, type SocialTweetRepliesItem, type SocialTweetRepliesItemAuthor, type SocialTweetRepliesItemMediaItem, type SocialTweetRepliesItemStats, type SocialTweetRepliesParams, type SocialTweetsItem, type SocialTweetsItemAuthor, type SocialTweetsItemMediaItem, type SocialTweetsItemStats, type SocialTweetsParams, type SocialUserData, type SocialUserFollowersItem, type SocialUserFollowersParams, type SocialUserFollowingItem, type SocialUserFollowingParams, type SocialUserParams, type SocialUserPostsItem, type SocialUserPostsItemAuthor, type SocialUserPostsItemMediaItem, type SocialUserPostsItemStats, type SocialUserPostsParams, type SocialUserRepliesItem, type SocialUserRepliesItemAuthor, type SocialUserRepliesItemMediaItem, type SocialUserRepliesItemStats, type SocialUserRepliesParams, type TokenDexTradesItem, type TokenDexTradesParams, type TokenHoldersItem, type TokenHoldersParams, type TokenTokenomicsItem, type TokenTokenomicsItemAllocationsItem, type TokenTokenomicsParams, type TokenTransfersItem, type TokenTransfersParams, type WalletDetailData, type WalletDetailDataActiveChainsItem, type WalletDetailDataApprovalsItem, type WalletDetailDataApprovalsItemSpendersItem, type WalletDetailDataErrorsItem, type WalletDetailDataEvmBalance, type WalletDetailDataEvmBalanceChainBalancesItem, type WalletDetailDataEvmTokensItem, type WalletDetailDataLabels, type WalletDetailDataLabelsLabelsItem, type WalletDetailDataNftItem, type WalletDetailDataSolBalance, type WalletDetailDataSolTokensItem, type WalletDetailParams, type WalletHistoryItem, type WalletHistoryParams, type WalletLabelsBatchItem, type WalletLabelsBatchItemLabelsItem, type WalletLabelsBatchParams, type WalletNetWorthItem, type WalletNetWorthParams, type WalletProtocolsItem, type WalletProtocolsItemPositionsItem, type WalletProtocolsItemPositionsItemBorrowTokensItem, type WalletProtocolsItemPositionsItemLpTokensItem, type WalletProtocolsItemPositionsItemRewardTokensItem, type WalletProtocolsItemPositionsItemSupplyTokensItem, type WalletProtocolsParams, type WalletTransfersItem, type WalletTransfersParams, type WebFetchData, type WebFetchParams, cn, toast, useExchangeDepth, useExchangeFundingHistory, useExchangeKlines, useExchangeLongShortRatio, useExchangeMarkets, useExchangePerp, useExchangePrice, useFundDetail, useInfiniteFundPortfolio, useInfiniteFundRanking, useInfiniteKalshiEvents, useInfiniteKalshiMarkets, useInfiniteKalshiOpenInterest, useInfiniteKalshiPrices, useInfiniteKalshiRanking, useInfiniteKalshiTrades, useInfiniteKalshiVolumes, useInfiniteMarketRanking, useInfiniteNewsFeed, useInfiniteOnchainBridgeRanking, useInfiniteOnchainSchema, useInfiniteOnchainSql, useInfiniteOnchainStructuredQuery, useInfiniteOnchainTx, useInfiniteOnchainYieldRanking, useInfinitePolymarketActivity, useInfinitePolymarketEvents, useInfinitePolymarketMarkets, useInfinitePolymarketOpenInterest, useInfinitePolymarketPositions, useInfinitePolymarketPrices, useInfinitePolymarketRanking, useInfinitePolymarketTrades, useInfinitePolymarketVolumes, useInfinitePredictionMarketCategoryMetrics, useInfiniteProjectDefiMetrics, useInfiniteProjectDefiRanking, useInfiniteSearchAirdrop, useInfiniteSearchEvents, useInfiniteSearchFund, useInfiniteSearchKalshi, useInfiniteSearchNews, useInfiniteSearchPolymarket, useInfiniteSearchProject, useInfiniteSearchSocialPeople, useInfiniteSearchSocialPosts, useInfiniteSearchWallet, useInfiniteSearchWeb, useInfiniteSocialMindshare, useInfiniteSocialRanking, useInfiniteSocialSmartFollowersHistory, useInfiniteSocialTweetReplies, useInfiniteSocialTweets, useInfiniteSocialUserFollowers, useInfiniteSocialUserFollowing, useInfiniteSocialUserPosts, useInfiniteSocialUserReplies, useInfiniteTokenDexTrades, useInfiniteTokenHolders, useInfiniteTokenTokenomics, useInfiniteTokenTransfers, useInfiniteWalletHistory, useInfiniteWalletLabelsBatch, useInfiniteWalletNetWorth, useInfiniteWalletProtocols, useInfiniteWalletTransfers, useMarketEtf, useMarketFearGreed, useMarketFutures, useMarketLiquidationChart, useMarketLiquidationExchangeList, useMarketLiquidationOrder, useMarketOnchainIndicator, useMarketOptions, useMarketPrice, useMarketPriceIndicator, useNewsDetail, useOnchainGasPrice, useProjectDetail, useSocialDetail, useSocialUser, useToast, useWalletDetail, useWebFetch };
|