@liberfi.io/client 0.1.33 → 0.1.34

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/index.d.mts CHANGED
@@ -1,11 +1,5 @@
1
- import * as react from 'react';
2
- import { PropsWithChildren } from 'react';
3
- import * as _liberfi_io_types from '@liberfi.io/types';
4
- import { API, Chain, Token, TokenResolution, TokenCandle, TokenHolder, TokenMarketData, TokenSecurity, TokenStats, TradeActivity, WalletPnl, WalletPortfolioPnls, WalletPortfolios, Portfolio, PortfolioPnl } from '@liberfi.io/types';
5
- import * as _tanstack_react_query from '@tanstack/react-query';
6
- import { UseQueryOptions, UseMutationOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
7
1
  import { ChainStreamClientOptions, TokenProvider } from '@chainstream-io/sdk';
8
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { API, Chain, Token, TokenResolution, TokenCandle, TokenSecurity, TokenStats, TokenHolder, TokenMarketData, WalletPortfolios, WalletPnl, WalletPortfolioPnls, Portfolio, PortfolioPnl, TradeActivity } from '@liberfi.io/types';
9
3
 
10
4
  declare global {
11
5
  interface Window {
@@ -14,305 +8,7 @@ declare global {
14
8
  };
15
9
  }
16
10
  }
17
- declare const _default: "0.1.33";
18
-
19
- interface DexClientContextValue {
20
- client: API.IClient;
21
- subscribeClient: API.ISubscribeClient;
22
- }
23
- declare const DexClientContext: react.Context<DexClientContextValue>;
24
-
25
- declare function useDexClient(): DexClientContextValue;
26
-
27
- interface UseFinalStretchTokensQueryParams extends API.GetTokenListOptions {
28
- chain: Chain;
29
- }
30
- declare function finalStretchTokensQueryKey(params: UseFinalStretchTokensQueryParams): string[];
31
- declare function fetchFinalStretchTokens(client: API.IClient, { chain, ...options }: UseFinalStretchTokensQueryParams): Promise<Token[]>;
32
- declare function useFinalStretchTokensQuery(params: UseFinalStretchTokensQueryParams, options?: Omit<UseQueryOptions<Array<Token>, Error, Array<Token>, string[]>, "queryKey" | "queryFn">): _tanstack_react_query.UseQueryResult<Token[], Error>;
33
-
34
- interface UseMigratedTokensQueryParams extends API.GetTokenListOptions {
35
- chain: Chain;
36
- }
37
- declare function migratedTokensQueryKey(params: UseMigratedTokensQueryParams): string[];
38
- declare function fetchMigratedTokens(client: API.IClient, { chain, ...options }: UseMigratedTokensQueryParams): Promise<Token[]>;
39
- declare function useMigratedTokensQuery(params: UseMigratedTokensQueryParams, options?: Omit<UseQueryOptions<Array<Token>, Error, Array<Token>, string[]>, "queryKey" | "queryFn">): _tanstack_react_query.UseQueryResult<Token[], Error>;
40
-
41
- interface UseNewTokensQueryParams extends API.GetTokenListOptions {
42
- chain: Chain;
43
- }
44
- declare function newTokensQueryKey(params: UseNewTokensQueryParams): string[];
45
- declare function fetchNewTokens(client: API.IClient, { chain, ...options }: UseNewTokensQueryParams): Promise<Token[]>;
46
- declare function useNewTokensQuery(params: UseNewTokensQueryParams, options?: Omit<UseQueryOptions<Array<Token>, Error, Array<Token>, string[]>, "queryKey" | "queryFn">): _tanstack_react_query.UseQueryResult<Token[], Error>;
47
-
48
- declare function fetchPresignedUploadUrl(client: API.IClient): Promise<string>;
49
- declare function usePresignedUploadUrlQuery(options?: Omit<UseQueryOptions<string, Error, string, string[]>, "queryKey" | "queryFn">): _tanstack_react_query.UseQueryResult<string, Error>;
50
-
51
- type UseSearchTokensQueryParams = API.SearchTokensOptions;
52
- declare function searchTokensQueryKey(params: UseSearchTokensQueryParams): string[];
53
- declare function fetchSearchTokens(client: API.IClient, params: UseSearchTokensQueryParams): Promise<_liberfi_io_types.SearchTokenCursorList>;
54
- declare function useSearchTokensQuery(params: UseSearchTokensQueryParams, options?: Omit<UseQueryOptions<API.SearchTokenCursorList, Error, API.SearchTokenCursorList, string[]>, "queryKey" | "queryFn">): _tanstack_react_query.UseQueryResult<_liberfi_io_types.SearchTokenCursorList, Error>;
55
-
56
- type UseSendTxMutationParams = API.SendTxParams;
57
- declare function sendTx(client: API.IClient, params: UseSendTxMutationParams): Promise<_liberfi_io_types.SendTxResult>;
58
- declare function useSendTxMutation(options?: Omit<UseMutationOptions<API.SendTxResult, Error, UseSendTxMutationParams>, "mutationFn">): _tanstack_react_query.UseMutationResult<_liberfi_io_types.SendTxResult, Error, _liberfi_io_types.SendTxParams, unknown>;
59
-
60
- interface UseStockTokensQueryParams extends API.GetTokenListOptions {
61
- chain: Chain;
62
- }
63
- declare function stockTokensQueryKey(params: UseStockTokensQueryParams): string[];
64
- declare function fetchStockTokens(client: API.IClient, { chain, ...options }: UseStockTokensQueryParams): Promise<Token[]>;
65
- declare function useStockTokensQuery(params: UseStockTokensQueryParams, options?: Omit<UseQueryOptions<Array<Token>, Error, Array<Token>, string[]>, "queryKey" | "queryFn">): _tanstack_react_query.UseQueryResult<Token[], Error>;
66
-
67
- type UseSwapRouteQueryParams = API.SwapParams;
68
- declare function swapRouteQueryKey(params: UseSwapRouteQueryParams): string[];
69
- declare function fetchSwapRoute(client: API.IClient, params: UseSwapRouteQueryParams): Promise<_liberfi_io_types.SwapRoute>;
70
- declare function useSwapRouteQuery(params: UseSwapRouteQueryParams, options?: Omit<UseQueryOptions<API.SwapRoute, Error, API.SwapRoute, string[]>, "queryKey" | "queryFn">): _tanstack_react_query.UseQueryResult<_liberfi_io_types.SwapRoute, Error>;
71
-
72
- interface UseTokenCandlesQueryParams extends API.GetTokenCandlesOptions {
73
- chain: Chain;
74
- address: string;
75
- resolution: TokenResolution;
76
- }
77
- declare function tokenCandlesQueryKey(params: UseTokenCandlesQueryParams): string[];
78
- declare function fetchTokenCandles(client: API.IClient, { chain, address, resolution, ...options }: UseTokenCandlesQueryParams): Promise<TokenCandle[]>;
79
- declare function useTokenCandlesQuery(params: UseTokenCandlesQueryParams, options?: Omit<UseQueryOptions<Array<TokenCandle>, Error, Array<TokenCandle>, string[]>, "queryKey" | "queryFn">): _tanstack_react_query.UseQueryResult<TokenCandle[], Error>;
80
-
81
- interface UseTokenHoldersQueryParams extends API.CursorListOptions {
82
- chain: Chain;
83
- address: string;
84
- }
85
- declare function tokenHoldersQueryKey(params: UseTokenHoldersQueryParams): string[];
86
- declare function fetchTokenHolders(client: API.IClient, { chain, address, ...options }: UseTokenHoldersQueryParams): Promise<API.CursorList<TokenHolder>>;
87
- declare function useTokenHoldersQuery(params: UseTokenHoldersQueryParams, options?: Omit<UseQueryOptions<API.CursorList<TokenHolder>, Error, API.CursorList<TokenHolder>, string[]>, "queryKey" | "queryFn">): _tanstack_react_query.UseQueryResult<API.CursorList<TokenHolder>, Error>;
88
-
89
- interface UseTokenMarketDataQueryParams {
90
- chain: Chain;
91
- address: string;
92
- }
93
- declare function tokenMarketDataQueryKey(params: UseTokenMarketDataQueryParams): string[];
94
- declare function fetchTokenMarketData(client: API.IClient, { chain, address }: UseTokenMarketDataQueryParams): Promise<TokenMarketData>;
95
- declare function useTokenMarketDataQuery(params: UseTokenMarketDataQueryParams, options?: Omit<UseQueryOptions<TokenMarketData, Error, TokenMarketData, string[]>, "queryKey" | "queryFn">): _tanstack_react_query.UseQueryResult<TokenMarketData, Error>;
96
-
97
- interface UseTokenQueryParams {
98
- chain: Chain;
99
- address: string;
100
- }
101
- declare function tokenQueryKey(params: UseTokenQueryParams): string[];
102
- declare function fetchToken(client: API.IClient, { chain, address }: UseTokenQueryParams): Promise<Token>;
103
- declare function useTokenQuery(params: UseTokenQueryParams, options?: Omit<UseQueryOptions<Token, Error, Token, string[]>, "queryKey" | "queryFn">): _tanstack_react_query.UseQueryResult<Token, Error>;
104
-
105
- interface UseTokenSecurityQueryParams {
106
- chain: Chain;
107
- address: string;
108
- }
109
- declare function tokenSecurityQueryKey(params: UseTokenSecurityQueryParams): string[];
110
- declare function fetchTokenSecurity(client: API.IClient, { chain, address }: UseTokenSecurityQueryParams): Promise<TokenSecurity>;
111
- declare function useTokenSecurityQuery(params: UseTokenSecurityQueryParams, options?: Omit<UseQueryOptions<TokenSecurity, Error, TokenSecurity, string[]>, "queryKey" | "queryFn">): _tanstack_react_query.UseQueryResult<TokenSecurity, Error>;
112
-
113
- interface UseTokensQueryParams {
114
- chain: Chain;
115
- addresses: Array<string>;
116
- }
117
- declare function tokensQueryKey(params: UseTokensQueryParams): string[];
118
- declare function fetchTokens(client: API.IClient, { chain, addresses }: UseTokensQueryParams): Promise<Token[]>;
119
- declare function useTokensQuery(params: UseTokensQueryParams, options?: Omit<UseQueryOptions<Array<Token>, Error, Array<Token>, string[]>, "queryKey" | "queryFn">): _tanstack_react_query.UseQueryResult<Token[], Error>;
120
-
121
- interface UseTokenStatsQueryParams {
122
- chain: Chain;
123
- address: string;
124
- }
125
- declare function tokenStatsQueryKey(params: UseTokenStatsQueryParams): string[];
126
- declare function fetchTokenStats(client: API.IClient, { chain, address }: UseTokenStatsQueryParams): Promise<TokenStats>;
127
- declare function useTokenStatsQuery(params: UseTokenStatsQueryParams, options?: Omit<UseQueryOptions<TokenStats, Error, TokenStats, string[]>, "queryKey" | "queryFn">): _tanstack_react_query.UseQueryResult<TokenStats, Error>;
128
-
129
- interface UseTokenTradeActivitiesQueryParams extends API.GetTradeActivitiesOptions {
130
- chain: Chain;
131
- address: string;
132
- }
133
- declare function tokenTradeActivitiesQueryKey(params: UseTokenTradeActivitiesQueryParams): string[];
134
- declare function fetchTokenTradeActivities(client: API.IClient, { chain, address, ...options }: UseTokenTradeActivitiesQueryParams): Promise<API.CursorList<TradeActivity>>;
135
- declare function useTokenTradeActivitiesQuery(params: UseTokenTradeActivitiesQueryParams, options?: Omit<UseQueryOptions<API.CursorList<TradeActivity>, Error, API.CursorList<TradeActivity>, string[]>, "queryKey" | "queryFn">): _tanstack_react_query.UseQueryResult<API.CursorList<TradeActivity>, Error>;
136
-
137
- interface UseTrendingTokensQueryParams extends API.GetTokenListOptions {
138
- chain: Chain;
139
- resolution: "1m" | "5m" | "1h" | "4h" | "24h";
140
- }
141
- declare function trendingTokensQueryKey(params: UseTrendingTokensQueryParams): string[];
142
- declare function fetchTrendingTokens(client: API.IClient, { chain, resolution, ...options }: UseTrendingTokensQueryParams): Promise<Token[]>;
143
- declare function useTrendingTokensQuery(params: UseTrendingTokensQueryParams, options?: Omit<UseQueryOptions<Array<Token>, Error, Array<Token>, string[]>, "queryKey" | "queryFn">): _tanstack_react_query.UseQueryResult<Token[], Error>;
144
-
145
- interface UseTxSuccessQueryParams {
146
- chain: Chain;
147
- txHash: string;
148
- timeout?: number;
149
- }
150
- declare function txSuccessQueryKey(params: UseTxSuccessQueryParams): string[];
151
- declare function fetchTxSuccess(client: API.IClient, { chain, txHash, timeout }: UseTxSuccessQueryParams): Promise<boolean>;
152
- declare function useTxSuccessQuery(params: UseTxSuccessQueryParams, options?: Omit<UseQueryOptions<boolean, Error, boolean, string[]>, "queryKey" | "queryFn">): _tanstack_react_query.UseQueryResult<boolean, Error>;
153
-
154
- interface UseWalletPnlQueryParams {
155
- chain: Chain;
156
- address: string;
157
- resolution?: string;
158
- }
159
- declare function walletPnlQueryKey(params: UseWalletPnlQueryParams): string[];
160
- declare function fetchWalletPnl(client: API.IClient, { chain, address, resolution }: UseWalletPnlQueryParams): Promise<WalletPnl>;
161
- declare function useWalletPnlQuery(params: UseWalletPnlQueryParams, options?: Omit<UseQueryOptions<WalletPnl, Error, WalletPnl, string[]>, "queryKey" | "queryFn">): _tanstack_react_query.UseQueryResult<WalletPnl, Error>;
162
-
163
- interface UseWalletPortfolioPnlsQueryParams {
164
- chain: Chain;
165
- address: string;
166
- cursor?: string;
167
- limit?: number;
168
- }
169
- declare function walletPortfolioPnlsQueryKey(params: UseWalletPortfolioPnlsQueryParams): string[];
170
- declare function fetchWalletPortfolioPnls(client: API.IClient, { chain, address, cursor, limit }: UseWalletPortfolioPnlsQueryParams): Promise<WalletPortfolioPnls>;
171
- declare function useWalletPortfolioPnlsQuery(params: UseWalletPortfolioPnlsQueryParams, options?: Omit<UseQueryOptions<WalletPortfolioPnls, Error, WalletPortfolioPnls, string[]>, "queryKey" | "queryFn">): _tanstack_react_query.UseQueryResult<WalletPortfolioPnls, Error>;
172
-
173
- interface UseWalletPortfolioPnlsInfiniteQueryParams {
174
- chain: Chain;
175
- address: string;
176
- limit?: number;
177
- }
178
- declare function walletPortfolioPnlsInfiniteQueryKey(params: UseWalletPortfolioPnlsInfiniteQueryParams): string[];
179
- declare function useWalletPortfolioPnlsInfiniteQuery(params: UseWalletPortfolioPnlsInfiniteQueryParams, options?: Omit<UseInfiniteQueryOptions<WalletPortfolioPnls, Error, InfiniteData<WalletPortfolioPnls>, string[], string | undefined>, "queryKey" | "queryFn" | "initialPageParam" | "getNextPageParam">): _tanstack_react_query.UseInfiniteQueryResult<InfiniteData<WalletPortfolioPnls, unknown>, Error>;
180
-
181
- interface UseWalletPortfoliosQueryParams {
182
- chain: Chain;
183
- address: string;
184
- cursor?: string;
185
- limit?: number;
186
- }
187
- declare function walletPortfoliosQueryKey(params: UseWalletPortfoliosQueryParams): string[];
188
- declare function fetchWalletPortfolios(client: API.IClient, { chain, address, cursor, limit }: UseWalletPortfoliosQueryParams): Promise<WalletPortfolios>;
189
- declare function useWalletPortfoliosQuery(params: UseWalletPortfoliosQueryParams, options?: Omit<UseQueryOptions<WalletPortfolios, Error, WalletPortfolios, string[]>, "queryKey" | "queryFn">): _tanstack_react_query.UseQueryResult<WalletPortfolios, Error>;
190
-
191
- interface UseWalletPortfoliosByTokensQueryParams {
192
- chain: Chain;
193
- address: string;
194
- tokenAddresses: Array<string>;
195
- }
196
- declare function walletPortfoliosByTokensQueryKey(params: UseWalletPortfoliosByTokensQueryParams): string[];
197
- declare function fetchWalletPortfoliosByTokens(client: API.IClient, { chain, address, tokenAddresses }: UseWalletPortfoliosByTokensQueryParams): Promise<Portfolio[]>;
198
- declare function useWalletPortfoliosByTokensQuery(params: UseWalletPortfoliosByTokensQueryParams, options?: Omit<UseQueryOptions<Array<Portfolio>, Error, Array<Portfolio>, string[]>, "queryKey" | "queryFn">): _tanstack_react_query.UseQueryResult<Portfolio[], Error>;
199
-
200
- interface UseWalletPortfoliosInfiniteQueryParams {
201
- chain: Chain;
202
- address: string;
203
- limit?: number;
204
- }
205
- declare function walletPortfoliosInfiniteQueryKey(params: UseWalletPortfoliosInfiniteQueryParams): string[];
206
- declare function useWalletPortfoliosInfiniteQuery(params: UseWalletPortfoliosInfiniteQueryParams, options?: Omit<UseInfiniteQueryOptions<WalletPortfolios, Error, InfiniteData<WalletPortfolios>, string[], string | undefined>, "queryKey" | "queryFn" | "initialPageParam" | "getNextPageParam">): _tanstack_react_query.UseInfiniteQueryResult<InfiniteData<WalletPortfolios, unknown>, Error>;
207
-
208
- interface UseWalletPortfolioPnlsByTokensQueryParams {
209
- chain: Chain;
210
- address: string;
211
- tokenAddresses: Array<string>;
212
- }
213
- declare function walletPortfolioPnlsByTokensQueryKey(params: UseWalletPortfolioPnlsByTokensQueryParams): string[];
214
- declare function fetchWalletPortfolioPnlsByTokens(client: API.IClient, { chain, address, tokenAddresses }: UseWalletPortfolioPnlsByTokensQueryParams): Promise<PortfolioPnl[]>;
215
- declare function useWalletPortfolioPnlsByTokensQuery(params: UseWalletPortfolioPnlsByTokensQueryParams, options?: Omit<UseQueryOptions<Array<PortfolioPnl>, Error, Array<PortfolioPnl>, string[]>, "queryKey" | "queryFn">): _tanstack_react_query.UseQueryResult<PortfolioPnl[], Error>;
216
-
217
- interface UseWalletTradeActivitiesQueryParams extends API.GetTradeActivitiesOptions {
218
- chain: Chain;
219
- address: string;
220
- }
221
- declare function walletTradeActivitiesQueryKey(params: UseWalletTradeActivitiesQueryParams): string[];
222
- declare function fetchWalletTradeActivities(client: API.IClient, { chain, address, ...options }: UseWalletTradeActivitiesQueryParams): Promise<API.CursorList<TradeActivity>>;
223
- declare function useWalletTradeActivitiesQuery(params: UseWalletTradeActivitiesQueryParams, options?: Omit<UseQueryOptions<API.CursorList<TradeActivity>, Error, API.CursorList<TradeActivity>, string[]>, "queryKey" | "queryFn">): _tanstack_react_query.UseQueryResult<API.CursorList<TradeActivity>, Error>;
224
-
225
- interface UseTokenSubscriptionParams {
226
- chain: Chain;
227
- address: string;
228
- }
229
- declare function useTokenSubscription(params: UseTokenSubscriptionParams, callback: (data: Array<API.TokenSubscribed>) => void, options?: {
230
- enabled?: boolean;
231
- }): void;
232
-
233
- interface UseTokenCandlesSubscriptionParams {
234
- chain: Chain;
235
- address: string;
236
- resolution: TokenResolution;
237
- }
238
- declare function useTokenCandlesSubscription(params: UseTokenCandlesSubscriptionParams, callback: (candles: Array<TokenCandle>) => void, options?: {
239
- enabled?: boolean;
240
- }): void;
241
-
242
- interface UseTokenTradeActivitiesSubscriptionParams {
243
- chain: Chain;
244
- address: string;
245
- }
246
- declare function useTokenTradeActivitiesSubscription(params: UseTokenTradeActivitiesSubscriptionParams, callback: (trades: Array<TradeActivity>) => void, options?: {
247
- enabled?: boolean;
248
- }): void;
249
-
250
- interface UseWalletPnlSubscriptionParams {
251
- chain: Chain;
252
- address: string;
253
- }
254
- declare function useWalletPnlSubscription(params: UseWalletPnlSubscriptionParams, callback: (pnls: Array<API.WalletPnlSubscribed>) => void, options?: {
255
- enabled?: boolean;
256
- }): void;
257
-
258
- interface UseWalletPortfoliosSubscriptionParams {
259
- chain: Chain;
260
- address: string;
261
- }
262
- declare function useWalletPortfoliosSubscription(params: UseWalletPortfoliosSubscriptionParams, callback: (portfolios: Array<API.PortfolioSubscribed>) => void, options?: {
263
- enabled?: boolean;
264
- }): void;
265
-
266
- interface UseWalletPortfolioPnlsSubscriptionParams {
267
- chain: Chain;
268
- address: string;
269
- }
270
- declare function useWalletPortfolioPnlsSubscription(params: UseWalletPortfolioPnlsSubscriptionParams, callback: (portfolioPnls: Array<API.PortfolioPnlSubscribed>) => void, options?: {
271
- enabled?: boolean;
272
- }): void;
273
-
274
- interface UseWalletTradeActivitiesSubscriptionParams {
275
- chain: Chain;
276
- address: string;
277
- }
278
- declare function useWalletTradeActivitiesSubscription(params: UseWalletTradeActivitiesSubscriptionParams, callback: (trades: Array<TradeActivity>) => void, options?: {
279
- enabled?: boolean;
280
- }): void;
281
-
282
- interface UseNewTokensSubscriptionParams {
283
- chain: Chain;
284
- }
285
- declare function useNewTokensSubscription(params: UseNewTokensSubscriptionParams, callback: (tokens: Array<API.TokenSubscribed>) => void, options?: {
286
- enabled?: boolean;
287
- }): void;
288
-
289
- interface UseTrendingTokensSubscriptionParams {
290
- chain: Chain;
291
- }
292
- declare function useTrendingTokensSubscription(params: UseTrendingTokensSubscriptionParams, callback: (data: Array<API.TokenSubscribed>) => void, options?: {
293
- enabled?: boolean;
294
- }): void;
295
-
296
- interface UseMigratedTokensSubscriptionParams {
297
- chain: Chain;
298
- }
299
- declare function useMigratedTokensSubscription(params: UseMigratedTokensSubscriptionParams, callback: (data: Array<API.TokenSubscribed>) => void, options?: {
300
- enabled?: boolean;
301
- }): void;
302
-
303
- interface UseFinalStretchTokensSubscriptionParams {
304
- chain: Chain;
305
- }
306
- declare function useFinalStretchTokensSubscription(params: UseFinalStretchTokensSubscriptionParams, callback: (data: Array<API.TokenSubscribed>) => void, options?: {
307
- enabled?: boolean;
308
- }): void;
309
-
310
- interface UseStockTokensSubscriptionParams {
311
- chain: Chain;
312
- }
313
- declare function useStockTokensSubscription(params: UseStockTokensSubscriptionParams, callback: (data: Array<API.TokenSubscribed>) => void, options?: {
314
- enabled?: boolean;
315
- }): void;
11
+ declare const _default: "0.1.34";
316
12
 
317
13
  type ClientOptions = ChainStreamClientOptions;
318
14
  type ClientTokenProvider = TokenProvider | string;
@@ -366,7 +62,4 @@ declare class Client implements API.IClient, API.ISubscribeClient {
366
62
  private _subscribeRankingTokens;
367
63
  }
368
64
 
369
- type DexClientProviderProps = PropsWithChildren<DexClientContextValue>;
370
- declare function DexClientProvider({ client, subscribeClient, children, }: DexClientProviderProps): react_jsx_runtime.JSX.Element;
371
-
372
- export { Client, type ClientOptions, type ClientTokenProvider, DexClientContext, type DexClientContextValue, DexClientProvider, type DexClientProviderProps, type UseFinalStretchTokensQueryParams, type UseFinalStretchTokensSubscriptionParams, type UseMigratedTokensQueryParams, type UseMigratedTokensSubscriptionParams, type UseNewTokensQueryParams, type UseNewTokensSubscriptionParams, type UseSearchTokensQueryParams, type UseSendTxMutationParams, type UseStockTokensQueryParams, type UseStockTokensSubscriptionParams, type UseSwapRouteQueryParams, type UseTokenCandlesQueryParams, type UseTokenCandlesSubscriptionParams, type UseTokenHoldersQueryParams, type UseTokenMarketDataQueryParams, type UseTokenQueryParams, type UseTokenSecurityQueryParams, type UseTokenStatsQueryParams, type UseTokenSubscriptionParams, type UseTokenTradeActivitiesQueryParams, type UseTokenTradeActivitiesSubscriptionParams, type UseTokensQueryParams, type UseTrendingTokensQueryParams, type UseTrendingTokensSubscriptionParams, type UseTxSuccessQueryParams, type UseWalletPnlQueryParams, type UseWalletPnlSubscriptionParams, type UseWalletPortfolioPnlsByTokensQueryParams, type UseWalletPortfolioPnlsInfiniteQueryParams, type UseWalletPortfolioPnlsQueryParams, type UseWalletPortfolioPnlsSubscriptionParams, type UseWalletPortfoliosByTokensQueryParams, type UseWalletPortfoliosInfiniteQueryParams, type UseWalletPortfoliosQueryParams, type UseWalletPortfoliosSubscriptionParams, type UseWalletTradeActivitiesQueryParams, type UseWalletTradeActivitiesSubscriptionParams, fetchFinalStretchTokens, fetchMigratedTokens, fetchNewTokens, fetchPresignedUploadUrl, fetchSearchTokens, fetchStockTokens, fetchSwapRoute, fetchToken, fetchTokenCandles, fetchTokenHolders, fetchTokenMarketData, fetchTokenSecurity, fetchTokenStats, fetchTokenTradeActivities, fetchTokens, fetchTrendingTokens, fetchTxSuccess, fetchWalletPnl, fetchWalletPortfolioPnls, fetchWalletPortfolioPnlsByTokens, fetchWalletPortfolios, fetchWalletPortfoliosByTokens, fetchWalletTradeActivities, finalStretchTokensQueryKey, migratedTokensQueryKey, newTokensQueryKey, searchTokensQueryKey, sendTx, stockTokensQueryKey, swapRouteQueryKey, tokenCandlesQueryKey, tokenHoldersQueryKey, tokenMarketDataQueryKey, tokenQueryKey, tokenSecurityQueryKey, tokenStatsQueryKey, tokenTradeActivitiesQueryKey, tokensQueryKey, trendingTokensQueryKey, txSuccessQueryKey, useDexClient, useFinalStretchTokensQuery, useFinalStretchTokensSubscription, useMigratedTokensQuery, useMigratedTokensSubscription, useNewTokensQuery, useNewTokensSubscription, usePresignedUploadUrlQuery, useSearchTokensQuery, useSendTxMutation, useStockTokensQuery, useStockTokensSubscription, useSwapRouteQuery, useTokenCandlesQuery, useTokenCandlesSubscription, useTokenHoldersQuery, useTokenMarketDataQuery, useTokenQuery, useTokenSecurityQuery, useTokenStatsQuery, useTokenSubscription, useTokenTradeActivitiesQuery, useTokenTradeActivitiesSubscription, useTokensQuery, useTrendingTokensQuery, useTrendingTokensSubscription, useTxSuccessQuery, useWalletPnlQuery, useWalletPnlSubscription, useWalletPortfolioPnlsByTokensQuery, useWalletPortfolioPnlsInfiniteQuery, useWalletPortfolioPnlsQuery, useWalletPortfolioPnlsSubscription, useWalletPortfoliosByTokensQuery, useWalletPortfoliosInfiniteQuery, useWalletPortfoliosQuery, useWalletPortfoliosSubscription, useWalletTradeActivitiesQuery, useWalletTradeActivitiesSubscription, _default as version, walletPnlQueryKey, walletPortfolioPnlsByTokensQueryKey, walletPortfolioPnlsInfiniteQueryKey, walletPortfolioPnlsQueryKey, walletPortfoliosByTokensQueryKey, walletPortfoliosInfiniteQueryKey, walletPortfoliosQueryKey, walletTradeActivitiesQueryKey };
65
+ export { Client, type ClientOptions, type ClientTokenProvider, _default as version };