@surf-ai/sdk 0.1.4 → 0.1.6-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +223 -0
- package/dist/db/index.cjs +1 -1
- package/dist/db/index.d.cts +3 -0
- package/dist/db/index.d.ts +3 -0
- package/dist/db/index.js +1 -1
- package/dist/react/index.d.ts +284 -84
- package/dist/react/index.js +148 -65
- package/dist/server/index.cjs +113 -89
- package/dist/server/index.d.cts +195 -1
- package/dist/server/index.d.ts +195 -1
- package/dist/server/index.js +111 -89
- package/package.json +1 -1
package/dist/react/index.d.ts
CHANGED
|
@@ -180,7 +180,7 @@ interface ExchangeLongShortRatioParams {
|
|
|
180
180
|
from?: string;
|
|
181
181
|
/** Max number of records. For longer history, paginate using the last returned timestamp as the next from value. — @default '50' */
|
|
182
182
|
limit?: number;
|
|
183
|
-
/** Exchange identifier — @default '
|
|
183
|
+
/** Exchange identifier — @default 'bitget' */
|
|
184
184
|
exchange?: 'binance' | 'okx' | 'bybit' | 'bitget';
|
|
185
185
|
}
|
|
186
186
|
interface ExchangeMarketsItem {
|
|
@@ -1267,6 +1267,130 @@ interface KalshiVolumesParams {
|
|
|
1267
1267
|
/** Predefined time range: `7d`, `30d`, `90d`, `180d`, or `1y` — @default '30d' */
|
|
1268
1268
|
time_range?: '7d' | '30d' | '90d' | '180d' | '1y';
|
|
1269
1269
|
}
|
|
1270
|
+
interface MatchingMarketDailyItem {
|
|
1271
|
+
/** Kalshi open interest (contracts) */
|
|
1272
|
+
kalshi_oi_contracts: number;
|
|
1273
|
+
/** Kalshi daily volume (contracts) */
|
|
1274
|
+
kalshi_volume_contracts: number;
|
|
1275
|
+
/** Polymarket open interest (USD) */
|
|
1276
|
+
polymarket_oi_usd: number;
|
|
1277
|
+
/** Polymarket daily volume (USD) */
|
|
1278
|
+
polymarket_volume_usd: number;
|
|
1279
|
+
/** Unix timestamp (midnight UTC) */
|
|
1280
|
+
timestamp: number;
|
|
1281
|
+
}
|
|
1282
|
+
interface MatchingMarketDailyParams {
|
|
1283
|
+
/** Polymarket condition ID */
|
|
1284
|
+
polymarket_condition_id: string;
|
|
1285
|
+
/** Kalshi market ticker */
|
|
1286
|
+
kalshi_market_ticker: string;
|
|
1287
|
+
/** Time range — @default '30d' */
|
|
1288
|
+
time_range?: '1d' | '7d' | '30d' | '90d' | '180d' | '1y' | 'all';
|
|
1289
|
+
/** Maximum rows — @default '200' */
|
|
1290
|
+
limit?: number;
|
|
1291
|
+
/** Pagination offset — @default '0' */
|
|
1292
|
+
offset?: number;
|
|
1293
|
+
}
|
|
1294
|
+
interface MatchingMarketFindItem {
|
|
1295
|
+
/** Market category */
|
|
1296
|
+
category: string;
|
|
1297
|
+
/** Match confidence score (75-100) */
|
|
1298
|
+
confidence: number;
|
|
1299
|
+
kalshi: MatchingMarketFindItemKalshi;
|
|
1300
|
+
/** Match type: exact or related */
|
|
1301
|
+
match_type: string;
|
|
1302
|
+
polymarket: MatchingMarketFindItemPolymarket;
|
|
1303
|
+
}
|
|
1304
|
+
interface MatchingMarketFindItemKalshi {
|
|
1305
|
+
/** Kalshi event ticker */
|
|
1306
|
+
event_ticker: string;
|
|
1307
|
+
/** Kalshi market ticker */
|
|
1308
|
+
market_ticker: string;
|
|
1309
|
+
/** Open interest in contracts */
|
|
1310
|
+
open_interest: number;
|
|
1311
|
+
/** Market status */
|
|
1312
|
+
status: string;
|
|
1313
|
+
/** Market title */
|
|
1314
|
+
title: string;
|
|
1315
|
+
/** Total volume in contracts */
|
|
1316
|
+
volume_contracts: number;
|
|
1317
|
+
}
|
|
1318
|
+
interface MatchingMarketFindItemPolymarket {
|
|
1319
|
+
/** Polymarket condition identifier */
|
|
1320
|
+
condition_id: string;
|
|
1321
|
+
/** Event slug identifier */
|
|
1322
|
+
event_slug: string;
|
|
1323
|
+
/** Whether the market is currently active */
|
|
1324
|
+
is_active: boolean;
|
|
1325
|
+
/** Market question text */
|
|
1326
|
+
question: string;
|
|
1327
|
+
/** Total trading volume (USD) */
|
|
1328
|
+
volume_usd: number;
|
|
1329
|
+
}
|
|
1330
|
+
interface MatchingMarketFindParams {
|
|
1331
|
+
/** Polymarket condition ID to find match for */
|
|
1332
|
+
polymarket_condition_id?: string;
|
|
1333
|
+
/** Kalshi market ticker to find match for */
|
|
1334
|
+
kalshi_market_ticker?: string;
|
|
1335
|
+
/** Maximum rows to return — @default '20' */
|
|
1336
|
+
limit?: number;
|
|
1337
|
+
/** Pagination offset — @default '0' */
|
|
1338
|
+
offset?: number;
|
|
1339
|
+
}
|
|
1340
|
+
interface MatchingMarketPairsItem {
|
|
1341
|
+
/** Market category */
|
|
1342
|
+
category: string;
|
|
1343
|
+
/** Match confidence score (75-100) */
|
|
1344
|
+
confidence: number;
|
|
1345
|
+
kalshi: MatchingMarketPairsItemKalshi;
|
|
1346
|
+
/** Match type: exact or related */
|
|
1347
|
+
match_type: string;
|
|
1348
|
+
polymarket: MatchingMarketPairsItemPolymarket;
|
|
1349
|
+
}
|
|
1350
|
+
interface MatchingMarketPairsItemKalshi {
|
|
1351
|
+
/** Kalshi event ticker */
|
|
1352
|
+
event_ticker: string;
|
|
1353
|
+
/** Kalshi market ticker */
|
|
1354
|
+
market_ticker: string;
|
|
1355
|
+
/** Open interest in contracts */
|
|
1356
|
+
open_interest: number;
|
|
1357
|
+
/** Market status */
|
|
1358
|
+
status: string;
|
|
1359
|
+
/** Market title */
|
|
1360
|
+
title: string;
|
|
1361
|
+
/** Total volume in contracts */
|
|
1362
|
+
volume_contracts: number;
|
|
1363
|
+
}
|
|
1364
|
+
interface MatchingMarketPairsItemPolymarket {
|
|
1365
|
+
/** Polymarket condition identifier */
|
|
1366
|
+
condition_id: string;
|
|
1367
|
+
/** Event slug identifier */
|
|
1368
|
+
event_slug: string;
|
|
1369
|
+
/** Whether the market is currently active */
|
|
1370
|
+
is_active: boolean;
|
|
1371
|
+
/** Market question text */
|
|
1372
|
+
question: string;
|
|
1373
|
+
/** Total trading volume (USD) */
|
|
1374
|
+
volume_usd: number;
|
|
1375
|
+
}
|
|
1376
|
+
interface MatchingMarketPairsParams {
|
|
1377
|
+
/** Filter by category */
|
|
1378
|
+
category?: 'crypto' | 'culture' | 'economics' | 'financials' | 'politics' | 'stem' | 'sports';
|
|
1379
|
+
/** Filter by match type */
|
|
1380
|
+
match_type?: 'exact' | 'related';
|
|
1381
|
+
/** Only return pairs where both markets are currently active — @default 'False' */
|
|
1382
|
+
active_only?: boolean;
|
|
1383
|
+
/** Minimum confidence score (0-100) — @default '0' */
|
|
1384
|
+
min_confidence?: number;
|
|
1385
|
+
/** Sort field — @default 'confidence' */
|
|
1386
|
+
sort_by?: 'confidence' | 'polymarket_volume' | 'kalshi_volume';
|
|
1387
|
+
/** Sort order — @default 'desc' */
|
|
1388
|
+
order?: 'asc' | 'desc';
|
|
1389
|
+
/** Maximum rows to return — @default '20' */
|
|
1390
|
+
limit?: number;
|
|
1391
|
+
/** Pagination offset — @default '0' */
|
|
1392
|
+
offset?: number;
|
|
1393
|
+
}
|
|
1270
1394
|
interface PolymarketActivityItem {
|
|
1271
1395
|
/** Market condition identifier */
|
|
1272
1396
|
condition_id: string;
|
|
@@ -3266,185 +3390,261 @@ interface WebFetchParams {
|
|
|
3266
3390
|
/** Request timeout in milliseconds — @default '30000' */
|
|
3267
3391
|
timeout?: number;
|
|
3268
3392
|
}
|
|
3393
|
+
interface V2KalshiOrderbooksItem {
|
|
3394
|
+
}
|
|
3395
|
+
interface V2KalshiOrderbooksParams {
|
|
3396
|
+
/** Kalshi market ticker */
|
|
3397
|
+
ticker: string;
|
|
3398
|
+
/** Start time in Unix milliseconds. 0 means 7 days ago. */
|
|
3399
|
+
start_time?: number;
|
|
3400
|
+
/** End time in Unix milliseconds. 0 means current time. */
|
|
3401
|
+
end_time?: number;
|
|
3402
|
+
/** Maximum number of snapshots to return — @default '100' */
|
|
3403
|
+
limit?: number;
|
|
3404
|
+
/** Base64 cursor for pagination */
|
|
3405
|
+
pagination_key?: string;
|
|
3406
|
+
}
|
|
3407
|
+
interface V2PolymarketCandlesticksItem {
|
|
3408
|
+
}
|
|
3409
|
+
interface V2PolymarketCandlesticksParams {
|
|
3410
|
+
/** Start time (Unix seconds). 0 means no lower bound. */
|
|
3411
|
+
start_time?: number;
|
|
3412
|
+
/** End time (Unix seconds). 0 means current time. */
|
|
3413
|
+
end_time?: number;
|
|
3414
|
+
/** Candle interval in minutes: 1=1min, 60=1hour, 1440=1day — @default '60' */
|
|
3415
|
+
interval?: number;
|
|
3416
|
+
}
|
|
3417
|
+
interface V2PolymarketVolumeTimeseriesItem {
|
|
3418
|
+
}
|
|
3419
|
+
interface V2PolymarketVolumeTimeseriesParams {
|
|
3420
|
+
/** Time granularity for aggregation — @default 'day' */
|
|
3421
|
+
granularity?: 'day' | 'week' | 'month' | 'year' | 'all';
|
|
3422
|
+
/** Start time (Unix seconds). 0 means no lower bound. */
|
|
3423
|
+
start_time?: number;
|
|
3424
|
+
/** End time (Unix seconds). 0 means current time. */
|
|
3425
|
+
end_time?: number;
|
|
3426
|
+
}
|
|
3427
|
+
interface V2PolymarketOrderbooksItem {
|
|
3428
|
+
}
|
|
3429
|
+
interface V2PolymarketOrderbooksParams {
|
|
3430
|
+
/** Token identifier */
|
|
3431
|
+
token_id: string;
|
|
3432
|
+
/** Start time in Unix milliseconds. 0 means 7 days ago. */
|
|
3433
|
+
start_time?: number;
|
|
3434
|
+
/** End time in Unix milliseconds. 0 means current time. */
|
|
3435
|
+
end_time?: number;
|
|
3436
|
+
/** Maximum number of snapshots to return — @default '100' */
|
|
3437
|
+
limit?: number;
|
|
3438
|
+
/** Base64 cursor for pagination */
|
|
3439
|
+
pagination_key?: string;
|
|
3440
|
+
}
|
|
3441
|
+
interface V2PolymarketVolumeChartItem {
|
|
3442
|
+
}
|
|
3443
|
+
interface V2PolymarketVolumeChartParams {
|
|
3444
|
+
/** Time granularity for volume aggregation — @default 'hour' */
|
|
3445
|
+
granularity?: 'hour' | 'day' | 'week';
|
|
3446
|
+
/** Start time (Unix seconds). 0 means no lower bound. */
|
|
3447
|
+
start_time?: number;
|
|
3448
|
+
/** End time (Unix seconds). 0 means current time. */
|
|
3449
|
+
end_time?: number;
|
|
3450
|
+
}
|
|
3269
3451
|
|
|
3270
|
-
/**
|
|
3452
|
+
/** Returns order book bid/ask levels with computed stats. **Included fields:** 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. */
|
|
3271
3453
|
declare function useExchangeDepth(params: ExchangeDepthParams): _tanstack_react_query.UseQueryResult<ApiResponse<ExchangeDepthItem>, Error>;
|
|
3272
|
-
/**
|
|
3454
|
+
/** Returns historical funding rate records for a perpetual contract. **Pagination:** use `from` to set the start time and `limit` to control result count. For longer history, pass 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`. */
|
|
3273
3455
|
declare function useExchangeFundingHistory(params: ExchangeFundingHistoryParams): _tanstack_react_query.UseQueryResult<ApiResponse<ExchangeFundingHistoryItem>, Error>;
|
|
3274
|
-
/**
|
|
3456
|
+
/** Returns OHLCV candlestick data with period summary stats (high, low, total volume). **Intervals:** 15 options from `1m` to `1M`. **Pagination:** use `from` to set the start time and `limit` to control candle count. For longer ranges, pass 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. */
|
|
3275
3457
|
declare function useExchangeKlines(params: ExchangeKlinesParams): _tanstack_react_query.UseQueryResult<ApiResponse<ExchangeKlinesItem>, Error>;
|
|
3276
|
-
/**
|
|
3458
|
+
/** Returns historical long/short ratio for a perpetual contract. **Included fields:** ratio value, long account percentage, short account percentage. **Granularity:** `interval` supports `1h`, `4h`, `1d`. **Pagination:** use `from` for start time and `limit` for result count. For longer history, pass 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`. */
|
|
3277
3459
|
declare function useExchangeLongShortRatio(params: ExchangeLongShortRatioParams): _tanstack_react_query.UseQueryResult<ApiResponse<ExchangeLongShortRatioItem>, Error>;
|
|
3278
|
-
/**
|
|
3460
|
+
/** Returns trading pairs available on an exchange. **Filters:** `type` (`spot`, `swap`, `future`, `option`) or free-text `search`. **Included fields:** 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. */
|
|
3279
3461
|
declare function useExchangeMarkets(params?: ExchangeMarketsParams): _tanstack_react_query.UseQueryResult<ApiResponse<ExchangeMarketsItem>, Error>;
|
|
3280
|
-
/**
|
|
3462
|
+
/** Returns a combined snapshot of perpetual contract data for a pair. **Available fields** (via `fields`): - `funding` — current funding rate, next settlement, mark/index price - `oi` — open interest in contracts and USD Just pass the base pair (e.g. `pair=BTC/USDT`). The `:USDT` swap suffix is added automatically. */
|
|
3281
3463
|
declare function useExchangePerp(params: ExchangePerpParams): _tanstack_react_query.UseQueryResult<ApiObjectResponse<ExchangePerpData>, Error>;
|
|
3282
|
-
/**
|
|
3464
|
+
/** Returns the real-time ticker for a trading pair. **Included fields:** last price, bid/ask, 24h high/low, 24h volume, 24h price change. Set `type=swap` to query perpetual contract prices instead of spot. For historical price trends, use `/market/price`. */
|
|
3283
3465
|
declare function useExchangePrice(params: ExchangePriceParams): _tanstack_react_query.UseQueryResult<ApiResponse<ExchangePriceItem>, Error>;
|
|
3284
3466
|
|
|
3285
|
-
/**
|
|
3467
|
+
/** Returns a fund's **profile metadata**. **Included fields:** X accounts, team members, recent research, 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. */
|
|
3286
3468
|
declare function useFundDetail(params?: FundDetailParams): _tanstack_react_query.UseQueryResult<ApiObjectResponse<FundDetailData>, Error>;
|
|
3287
|
-
/**
|
|
3469
|
+
/** Returns 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. **Included fields:** project name, logo, date, raise amount, lead investor status. **Lookup:** by UUID (`id`) or name (`q`). */
|
|
3288
3470
|
declare function useInfiniteFundPortfolio(params?: Omit<FundPortfolioParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<FundPortfolioItem>, unknown>, Error>;
|
|
3289
|
-
/**
|
|
3471
|
+
/** Returns top-ranked funds by a specified metric. **Available metrics:** `tier` (lower is better), `portfolio_count` (number of invested projects). */
|
|
3290
3472
|
declare function useInfiniteFundRanking(params: Omit<FundRankingParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<FundRankingItem>, unknown>, Error>;
|
|
3291
3473
|
|
|
3292
|
-
/**
|
|
3474
|
+
/** Returns Kalshi events with nested markets, optionally filtered by `event_ticker`. Each event includes market count and a list of markets. **Data refresh:** ~30 minutes */
|
|
3293
3475
|
declare function useInfiniteKalshiEvents(params: Omit<KalshiEventsParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<KalshiEventsItem>, unknown>, Error>;
|
|
3294
|
-
/**
|
|
3476
|
+
/** Returns Kalshi markets, optionally filtered by `market_ticker`. Each market includes price, volume, and status. **Data refresh:** ~30 minutes */
|
|
3295
3477
|
declare function useInfiniteKalshiMarkets(params: Omit<KalshiMarketsParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<KalshiMarketsItem>, unknown>, Error>;
|
|
3296
|
-
/**
|
|
3478
|
+
/** Returns daily open interest history for a Kalshi market, filtered by `time_range`. **Data refresh:** ~30 minutes */
|
|
3297
3479
|
declare function useInfiniteKalshiOpenInterest(params: Omit<KalshiOpenInterestParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<KalshiOpenInterestItem>, unknown>, Error>;
|
|
3298
|
-
/**
|
|
3480
|
+
/** Returns price history for a Kalshi market. **Interval options:** - `interval=1d` — daily OHLC from market reports (~30 min delay) - `interval=latest` — real-time price from trades **Data refresh:** ~30 minutes (daily), real-time (latest) */
|
|
3299
3481
|
declare function useInfiniteKalshiPrices(params: Omit<KalshiPricesParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<KalshiPricesItem>, unknown>, Error>;
|
|
3300
|
-
/**
|
|
3482
|
+
/** Returns top-ranked Kalshi markets by last day's `notional_volume_usd` or `open_interest`. **Filters:** `status`. **Data refresh:** ~30 minutes */
|
|
3301
3483
|
declare function useInfiniteKalshiRanking(params?: Omit<KalshiRankingParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<KalshiRankingItem>, unknown>, Error>;
|
|
3302
|
-
/**
|
|
3484
|
+
/** Returns individual trade records for a Kalshi market. **Filters:** `taker_side`, `min_contracts`, and date range. **Sort:** `timestamp` or `num_contracts`. **Data refresh:** real-time */
|
|
3303
3485
|
declare function useInfiniteKalshiTrades(params: Omit<KalshiTradesParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<KalshiTradesItem>, unknown>, Error>;
|
|
3304
|
-
/**
|
|
3486
|
+
/** Returns daily trading volume history for a Kalshi market, filtered by `time_range`. **Data refresh:** ~30 minutes */
|
|
3305
3487
|
declare function useInfiniteKalshiVolumes(params: Omit<KalshiVolumesParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<KalshiVolumesItem>, unknown>, Error>;
|
|
3306
3488
|
|
|
3307
|
-
/**
|
|
3489
|
+
/** Returns daily ETF flow history for US spot ETFs. **Included fields:** net flow (USD), token price, per-ticker breakdown. Sorted by date descending. `symbol`: `BTC` or `ETH`. */
|
|
3308
3490
|
declare function useMarketEtf(params: MarketEtfParams): _tanstack_react_query.UseQueryResult<ApiResponse<MarketEtfItem>, Error>;
|
|
3309
|
-
/**
|
|
3491
|
+
/** Returns Bitcoin Fear & Greed Index history. **Included fields:** index value (0-100), classification label, BTC price at each data point. Sorted newest-first. Use `from`/`to` to filter by date range. */
|
|
3310
3492
|
declare function useMarketFearGreed(params?: MarketFearGreedParams): _tanstack_react_query.UseQueryResult<ApiResponse<MarketFearGreedItem>, Error>;
|
|
3311
|
-
/**
|
|
3493
|
+
/** Returns futures market data across all tracked tokens. **Included fields:** open interest, funding rate, long/short ratio, 24h volume. Sorted by `volume_24h` by default — use `sort_by` to change. */
|
|
3312
3494
|
declare function useMarketFutures(params?: MarketFuturesParams): _tanstack_react_query.UseQueryResult<ApiResponse<MarketFuturesItem>, Error>;
|
|
3313
|
-
/**
|
|
3495
|
+
/** Returns OHLC-style aggregated liquidation data for a token on a specific exchange. **Filters:** `symbol`, `exchange`, `interval`. Useful for charting liquidation volume over time. */
|
|
3314
3496
|
declare function useMarketLiquidationChart(params: MarketLiquidationChartParams): _tanstack_react_query.UseQueryResult<ApiResponse<MarketLiquidationChartItem>, Error>;
|
|
3315
|
-
/**
|
|
3497
|
+
/** Returns liquidation breakdown by exchange. **Included fields:** total, long, and short volumes in USD. **Filters:** `symbol` and `time_range` (`1h`, `4h`, `12h`, `24h`). */
|
|
3316
3498
|
declare function useMarketLiquidationExchangeList(params?: MarketLiquidationExchangeListParams): _tanstack_react_query.UseQueryResult<ApiResponse<MarketLiquidationExchangeListItem>, Error>;
|
|
3317
|
-
/**
|
|
3499
|
+
/** Returns individual large liquidation orders above a USD threshold (`min_amount`, default 10000). **Filters:** `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`. */
|
|
3318
3500
|
declare function useMarketLiquidationOrder(params?: MarketLiquidationOrderParams): _tanstack_react_query.UseQueryResult<ApiResponse<MarketLiquidationOrderItem>, Error>;
|
|
3319
|
-
/**
|
|
3501
|
+
/** Returns on-chain indicator time-series for BTC or ETH. **Available metrics:** `nupl`, `sopr`, `mvrv`, `puell-multiple`, `nvm`, `nvt`, `nvt-golden-cross`, `exchange-flows` (inflow/outflow/netflow/reserve). */
|
|
3320
3502
|
declare function useMarketOnchainIndicator(params: MarketOnchainIndicatorParams): _tanstack_react_query.UseQueryResult<ApiResponse<MarketOnchainIndicatorItem>, Error>;
|
|
3321
|
-
/**
|
|
3503
|
+
/** Returns options market data for a `symbol`. **Included fields:** open interest, volume, put/call ratio, max pain price. */
|
|
3322
3504
|
declare function useMarketOptions(params: MarketOptionsParams): _tanstack_react_query.UseQueryResult<ApiResponse<MarketOptionsItem>, Error>;
|
|
3323
|
-
/**
|
|
3505
|
+
/** Returns historical price data points for a token over a specified time range. **Time range options:** - Predefined: `1d`, `7d`, `14d`, `30d`, `90d`, `180d`, `365d`, `max` - Custom: use `from` / `to` (Unix seconds or `YYYY-MM-DD`) **Granularity** is automatic based on range: - `1d` → 5-minute intervals - `7d`–`90d` → hourly - `180d`+ → daily */
|
|
3324
3506
|
declare function useMarketPrice(params: MarketPriceParams): _tanstack_react_query.UseQueryResult<ApiResponse<MarketPriceItem>, Error>;
|
|
3325
|
-
/**
|
|
3507
|
+
/** Returns a technical indicator for a trading pair on a given exchange and interval. **Modes:** - Set `from`/`to` for time-series - Omit for latest value only **Indicator-specific tuning** via `options` (e.g. `period:7`, `fast_period:8,slow_period:21,signal_period:5`, `period:10,stddev:1.5`). **Available indicators:** `rsi`, `macd`, `ema`, `sma`, `bbands`, `stoch`, `adx`, `atr`, `cci`, `obv`, `vwap`, `dmi`, `ichimoku`, `supertrend`. */
|
|
3326
3508
|
declare function useMarketPriceIndicator(params: MarketPriceIndicatorParams): _tanstack_react_query.UseQueryResult<ApiResponse<MarketPriceIndicatorItem>, Error>;
|
|
3327
|
-
/**
|
|
3509
|
+
/** Returns tokens ranked by a specified 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`. */
|
|
3328
3510
|
declare function useInfiniteMarketRanking(params?: Omit<MarketRankingParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<MarketRankingItem>, unknown>, Error>;
|
|
3329
3511
|
|
|
3512
|
+
/** Returns daily volume and open interest comparison for a specific matched market pair. Both `polymarket_condition_id` and `kalshi_market_ticker` are required. **Volume units:** Polymarket = USD, Kalshi = contracts. */
|
|
3513
|
+
declare function useInfiniteMatchingMarketDaily(params: Omit<MatchingMarketDailyParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<MatchingMarketDailyItem>, unknown>, Error>;
|
|
3514
|
+
/** Given a Polymarket condition_id or Kalshi market_ticker, find the corresponding match on the other platform. Provide at least one of `polymarket_condition_id` or `kalshi_market_ticker`. When both are provided, results are filtered to pairs matching both (useful for verifying a specific pair). */
|
|
3515
|
+
declare function useInfiniteMatchingMarketFind(params?: Omit<MatchingMarketFindParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<MatchingMarketFindItem>, unknown>, Error>;
|
|
3516
|
+
/** Returns one-to-one matched market pairs between Polymarket and Kalshi. Each pair maps a Polymarket condition_id to a Kalshi market_ticker with a confidence score. **Volume units differ:** Polymarket = USD, Kalshi = contracts ($1 binary options). **Data refresh:** seed-driven, updated periodically. */
|
|
3517
|
+
declare function useInfiniteMatchingMarketPairs(params?: Omit<MatchingMarketPairsParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<MatchingMarketPairsItem>, unknown>, Error>;
|
|
3518
|
+
|
|
3330
3519
|
/** Returns the full content of a single news article by its ID (returned as `id` in feed and search results). */
|
|
3331
3520
|
declare function useNewsDetail(params: NewsDetailParams): _tanstack_react_query.UseQueryResult<ApiObjectResponse<NewsDetailData>, Error>;
|
|
3332
|
-
/**
|
|
3521
|
+
/** Returns crypto news from major sources. **Filters:** `source` (enum), `project`, and time range (`from`/`to`). **Sort:** `recency` (default) or `trending`. Use the detail endpoint with article `id` for full content. */
|
|
3333
3522
|
declare function useInfiniteNewsFeed(params?: Omit<NewsFeedParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<NewsFeedItem>, unknown>, Error>;
|
|
3334
3523
|
|
|
3335
|
-
/**
|
|
3524
|
+
/** Returns bridge protocols ranked by total USD volume over a specified time range. */
|
|
3336
3525
|
declare function useInfiniteOnchainBridgeRanking(params?: Omit<OnchainBridgeRankingParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<OnchainBridgeRankingItem>, unknown>, Error>;
|
|
3337
|
-
/**
|
|
3526
|
+
/** Returns the current gas price for an EVM chain via `eth_gasPrice` JSON-RPC. **Included fields:** gas price in both wei (raw) and Gwei (human-readable). **Supported chains:** `ethereum`, `polygon`, `bsc`, `arbitrum`, `optimism`, `base`, `avalanche`, `fantom`, `linea`, `cyber`. */
|
|
3338
3527
|
declare function useOnchainGasPrice(params: OnchainGasPriceParams): _tanstack_react_query.UseQueryResult<ApiObjectResponse<OnchainGasPriceData>, Error>;
|
|
3339
|
-
/**
|
|
3528
|
+
/** Executes 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. **Key rules:** - **Source format:** `agent.<table_name>` (e.g. `agent.ethereum_transactions`, `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
3529
|
declare function useInfiniteOnchainStructuredQuery(params: Omit<OnchainStructuredQueryParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<OnchainStructuredQueryItem>, unknown>, Error>;
|
|
3341
|
-
/**
|
|
3530
|
+
/** Returns table metadata for all available on-chain databases. **Included fields:** database name, table name, column names, types, and comments. */
|
|
3342
3531
|
declare function useInfiniteOnchainSchema(): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<OnchainSchemaItem>, unknown>, Error>;
|
|
3343
|
-
/**
|
|
3532
|
+
/** Executes 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
3533
|
declare function useInfiniteOnchainSql(params: Omit<OnchainSqlParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<OnchainSqlItem>, unknown>, Error>;
|
|
3345
|
-
/**
|
|
3534
|
+
/** Returns 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. */
|
|
3346
3535
|
declare function useInfiniteOnchainTx(params: Omit<OnchainTxParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<OnchainTxItem>, unknown>, Error>;
|
|
3347
|
-
/**
|
|
3536
|
+
/** Returns DeFi yield pools ranked by APY or TVL. Returns the latest snapshot. Filter by protocol. */
|
|
3348
3537
|
declare function useInfiniteOnchainYieldRanking(params?: Omit<OnchainYieldRankingParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<OnchainYieldRankingItem>, unknown>, Error>;
|
|
3349
3538
|
|
|
3350
|
-
/**
|
|
3539
|
+
/** Returns trade and redemption activity for a Polymarket wallet. **Data refresh:** ~30 minutes */
|
|
3351
3540
|
declare function useInfinitePolymarketActivity(params: Omit<PolymarketActivityParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<PolymarketActivityItem>, unknown>, Error>;
|
|
3352
|
-
/**
|
|
3541
|
+
/** Returns 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 */
|
|
3353
3542
|
declare function useInfinitePolymarketEvents(params: Omit<PolymarketEventsParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<PolymarketEventsItem>, unknown>, Error>;
|
|
3354
|
-
/**
|
|
3543
|
+
/** Returns 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 */
|
|
3355
3544
|
declare function useInfinitePolymarketMarkets(params: Omit<PolymarketMarketsParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<PolymarketMarketsItem>, unknown>, Error>;
|
|
3356
|
-
/**
|
|
3545
|
+
/** Returns daily open interest history for a Polymarket market. **Data refresh:** ~30 minutes */
|
|
3357
3546
|
declare function useInfinitePolymarketOpenInterest(params: Omit<PolymarketOpenInterestParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<PolymarketOpenInterestItem>, unknown>, Error>;
|
|
3358
|
-
/**
|
|
3547
|
+
/** Returns wallet positions on Polymarket markets. **Data refresh:** ~30 minutes */
|
|
3359
3548
|
declare function useInfinitePolymarketPositions(params: Omit<PolymarketPositionsParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<PolymarketPositionsItem>, unknown>, Error>;
|
|
3360
|
-
/**
|
|
3549
|
+
/** Returns aggregated price history for a Polymarket market. Use `interval=latest` for the most recent price snapshot. **Data refresh:** ~30 minutes */
|
|
3361
3550
|
declare function useInfinitePolymarketPrices(params: Omit<PolymarketPricesParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<PolymarketPricesItem>, unknown>, Error>;
|
|
3362
|
-
/**
|
|
3551
|
+
/** Returns top-ranked Polymarket markets. **Sort by:** `volume_24h`, `volume_7d`, `open_interest`, or `trade_count`. **Filters:** `status` and `end_before`. **Data refresh:** ~30 minutes */
|
|
3363
3552
|
declare function useInfinitePolymarketRanking(params?: Omit<PolymarketRankingParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<PolymarketRankingItem>, unknown>, Error>;
|
|
3364
|
-
/**
|
|
3553
|
+
/** Returns paginated trade records for a Polymarket market or wallet. **Filters:** `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:** `newest`, `oldest`, or `largest`. **Data refresh:** ~30 minutes */
|
|
3365
3554
|
declare function useInfinitePolymarketTrades(params?: Omit<PolymarketTradesParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<PolymarketTradesItem>, unknown>, Error>;
|
|
3366
|
-
/**
|
|
3555
|
+
/** Returns trading volume and trade count history for a Polymarket market. **Data refresh:** ~30 minutes */
|
|
3367
3556
|
declare function useInfinitePolymarketVolumes(params: Omit<PolymarketVolumesParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<PolymarketVolumesItem>, unknown>, Error>;
|
|
3368
3557
|
|
|
3369
|
-
/**
|
|
3558
|
+
/** Returns daily notional volume and open interest aggregated by category across Kalshi and Polymarket. **Filters:** `source` or `category`. **Data refresh:** daily */
|
|
3370
3559
|
declare function useInfinitePredictionMarketCategoryMetrics(params?: Omit<PredictionMarketCategoryMetricsParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<PredictionMarketCategoryMetricsItem>, unknown>, Error>;
|
|
3371
3560
|
|
|
3372
|
-
/**
|
|
3561
|
+
/** Returns 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. */
|
|
3373
3562
|
declare function useInfiniteProjectDefiMetrics(params: Omit<ProjectDefiMetricsParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<ProjectDefiMetricsItem>, unknown>, Error>;
|
|
3374
|
-
/**
|
|
3563
|
+
/** Returns top DeFi projects ranked by a protocol metric. **Available metrics:** `tvl`, `revenue`, `fees`, `volume`, `users`. */
|
|
3375
3564
|
declare function useInfiniteProjectDefiRanking(params: Omit<ProjectDefiRankingParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<ProjectDefiRankingItem>, unknown>, Error>;
|
|
3376
|
-
/**
|
|
3565
|
+
/** Returns multiple project sub-resources in a single request. **Available fields** (via `fields`): `overview`, `token_info`, `tokenomics`, `funding`, `team`, `contracts`, `social`, `tge_status`. **Lookup:** 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`. */
|
|
3377
3566
|
declare function useProjectDetail(params?: ProjectDetailParams): _tanstack_react_query.UseQueryResult<ApiObjectResponse<ProjectDetailData>, Error>;
|
|
3378
3567
|
|
|
3379
|
-
/**
|
|
3568
|
+
/** Searches and filters airdrop opportunities. **Filters:** keyword, status, reward type, task type. Returns paginated results with optional task details. */
|
|
3380
3569
|
declare function useInfiniteSearchAirdrop(params?: Omit<SearchAirdropParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<SearchAirdropItem>, unknown>, Error>;
|
|
3381
|
-
/**
|
|
3570
|
+
/** Searches 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. */
|
|
3382
3571
|
declare function useInfiniteSearchEvents(params?: Omit<SearchEventsParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<SearchEventsItem>, unknown>, Error>;
|
|
3383
|
-
/**
|
|
3572
|
+
/** Searches funds by keyword. **Included fields:** name, tier, type, logo, top invested projects. */
|
|
3384
3573
|
declare function useInfiniteSearchFund(params: Omit<SearchFundParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<SearchFundItem>, unknown>, Error>;
|
|
3385
|
-
/**
|
|
3574
|
+
/** Searches Kalshi events by keyword and/or category. **Filters:** - Keyword matching event title, subtitle, or market title - Category At least one of `q` or `category` is required. Returns events with nested markets. **Data refresh:** ~30 minutes */
|
|
3386
3575
|
declare function useInfiniteSearchKalshi(params?: Omit<SearchKalshiParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<SearchKalshiItem>, unknown>, Error>;
|
|
3387
|
-
/**
|
|
3576
|
+
/** Searches crypto news articles by keyword. Returns top 10 results ranked by relevance with highlighted matching fragments. */
|
|
3388
3577
|
declare function useInfiniteSearchNews(params: Omit<SearchNewsParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<SearchNewsItem>, unknown>, Error>;
|
|
3389
|
-
/**
|
|
3578
|
+
/** Searches Polymarket events by keyword, tags, and/or category. **Filters:** - Keyword matching market question, event title, or description - Comma-separated tag labels - 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 */
|
|
3390
3579
|
declare function useInfiniteSearchPolymarket(params?: Omit<SearchPolymarketParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<SearchPolymarketItem>, unknown>, Error>;
|
|
3391
|
-
/**
|
|
3580
|
+
/** Searches crypto projects by keyword. **Included fields:** name, description, chains, logo. */
|
|
3392
3581
|
declare function useInfiniteSearchProject(params: Omit<SearchProjectParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<SearchProjectItem>, unknown>, Error>;
|
|
3393
|
-
/**
|
|
3582
|
+
/** Searches X (Twitter) users by keyword. **Included fields:** handle, display name, bio, follower count, avatar. */
|
|
3394
3583
|
declare function useInfiniteSearchSocialPeople(params: Omit<SearchSocialPeopleParams, 'cursor'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiCursorResponse<SearchSocialPeopleItem>, unknown>, Error>;
|
|
3395
|
-
/**
|
|
3584
|
+
/** Searches X (Twitter) posts by keyword or `from:handle` syntax. **Included fields:** author, content, engagement metrics, timestamp. **Pagination:** check `meta.has_more`; if true, pass `meta.next_cursor` as the `cursor` query parameter in the next request. */
|
|
3396
3585
|
declare function useInfiniteSearchSocialPosts(params: Omit<SearchSocialPostsParams, 'cursor'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiCursorResponse<SearchSocialPostsItem>, unknown>, Error>;
|
|
3397
|
-
/**
|
|
3586
|
+
/** Searches wallets by ENS name, address label, or address prefix. Returns matching wallet addresses with entity labels. */
|
|
3398
3587
|
declare function useInfiniteSearchWallet(params: Omit<SearchWalletParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<SearchWalletItem>, unknown>, Error>;
|
|
3399
|
-
/**
|
|
3588
|
+
/** Searches web pages, articles, and content by keyword. **Filters:** domain via `site` (e.g. `coindesk.com`). **Included fields:** titles, URLs, content snippets. */
|
|
3400
3589
|
declare function useInfiniteSearchWeb(params: Omit<SearchWebParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<SearchWebItem>, unknown>, Error>;
|
|
3401
3590
|
|
|
3402
|
-
/**
|
|
3591
|
+
/** Returns a **point-in-time snapshot** of social analytics for a project. **Available fields** (via `fields`): `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. */
|
|
3403
3592
|
declare function useSocialDetail(params?: SocialDetailParams): _tanstack_react_query.UseQueryResult<ApiObjectResponse<SocialDetailData>, Error>;
|
|
3404
|
-
/**
|
|
3593
|
+
/** Returns mindshare (social view count) **time-series trend** for a project, aggregated by `interval`. **Intervals:** `5m`, `1h`, `1d`, `7d`. **Filters:** date range with `from`/`to` (Unix seconds). Lookup by name (`q`). Use this for sentiment **trends**, mindshare **over time**, or social momentum changes. For a **point-in-time snapshot** of social analytics (sentiment score, follower geo, smart followers), use `/social/detail` instead. */
|
|
3405
3594
|
declare function useInfiniteSocialMindshare(params: Omit<SocialMindshareParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<SocialMindshareItem>, unknown>, Error>;
|
|
3406
|
-
/**
|
|
3595
|
+
/** Returns top crypto projects ranked by mindshare (social view count), refreshed every 5 minutes. **Filters:** - `tag` — scope to a category (e.g. `dex`, `l1`, `meme`) - `time_range` — ranking window (`24h`, `48h`, `7d`, `30d`) Supports `limit`/`offset` pagination. */
|
|
3407
3596
|
declare function useInfiniteSocialRanking(params?: Omit<SocialRankingParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<SocialRankingItem>, unknown>, Error>;
|
|
3408
|
-
/**
|
|
3597
|
+
/** Returns 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. */
|
|
3409
3598
|
declare function useInfiniteSocialSmartFollowersHistory(params?: Omit<SocialSmartFollowersHistoryParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<SocialSmartFollowersHistoryItem>, unknown>, Error>;
|
|
3410
|
-
/** Returns replies/comments on a specific tweet. Lookup by `tweet_id`. */
|
|
3599
|
+
/** Returns replies/comments on a specific tweet. **Lookup:** by `tweet_id`. */
|
|
3411
3600
|
declare function useInfiniteSocialTweetReplies(params: Omit<SocialTweetRepliesParams, 'cursor'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiCursorResponse<SocialTweetRepliesItem>, unknown>, Error>;
|
|
3412
|
-
/**
|
|
3601
|
+
/** Returns X (Twitter) posts by numeric post ID strings. Pass up to 100 comma-separated IDs via the `ids` query parameter. */
|
|
3413
3602
|
declare function useInfiniteSocialTweets(params: Omit<SocialTweetsParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<SocialTweetsItem>, unknown>, Error>;
|
|
3414
|
-
/**
|
|
3603
|
+
/** Returns an X (Twitter) user profile. **Included fields:** display name, follower count, following count, and bio. **Lookup:** by `handle` (without @). */
|
|
3415
3604
|
declare function useSocialUser(params: SocialUserParams): _tanstack_react_query.UseQueryResult<ApiObjectResponse<SocialUserData>, Error>;
|
|
3416
|
-
/** Returns a list of followers for the specified handle on X (Twitter). Lookup by `handle` (without @). */
|
|
3605
|
+
/** Returns a list of followers for the specified handle on X (Twitter). **Lookup:** by `handle` (without @). */
|
|
3417
3606
|
declare function useInfiniteSocialUserFollowers(params: Omit<SocialUserFollowersParams, 'cursor'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiCursorResponse<SocialUserFollowersItem>, unknown>, Error>;
|
|
3418
|
-
/** Returns a list of users that the specified handle follows on X (Twitter). Lookup by `handle` (without @). */
|
|
3607
|
+
/** Returns a list of users that the specified handle follows on X (Twitter). **Lookup:** by `handle` (without @). */
|
|
3419
3608
|
declare function useInfiniteSocialUserFollowing(params: Omit<SocialUserFollowingParams, 'cursor'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiCursorResponse<SocialUserFollowingItem>, unknown>, Error>;
|
|
3420
|
-
/**
|
|
3609
|
+
/** Returns recent X (Twitter) posts by a specific user, ordered by recency. **Lookup:** by `handle` (without @). Use `filter=original` to exclude retweets. **Pagination:** check `meta.has_more`; if true, pass `meta.next_cursor` as the `cursor` query parameter in the next request. */
|
|
3421
3610
|
declare function useInfiniteSocialUserPosts(params: Omit<SocialUserPostsParams, 'cursor'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiCursorResponse<SocialUserPostsItem>, unknown>, Error>;
|
|
3422
|
-
/** Returns recent replies by the specified handle on X (Twitter). Lookup by `handle` (without @). */
|
|
3611
|
+
/** Returns recent replies by the specified handle on X (Twitter). **Lookup:** by `handle` (without @). */
|
|
3423
3612
|
declare function useInfiniteSocialUserReplies(params: Omit<SocialUserRepliesParams, 'cursor'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiCursorResponse<SocialUserRepliesItem>, unknown>, Error>;
|
|
3424
3613
|
|
|
3425
|
-
/**
|
|
3614
|
+
/** Returns recent DEX swap events for a token contract address. **Covered DEXes:** `uniswap`, `sushiswap`, `curve`, `balancer`. **Included fields:** trading pair, amounts, USD value, taker address. **Data refresh:** ~24 hours · **Chains:** Ethereum, Base */
|
|
3426
3615
|
declare function useInfiniteTokenDexTrades(params: Omit<TokenDexTradesParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<TokenDexTradesItem>, unknown>, Error>;
|
|
3427
|
-
/**
|
|
3616
|
+
/** Returns top token holders for a contract address. **Included fields:** wallet address, balance, and percentage. **Lookup:** by `address` and `chain`. Supports EVM chains and Solana. */
|
|
3428
3617
|
declare function useInfiniteTokenHolders(params: Omit<TokenHoldersParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<TokenHoldersItem>, unknown>, Error>;
|
|
3429
|
-
/**
|
|
3618
|
+
/** Returns token unlock time-series 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. */
|
|
3430
3619
|
declare function useInfiniteTokenTokenomics(params?: Omit<TokenTokenomicsParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<TokenTokenomicsItem>, unknown>, Error>;
|
|
3431
|
-
/**
|
|
3620
|
+
/** Returns 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. **Included fields:** sender, receiver, raw amount, 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 · **Chains:** Ethereum, Base, TRON (Solana uses a different source with no delay) */
|
|
3432
3621
|
declare function useInfiniteTokenTransfers(params: Omit<TokenTransfersParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<TokenTransfersItem>, unknown>, Error>;
|
|
3433
3622
|
|
|
3434
|
-
/**
|
|
3623
|
+
/** Historical orderbook snapshots for a Kalshi market. Returns yes-side bid/ask levels. Timestamps in milliseconds, prices in cents. Data refresh: ~5 minutes */
|
|
3624
|
+
declare function useV2KalshiOrderbooks(params: V2KalshiOrderbooksParams): _tanstack_react_query.UseQueryResult<ApiResponse<V2KalshiOrderbooksItem>, Error>;
|
|
3625
|
+
/** OHLCV candlestick data for a Polymarket market. Prices normalized to YES side. Data refresh: ~30 minutes */
|
|
3626
|
+
declare function useV2PolymarketCandlesticks(params?: V2PolymarketCandlesticksParams): _tanstack_react_query.UseQueryResult<ApiResponse<V2PolymarketCandlesticksItem>, Error>;
|
|
3627
|
+
/** Cumulative volume time series for a Polymarket token. Data refresh: ~30 minutes */
|
|
3628
|
+
declare function useV2PolymarketVolumeTimeseries(params?: V2PolymarketVolumeTimeseriesParams): _tanstack_react_query.UseQueryResult<ApiResponse<V2PolymarketVolumeTimeseriesItem>, Error>;
|
|
3629
|
+
/** Historical orderbook snapshots for a Polymarket token. Returns raw bid/ask depth levels. Timestamps in milliseconds. Data refresh: ~5 minutes */
|
|
3630
|
+
declare function useV2PolymarketOrderbooks(params: V2PolymarketOrderbooksParams): _tanstack_react_query.UseQueryResult<ApiResponse<V2PolymarketOrderbooksItem>, Error>;
|
|
3631
|
+
/** Volume breakdown by outcome (YES/NO) for a Polymarket market. Data refresh: ~30 minutes */
|
|
3632
|
+
declare function useV2PolymarketVolumeChart(params?: V2PolymarketVolumeChartParams): _tanstack_react_query.UseQueryResult<ApiResponse<V2PolymarketVolumeChartItem>, Error>;
|
|
3633
|
+
|
|
3634
|
+
/** Returns multiple wallet sub-resources in a single request. **Available fields** (via `fields`): `balance`, `tokens`, `labels`, `nft`. **Lookup:** by `address`. Partial failures return available fields with per-field error info. Returns 422 if `fields` is invalid. */
|
|
3435
3635
|
declare function useWalletDetail(params: WalletDetailParams): _tanstack_react_query.UseQueryResult<ApiObjectResponse<WalletDetailData>, Error>;
|
|
3436
|
-
/**
|
|
3636
|
+
/** Returns 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`. */
|
|
3437
3637
|
declare function useInfiniteWalletHistory(params: Omit<WalletHistoryParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<WalletHistoryItem>, unknown>, Error>;
|
|
3438
|
-
/**
|
|
3638
|
+
/** Returns entity labels for multiple wallet addresses. Pass up to 100 comma-separated addresses via the `addresses` query parameter. **Included fields:** entity name, type, and labels per address. */
|
|
3439
3639
|
declare function useInfiniteWalletLabelsBatch(params: Omit<WalletLabelsBatchParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<WalletLabelsBatchItem>, unknown>, Error>;
|
|
3440
|
-
/**
|
|
3640
|
+
/** Returns 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. */
|
|
3441
3641
|
declare function useInfiniteWalletNetWorth(params: Omit<WalletNetWorthParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<WalletNetWorthItem>, unknown>, Error>;
|
|
3442
|
-
/**
|
|
3642
|
+
/** Returns all DeFi protocol positions for a wallet — lending, staking, LP, and farming with token breakdowns and USD values. **Lookup:** by `address`. */
|
|
3443
3643
|
declare function useInfiniteWalletProtocols(params: Omit<WalletProtocolsParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<WalletProtocolsItem>, unknown>, Error>;
|
|
3444
|
-
/**
|
|
3644
|
+
/** Returns 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. **Included fields:** token contract, counterparty, raw amount, 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 · **Chains:** Ethereum, Base (Solana uses a different source with no delay) */
|
|
3445
3645
|
declare function useInfiniteWalletTransfers(params: Omit<WalletTransfersParams, 'offset'>): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<ApiResponse<WalletTransfersItem>, unknown>, Error>;
|
|
3446
3646
|
|
|
3447
|
-
/**
|
|
3647
|
+
/** Fetches a web page and converts it to clean, LLM-friendly markdown. **Options:** - `target_selector` — extract specific page sections - `remove_selector` — strip unwanted elements Returns 400 if the URL is invalid or unreachable. */
|
|
3448
3648
|
declare function useWebFetch(params: WebFetchParams): _tanstack_react_query.UseQueryResult<ApiObjectResponse<WebFetchData>, Error>;
|
|
3449
3649
|
|
|
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 };
|
|
3650
|
+
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 MatchingMarketDailyItem, type MatchingMarketDailyParams, type MatchingMarketFindItem, type MatchingMarketFindItemKalshi, type MatchingMarketFindItemPolymarket, type MatchingMarketFindParams, type MatchingMarketPairsItem, type MatchingMarketPairsItemKalshi, type MatchingMarketPairsItemPolymarket, type MatchingMarketPairsParams, 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 V2KalshiOrderbooksItem, type V2KalshiOrderbooksParams, type V2PolymarketCandlesticksItem, type V2PolymarketCandlesticksParams, type V2PolymarketOrderbooksItem, type V2PolymarketOrderbooksParams, type V2PolymarketVolumeChartItem, type V2PolymarketVolumeChartParams, type V2PolymarketVolumeTimeseriesItem, type V2PolymarketVolumeTimeseriesParams, 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, useInfiniteMatchingMarketDaily, useInfiniteMatchingMarketFind, useInfiniteMatchingMarketPairs, 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, useV2KalshiOrderbooks, useV2PolymarketCandlesticks, useV2PolymarketOrderbooks, useV2PolymarketVolumeChart, useV2PolymarketVolumeTimeseries, useWalletDetail, useWebFetch };
|