@quicknode/sdk 1.0.0-beta.1 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/README.md +2 -835
  2. package/cjs/index.js +342 -41
  3. package/esm/package.json +2 -1
  4. package/esm/package.json.js +3 -0
  5. package/esm/src/api/api.js +85 -0
  6. package/esm/src/api/controllers/contracts.js +36 -0
  7. package/esm/src/api/controllers/events.js +121 -0
  8. package/esm/src/api/controllers/nfts.js +244 -0
  9. package/esm/src/api/controllers/tokens.js +98 -0
  10. package/esm/src/api/controllers/transactions.js +125 -0
  11. package/esm/src/api/controllers/utils.js +55 -0
  12. package/esm/src/api/graphql/customUrqlClient.js +23 -0
  13. package/esm/src/api/graphql/generatedTypes.js +62 -0
  14. package/esm/src/api/graphql/schema.json.js +3 -0
  15. package/esm/src/api/index.d.ts +2687 -0
  16. package/esm/src/api/index.js +2 -0
  17. package/esm/src/api/types/chains.js +7 -0
  18. package/esm/src/api/types/contracts/getContractDetails.js +12 -0
  19. package/esm/src/api/types/events/getAll.js +7 -0
  20. package/esm/src/api/types/events/getByContract.js +12 -0
  21. package/esm/src/api/types/nfts/getByContractAddress.js +10 -0
  22. package/esm/src/api/types/nfts/getByWalletAddress.js +18 -0
  23. package/esm/src/api/types/nfts/getCollectionDetails.js +11 -0
  24. package/esm/src/api/types/nfts/getCollectionEvents.js +12 -0
  25. package/esm/src/api/types/nfts/getNFTDetails.js +9 -0
  26. package/esm/src/api/types/nfts/getNFTEvents.js +13 -0
  27. package/esm/src/api/types/nfts/getTrendingCollections.js +7 -0
  28. package/esm/src/api/types/nfts/verifyOwnershipByAddress.js +12 -0
  29. package/esm/src/api/types/tokens/getBalancesByWalletAddress.js +12 -0
  30. package/esm/src/api/types/transactions/getByHash.js +11 -0
  31. package/esm/src/api/types/transactions/getBySearch.js +7 -0
  32. package/esm/src/api/types/utils/gasPrices.js +12 -0
  33. package/esm/src/api/utils/constants.js +3 -0
  34. package/esm/src/api/utils/helpers.js +11 -0
  35. package/esm/src/api/utils/isValidENSAddress.js +21 -0
  36. package/esm/src/api/utils/postQueryFormatter.js +24 -0
  37. package/esm/src/api/utils/removeNodesAndEdges.js +51 -0
  38. package/esm/src/client/client.js +9 -0
  39. package/esm/src/client/index.js +2 -0
  40. package/esm/src/core/addOns/nftTokenV2/actions.js +107 -0
  41. package/esm/src/core/addOns/nftTokenV2/types/qn_fetchNFTCollectionDetails.js +10 -0
  42. package/esm/src/core/addOns/nftTokenV2/types/qn_fetchNFTs.js +13 -0
  43. package/esm/src/core/addOns/nftTokenV2/types/qn_fetchNFTsByCollection.js +13 -0
  44. package/esm/src/core/addOns/nftTokenV2/types/qn_getTokenMetadataByContractAddress.js +10 -0
  45. package/esm/src/core/addOns/nftTokenV2/types/qn_getTokenMetadataBySymbol.js +11 -0
  46. package/esm/src/core/addOns/nftTokenV2/types/qn_getTransactionsByAddress.js +18 -0
  47. package/esm/src/core/addOns/nftTokenV2/types/qn_getTransfersByNFT.js +12 -0
  48. package/esm/src/core/addOns/nftTokenV2/types/qn_getWalletTokenBalance.js +12 -0
  49. package/esm/src/core/addOns/nftTokenV2/types/qn_getWalletTokenTransactions.js +14 -0
  50. package/esm/src/core/addOns/nftTokenV2/types/qn_verifyNFTsOwner.js +11 -0
  51. package/esm/src/core/addOns/shared/helpers.js +10 -0
  52. package/esm/src/core/chains.js +60 -0
  53. package/esm/src/core/core.js +24 -0
  54. package/esm/src/core/index.d.ts +555 -0
  55. package/esm/src/core/index.js +2 -0
  56. package/esm/src/index.js +10 -0
  57. package/esm/src/lib/errors/QNChainNotSupported.js +7 -0
  58. package/esm/src/lib/errors/QNInputValidationError.js +10 -0
  59. package/esm/src/lib/errors/QNInvalidEnpointUrl.js +7 -0
  60. package/esm/src/lib/helpers/globalFetch.js +13 -0
  61. package/esm/src/lib/validation/ValidateInput.js +35 -0
  62. package/esm/src/lib/validation/codegenDerivedValidators.js +28 -0
  63. package/esm/src/lib/validation/validators.js +105 -0
  64. package/index.d.ts +612 -89
  65. package/package.json +25 -3
  66. package/esm/index.js +0 -1172
@@ -0,0 +1,2687 @@
1
+ import { Client, GraphQLRequestParams } from '@urql/core';
2
+ import * as _urql_core_dist_urql_core_chunk from '@urql/core/dist/urql-core-chunk';
3
+ import { z } from 'zod';
4
+
5
+ /** All built-in and custom scalars, mapped to their actual values */
6
+ type Scalars = {
7
+ ID: string;
8
+ String: string;
9
+ Boolean: boolean;
10
+ Int: number;
11
+ Float: number;
12
+ BigInt: any;
13
+ DateTime: any;
14
+ JSON: any;
15
+ JSONObject: any;
16
+ };
17
+ /** Gas Prices for a given block. Gas values are returned in Wei. */
18
+ type CodegenGasPrice = {
19
+ /** The average gas price */
20
+ average: Scalars['Float'];
21
+ /** The block number */
22
+ blockNumber: Scalars['Int'];
23
+ /** The highest gas price */
24
+ ceiling: Scalars['Float'];
25
+ /** The lowest gas price */
26
+ floor: Scalars['Float'];
27
+ /** The median gas price */
28
+ median: Scalars['Float'];
29
+ /** The total gas price */
30
+ total: Scalars['Float'];
31
+ };
32
+ /** Marketplace where the token was sold */
33
+ type CodegenMarketplace = 'BLUR' | 'CRYPTOPUNKS' | 'LOOKSRARE' | 'NIFTY_GATEWAY' | 'OPENSEA' | 'SEAPORT' | 'X2Y2' | 'ZEROX';
34
+ type CodegenTokenTransferType = 'BURN' | 'MINT' | 'SALE' | 'SWAP' | 'TRANSFER';
35
+ type CodegenNftCollectionInfoFragment = {
36
+ collection?: {
37
+ address: string;
38
+ baseTokenUri?: string | null;
39
+ circulatingSupply?: any | null;
40
+ description?: string | null;
41
+ externalUrl?: string | null;
42
+ name?: string | null;
43
+ slug?: string | null;
44
+ symbol?: string | null;
45
+ totalSupply?: any | null;
46
+ twitterUsername?: string | null;
47
+ bannerImage?: Array<{
48
+ height?: number | null;
49
+ mimeType?: string | null;
50
+ url: string;
51
+ width?: number | null;
52
+ }> | null;
53
+ contract?: {
54
+ address: string;
55
+ isVerified?: boolean | null;
56
+ name?: string | null;
57
+ symbol?: string | null;
58
+ supportedErcInterfaces?: Array<string> | null;
59
+ } | null;
60
+ image?: Array<{
61
+ height?: number | null;
62
+ mimeType?: string | null;
63
+ url: string;
64
+ width?: number | null;
65
+ }> | null;
66
+ ohlcvChart?: Array<{
67
+ average?: number | null;
68
+ close?: number | null;
69
+ count: number;
70
+ high?: number | null;
71
+ low?: number | null;
72
+ open?: number | null;
73
+ volume?: number | null;
74
+ timestamp: any;
75
+ }> | null;
76
+ openseaMetadata?: {
77
+ isHidden?: boolean | null;
78
+ isVerified?: boolean | null;
79
+ unsafeSlug?: string | null;
80
+ } | null;
81
+ } | {
82
+ address: string;
83
+ baseTokenUri?: string | null;
84
+ circulatingSupply?: any | null;
85
+ description?: string | null;
86
+ externalUrl?: string | null;
87
+ name?: string | null;
88
+ slug?: string | null;
89
+ symbol?: string | null;
90
+ totalSupply?: any | null;
91
+ twitterUsername?: string | null;
92
+ bannerImage?: Array<{
93
+ height?: number | null;
94
+ mimeType?: string | null;
95
+ url: string;
96
+ width?: number | null;
97
+ }> | null;
98
+ contract?: {
99
+ address: string;
100
+ isVerified?: boolean | null;
101
+ name?: string | null;
102
+ symbol?: string | null;
103
+ supportedErcInterfaces?: Array<string> | null;
104
+ } | null;
105
+ image?: Array<{
106
+ height?: number | null;
107
+ mimeType?: string | null;
108
+ url: string;
109
+ width?: number | null;
110
+ }> | null;
111
+ ohlcvChart?: Array<{
112
+ average?: number | null;
113
+ close?: number | null;
114
+ count: number;
115
+ high?: number | null;
116
+ low?: number | null;
117
+ open?: number | null;
118
+ volume?: number | null;
119
+ timestamp: any;
120
+ }> | null;
121
+ openseaMetadata?: {
122
+ isHidden?: boolean | null;
123
+ isVerified?: boolean | null;
124
+ unsafeSlug?: string | null;
125
+ } | null;
126
+ } | null;
127
+ };
128
+ type CodegenNftDetailsFragment = {
129
+ nft?: {
130
+ __typename: 'ERC721NFT';
131
+ animationUrl?: string | null;
132
+ collectionSlug?: string | null;
133
+ contractAddress: string;
134
+ description?: string | null;
135
+ externalUrl?: string | null;
136
+ metadata?: any | null;
137
+ name?: string | null;
138
+ tokenId: any;
139
+ wallet?: {
140
+ address: string;
141
+ ensName?: string | null;
142
+ } | null;
143
+ } | {
144
+ __typename: 'ERC1155NFT';
145
+ animationUrl?: string | null;
146
+ collectionSlug?: string | null;
147
+ contractAddress: string;
148
+ description?: string | null;
149
+ externalUrl?: string | null;
150
+ metadata?: any | null;
151
+ name?: string | null;
152
+ tokenId: any;
153
+ wallets: {
154
+ edges: Array<{
155
+ node: {
156
+ address: string;
157
+ ensName?: string | null;
158
+ };
159
+ }>;
160
+ };
161
+ } | null;
162
+ };
163
+ type CodegenERC1155NFTNodeFragment = {
164
+ __typename: 'ERC1155NFT';
165
+ animationUrl?: string | null;
166
+ collectionSlug?: string | null;
167
+ contractAddress: string;
168
+ description?: string | null;
169
+ externalUrl?: string | null;
170
+ metadata?: any | null;
171
+ name?: string | null;
172
+ tokenId: any;
173
+ wallets: {
174
+ edges: Array<{
175
+ node: {
176
+ address: string;
177
+ ensName?: string | null;
178
+ };
179
+ }>;
180
+ };
181
+ };
182
+ type CodegenERC721NFTNodeFragment = {
183
+ __typename: 'ERC721NFT';
184
+ animationUrl?: string | null;
185
+ collectionSlug?: string | null;
186
+ contractAddress: string;
187
+ description?: string | null;
188
+ externalUrl?: string | null;
189
+ metadata?: any | null;
190
+ name?: string | null;
191
+ tokenId: any;
192
+ attributes?: Array<{
193
+ name: string;
194
+ value: string;
195
+ }> | null;
196
+ wallet?: {
197
+ address: string;
198
+ ensName?: string | null;
199
+ } | null;
200
+ };
201
+ type CodegenTransactionsNodeFragment = {
202
+ blockNumber: number;
203
+ blockTimestamp: any;
204
+ contractAddress?: string | null;
205
+ fromAddress: string;
206
+ cumulativeGasUsed: any;
207
+ effectiveGasPrice?: any | null;
208
+ gas?: any | null;
209
+ gasPrice?: any | null;
210
+ gasUsed: any;
211
+ hash: string;
212
+ maxFeePerGas?: any | null;
213
+ maxPriorityFeePerGas?: any | null;
214
+ toAddress?: string | null;
215
+ type?: string | null;
216
+ input?: string | null;
217
+ transactionIndex: number;
218
+ value?: any | null;
219
+ };
220
+ type CodegenTrendingCollectionInfo_CodegenERC721Collection_CodegenFragment = {
221
+ address: string;
222
+ baseTokenUri?: string | null;
223
+ circulatingSupply?: any | null;
224
+ description?: string | null;
225
+ externalUrl?: string | null;
226
+ name?: string | null;
227
+ symbol?: string | null;
228
+ totalSupply?: any | null;
229
+ twitterUsername?: string | null;
230
+ image?: Array<{
231
+ height?: number | null;
232
+ mimeType?: string | null;
233
+ url: string;
234
+ width?: number | null;
235
+ }> | null;
236
+ openseaMetadata?: {
237
+ isHidden?: boolean | null;
238
+ isVerified?: boolean | null;
239
+ unsafeSlug?: string | null;
240
+ } | null;
241
+ };
242
+ type CodegenTrendingCollectionInfo_CodegenERC1155Collection_CodegenFragment = {
243
+ address: string;
244
+ baseTokenUri?: string | null;
245
+ circulatingSupply?: any | null;
246
+ description?: string | null;
247
+ externalUrl?: string | null;
248
+ name?: string | null;
249
+ symbol?: string | null;
250
+ totalSupply?: any | null;
251
+ twitterUsername?: string | null;
252
+ image?: Array<{
253
+ height?: number | null;
254
+ mimeType?: string | null;
255
+ url: string;
256
+ width?: number | null;
257
+ }> | null;
258
+ openseaMetadata?: {
259
+ isHidden?: boolean | null;
260
+ isVerified?: boolean | null;
261
+ unsafeSlug?: string | null;
262
+ } | null;
263
+ };
264
+ type CodegenTrendingCollectionInfoFragment = CodegenTrendingCollectionInfo_CodegenERC721Collection_CodegenFragment | CodegenTrendingCollectionInfo_CodegenERC1155Collection_CodegenFragment;
265
+ type CodegenWalletNFTNodeFragment = {
266
+ nft?: {
267
+ animationUrl?: string | null;
268
+ collectionSlug?: string | null;
269
+ contractAddress: string;
270
+ description?: string | null;
271
+ externalUrl?: string | null;
272
+ metadata?: any | null;
273
+ name?: string | null;
274
+ tokenId: any;
275
+ } | {
276
+ animationUrl?: string | null;
277
+ collectionSlug?: string | null;
278
+ contractAddress: string;
279
+ description?: string | null;
280
+ externalUrl?: string | null;
281
+ metadata?: any | null;
282
+ name?: string | null;
283
+ tokenId: any;
284
+ } | null;
285
+ };
286
+ type CodegenContractInfo_CodegenNFTContract_CodegenFragment = {
287
+ __typename: 'NFTContract';
288
+ abi?: any | null;
289
+ address: string;
290
+ isVerified?: boolean | null;
291
+ name?: string | null;
292
+ supportedErcInterfaces?: Array<string> | null;
293
+ symbol?: string | null;
294
+ };
295
+ type CodegenContractInfo_CodegenTokenContract_CodegenFragment = {
296
+ __typename: 'TokenContract';
297
+ decimals?: any | null;
298
+ abi?: any | null;
299
+ address: string;
300
+ isVerified?: boolean | null;
301
+ name?: string | null;
302
+ supportedErcInterfaces?: Array<string> | null;
303
+ symbol?: string | null;
304
+ };
305
+ type CodegenContractInfoFragment = CodegenContractInfo_CodegenNFTContract_CodegenFragment | CodegenContractInfo_CodegenTokenContract_CodegenFragment;
306
+ type CodegenTokenBalanceNodeFragment = {
307
+ totalBalance: any;
308
+ contract?: {
309
+ address: string;
310
+ decimals?: any | null;
311
+ name?: string | null;
312
+ symbol?: string | null;
313
+ } | null;
314
+ };
315
+ type CodegenTokenEventInfo_CodegenTokenBurnEvent_CodegenFragment = {
316
+ __typename: 'TokenBurnEvent';
317
+ tokenId?: any | null;
318
+ tokenQuantity: any;
319
+ blockNumber: number;
320
+ fromAddress: string;
321
+ timestamp: any;
322
+ toAddress: string;
323
+ transactionHash?: string | null;
324
+ transferIndex: number;
325
+ type: CodegenTokenTransferType;
326
+ };
327
+ type CodegenTokenEventInfo_CodegenTokenMintEvent_CodegenFragment = {
328
+ __typename: 'TokenMintEvent';
329
+ tokenQuantity: any;
330
+ blockNumber: number;
331
+ fromAddress: string;
332
+ timestamp: any;
333
+ toAddress: string;
334
+ transactionHash?: string | null;
335
+ transferIndex: number;
336
+ type: CodegenTokenTransferType;
337
+ };
338
+ type CodegenTokenEventInfo_CodegenTokenSaleEvent_CodegenFragment = {
339
+ __typename: 'TokenSaleEvent';
340
+ marketplace?: CodegenMarketplace | null;
341
+ receivedTokenContractAddress?: string | null;
342
+ receivedTokenId?: any | null;
343
+ sentTokenId?: any | null;
344
+ blockNumber: number;
345
+ fromAddress: string;
346
+ timestamp: any;
347
+ toAddress: string;
348
+ transactionHash?: string | null;
349
+ transferIndex: number;
350
+ type: CodegenTokenTransferType;
351
+ };
352
+ type CodegenTokenEventInfo_CodegenTokenSwapEvent_CodegenFragment = {
353
+ __typename: 'TokenSwapEvent';
354
+ blockNumber: number;
355
+ fromAddress: string;
356
+ timestamp: any;
357
+ toAddress: string;
358
+ transactionHash?: string | null;
359
+ transferIndex: number;
360
+ type: CodegenTokenTransferType;
361
+ };
362
+ type CodegenTokenEventInfo_CodegenTokenTransferEvent_CodegenFragment = {
363
+ __typename: 'TokenTransferEvent';
364
+ tokenId?: any | null;
365
+ contractAddress: string;
366
+ tokenQuantity: any;
367
+ blockNumber: number;
368
+ fromAddress: string;
369
+ timestamp: any;
370
+ toAddress: string;
371
+ transactionHash?: string | null;
372
+ transferIndex: number;
373
+ type: CodegenTokenTransferType;
374
+ };
375
+ type CodegenTokenEventInfoFragment = CodegenTokenEventInfo_CodegenTokenBurnEvent_CodegenFragment | CodegenTokenEventInfo_CodegenTokenMintEvent_CodegenFragment | CodegenTokenEventInfo_CodegenTokenSaleEvent_CodegenFragment | CodegenTokenEventInfo_CodegenTokenSwapEvent_CodegenFragment | CodegenTokenEventInfo_CodegenTokenTransferEvent_CodegenFragment;
376
+ type CodegenPaginationFragment = {
377
+ endCursor?: string | null;
378
+ hasNextPage: boolean;
379
+ hasPreviousPage: boolean;
380
+ startCursor?: string | null;
381
+ };
382
+
383
+ type ResultOutput = Record<string | number | symbol, any>;
384
+
385
+ declare class CustomUrqlClient {
386
+ urqlClient: Client;
387
+ constructor(urqlClient: Client);
388
+ query<TVariables extends Record<string, any>, KResults extends Record<string, any>, KResultsOutput extends ResultOutput>(options: GraphQLRequestParams<any, TVariables>): Promise<{
389
+ data: any;
390
+ operation: _urql_core_dist_urql_core_chunk.Operation<any, Record<string, any> | TVariables>;
391
+ error?: _urql_core_dist_urql_core_chunk.CombinedError | undefined;
392
+ extensions?: Record<string, any> | undefined;
393
+ stale: boolean;
394
+ hasNext: boolean;
395
+ }>;
396
+ }
397
+
398
+ declare const supportedChains: readonly ["ethereum", "polygon", "ethereumSepolia"];
399
+ type ChainName = (typeof supportedChains)[number];
400
+
401
+ type SimplifyType<T> = T extends object ? {
402
+ [K in keyof T]: SimplifyType<T[K]>;
403
+ } : T;
404
+
405
+ declare const walletByAddressValidator: z.ZodObject<{
406
+ filter: z.ZodOptional<z.ZodObject<{
407
+ contractTokens: z.ZodArray<z.ZodObject<{
408
+ contractAddress: z.ZodString;
409
+ tokenId: z.ZodOptional<z.ZodString>;
410
+ }, "strict", z.ZodTypeAny, {
411
+ contractAddress: string;
412
+ tokenId?: string | undefined;
413
+ }, {
414
+ contractAddress: string;
415
+ tokenId?: string | undefined;
416
+ }>, "atleastone">;
417
+ }, "strict", z.ZodTypeAny, {
418
+ contractTokens: [{
419
+ contractAddress: string;
420
+ tokenId?: string | undefined;
421
+ }, ...{
422
+ contractAddress: string;
423
+ tokenId?: string | undefined;
424
+ }[]];
425
+ }, {
426
+ contractTokens: [{
427
+ contractAddress: string;
428
+ tokenId?: string | undefined;
429
+ }, ...{
430
+ contractAddress: string;
431
+ tokenId?: string | undefined;
432
+ }[]];
433
+ }>>;
434
+ before: z.ZodOptional<z.ZodNullable<z.ZodString>>;
435
+ after: z.ZodOptional<z.ZodNullable<z.ZodString>>;
436
+ first: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
437
+ address: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodString]>;
438
+ chain: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ethereum", "polygon", "ethereumSepolia"]>>>;
439
+ }, "strict", z.ZodTypeAny, {
440
+ address: string;
441
+ filter?: {
442
+ contractTokens: [{
443
+ contractAddress: string;
444
+ tokenId?: string | undefined;
445
+ }, ...{
446
+ contractAddress: string;
447
+ tokenId?: string | undefined;
448
+ }[]];
449
+ } | undefined;
450
+ before?: string | null | undefined;
451
+ after?: string | null | undefined;
452
+ first?: number | null | undefined;
453
+ chain?: "ethereum" | "ethereumSepolia" | "polygon" | null | undefined;
454
+ }, {
455
+ address: string;
456
+ filter?: {
457
+ contractTokens: [{
458
+ contractAddress: string;
459
+ tokenId?: string | undefined;
460
+ }, ...{
461
+ contractAddress: string;
462
+ tokenId?: string | undefined;
463
+ }[]];
464
+ } | undefined;
465
+ before?: string | null | undefined;
466
+ after?: string | null | undefined;
467
+ first?: number | null | undefined;
468
+ chain?: "ethereum" | "ethereumSepolia" | "polygon" | null | undefined;
469
+ }>;
470
+ type WalletNFTsByAddressInput = z.infer<typeof walletByAddressValidator>;
471
+ type WalletNFTsByAddressResult = SimplifyType<{
472
+ address: string;
473
+ ensName: string;
474
+ results: CodegenWalletNFTNodeFragment['nft'][];
475
+ pageInfo: CodegenPaginationFragment;
476
+ }>;
477
+
478
+ declare const nftDetailsValidator: z.ZodObject<{
479
+ contractAddress: z.ZodString;
480
+ tokenId: z.ZodString;
481
+ chain: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ethereum", "polygon", "ethereumSepolia"]>>>;
482
+ }, "strict", z.ZodTypeAny, {
483
+ contractAddress: string;
484
+ tokenId: string;
485
+ chain?: "ethereum" | "ethereumSepolia" | "polygon" | null | undefined;
486
+ }, {
487
+ contractAddress: string;
488
+ tokenId: string;
489
+ chain?: "ethereum" | "ethereumSepolia" | "polygon" | null | undefined;
490
+ }>;
491
+ type NFTDetailsInput = z.infer<typeof nftDetailsValidator>;
492
+ type NFTDetailsResult = SimplifyType<{
493
+ nft: CodegenNftDetailsFragment['nft'];
494
+ }>;
495
+
496
+ declare const nftCollectionDetailsValidator: z.ZodObject<{
497
+ contractAddress: z.ZodString;
498
+ chain: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ethereum", "polygon", "ethereumSepolia"]>>>;
499
+ }, "strict", z.ZodTypeAny, {
500
+ contractAddress: string;
501
+ chain?: "ethereum" | "ethereumSepolia" | "polygon" | null | undefined;
502
+ }, {
503
+ contractAddress: string;
504
+ chain?: "ethereum" | "ethereumSepolia" | "polygon" | null | undefined;
505
+ }>;
506
+ type NftCollectionDetailsInput = z.infer<typeof nftCollectionDetailsValidator>;
507
+ type NftCollectionDetailsResult = SimplifyType<{
508
+ collection: CodegenNftCollectionInfoFragment['collection'];
509
+ }>;
510
+
511
+ declare const nftTrendingCollectionsValidator: z.ZodObject<{
512
+ before: z.ZodOptional<z.ZodNullable<z.ZodString>>;
513
+ after: z.ZodOptional<z.ZodNullable<z.ZodString>>;
514
+ first: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
515
+ chain: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ethereum", "polygon", "ethereumSepolia"]>>>;
516
+ }, "strict", z.ZodTypeAny, {
517
+ before?: string | null | undefined;
518
+ after?: string | null | undefined;
519
+ first?: number | null | undefined;
520
+ chain?: "ethereum" | "ethereumSepolia" | "polygon" | null | undefined;
521
+ }, {
522
+ before?: string | null | undefined;
523
+ after?: string | null | undefined;
524
+ first?: number | null | undefined;
525
+ chain?: "ethereum" | "ethereumSepolia" | "polygon" | null | undefined;
526
+ }>;
527
+ type NFTTrendingCollectionsInput = z.infer<typeof nftTrendingCollectionsValidator>;
528
+ type NFTTrendingCollectionResult = SimplifyType<{
529
+ results: CodegenTrendingCollectionInfoFragment[];
530
+ pageInfo: CodegenPaginationFragment;
531
+ }>;
532
+
533
+ type NftErcStandards = 'ERC721' | 'ERC1155';
534
+
535
+ declare const nftsByContractAddressValidator: z.ZodObject<{
536
+ contractAddress: z.ZodString;
537
+ before: z.ZodOptional<z.ZodNullable<z.ZodString>>;
538
+ after: z.ZodOptional<z.ZodNullable<z.ZodString>>;
539
+ first: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
540
+ chain: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ethereum", "polygon", "ethereumSepolia"]>>>;
541
+ }, "strict", z.ZodTypeAny, {
542
+ contractAddress: string;
543
+ before?: string | null | undefined;
544
+ after?: string | null | undefined;
545
+ first?: number | null | undefined;
546
+ chain?: "ethereum" | "ethereumSepolia" | "polygon" | null | undefined;
547
+ }, {
548
+ contractAddress: string;
549
+ before?: string | null | undefined;
550
+ after?: string | null | undefined;
551
+ first?: number | null | undefined;
552
+ chain?: "ethereum" | "ethereumSepolia" | "polygon" | null | undefined;
553
+ }>;
554
+ type NFTsByContractAddressInput = z.infer<typeof nftsByContractAddressValidator>;
555
+ type NFTsByContractAddressResult = SimplifyType<{
556
+ standard: NftErcStandards | null;
557
+ results: [CodegenERC721NFTNodeFragment | CodegenERC1155NFTNodeFragment][];
558
+ pageInfo: CodegenPaginationFragment;
559
+ }>;
560
+
561
+ declare const verifyOwnershipValidator: z.ZodObject<{
562
+ address: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodString]>;
563
+ nfts: z.ZodArray<z.ZodObject<{
564
+ contractAddress: z.ZodString;
565
+ tokenId: z.ZodOptional<z.ZodString>;
566
+ }, "strict", z.ZodTypeAny, {
567
+ contractAddress: string;
568
+ tokenId?: string | undefined;
569
+ }, {
570
+ contractAddress: string;
571
+ tokenId?: string | undefined;
572
+ }>, "atleastone">;
573
+ chain: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ethereum", "polygon", "ethereumSepolia"]>>>;
574
+ }, "strict", z.ZodTypeAny, {
575
+ address: string;
576
+ nfts: [{
577
+ contractAddress: string;
578
+ tokenId?: string | undefined;
579
+ }, ...{
580
+ contractAddress: string;
581
+ tokenId?: string | undefined;
582
+ }[]];
583
+ chain?: "ethereum" | "ethereumSepolia" | "polygon" | null | undefined;
584
+ }, {
585
+ address: string;
586
+ nfts: [{
587
+ contractAddress: string;
588
+ tokenId?: string | undefined;
589
+ }, ...{
590
+ contractAddress: string;
591
+ tokenId?: string | undefined;
592
+ }[]];
593
+ chain?: "ethereum" | "ethereumSepolia" | "polygon" | null | undefined;
594
+ }>;
595
+ type VerifyOwnershipByAddressInput = z.infer<typeof verifyOwnershipValidator>;
596
+
597
+ declare class NftsController {
598
+ private client;
599
+ private defaultChain;
600
+ constructor(client: CustomUrqlClient, defaultChain?: ChainName);
601
+ getByWallet(variables: WalletNFTsByAddressInput): Promise<WalletNFTsByAddressResult>;
602
+ private getByWalletENS;
603
+ private getByWalletAddress;
604
+ getTrendingCollections(variables: NFTTrendingCollectionsInput): Promise<NFTTrendingCollectionResult>;
605
+ getByContractAddress(variables: NFTsByContractAddressInput): Promise<NFTsByContractAddressResult>;
606
+ getNFTDetails(variables: NFTDetailsInput): Promise<NFTDetailsResult>;
607
+ getCollectionDetails(variables: NftCollectionDetailsInput): Promise<NftCollectionDetailsResult>;
608
+ verifyOwnership(variables: VerifyOwnershipByAddressInput): Promise<boolean>;
609
+ private verifyOwnershipByAddress;
610
+ private verifyOwnershipByENS;
611
+ }
612
+
613
+ type BalancesByWalletENSResult = SimplifyType<{
614
+ address: string;
615
+ ensName: string;
616
+ results: CodegenTokenBalanceNodeFragment[];
617
+ pageInfo: CodegenPaginationFragment;
618
+ }>;
619
+
620
+ declare const balancesByWalletAddressValidator$1: z.ZodObject<{
621
+ before: z.ZodOptional<z.ZodNullable<z.ZodString>>;
622
+ after: z.ZodOptional<z.ZodNullable<z.ZodString>>;
623
+ first: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
624
+ address: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodString]>;
625
+ chain: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ethereum", "polygon", "ethereumSepolia"]>>>;
626
+ }, "strict", z.ZodTypeAny, {
627
+ address: string;
628
+ before?: string | null | undefined;
629
+ after?: string | null | undefined;
630
+ first?: number | null | undefined;
631
+ chain?: "ethereum" | "ethereumSepolia" | "polygon" | null | undefined;
632
+ }, {
633
+ address: string;
634
+ before?: string | null | undefined;
635
+ after?: string | null | undefined;
636
+ first?: number | null | undefined;
637
+ chain?: "ethereum" | "ethereumSepolia" | "polygon" | null | undefined;
638
+ }>;
639
+ type BalancesByWalletAddressInput = z.infer<typeof balancesByWalletAddressValidator$1>;
640
+
641
+ declare class TokensController {
642
+ private client;
643
+ private defaultChain;
644
+ constructor(client: CustomUrqlClient, defaultChain?: ChainName);
645
+ getBalancesByWallet(variables: BalancesByWalletAddressInput): Promise<BalancesByWalletENSResult>;
646
+ private getBalancesByWalletENS;
647
+ private getBalancesByWalletAddress;
648
+ private flattenBalanceResponses;
649
+ }
650
+
651
+ declare const gasPricesValidator: z.ZodObject<{
652
+ filter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
653
+ blockNumber: z.ZodOptional<z.ZodNullable<z.ZodObject<{
654
+ eq: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
655
+ gt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
656
+ gte: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
657
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
658
+ lt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
659
+ lte: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
660
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
661
+ }, "strict", z.ZodTypeAny, {
662
+ eq?: number | null | undefined;
663
+ gt?: number | null | undefined;
664
+ gte?: number | null | undefined;
665
+ in?: number[] | null | undefined;
666
+ lt?: number | null | undefined;
667
+ lte?: number | null | undefined;
668
+ notIn?: number[] | null | undefined;
669
+ }, {
670
+ eq?: number | null | undefined;
671
+ gt?: number | null | undefined;
672
+ gte?: number | null | undefined;
673
+ in?: number[] | null | undefined;
674
+ lt?: number | null | undefined;
675
+ lte?: number | null | undefined;
676
+ notIn?: number[] | null | undefined;
677
+ }>>>;
678
+ }, "strict", z.ZodTypeAny, {
679
+ blockNumber?: {
680
+ eq?: number | null | undefined;
681
+ gt?: number | null | undefined;
682
+ gte?: number | null | undefined;
683
+ in?: number[] | null | undefined;
684
+ lt?: number | null | undefined;
685
+ lte?: number | null | undefined;
686
+ notIn?: number[] | null | undefined;
687
+ } | null | undefined;
688
+ }, {
689
+ blockNumber?: {
690
+ eq?: number | null | undefined;
691
+ gt?: number | null | undefined;
692
+ gte?: number | null | undefined;
693
+ in?: number[] | null | undefined;
694
+ lt?: number | null | undefined;
695
+ lte?: number | null | undefined;
696
+ notIn?: number[] | null | undefined;
697
+ } | null | undefined;
698
+ }>>>;
699
+ returnInGwei: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
700
+ chain: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ethereum", "polygon", "ethereumSepolia"]>>>;
701
+ }, "strict", z.ZodTypeAny, {
702
+ filter?: {
703
+ blockNumber?: {
704
+ eq?: number | null | undefined;
705
+ gt?: number | null | undefined;
706
+ gte?: number | null | undefined;
707
+ in?: number[] | null | undefined;
708
+ lt?: number | null | undefined;
709
+ lte?: number | null | undefined;
710
+ notIn?: number[] | null | undefined;
711
+ } | null | undefined;
712
+ } | null | undefined;
713
+ returnInGwei?: boolean | null | undefined;
714
+ chain?: "ethereum" | "ethereumSepolia" | "polygon" | null | undefined;
715
+ }, {
716
+ filter?: {
717
+ blockNumber?: {
718
+ eq?: number | null | undefined;
719
+ gt?: number | null | undefined;
720
+ gte?: number | null | undefined;
721
+ in?: number[] | null | undefined;
722
+ lt?: number | null | undefined;
723
+ lte?: number | null | undefined;
724
+ notIn?: number[] | null | undefined;
725
+ } | null | undefined;
726
+ } | null | undefined;
727
+ returnInGwei?: boolean | null | undefined;
728
+ chain?: "ethereum" | "ethereumSepolia" | "polygon" | null | undefined;
729
+ }>;
730
+ type GasPricesInput = z.infer<typeof gasPricesValidator>;
731
+ type GasPricesResult = SimplifyType<{
732
+ gasPrices: CodegenGasPrice[];
733
+ }>;
734
+
735
+ declare class UtilsController {
736
+ private client;
737
+ private defaultChain;
738
+ constructor(client: CustomUrqlClient, defaultChain?: ChainName);
739
+ getGasPrices(variables: GasPricesInput): Promise<GasPricesResult>;
740
+ }
741
+
742
+ declare const contractDetailsValidator: z.ZodObject<{
743
+ contractAddress: z.ZodString;
744
+ chain: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ethereum", "polygon", "ethereumSepolia"]>>>;
745
+ }, "strict", z.ZodTypeAny, {
746
+ contractAddress: string;
747
+ chain?: "ethereum" | "ethereumSepolia" | "polygon" | null | undefined;
748
+ }, {
749
+ contractAddress: string;
750
+ chain?: "ethereum" | "ethereumSepolia" | "polygon" | null | undefined;
751
+ }>;
752
+ type ContractDetailsInput = z.infer<typeof contractDetailsValidator>;
753
+ type ContractDetailsResult = SimplifyType<{
754
+ contract: CodegenContractInfoFragment | null;
755
+ }>;
756
+
757
+ declare class ContractsController {
758
+ private client;
759
+ private defaultChain;
760
+ constructor(client: CustomUrqlClient, defaultChain?: ChainName);
761
+ getDetails(variables: ContractDetailsInput): Promise<ContractDetailsResult>;
762
+ }
763
+
764
+ declare const contractEventsValidator: z.ZodObject<{
765
+ contractAddress: z.ZodString;
766
+ filter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
767
+ blockNumber: z.ZodOptional<z.ZodNullable<z.ZodObject<{
768
+ eq: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
769
+ gt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
770
+ gte: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
771
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
772
+ lt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
773
+ lte: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
774
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
775
+ }, "strict", z.ZodTypeAny, {
776
+ eq?: number | null | undefined;
777
+ gt?: number | null | undefined;
778
+ gte?: number | null | undefined;
779
+ in?: number[] | null | undefined;
780
+ lt?: number | null | undefined;
781
+ lte?: number | null | undefined;
782
+ notIn?: number[] | null | undefined;
783
+ }, {
784
+ eq?: number | null | undefined;
785
+ gt?: number | null | undefined;
786
+ gte?: number | null | undefined;
787
+ in?: number[] | null | undefined;
788
+ lt?: number | null | undefined;
789
+ lte?: number | null | undefined;
790
+ notIn?: number[] | null | undefined;
791
+ }>>>;
792
+ contractAddress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
793
+ eq: z.ZodOptional<z.ZodNullable<z.ZodString>>;
794
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
795
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
796
+ }, "strict", z.ZodTypeAny, {
797
+ eq?: string | null | undefined;
798
+ in?: string[] | null | undefined;
799
+ notIn?: string[] | null | undefined;
800
+ }, {
801
+ eq?: string | null | undefined;
802
+ in?: string[] | null | undefined;
803
+ notIn?: string[] | null | undefined;
804
+ }>>>;
805
+ contractStandard: z.ZodOptional<z.ZodNullable<z.ZodObject<{
806
+ eq: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ERC20", "ERC721", "ERC1155"]>>>;
807
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["ERC20", "ERC721", "ERC1155"]>, "many">>>;
808
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["ERC20", "ERC721", "ERC1155"]>, "many">>>;
809
+ }, "strict", z.ZodTypeAny, {
810
+ eq?: "ERC721" | "ERC1155" | "ERC20" | null | undefined;
811
+ in?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
812
+ notIn?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
813
+ }, {
814
+ eq?: "ERC721" | "ERC1155" | "ERC20" | null | undefined;
815
+ in?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
816
+ notIn?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
817
+ }>>>;
818
+ fromAddress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
819
+ eq: z.ZodOptional<z.ZodNullable<z.ZodString>>;
820
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
821
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
822
+ }, "strict", z.ZodTypeAny, {
823
+ eq?: string | null | undefined;
824
+ in?: string[] | null | undefined;
825
+ notIn?: string[] | null | undefined;
826
+ }, {
827
+ eq?: string | null | undefined;
828
+ in?: string[] | null | undefined;
829
+ notIn?: string[] | null | undefined;
830
+ }>>>;
831
+ marketplace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
832
+ eq: z.ZodOptional<z.ZodNullable<z.ZodEnum<["BLUR", "CRYPTOPUNKS", "LOOKSRARE", "NIFTY_GATEWAY", "OPENSEA", "SEAPORT", "X2Y2", "ZEROX"]>>>;
833
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["BLUR", "CRYPTOPUNKS", "LOOKSRARE", "NIFTY_GATEWAY", "OPENSEA", "SEAPORT", "X2Y2", "ZEROX"]>, "many">>>;
834
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["BLUR", "CRYPTOPUNKS", "LOOKSRARE", "NIFTY_GATEWAY", "OPENSEA", "SEAPORT", "X2Y2", "ZEROX"]>, "many">>>;
835
+ }, "strict", z.ZodTypeAny, {
836
+ eq?: "BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX" | null | undefined;
837
+ in?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
838
+ notIn?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
839
+ }, {
840
+ eq?: "BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX" | null | undefined;
841
+ in?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
842
+ notIn?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
843
+ }>>>;
844
+ timestamp: z.ZodOptional<z.ZodNullable<z.ZodObject<{
845
+ eq: z.ZodOptional<z.ZodNullable<z.ZodString>>;
846
+ gt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
847
+ gte: z.ZodOptional<z.ZodNullable<z.ZodString>>;
848
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
849
+ lt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
850
+ lte: z.ZodOptional<z.ZodNullable<z.ZodString>>;
851
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
852
+ }, "strict", z.ZodTypeAny, {
853
+ eq?: string | null | undefined;
854
+ gt?: string | null | undefined;
855
+ gte?: string | null | undefined;
856
+ in?: string[] | null | undefined;
857
+ lt?: string | null | undefined;
858
+ lte?: string | null | undefined;
859
+ notIn?: string[] | null | undefined;
860
+ }, {
861
+ eq?: string | null | undefined;
862
+ gt?: string | null | undefined;
863
+ gte?: string | null | undefined;
864
+ in?: string[] | null | undefined;
865
+ lt?: string | null | undefined;
866
+ lte?: string | null | undefined;
867
+ notIn?: string[] | null | undefined;
868
+ }>>>;
869
+ toAddress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
870
+ eq: z.ZodOptional<z.ZodNullable<z.ZodString>>;
871
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
872
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
873
+ }, "strict", z.ZodTypeAny, {
874
+ eq?: string | null | undefined;
875
+ in?: string[] | null | undefined;
876
+ notIn?: string[] | null | undefined;
877
+ }, {
878
+ eq?: string | null | undefined;
879
+ in?: string[] | null | undefined;
880
+ notIn?: string[] | null | undefined;
881
+ }>>>;
882
+ transactionHash: z.ZodOptional<z.ZodNullable<z.ZodObject<{
883
+ eq: z.ZodOptional<z.ZodNullable<z.ZodString>>;
884
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
885
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
886
+ }, "strict", z.ZodTypeAny, {
887
+ eq?: string | null | undefined;
888
+ in?: string[] | null | undefined;
889
+ notIn?: string[] | null | undefined;
890
+ }, {
891
+ eq?: string | null | undefined;
892
+ in?: string[] | null | undefined;
893
+ notIn?: string[] | null | undefined;
894
+ }>>>;
895
+ type: z.ZodOptional<z.ZodNullable<z.ZodObject<{
896
+ eq: z.ZodOptional<z.ZodNullable<z.ZodEnum<["TRANSFER", "MINT", "SALE", "SWAP", "BURN"]>>>;
897
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["TRANSFER", "MINT", "SALE", "SWAP", "BURN"]>, "many">>>;
898
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["TRANSFER", "MINT", "SALE", "SWAP", "BURN"]>, "many">>>;
899
+ }, "strict", z.ZodTypeAny, {
900
+ eq?: "BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER" | null | undefined;
901
+ in?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
902
+ notIn?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
903
+ }, {
904
+ eq?: "BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER" | null | undefined;
905
+ in?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
906
+ notIn?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
907
+ }>>>;
908
+ walletAddress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
909
+ eq: z.ZodOptional<z.ZodNullable<z.ZodString>>;
910
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
911
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
912
+ }, "strict", z.ZodTypeAny, {
913
+ eq?: string | null | undefined;
914
+ in?: string[] | null | undefined;
915
+ notIn?: string[] | null | undefined;
916
+ }, {
917
+ eq?: string | null | undefined;
918
+ in?: string[] | null | undefined;
919
+ notIn?: string[] | null | undefined;
920
+ }>>>;
921
+ }, "strict", z.ZodTypeAny, {
922
+ blockNumber?: {
923
+ eq?: number | null | undefined;
924
+ gt?: number | null | undefined;
925
+ gte?: number | null | undefined;
926
+ in?: number[] | null | undefined;
927
+ lt?: number | null | undefined;
928
+ lte?: number | null | undefined;
929
+ notIn?: number[] | null | undefined;
930
+ } | null | undefined;
931
+ contractAddress?: {
932
+ eq?: string | null | undefined;
933
+ in?: string[] | null | undefined;
934
+ notIn?: string[] | null | undefined;
935
+ } | null | undefined;
936
+ contractStandard?: {
937
+ eq?: "ERC721" | "ERC1155" | "ERC20" | null | undefined;
938
+ in?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
939
+ notIn?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
940
+ } | null | undefined;
941
+ fromAddress?: {
942
+ eq?: string | null | undefined;
943
+ in?: string[] | null | undefined;
944
+ notIn?: string[] | null | undefined;
945
+ } | null | undefined;
946
+ marketplace?: {
947
+ eq?: "BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX" | null | undefined;
948
+ in?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
949
+ notIn?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
950
+ } | null | undefined;
951
+ timestamp?: {
952
+ eq?: string | null | undefined;
953
+ gt?: string | null | undefined;
954
+ gte?: string | null | undefined;
955
+ in?: string[] | null | undefined;
956
+ lt?: string | null | undefined;
957
+ lte?: string | null | undefined;
958
+ notIn?: string[] | null | undefined;
959
+ } | null | undefined;
960
+ toAddress?: {
961
+ eq?: string | null | undefined;
962
+ in?: string[] | null | undefined;
963
+ notIn?: string[] | null | undefined;
964
+ } | null | undefined;
965
+ transactionHash?: {
966
+ eq?: string | null | undefined;
967
+ in?: string[] | null | undefined;
968
+ notIn?: string[] | null | undefined;
969
+ } | null | undefined;
970
+ type?: {
971
+ eq?: "BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER" | null | undefined;
972
+ in?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
973
+ notIn?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
974
+ } | null | undefined;
975
+ walletAddress?: {
976
+ eq?: string | null | undefined;
977
+ in?: string[] | null | undefined;
978
+ notIn?: string[] | null | undefined;
979
+ } | null | undefined;
980
+ }, {
981
+ blockNumber?: {
982
+ eq?: number | null | undefined;
983
+ gt?: number | null | undefined;
984
+ gte?: number | null | undefined;
985
+ in?: number[] | null | undefined;
986
+ lt?: number | null | undefined;
987
+ lte?: number | null | undefined;
988
+ notIn?: number[] | null | undefined;
989
+ } | null | undefined;
990
+ contractAddress?: {
991
+ eq?: string | null | undefined;
992
+ in?: string[] | null | undefined;
993
+ notIn?: string[] | null | undefined;
994
+ } | null | undefined;
995
+ contractStandard?: {
996
+ eq?: "ERC721" | "ERC1155" | "ERC20" | null | undefined;
997
+ in?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
998
+ notIn?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
999
+ } | null | undefined;
1000
+ fromAddress?: {
1001
+ eq?: string | null | undefined;
1002
+ in?: string[] | null | undefined;
1003
+ notIn?: string[] | null | undefined;
1004
+ } | null | undefined;
1005
+ marketplace?: {
1006
+ eq?: "BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX" | null | undefined;
1007
+ in?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
1008
+ notIn?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
1009
+ } | null | undefined;
1010
+ timestamp?: {
1011
+ eq?: string | null | undefined;
1012
+ gt?: string | null | undefined;
1013
+ gte?: string | null | undefined;
1014
+ in?: string[] | null | undefined;
1015
+ lt?: string | null | undefined;
1016
+ lte?: string | null | undefined;
1017
+ notIn?: string[] | null | undefined;
1018
+ } | null | undefined;
1019
+ toAddress?: {
1020
+ eq?: string | null | undefined;
1021
+ in?: string[] | null | undefined;
1022
+ notIn?: string[] | null | undefined;
1023
+ } | null | undefined;
1024
+ transactionHash?: {
1025
+ eq?: string | null | undefined;
1026
+ in?: string[] | null | undefined;
1027
+ notIn?: string[] | null | undefined;
1028
+ } | null | undefined;
1029
+ type?: {
1030
+ eq?: "BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER" | null | undefined;
1031
+ in?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
1032
+ notIn?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
1033
+ } | null | undefined;
1034
+ walletAddress?: {
1035
+ eq?: string | null | undefined;
1036
+ in?: string[] | null | undefined;
1037
+ notIn?: string[] | null | undefined;
1038
+ } | null | undefined;
1039
+ }>>>;
1040
+ before: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1041
+ after: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1042
+ first: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1043
+ chain: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ethereum", "polygon", "ethereumSepolia"]>>>;
1044
+ }, "strict", z.ZodTypeAny, {
1045
+ contractAddress: string;
1046
+ filter?: {
1047
+ blockNumber?: {
1048
+ eq?: number | null | undefined;
1049
+ gt?: number | null | undefined;
1050
+ gte?: number | null | undefined;
1051
+ in?: number[] | null | undefined;
1052
+ lt?: number | null | undefined;
1053
+ lte?: number | null | undefined;
1054
+ notIn?: number[] | null | undefined;
1055
+ } | null | undefined;
1056
+ contractAddress?: {
1057
+ eq?: string | null | undefined;
1058
+ in?: string[] | null | undefined;
1059
+ notIn?: string[] | null | undefined;
1060
+ } | null | undefined;
1061
+ contractStandard?: {
1062
+ eq?: "ERC721" | "ERC1155" | "ERC20" | null | undefined;
1063
+ in?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
1064
+ notIn?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
1065
+ } | null | undefined;
1066
+ fromAddress?: {
1067
+ eq?: string | null | undefined;
1068
+ in?: string[] | null | undefined;
1069
+ notIn?: string[] | null | undefined;
1070
+ } | null | undefined;
1071
+ marketplace?: {
1072
+ eq?: "BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX" | null | undefined;
1073
+ in?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
1074
+ notIn?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
1075
+ } | null | undefined;
1076
+ timestamp?: {
1077
+ eq?: string | null | undefined;
1078
+ gt?: string | null | undefined;
1079
+ gte?: string | null | undefined;
1080
+ in?: string[] | null | undefined;
1081
+ lt?: string | null | undefined;
1082
+ lte?: string | null | undefined;
1083
+ notIn?: string[] | null | undefined;
1084
+ } | null | undefined;
1085
+ toAddress?: {
1086
+ eq?: string | null | undefined;
1087
+ in?: string[] | null | undefined;
1088
+ notIn?: string[] | null | undefined;
1089
+ } | null | undefined;
1090
+ transactionHash?: {
1091
+ eq?: string | null | undefined;
1092
+ in?: string[] | null | undefined;
1093
+ notIn?: string[] | null | undefined;
1094
+ } | null | undefined;
1095
+ type?: {
1096
+ eq?: "BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER" | null | undefined;
1097
+ in?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
1098
+ notIn?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
1099
+ } | null | undefined;
1100
+ walletAddress?: {
1101
+ eq?: string | null | undefined;
1102
+ in?: string[] | null | undefined;
1103
+ notIn?: string[] | null | undefined;
1104
+ } | null | undefined;
1105
+ } | null | undefined;
1106
+ before?: string | null | undefined;
1107
+ after?: string | null | undefined;
1108
+ first?: number | null | undefined;
1109
+ chain?: "ethereum" | "ethereumSepolia" | "polygon" | null | undefined;
1110
+ }, {
1111
+ contractAddress: string;
1112
+ filter?: {
1113
+ blockNumber?: {
1114
+ eq?: number | null | undefined;
1115
+ gt?: number | null | undefined;
1116
+ gte?: number | null | undefined;
1117
+ in?: number[] | null | undefined;
1118
+ lt?: number | null | undefined;
1119
+ lte?: number | null | undefined;
1120
+ notIn?: number[] | null | undefined;
1121
+ } | null | undefined;
1122
+ contractAddress?: {
1123
+ eq?: string | null | undefined;
1124
+ in?: string[] | null | undefined;
1125
+ notIn?: string[] | null | undefined;
1126
+ } | null | undefined;
1127
+ contractStandard?: {
1128
+ eq?: "ERC721" | "ERC1155" | "ERC20" | null | undefined;
1129
+ in?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
1130
+ notIn?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
1131
+ } | null | undefined;
1132
+ fromAddress?: {
1133
+ eq?: string | null | undefined;
1134
+ in?: string[] | null | undefined;
1135
+ notIn?: string[] | null | undefined;
1136
+ } | null | undefined;
1137
+ marketplace?: {
1138
+ eq?: "BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX" | null | undefined;
1139
+ in?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
1140
+ notIn?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
1141
+ } | null | undefined;
1142
+ timestamp?: {
1143
+ eq?: string | null | undefined;
1144
+ gt?: string | null | undefined;
1145
+ gte?: string | null | undefined;
1146
+ in?: string[] | null | undefined;
1147
+ lt?: string | null | undefined;
1148
+ lte?: string | null | undefined;
1149
+ notIn?: string[] | null | undefined;
1150
+ } | null | undefined;
1151
+ toAddress?: {
1152
+ eq?: string | null | undefined;
1153
+ in?: string[] | null | undefined;
1154
+ notIn?: string[] | null | undefined;
1155
+ } | null | undefined;
1156
+ transactionHash?: {
1157
+ eq?: string | null | undefined;
1158
+ in?: string[] | null | undefined;
1159
+ notIn?: string[] | null | undefined;
1160
+ } | null | undefined;
1161
+ type?: {
1162
+ eq?: "BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER" | null | undefined;
1163
+ in?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
1164
+ notIn?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
1165
+ } | null | undefined;
1166
+ walletAddress?: {
1167
+ eq?: string | null | undefined;
1168
+ in?: string[] | null | undefined;
1169
+ notIn?: string[] | null | undefined;
1170
+ } | null | undefined;
1171
+ } | null | undefined;
1172
+ before?: string | null | undefined;
1173
+ after?: string | null | undefined;
1174
+ first?: number | null | undefined;
1175
+ chain?: "ethereum" | "ethereumSepolia" | "polygon" | null | undefined;
1176
+ }>;
1177
+ type ContractEventsInput = z.infer<typeof contractEventsValidator>;
1178
+ type ContractEventsResult = SimplifyType<{
1179
+ results: CodegenTokenEventInfoFragment[];
1180
+ pageInfo: CodegenPaginationFragment;
1181
+ }>;
1182
+
1183
+ declare const collectionEventsValidator: z.ZodObject<{
1184
+ contractAddress: z.ZodString;
1185
+ filter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1186
+ blockNumber: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1187
+ eq: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1188
+ gt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1189
+ gte: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1190
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
1191
+ lt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1192
+ lte: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1193
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
1194
+ }, "strict", z.ZodTypeAny, {
1195
+ eq?: number | null | undefined;
1196
+ gt?: number | null | undefined;
1197
+ gte?: number | null | undefined;
1198
+ in?: number[] | null | undefined;
1199
+ lt?: number | null | undefined;
1200
+ lte?: number | null | undefined;
1201
+ notIn?: number[] | null | undefined;
1202
+ }, {
1203
+ eq?: number | null | undefined;
1204
+ gt?: number | null | undefined;
1205
+ gte?: number | null | undefined;
1206
+ in?: number[] | null | undefined;
1207
+ lt?: number | null | undefined;
1208
+ lte?: number | null | undefined;
1209
+ notIn?: number[] | null | undefined;
1210
+ }>>>;
1211
+ contractAddress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1212
+ eq: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1213
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1214
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1215
+ }, "strict", z.ZodTypeAny, {
1216
+ eq?: string | null | undefined;
1217
+ in?: string[] | null | undefined;
1218
+ notIn?: string[] | null | undefined;
1219
+ }, {
1220
+ eq?: string | null | undefined;
1221
+ in?: string[] | null | undefined;
1222
+ notIn?: string[] | null | undefined;
1223
+ }>>>;
1224
+ contractStandard: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1225
+ eq: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ERC20", "ERC721", "ERC1155"]>>>;
1226
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["ERC20", "ERC721", "ERC1155"]>, "many">>>;
1227
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["ERC20", "ERC721", "ERC1155"]>, "many">>>;
1228
+ }, "strict", z.ZodTypeAny, {
1229
+ eq?: "ERC721" | "ERC1155" | "ERC20" | null | undefined;
1230
+ in?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
1231
+ notIn?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
1232
+ }, {
1233
+ eq?: "ERC721" | "ERC1155" | "ERC20" | null | undefined;
1234
+ in?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
1235
+ notIn?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
1236
+ }>>>;
1237
+ fromAddress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1238
+ eq: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1239
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1240
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1241
+ }, "strict", z.ZodTypeAny, {
1242
+ eq?: string | null | undefined;
1243
+ in?: string[] | null | undefined;
1244
+ notIn?: string[] | null | undefined;
1245
+ }, {
1246
+ eq?: string | null | undefined;
1247
+ in?: string[] | null | undefined;
1248
+ notIn?: string[] | null | undefined;
1249
+ }>>>;
1250
+ marketplace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1251
+ eq: z.ZodOptional<z.ZodNullable<z.ZodEnum<["BLUR", "CRYPTOPUNKS", "LOOKSRARE", "NIFTY_GATEWAY", "OPENSEA", "SEAPORT", "X2Y2", "ZEROX"]>>>;
1252
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["BLUR", "CRYPTOPUNKS", "LOOKSRARE", "NIFTY_GATEWAY", "OPENSEA", "SEAPORT", "X2Y2", "ZEROX"]>, "many">>>;
1253
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["BLUR", "CRYPTOPUNKS", "LOOKSRARE", "NIFTY_GATEWAY", "OPENSEA", "SEAPORT", "X2Y2", "ZEROX"]>, "many">>>;
1254
+ }, "strict", z.ZodTypeAny, {
1255
+ eq?: "BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX" | null | undefined;
1256
+ in?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
1257
+ notIn?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
1258
+ }, {
1259
+ eq?: "BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX" | null | undefined;
1260
+ in?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
1261
+ notIn?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
1262
+ }>>>;
1263
+ timestamp: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1264
+ eq: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1265
+ gt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1266
+ gte: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1267
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1268
+ lt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1269
+ lte: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1270
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1271
+ }, "strict", z.ZodTypeAny, {
1272
+ eq?: string | null | undefined;
1273
+ gt?: string | null | undefined;
1274
+ gte?: string | null | undefined;
1275
+ in?: string[] | null | undefined;
1276
+ lt?: string | null | undefined;
1277
+ lte?: string | null | undefined;
1278
+ notIn?: string[] | null | undefined;
1279
+ }, {
1280
+ eq?: string | null | undefined;
1281
+ gt?: string | null | undefined;
1282
+ gte?: string | null | undefined;
1283
+ in?: string[] | null | undefined;
1284
+ lt?: string | null | undefined;
1285
+ lte?: string | null | undefined;
1286
+ notIn?: string[] | null | undefined;
1287
+ }>>>;
1288
+ toAddress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1289
+ eq: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1290
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1291
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1292
+ }, "strict", z.ZodTypeAny, {
1293
+ eq?: string | null | undefined;
1294
+ in?: string[] | null | undefined;
1295
+ notIn?: string[] | null | undefined;
1296
+ }, {
1297
+ eq?: string | null | undefined;
1298
+ in?: string[] | null | undefined;
1299
+ notIn?: string[] | null | undefined;
1300
+ }>>>;
1301
+ transactionHash: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1302
+ eq: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1303
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1304
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1305
+ }, "strict", z.ZodTypeAny, {
1306
+ eq?: string | null | undefined;
1307
+ in?: string[] | null | undefined;
1308
+ notIn?: string[] | null | undefined;
1309
+ }, {
1310
+ eq?: string | null | undefined;
1311
+ in?: string[] | null | undefined;
1312
+ notIn?: string[] | null | undefined;
1313
+ }>>>;
1314
+ type: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1315
+ eq: z.ZodOptional<z.ZodNullable<z.ZodEnum<["TRANSFER", "MINT", "SALE", "SWAP", "BURN"]>>>;
1316
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["TRANSFER", "MINT", "SALE", "SWAP", "BURN"]>, "many">>>;
1317
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["TRANSFER", "MINT", "SALE", "SWAP", "BURN"]>, "many">>>;
1318
+ }, "strict", z.ZodTypeAny, {
1319
+ eq?: "BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER" | null | undefined;
1320
+ in?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
1321
+ notIn?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
1322
+ }, {
1323
+ eq?: "BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER" | null | undefined;
1324
+ in?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
1325
+ notIn?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
1326
+ }>>>;
1327
+ walletAddress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1328
+ eq: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1329
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1330
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1331
+ }, "strict", z.ZodTypeAny, {
1332
+ eq?: string | null | undefined;
1333
+ in?: string[] | null | undefined;
1334
+ notIn?: string[] | null | undefined;
1335
+ }, {
1336
+ eq?: string | null | undefined;
1337
+ in?: string[] | null | undefined;
1338
+ notIn?: string[] | null | undefined;
1339
+ }>>>;
1340
+ }, "strict", z.ZodTypeAny, {
1341
+ blockNumber?: {
1342
+ eq?: number | null | undefined;
1343
+ gt?: number | null | undefined;
1344
+ gte?: number | null | undefined;
1345
+ in?: number[] | null | undefined;
1346
+ lt?: number | null | undefined;
1347
+ lte?: number | null | undefined;
1348
+ notIn?: number[] | null | undefined;
1349
+ } | null | undefined;
1350
+ contractAddress?: {
1351
+ eq?: string | null | undefined;
1352
+ in?: string[] | null | undefined;
1353
+ notIn?: string[] | null | undefined;
1354
+ } | null | undefined;
1355
+ contractStandard?: {
1356
+ eq?: "ERC721" | "ERC1155" | "ERC20" | null | undefined;
1357
+ in?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
1358
+ notIn?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
1359
+ } | null | undefined;
1360
+ fromAddress?: {
1361
+ eq?: string | null | undefined;
1362
+ in?: string[] | null | undefined;
1363
+ notIn?: string[] | null | undefined;
1364
+ } | null | undefined;
1365
+ marketplace?: {
1366
+ eq?: "BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX" | null | undefined;
1367
+ in?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
1368
+ notIn?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
1369
+ } | null | undefined;
1370
+ timestamp?: {
1371
+ eq?: string | null | undefined;
1372
+ gt?: string | null | undefined;
1373
+ gte?: string | null | undefined;
1374
+ in?: string[] | null | undefined;
1375
+ lt?: string | null | undefined;
1376
+ lte?: string | null | undefined;
1377
+ notIn?: string[] | null | undefined;
1378
+ } | null | undefined;
1379
+ toAddress?: {
1380
+ eq?: string | null | undefined;
1381
+ in?: string[] | null | undefined;
1382
+ notIn?: string[] | null | undefined;
1383
+ } | null | undefined;
1384
+ transactionHash?: {
1385
+ eq?: string | null | undefined;
1386
+ in?: string[] | null | undefined;
1387
+ notIn?: string[] | null | undefined;
1388
+ } | null | undefined;
1389
+ type?: {
1390
+ eq?: "BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER" | null | undefined;
1391
+ in?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
1392
+ notIn?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
1393
+ } | null | undefined;
1394
+ walletAddress?: {
1395
+ eq?: string | null | undefined;
1396
+ in?: string[] | null | undefined;
1397
+ notIn?: string[] | null | undefined;
1398
+ } | null | undefined;
1399
+ }, {
1400
+ blockNumber?: {
1401
+ eq?: number | null | undefined;
1402
+ gt?: number | null | undefined;
1403
+ gte?: number | null | undefined;
1404
+ in?: number[] | null | undefined;
1405
+ lt?: number | null | undefined;
1406
+ lte?: number | null | undefined;
1407
+ notIn?: number[] | null | undefined;
1408
+ } | null | undefined;
1409
+ contractAddress?: {
1410
+ eq?: string | null | undefined;
1411
+ in?: string[] | null | undefined;
1412
+ notIn?: string[] | null | undefined;
1413
+ } | null | undefined;
1414
+ contractStandard?: {
1415
+ eq?: "ERC721" | "ERC1155" | "ERC20" | null | undefined;
1416
+ in?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
1417
+ notIn?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
1418
+ } | null | undefined;
1419
+ fromAddress?: {
1420
+ eq?: string | null | undefined;
1421
+ in?: string[] | null | undefined;
1422
+ notIn?: string[] | null | undefined;
1423
+ } | null | undefined;
1424
+ marketplace?: {
1425
+ eq?: "BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX" | null | undefined;
1426
+ in?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
1427
+ notIn?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
1428
+ } | null | undefined;
1429
+ timestamp?: {
1430
+ eq?: string | null | undefined;
1431
+ gt?: string | null | undefined;
1432
+ gte?: string | null | undefined;
1433
+ in?: string[] | null | undefined;
1434
+ lt?: string | null | undefined;
1435
+ lte?: string | null | undefined;
1436
+ notIn?: string[] | null | undefined;
1437
+ } | null | undefined;
1438
+ toAddress?: {
1439
+ eq?: string | null | undefined;
1440
+ in?: string[] | null | undefined;
1441
+ notIn?: string[] | null | undefined;
1442
+ } | null | undefined;
1443
+ transactionHash?: {
1444
+ eq?: string | null | undefined;
1445
+ in?: string[] | null | undefined;
1446
+ notIn?: string[] | null | undefined;
1447
+ } | null | undefined;
1448
+ type?: {
1449
+ eq?: "BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER" | null | undefined;
1450
+ in?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
1451
+ notIn?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
1452
+ } | null | undefined;
1453
+ walletAddress?: {
1454
+ eq?: string | null | undefined;
1455
+ in?: string[] | null | undefined;
1456
+ notIn?: string[] | null | undefined;
1457
+ } | null | undefined;
1458
+ }>>>;
1459
+ before: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1460
+ after: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1461
+ first: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1462
+ chain: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ethereum", "polygon", "ethereumSepolia"]>>>;
1463
+ }, "strict", z.ZodTypeAny, {
1464
+ contractAddress: string;
1465
+ filter?: {
1466
+ blockNumber?: {
1467
+ eq?: number | null | undefined;
1468
+ gt?: number | null | undefined;
1469
+ gte?: number | null | undefined;
1470
+ in?: number[] | null | undefined;
1471
+ lt?: number | null | undefined;
1472
+ lte?: number | null | undefined;
1473
+ notIn?: number[] | null | undefined;
1474
+ } | null | undefined;
1475
+ contractAddress?: {
1476
+ eq?: string | null | undefined;
1477
+ in?: string[] | null | undefined;
1478
+ notIn?: string[] | null | undefined;
1479
+ } | null | undefined;
1480
+ contractStandard?: {
1481
+ eq?: "ERC721" | "ERC1155" | "ERC20" | null | undefined;
1482
+ in?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
1483
+ notIn?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
1484
+ } | null | undefined;
1485
+ fromAddress?: {
1486
+ eq?: string | null | undefined;
1487
+ in?: string[] | null | undefined;
1488
+ notIn?: string[] | null | undefined;
1489
+ } | null | undefined;
1490
+ marketplace?: {
1491
+ eq?: "BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX" | null | undefined;
1492
+ in?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
1493
+ notIn?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
1494
+ } | null | undefined;
1495
+ timestamp?: {
1496
+ eq?: string | null | undefined;
1497
+ gt?: string | null | undefined;
1498
+ gte?: string | null | undefined;
1499
+ in?: string[] | null | undefined;
1500
+ lt?: string | null | undefined;
1501
+ lte?: string | null | undefined;
1502
+ notIn?: string[] | null | undefined;
1503
+ } | null | undefined;
1504
+ toAddress?: {
1505
+ eq?: string | null | undefined;
1506
+ in?: string[] | null | undefined;
1507
+ notIn?: string[] | null | undefined;
1508
+ } | null | undefined;
1509
+ transactionHash?: {
1510
+ eq?: string | null | undefined;
1511
+ in?: string[] | null | undefined;
1512
+ notIn?: string[] | null | undefined;
1513
+ } | null | undefined;
1514
+ type?: {
1515
+ eq?: "BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER" | null | undefined;
1516
+ in?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
1517
+ notIn?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
1518
+ } | null | undefined;
1519
+ walletAddress?: {
1520
+ eq?: string | null | undefined;
1521
+ in?: string[] | null | undefined;
1522
+ notIn?: string[] | null | undefined;
1523
+ } | null | undefined;
1524
+ } | null | undefined;
1525
+ before?: string | null | undefined;
1526
+ after?: string | null | undefined;
1527
+ first?: number | null | undefined;
1528
+ chain?: "ethereum" | "ethereumSepolia" | "polygon" | null | undefined;
1529
+ }, {
1530
+ contractAddress: string;
1531
+ filter?: {
1532
+ blockNumber?: {
1533
+ eq?: number | null | undefined;
1534
+ gt?: number | null | undefined;
1535
+ gte?: number | null | undefined;
1536
+ in?: number[] | null | undefined;
1537
+ lt?: number | null | undefined;
1538
+ lte?: number | null | undefined;
1539
+ notIn?: number[] | null | undefined;
1540
+ } | null | undefined;
1541
+ contractAddress?: {
1542
+ eq?: string | null | undefined;
1543
+ in?: string[] | null | undefined;
1544
+ notIn?: string[] | null | undefined;
1545
+ } | null | undefined;
1546
+ contractStandard?: {
1547
+ eq?: "ERC721" | "ERC1155" | "ERC20" | null | undefined;
1548
+ in?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
1549
+ notIn?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
1550
+ } | null | undefined;
1551
+ fromAddress?: {
1552
+ eq?: string | null | undefined;
1553
+ in?: string[] | null | undefined;
1554
+ notIn?: string[] | null | undefined;
1555
+ } | null | undefined;
1556
+ marketplace?: {
1557
+ eq?: "BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX" | null | undefined;
1558
+ in?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
1559
+ notIn?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
1560
+ } | null | undefined;
1561
+ timestamp?: {
1562
+ eq?: string | null | undefined;
1563
+ gt?: string | null | undefined;
1564
+ gte?: string | null | undefined;
1565
+ in?: string[] | null | undefined;
1566
+ lt?: string | null | undefined;
1567
+ lte?: string | null | undefined;
1568
+ notIn?: string[] | null | undefined;
1569
+ } | null | undefined;
1570
+ toAddress?: {
1571
+ eq?: string | null | undefined;
1572
+ in?: string[] | null | undefined;
1573
+ notIn?: string[] | null | undefined;
1574
+ } | null | undefined;
1575
+ transactionHash?: {
1576
+ eq?: string | null | undefined;
1577
+ in?: string[] | null | undefined;
1578
+ notIn?: string[] | null | undefined;
1579
+ } | null | undefined;
1580
+ type?: {
1581
+ eq?: "BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER" | null | undefined;
1582
+ in?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
1583
+ notIn?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
1584
+ } | null | undefined;
1585
+ walletAddress?: {
1586
+ eq?: string | null | undefined;
1587
+ in?: string[] | null | undefined;
1588
+ notIn?: string[] | null | undefined;
1589
+ } | null | undefined;
1590
+ } | null | undefined;
1591
+ before?: string | null | undefined;
1592
+ after?: string | null | undefined;
1593
+ first?: number | null | undefined;
1594
+ chain?: "ethereum" | "ethereumSepolia" | "polygon" | null | undefined;
1595
+ }>;
1596
+ type CollectionEventsInput = z.infer<typeof collectionEventsValidator>;
1597
+ type CollectionEventsResult = SimplifyType<{
1598
+ results: CodegenTokenEventInfoFragment[];
1599
+ pageInfo: CodegenPaginationFragment;
1600
+ }>;
1601
+
1602
+ declare const nftEventsValidator: z.ZodObject<{
1603
+ contractAddress: z.ZodString;
1604
+ filter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1605
+ blockNumber: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1606
+ eq: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1607
+ gt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1608
+ gte: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1609
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
1610
+ lt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1611
+ lte: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1612
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
1613
+ }, "strict", z.ZodTypeAny, {
1614
+ eq?: number | null | undefined;
1615
+ gt?: number | null | undefined;
1616
+ gte?: number | null | undefined;
1617
+ in?: number[] | null | undefined;
1618
+ lt?: number | null | undefined;
1619
+ lte?: number | null | undefined;
1620
+ notIn?: number[] | null | undefined;
1621
+ }, {
1622
+ eq?: number | null | undefined;
1623
+ gt?: number | null | undefined;
1624
+ gte?: number | null | undefined;
1625
+ in?: number[] | null | undefined;
1626
+ lt?: number | null | undefined;
1627
+ lte?: number | null | undefined;
1628
+ notIn?: number[] | null | undefined;
1629
+ }>>>;
1630
+ contractAddress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1631
+ eq: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1632
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1633
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1634
+ }, "strict", z.ZodTypeAny, {
1635
+ eq?: string | null | undefined;
1636
+ in?: string[] | null | undefined;
1637
+ notIn?: string[] | null | undefined;
1638
+ }, {
1639
+ eq?: string | null | undefined;
1640
+ in?: string[] | null | undefined;
1641
+ notIn?: string[] | null | undefined;
1642
+ }>>>;
1643
+ contractStandard: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1644
+ eq: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ERC20", "ERC721", "ERC1155"]>>>;
1645
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["ERC20", "ERC721", "ERC1155"]>, "many">>>;
1646
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["ERC20", "ERC721", "ERC1155"]>, "many">>>;
1647
+ }, "strict", z.ZodTypeAny, {
1648
+ eq?: "ERC721" | "ERC1155" | "ERC20" | null | undefined;
1649
+ in?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
1650
+ notIn?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
1651
+ }, {
1652
+ eq?: "ERC721" | "ERC1155" | "ERC20" | null | undefined;
1653
+ in?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
1654
+ notIn?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
1655
+ }>>>;
1656
+ fromAddress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1657
+ eq: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1658
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1659
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1660
+ }, "strict", z.ZodTypeAny, {
1661
+ eq?: string | null | undefined;
1662
+ in?: string[] | null | undefined;
1663
+ notIn?: string[] | null | undefined;
1664
+ }, {
1665
+ eq?: string | null | undefined;
1666
+ in?: string[] | null | undefined;
1667
+ notIn?: string[] | null | undefined;
1668
+ }>>>;
1669
+ marketplace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1670
+ eq: z.ZodOptional<z.ZodNullable<z.ZodEnum<["BLUR", "CRYPTOPUNKS", "LOOKSRARE", "NIFTY_GATEWAY", "OPENSEA", "SEAPORT", "X2Y2", "ZEROX"]>>>;
1671
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["BLUR", "CRYPTOPUNKS", "LOOKSRARE", "NIFTY_GATEWAY", "OPENSEA", "SEAPORT", "X2Y2", "ZEROX"]>, "many">>>;
1672
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["BLUR", "CRYPTOPUNKS", "LOOKSRARE", "NIFTY_GATEWAY", "OPENSEA", "SEAPORT", "X2Y2", "ZEROX"]>, "many">>>;
1673
+ }, "strict", z.ZodTypeAny, {
1674
+ eq?: "BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX" | null | undefined;
1675
+ in?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
1676
+ notIn?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
1677
+ }, {
1678
+ eq?: "BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX" | null | undefined;
1679
+ in?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
1680
+ notIn?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
1681
+ }>>>;
1682
+ timestamp: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1683
+ eq: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1684
+ gt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1685
+ gte: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1686
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1687
+ lt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1688
+ lte: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1689
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1690
+ }, "strict", z.ZodTypeAny, {
1691
+ eq?: string | null | undefined;
1692
+ gt?: string | null | undefined;
1693
+ gte?: string | null | undefined;
1694
+ in?: string[] | null | undefined;
1695
+ lt?: string | null | undefined;
1696
+ lte?: string | null | undefined;
1697
+ notIn?: string[] | null | undefined;
1698
+ }, {
1699
+ eq?: string | null | undefined;
1700
+ gt?: string | null | undefined;
1701
+ gte?: string | null | undefined;
1702
+ in?: string[] | null | undefined;
1703
+ lt?: string | null | undefined;
1704
+ lte?: string | null | undefined;
1705
+ notIn?: string[] | null | undefined;
1706
+ }>>>;
1707
+ toAddress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1708
+ eq: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1709
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1710
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1711
+ }, "strict", z.ZodTypeAny, {
1712
+ eq?: string | null | undefined;
1713
+ in?: string[] | null | undefined;
1714
+ notIn?: string[] | null | undefined;
1715
+ }, {
1716
+ eq?: string | null | undefined;
1717
+ in?: string[] | null | undefined;
1718
+ notIn?: string[] | null | undefined;
1719
+ }>>>;
1720
+ transactionHash: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1721
+ eq: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1722
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1723
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1724
+ }, "strict", z.ZodTypeAny, {
1725
+ eq?: string | null | undefined;
1726
+ in?: string[] | null | undefined;
1727
+ notIn?: string[] | null | undefined;
1728
+ }, {
1729
+ eq?: string | null | undefined;
1730
+ in?: string[] | null | undefined;
1731
+ notIn?: string[] | null | undefined;
1732
+ }>>>;
1733
+ type: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1734
+ eq: z.ZodOptional<z.ZodNullable<z.ZodEnum<["TRANSFER", "MINT", "SALE", "SWAP", "BURN"]>>>;
1735
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["TRANSFER", "MINT", "SALE", "SWAP", "BURN"]>, "many">>>;
1736
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["TRANSFER", "MINT", "SALE", "SWAP", "BURN"]>, "many">>>;
1737
+ }, "strict", z.ZodTypeAny, {
1738
+ eq?: "BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER" | null | undefined;
1739
+ in?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
1740
+ notIn?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
1741
+ }, {
1742
+ eq?: "BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER" | null | undefined;
1743
+ in?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
1744
+ notIn?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
1745
+ }>>>;
1746
+ walletAddress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1747
+ eq: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1748
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1749
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1750
+ }, "strict", z.ZodTypeAny, {
1751
+ eq?: string | null | undefined;
1752
+ in?: string[] | null | undefined;
1753
+ notIn?: string[] | null | undefined;
1754
+ }, {
1755
+ eq?: string | null | undefined;
1756
+ in?: string[] | null | undefined;
1757
+ notIn?: string[] | null | undefined;
1758
+ }>>>;
1759
+ }, "strict", z.ZodTypeAny, {
1760
+ blockNumber?: {
1761
+ eq?: number | null | undefined;
1762
+ gt?: number | null | undefined;
1763
+ gte?: number | null | undefined;
1764
+ in?: number[] | null | undefined;
1765
+ lt?: number | null | undefined;
1766
+ lte?: number | null | undefined;
1767
+ notIn?: number[] | null | undefined;
1768
+ } | null | undefined;
1769
+ contractAddress?: {
1770
+ eq?: string | null | undefined;
1771
+ in?: string[] | null | undefined;
1772
+ notIn?: string[] | null | undefined;
1773
+ } | null | undefined;
1774
+ contractStandard?: {
1775
+ eq?: "ERC721" | "ERC1155" | "ERC20" | null | undefined;
1776
+ in?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
1777
+ notIn?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
1778
+ } | null | undefined;
1779
+ fromAddress?: {
1780
+ eq?: string | null | undefined;
1781
+ in?: string[] | null | undefined;
1782
+ notIn?: string[] | null | undefined;
1783
+ } | null | undefined;
1784
+ marketplace?: {
1785
+ eq?: "BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX" | null | undefined;
1786
+ in?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
1787
+ notIn?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
1788
+ } | null | undefined;
1789
+ timestamp?: {
1790
+ eq?: string | null | undefined;
1791
+ gt?: string | null | undefined;
1792
+ gte?: string | null | undefined;
1793
+ in?: string[] | null | undefined;
1794
+ lt?: string | null | undefined;
1795
+ lte?: string | null | undefined;
1796
+ notIn?: string[] | null | undefined;
1797
+ } | null | undefined;
1798
+ toAddress?: {
1799
+ eq?: string | null | undefined;
1800
+ in?: string[] | null | undefined;
1801
+ notIn?: string[] | null | undefined;
1802
+ } | null | undefined;
1803
+ transactionHash?: {
1804
+ eq?: string | null | undefined;
1805
+ in?: string[] | null | undefined;
1806
+ notIn?: string[] | null | undefined;
1807
+ } | null | undefined;
1808
+ type?: {
1809
+ eq?: "BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER" | null | undefined;
1810
+ in?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
1811
+ notIn?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
1812
+ } | null | undefined;
1813
+ walletAddress?: {
1814
+ eq?: string | null | undefined;
1815
+ in?: string[] | null | undefined;
1816
+ notIn?: string[] | null | undefined;
1817
+ } | null | undefined;
1818
+ }, {
1819
+ blockNumber?: {
1820
+ eq?: number | null | undefined;
1821
+ gt?: number | null | undefined;
1822
+ gte?: number | null | undefined;
1823
+ in?: number[] | null | undefined;
1824
+ lt?: number | null | undefined;
1825
+ lte?: number | null | undefined;
1826
+ notIn?: number[] | null | undefined;
1827
+ } | null | undefined;
1828
+ contractAddress?: {
1829
+ eq?: string | null | undefined;
1830
+ in?: string[] | null | undefined;
1831
+ notIn?: string[] | null | undefined;
1832
+ } | null | undefined;
1833
+ contractStandard?: {
1834
+ eq?: "ERC721" | "ERC1155" | "ERC20" | null | undefined;
1835
+ in?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
1836
+ notIn?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
1837
+ } | null | undefined;
1838
+ fromAddress?: {
1839
+ eq?: string | null | undefined;
1840
+ in?: string[] | null | undefined;
1841
+ notIn?: string[] | null | undefined;
1842
+ } | null | undefined;
1843
+ marketplace?: {
1844
+ eq?: "BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX" | null | undefined;
1845
+ in?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
1846
+ notIn?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
1847
+ } | null | undefined;
1848
+ timestamp?: {
1849
+ eq?: string | null | undefined;
1850
+ gt?: string | null | undefined;
1851
+ gte?: string | null | undefined;
1852
+ in?: string[] | null | undefined;
1853
+ lt?: string | null | undefined;
1854
+ lte?: string | null | undefined;
1855
+ notIn?: string[] | null | undefined;
1856
+ } | null | undefined;
1857
+ toAddress?: {
1858
+ eq?: string | null | undefined;
1859
+ in?: string[] | null | undefined;
1860
+ notIn?: string[] | null | undefined;
1861
+ } | null | undefined;
1862
+ transactionHash?: {
1863
+ eq?: string | null | undefined;
1864
+ in?: string[] | null | undefined;
1865
+ notIn?: string[] | null | undefined;
1866
+ } | null | undefined;
1867
+ type?: {
1868
+ eq?: "BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER" | null | undefined;
1869
+ in?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
1870
+ notIn?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
1871
+ } | null | undefined;
1872
+ walletAddress?: {
1873
+ eq?: string | null | undefined;
1874
+ in?: string[] | null | undefined;
1875
+ notIn?: string[] | null | undefined;
1876
+ } | null | undefined;
1877
+ }>>>;
1878
+ before: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1879
+ after: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1880
+ first: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1881
+ tokenId: z.ZodString;
1882
+ chain: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ethereum", "polygon", "ethereumSepolia"]>>>;
1883
+ }, "strict", z.ZodTypeAny, {
1884
+ contractAddress: string;
1885
+ tokenId: string;
1886
+ filter?: {
1887
+ blockNumber?: {
1888
+ eq?: number | null | undefined;
1889
+ gt?: number | null | undefined;
1890
+ gte?: number | null | undefined;
1891
+ in?: number[] | null | undefined;
1892
+ lt?: number | null | undefined;
1893
+ lte?: number | null | undefined;
1894
+ notIn?: number[] | null | undefined;
1895
+ } | null | undefined;
1896
+ contractAddress?: {
1897
+ eq?: string | null | undefined;
1898
+ in?: string[] | null | undefined;
1899
+ notIn?: string[] | null | undefined;
1900
+ } | null | undefined;
1901
+ contractStandard?: {
1902
+ eq?: "ERC721" | "ERC1155" | "ERC20" | null | undefined;
1903
+ in?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
1904
+ notIn?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
1905
+ } | null | undefined;
1906
+ fromAddress?: {
1907
+ eq?: string | null | undefined;
1908
+ in?: string[] | null | undefined;
1909
+ notIn?: string[] | null | undefined;
1910
+ } | null | undefined;
1911
+ marketplace?: {
1912
+ eq?: "BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX" | null | undefined;
1913
+ in?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
1914
+ notIn?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
1915
+ } | null | undefined;
1916
+ timestamp?: {
1917
+ eq?: string | null | undefined;
1918
+ gt?: string | null | undefined;
1919
+ gte?: string | null | undefined;
1920
+ in?: string[] | null | undefined;
1921
+ lt?: string | null | undefined;
1922
+ lte?: string | null | undefined;
1923
+ notIn?: string[] | null | undefined;
1924
+ } | null | undefined;
1925
+ toAddress?: {
1926
+ eq?: string | null | undefined;
1927
+ in?: string[] | null | undefined;
1928
+ notIn?: string[] | null | undefined;
1929
+ } | null | undefined;
1930
+ transactionHash?: {
1931
+ eq?: string | null | undefined;
1932
+ in?: string[] | null | undefined;
1933
+ notIn?: string[] | null | undefined;
1934
+ } | null | undefined;
1935
+ type?: {
1936
+ eq?: "BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER" | null | undefined;
1937
+ in?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
1938
+ notIn?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
1939
+ } | null | undefined;
1940
+ walletAddress?: {
1941
+ eq?: string | null | undefined;
1942
+ in?: string[] | null | undefined;
1943
+ notIn?: string[] | null | undefined;
1944
+ } | null | undefined;
1945
+ } | null | undefined;
1946
+ before?: string | null | undefined;
1947
+ after?: string | null | undefined;
1948
+ first?: number | null | undefined;
1949
+ chain?: "ethereum" | "ethereumSepolia" | "polygon" | null | undefined;
1950
+ }, {
1951
+ contractAddress: string;
1952
+ tokenId: string;
1953
+ filter?: {
1954
+ blockNumber?: {
1955
+ eq?: number | null | undefined;
1956
+ gt?: number | null | undefined;
1957
+ gte?: number | null | undefined;
1958
+ in?: number[] | null | undefined;
1959
+ lt?: number | null | undefined;
1960
+ lte?: number | null | undefined;
1961
+ notIn?: number[] | null | undefined;
1962
+ } | null | undefined;
1963
+ contractAddress?: {
1964
+ eq?: string | null | undefined;
1965
+ in?: string[] | null | undefined;
1966
+ notIn?: string[] | null | undefined;
1967
+ } | null | undefined;
1968
+ contractStandard?: {
1969
+ eq?: "ERC721" | "ERC1155" | "ERC20" | null | undefined;
1970
+ in?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
1971
+ notIn?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
1972
+ } | null | undefined;
1973
+ fromAddress?: {
1974
+ eq?: string | null | undefined;
1975
+ in?: string[] | null | undefined;
1976
+ notIn?: string[] | null | undefined;
1977
+ } | null | undefined;
1978
+ marketplace?: {
1979
+ eq?: "BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX" | null | undefined;
1980
+ in?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
1981
+ notIn?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
1982
+ } | null | undefined;
1983
+ timestamp?: {
1984
+ eq?: string | null | undefined;
1985
+ gt?: string | null | undefined;
1986
+ gte?: string | null | undefined;
1987
+ in?: string[] | null | undefined;
1988
+ lt?: string | null | undefined;
1989
+ lte?: string | null | undefined;
1990
+ notIn?: string[] | null | undefined;
1991
+ } | null | undefined;
1992
+ toAddress?: {
1993
+ eq?: string | null | undefined;
1994
+ in?: string[] | null | undefined;
1995
+ notIn?: string[] | null | undefined;
1996
+ } | null | undefined;
1997
+ transactionHash?: {
1998
+ eq?: string | null | undefined;
1999
+ in?: string[] | null | undefined;
2000
+ notIn?: string[] | null | undefined;
2001
+ } | null | undefined;
2002
+ type?: {
2003
+ eq?: "BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER" | null | undefined;
2004
+ in?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
2005
+ notIn?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
2006
+ } | null | undefined;
2007
+ walletAddress?: {
2008
+ eq?: string | null | undefined;
2009
+ in?: string[] | null | undefined;
2010
+ notIn?: string[] | null | undefined;
2011
+ } | null | undefined;
2012
+ } | null | undefined;
2013
+ before?: string | null | undefined;
2014
+ after?: string | null | undefined;
2015
+ first?: number | null | undefined;
2016
+ chain?: "ethereum" | "ethereumSepolia" | "polygon" | null | undefined;
2017
+ }>;
2018
+ type NFTEventsInput = z.infer<typeof nftEventsValidator>;
2019
+ type NFTEventsResult = SimplifyType<{
2020
+ results: CodegenTokenEventInfoFragment[];
2021
+ pageInfo: CodegenPaginationFragment;
2022
+ }>;
2023
+
2024
+ declare const allEventsValidator: z.ZodObject<{
2025
+ filter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2026
+ blockNumber: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2027
+ eq: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2028
+ gt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2029
+ gte: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2030
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
2031
+ lt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2032
+ lte: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2033
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
2034
+ }, "strict", z.ZodTypeAny, {
2035
+ eq?: number | null | undefined;
2036
+ gt?: number | null | undefined;
2037
+ gte?: number | null | undefined;
2038
+ in?: number[] | null | undefined;
2039
+ lt?: number | null | undefined;
2040
+ lte?: number | null | undefined;
2041
+ notIn?: number[] | null | undefined;
2042
+ }, {
2043
+ eq?: number | null | undefined;
2044
+ gt?: number | null | undefined;
2045
+ gte?: number | null | undefined;
2046
+ in?: number[] | null | undefined;
2047
+ lt?: number | null | undefined;
2048
+ lte?: number | null | undefined;
2049
+ notIn?: number[] | null | undefined;
2050
+ }>>>;
2051
+ contractAddress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2052
+ eq: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2053
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2054
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2055
+ }, "strict", z.ZodTypeAny, {
2056
+ eq?: string | null | undefined;
2057
+ in?: string[] | null | undefined;
2058
+ notIn?: string[] | null | undefined;
2059
+ }, {
2060
+ eq?: string | null | undefined;
2061
+ in?: string[] | null | undefined;
2062
+ notIn?: string[] | null | undefined;
2063
+ }>>>;
2064
+ contractStandard: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2065
+ eq: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ERC20", "ERC721", "ERC1155"]>>>;
2066
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["ERC20", "ERC721", "ERC1155"]>, "many">>>;
2067
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["ERC20", "ERC721", "ERC1155"]>, "many">>>;
2068
+ }, "strict", z.ZodTypeAny, {
2069
+ eq?: "ERC721" | "ERC1155" | "ERC20" | null | undefined;
2070
+ in?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
2071
+ notIn?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
2072
+ }, {
2073
+ eq?: "ERC721" | "ERC1155" | "ERC20" | null | undefined;
2074
+ in?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
2075
+ notIn?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
2076
+ }>>>;
2077
+ fromAddress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2078
+ eq: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2079
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2080
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2081
+ }, "strict", z.ZodTypeAny, {
2082
+ eq?: string | null | undefined;
2083
+ in?: string[] | null | undefined;
2084
+ notIn?: string[] | null | undefined;
2085
+ }, {
2086
+ eq?: string | null | undefined;
2087
+ in?: string[] | null | undefined;
2088
+ notIn?: string[] | null | undefined;
2089
+ }>>>;
2090
+ marketplace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2091
+ eq: z.ZodOptional<z.ZodNullable<z.ZodEnum<["BLUR", "CRYPTOPUNKS", "LOOKSRARE", "NIFTY_GATEWAY", "OPENSEA", "SEAPORT", "X2Y2", "ZEROX"]>>>;
2092
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["BLUR", "CRYPTOPUNKS", "LOOKSRARE", "NIFTY_GATEWAY", "OPENSEA", "SEAPORT", "X2Y2", "ZEROX"]>, "many">>>;
2093
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["BLUR", "CRYPTOPUNKS", "LOOKSRARE", "NIFTY_GATEWAY", "OPENSEA", "SEAPORT", "X2Y2", "ZEROX"]>, "many">>>;
2094
+ }, "strict", z.ZodTypeAny, {
2095
+ eq?: "BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX" | null | undefined;
2096
+ in?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
2097
+ notIn?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
2098
+ }, {
2099
+ eq?: "BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX" | null | undefined;
2100
+ in?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
2101
+ notIn?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
2102
+ }>>>;
2103
+ timestamp: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2104
+ eq: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2105
+ gt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2106
+ gte: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2107
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2108
+ lt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2109
+ lte: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2110
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2111
+ }, "strict", z.ZodTypeAny, {
2112
+ eq?: string | null | undefined;
2113
+ gt?: string | null | undefined;
2114
+ gte?: string | null | undefined;
2115
+ in?: string[] | null | undefined;
2116
+ lt?: string | null | undefined;
2117
+ lte?: string | null | undefined;
2118
+ notIn?: string[] | null | undefined;
2119
+ }, {
2120
+ eq?: string | null | undefined;
2121
+ gt?: string | null | undefined;
2122
+ gte?: string | null | undefined;
2123
+ in?: string[] | null | undefined;
2124
+ lt?: string | null | undefined;
2125
+ lte?: string | null | undefined;
2126
+ notIn?: string[] | null | undefined;
2127
+ }>>>;
2128
+ toAddress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2129
+ eq: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2130
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2131
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2132
+ }, "strict", z.ZodTypeAny, {
2133
+ eq?: string | null | undefined;
2134
+ in?: string[] | null | undefined;
2135
+ notIn?: string[] | null | undefined;
2136
+ }, {
2137
+ eq?: string | null | undefined;
2138
+ in?: string[] | null | undefined;
2139
+ notIn?: string[] | null | undefined;
2140
+ }>>>;
2141
+ transactionHash: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2142
+ eq: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2143
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2144
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2145
+ }, "strict", z.ZodTypeAny, {
2146
+ eq?: string | null | undefined;
2147
+ in?: string[] | null | undefined;
2148
+ notIn?: string[] | null | undefined;
2149
+ }, {
2150
+ eq?: string | null | undefined;
2151
+ in?: string[] | null | undefined;
2152
+ notIn?: string[] | null | undefined;
2153
+ }>>>;
2154
+ type: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2155
+ eq: z.ZodOptional<z.ZodNullable<z.ZodEnum<["TRANSFER", "MINT", "SALE", "SWAP", "BURN"]>>>;
2156
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["TRANSFER", "MINT", "SALE", "SWAP", "BURN"]>, "many">>>;
2157
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["TRANSFER", "MINT", "SALE", "SWAP", "BURN"]>, "many">>>;
2158
+ }, "strict", z.ZodTypeAny, {
2159
+ eq?: "BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER" | null | undefined;
2160
+ in?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
2161
+ notIn?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
2162
+ }, {
2163
+ eq?: "BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER" | null | undefined;
2164
+ in?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
2165
+ notIn?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
2166
+ }>>>;
2167
+ walletAddress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2168
+ eq: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2169
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2170
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2171
+ }, "strict", z.ZodTypeAny, {
2172
+ eq?: string | null | undefined;
2173
+ in?: string[] | null | undefined;
2174
+ notIn?: string[] | null | undefined;
2175
+ }, {
2176
+ eq?: string | null | undefined;
2177
+ in?: string[] | null | undefined;
2178
+ notIn?: string[] | null | undefined;
2179
+ }>>>;
2180
+ }, "strict", z.ZodTypeAny, {
2181
+ blockNumber?: {
2182
+ eq?: number | null | undefined;
2183
+ gt?: number | null | undefined;
2184
+ gte?: number | null | undefined;
2185
+ in?: number[] | null | undefined;
2186
+ lt?: number | null | undefined;
2187
+ lte?: number | null | undefined;
2188
+ notIn?: number[] | null | undefined;
2189
+ } | null | undefined;
2190
+ contractAddress?: {
2191
+ eq?: string | null | undefined;
2192
+ in?: string[] | null | undefined;
2193
+ notIn?: string[] | null | undefined;
2194
+ } | null | undefined;
2195
+ contractStandard?: {
2196
+ eq?: "ERC721" | "ERC1155" | "ERC20" | null | undefined;
2197
+ in?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
2198
+ notIn?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
2199
+ } | null | undefined;
2200
+ fromAddress?: {
2201
+ eq?: string | null | undefined;
2202
+ in?: string[] | null | undefined;
2203
+ notIn?: string[] | null | undefined;
2204
+ } | null | undefined;
2205
+ marketplace?: {
2206
+ eq?: "BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX" | null | undefined;
2207
+ in?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
2208
+ notIn?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
2209
+ } | null | undefined;
2210
+ timestamp?: {
2211
+ eq?: string | null | undefined;
2212
+ gt?: string | null | undefined;
2213
+ gte?: string | null | undefined;
2214
+ in?: string[] | null | undefined;
2215
+ lt?: string | null | undefined;
2216
+ lte?: string | null | undefined;
2217
+ notIn?: string[] | null | undefined;
2218
+ } | null | undefined;
2219
+ toAddress?: {
2220
+ eq?: string | null | undefined;
2221
+ in?: string[] | null | undefined;
2222
+ notIn?: string[] | null | undefined;
2223
+ } | null | undefined;
2224
+ transactionHash?: {
2225
+ eq?: string | null | undefined;
2226
+ in?: string[] | null | undefined;
2227
+ notIn?: string[] | null | undefined;
2228
+ } | null | undefined;
2229
+ type?: {
2230
+ eq?: "BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER" | null | undefined;
2231
+ in?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
2232
+ notIn?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
2233
+ } | null | undefined;
2234
+ walletAddress?: {
2235
+ eq?: string | null | undefined;
2236
+ in?: string[] | null | undefined;
2237
+ notIn?: string[] | null | undefined;
2238
+ } | null | undefined;
2239
+ }, {
2240
+ blockNumber?: {
2241
+ eq?: number | null | undefined;
2242
+ gt?: number | null | undefined;
2243
+ gte?: number | null | undefined;
2244
+ in?: number[] | null | undefined;
2245
+ lt?: number | null | undefined;
2246
+ lte?: number | null | undefined;
2247
+ notIn?: number[] | null | undefined;
2248
+ } | null | undefined;
2249
+ contractAddress?: {
2250
+ eq?: string | null | undefined;
2251
+ in?: string[] | null | undefined;
2252
+ notIn?: string[] | null | undefined;
2253
+ } | null | undefined;
2254
+ contractStandard?: {
2255
+ eq?: "ERC721" | "ERC1155" | "ERC20" | null | undefined;
2256
+ in?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
2257
+ notIn?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
2258
+ } | null | undefined;
2259
+ fromAddress?: {
2260
+ eq?: string | null | undefined;
2261
+ in?: string[] | null | undefined;
2262
+ notIn?: string[] | null | undefined;
2263
+ } | null | undefined;
2264
+ marketplace?: {
2265
+ eq?: "BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX" | null | undefined;
2266
+ in?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
2267
+ notIn?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
2268
+ } | null | undefined;
2269
+ timestamp?: {
2270
+ eq?: string | null | undefined;
2271
+ gt?: string | null | undefined;
2272
+ gte?: string | null | undefined;
2273
+ in?: string[] | null | undefined;
2274
+ lt?: string | null | undefined;
2275
+ lte?: string | null | undefined;
2276
+ notIn?: string[] | null | undefined;
2277
+ } | null | undefined;
2278
+ toAddress?: {
2279
+ eq?: string | null | undefined;
2280
+ in?: string[] | null | undefined;
2281
+ notIn?: string[] | null | undefined;
2282
+ } | null | undefined;
2283
+ transactionHash?: {
2284
+ eq?: string | null | undefined;
2285
+ in?: string[] | null | undefined;
2286
+ notIn?: string[] | null | undefined;
2287
+ } | null | undefined;
2288
+ type?: {
2289
+ eq?: "BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER" | null | undefined;
2290
+ in?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
2291
+ notIn?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
2292
+ } | null | undefined;
2293
+ walletAddress?: {
2294
+ eq?: string | null | undefined;
2295
+ in?: string[] | null | undefined;
2296
+ notIn?: string[] | null | undefined;
2297
+ } | null | undefined;
2298
+ }>>>;
2299
+ before: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2300
+ after: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2301
+ first: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2302
+ chain: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ethereum", "polygon", "ethereumSepolia"]>>>;
2303
+ }, "strict", z.ZodTypeAny, {
2304
+ filter?: {
2305
+ blockNumber?: {
2306
+ eq?: number | null | undefined;
2307
+ gt?: number | null | undefined;
2308
+ gte?: number | null | undefined;
2309
+ in?: number[] | null | undefined;
2310
+ lt?: number | null | undefined;
2311
+ lte?: number | null | undefined;
2312
+ notIn?: number[] | null | undefined;
2313
+ } | null | undefined;
2314
+ contractAddress?: {
2315
+ eq?: string | null | undefined;
2316
+ in?: string[] | null | undefined;
2317
+ notIn?: string[] | null | undefined;
2318
+ } | null | undefined;
2319
+ contractStandard?: {
2320
+ eq?: "ERC721" | "ERC1155" | "ERC20" | null | undefined;
2321
+ in?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
2322
+ notIn?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
2323
+ } | null | undefined;
2324
+ fromAddress?: {
2325
+ eq?: string | null | undefined;
2326
+ in?: string[] | null | undefined;
2327
+ notIn?: string[] | null | undefined;
2328
+ } | null | undefined;
2329
+ marketplace?: {
2330
+ eq?: "BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX" | null | undefined;
2331
+ in?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
2332
+ notIn?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
2333
+ } | null | undefined;
2334
+ timestamp?: {
2335
+ eq?: string | null | undefined;
2336
+ gt?: string | null | undefined;
2337
+ gte?: string | null | undefined;
2338
+ in?: string[] | null | undefined;
2339
+ lt?: string | null | undefined;
2340
+ lte?: string | null | undefined;
2341
+ notIn?: string[] | null | undefined;
2342
+ } | null | undefined;
2343
+ toAddress?: {
2344
+ eq?: string | null | undefined;
2345
+ in?: string[] | null | undefined;
2346
+ notIn?: string[] | null | undefined;
2347
+ } | null | undefined;
2348
+ transactionHash?: {
2349
+ eq?: string | null | undefined;
2350
+ in?: string[] | null | undefined;
2351
+ notIn?: string[] | null | undefined;
2352
+ } | null | undefined;
2353
+ type?: {
2354
+ eq?: "BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER" | null | undefined;
2355
+ in?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
2356
+ notIn?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
2357
+ } | null | undefined;
2358
+ walletAddress?: {
2359
+ eq?: string | null | undefined;
2360
+ in?: string[] | null | undefined;
2361
+ notIn?: string[] | null | undefined;
2362
+ } | null | undefined;
2363
+ } | null | undefined;
2364
+ before?: string | null | undefined;
2365
+ after?: string | null | undefined;
2366
+ first?: number | null | undefined;
2367
+ chain?: "ethereum" | "ethereumSepolia" | "polygon" | null | undefined;
2368
+ }, {
2369
+ filter?: {
2370
+ blockNumber?: {
2371
+ eq?: number | null | undefined;
2372
+ gt?: number | null | undefined;
2373
+ gte?: number | null | undefined;
2374
+ in?: number[] | null | undefined;
2375
+ lt?: number | null | undefined;
2376
+ lte?: number | null | undefined;
2377
+ notIn?: number[] | null | undefined;
2378
+ } | null | undefined;
2379
+ contractAddress?: {
2380
+ eq?: string | null | undefined;
2381
+ in?: string[] | null | undefined;
2382
+ notIn?: string[] | null | undefined;
2383
+ } | null | undefined;
2384
+ contractStandard?: {
2385
+ eq?: "ERC721" | "ERC1155" | "ERC20" | null | undefined;
2386
+ in?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
2387
+ notIn?: ("ERC721" | "ERC1155" | "ERC20")[] | null | undefined;
2388
+ } | null | undefined;
2389
+ fromAddress?: {
2390
+ eq?: string | null | undefined;
2391
+ in?: string[] | null | undefined;
2392
+ notIn?: string[] | null | undefined;
2393
+ } | null | undefined;
2394
+ marketplace?: {
2395
+ eq?: "BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX" | null | undefined;
2396
+ in?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
2397
+ notIn?: ("BLUR" | "CRYPTOPUNKS" | "LOOKSRARE" | "NIFTY_GATEWAY" | "OPENSEA" | "SEAPORT" | "X2Y2" | "ZEROX")[] | null | undefined;
2398
+ } | null | undefined;
2399
+ timestamp?: {
2400
+ eq?: string | null | undefined;
2401
+ gt?: string | null | undefined;
2402
+ gte?: string | null | undefined;
2403
+ in?: string[] | null | undefined;
2404
+ lt?: string | null | undefined;
2405
+ lte?: string | null | undefined;
2406
+ notIn?: string[] | null | undefined;
2407
+ } | null | undefined;
2408
+ toAddress?: {
2409
+ eq?: string | null | undefined;
2410
+ in?: string[] | null | undefined;
2411
+ notIn?: string[] | null | undefined;
2412
+ } | null | undefined;
2413
+ transactionHash?: {
2414
+ eq?: string | null | undefined;
2415
+ in?: string[] | null | undefined;
2416
+ notIn?: string[] | null | undefined;
2417
+ } | null | undefined;
2418
+ type?: {
2419
+ eq?: "BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER" | null | undefined;
2420
+ in?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
2421
+ notIn?: ("BURN" | "MINT" | "SALE" | "SWAP" | "TRANSFER")[] | null | undefined;
2422
+ } | null | undefined;
2423
+ walletAddress?: {
2424
+ eq?: string | null | undefined;
2425
+ in?: string[] | null | undefined;
2426
+ notIn?: string[] | null | undefined;
2427
+ } | null | undefined;
2428
+ } | null | undefined;
2429
+ before?: string | null | undefined;
2430
+ after?: string | null | undefined;
2431
+ first?: number | null | undefined;
2432
+ chain?: "ethereum" | "ethereumSepolia" | "polygon" | null | undefined;
2433
+ }>;
2434
+ type AllEventsInput = z.infer<typeof allEventsValidator>;
2435
+ type AllEventsResult = SimplifyType<{
2436
+ results: CodegenTokenEventInfoFragment[];
2437
+ pageInfo: CodegenPaginationFragment;
2438
+ }>;
2439
+
2440
+ declare class EventsController {
2441
+ private client;
2442
+ private defaultChain;
2443
+ constructor(client: CustomUrqlClient, defaultChain?: ChainName);
2444
+ getByContract(variables: ContractEventsInput): Promise<ContractEventsResult>;
2445
+ getByNFTCollection(variables: CollectionEventsInput): Promise<CollectionEventsResult>;
2446
+ getByNFT(variables: NFTEventsInput): Promise<NFTEventsResult>;
2447
+ getAll(variables: AllEventsInput): Promise<AllEventsResult>;
2448
+ }
2449
+
2450
+ declare const balancesByWalletAddressValidator: z.ZodObject<{
2451
+ before: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2452
+ after: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2453
+ first: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2454
+ address: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodString]>;
2455
+ chain: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ethereum", "polygon", "ethereumSepolia"]>>>;
2456
+ }, "strict", z.ZodTypeAny, {
2457
+ address: string;
2458
+ before?: string | null | undefined;
2459
+ after?: string | null | undefined;
2460
+ first?: number | null | undefined;
2461
+ chain?: "ethereum" | "ethereumSepolia" | "polygon" | null | undefined;
2462
+ }, {
2463
+ address: string;
2464
+ before?: string | null | undefined;
2465
+ after?: string | null | undefined;
2466
+ first?: number | null | undefined;
2467
+ chain?: "ethereum" | "ethereumSepolia" | "polygon" | null | undefined;
2468
+ }>;
2469
+ type TransactionsByWalletAddressInput = z.infer<typeof balancesByWalletAddressValidator>;
2470
+ type TransactionsByWalletAddressResult = SimplifyType<{
2471
+ address: string;
2472
+ ensName: string;
2473
+ results: CodegenTransactionsNodeFragment[];
2474
+ pageInfo: CodegenPaginationFragment;
2475
+ }>;
2476
+
2477
+ declare const transactionsBySearchValidator: z.ZodObject<{
2478
+ filter: z.ZodOptional<z.ZodObject<{
2479
+ blockNumber: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2480
+ eq: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2481
+ gt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2482
+ gte: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2483
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
2484
+ lt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2485
+ lte: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2486
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
2487
+ }, "strict", z.ZodTypeAny, {
2488
+ eq?: number | null | undefined;
2489
+ gt?: number | null | undefined;
2490
+ gte?: number | null | undefined;
2491
+ in?: number[] | null | undefined;
2492
+ lt?: number | null | undefined;
2493
+ lte?: number | null | undefined;
2494
+ notIn?: number[] | null | undefined;
2495
+ }, {
2496
+ eq?: number | null | undefined;
2497
+ gt?: number | null | undefined;
2498
+ gte?: number | null | undefined;
2499
+ in?: number[] | null | undefined;
2500
+ lt?: number | null | undefined;
2501
+ lte?: number | null | undefined;
2502
+ notIn?: number[] | null | undefined;
2503
+ }>>>;
2504
+ fromAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2505
+ timestamp: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2506
+ eq: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2507
+ gt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2508
+ gte: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2509
+ in: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2510
+ lt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2511
+ lte: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2512
+ notIn: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2513
+ }, "strict", z.ZodTypeAny, {
2514
+ eq?: string | null | undefined;
2515
+ gt?: string | null | undefined;
2516
+ gte?: string | null | undefined;
2517
+ in?: string[] | null | undefined;
2518
+ lt?: string | null | undefined;
2519
+ lte?: string | null | undefined;
2520
+ notIn?: string[] | null | undefined;
2521
+ }, {
2522
+ eq?: string | null | undefined;
2523
+ gt?: string | null | undefined;
2524
+ gte?: string | null | undefined;
2525
+ in?: string[] | null | undefined;
2526
+ lt?: string | null | undefined;
2527
+ lte?: string | null | undefined;
2528
+ notIn?: string[] | null | undefined;
2529
+ }>>>;
2530
+ toAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2531
+ }, "strict", z.ZodTypeAny, {
2532
+ blockNumber?: {
2533
+ eq?: number | null | undefined;
2534
+ gt?: number | null | undefined;
2535
+ gte?: number | null | undefined;
2536
+ in?: number[] | null | undefined;
2537
+ lt?: number | null | undefined;
2538
+ lte?: number | null | undefined;
2539
+ notIn?: number[] | null | undefined;
2540
+ } | null | undefined;
2541
+ fromAddress?: string | null | undefined;
2542
+ timestamp?: {
2543
+ eq?: string | null | undefined;
2544
+ gt?: string | null | undefined;
2545
+ gte?: string | null | undefined;
2546
+ in?: string[] | null | undefined;
2547
+ lt?: string | null | undefined;
2548
+ lte?: string | null | undefined;
2549
+ notIn?: string[] | null | undefined;
2550
+ } | null | undefined;
2551
+ toAddress?: string | null | undefined;
2552
+ }, {
2553
+ blockNumber?: {
2554
+ eq?: number | null | undefined;
2555
+ gt?: number | null | undefined;
2556
+ gte?: number | null | undefined;
2557
+ in?: number[] | null | undefined;
2558
+ lt?: number | null | undefined;
2559
+ lte?: number | null | undefined;
2560
+ notIn?: number[] | null | undefined;
2561
+ } | null | undefined;
2562
+ fromAddress?: string | null | undefined;
2563
+ timestamp?: {
2564
+ eq?: string | null | undefined;
2565
+ gt?: string | null | undefined;
2566
+ gte?: string | null | undefined;
2567
+ in?: string[] | null | undefined;
2568
+ lt?: string | null | undefined;
2569
+ lte?: string | null | undefined;
2570
+ notIn?: string[] | null | undefined;
2571
+ } | null | undefined;
2572
+ toAddress?: string | null | undefined;
2573
+ }>>;
2574
+ before: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2575
+ after: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2576
+ first: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2577
+ chain: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ethereum", "polygon", "ethereumSepolia"]>>>;
2578
+ }, "strict", z.ZodTypeAny, {
2579
+ filter?: {
2580
+ blockNumber?: {
2581
+ eq?: number | null | undefined;
2582
+ gt?: number | null | undefined;
2583
+ gte?: number | null | undefined;
2584
+ in?: number[] | null | undefined;
2585
+ lt?: number | null | undefined;
2586
+ lte?: number | null | undefined;
2587
+ notIn?: number[] | null | undefined;
2588
+ } | null | undefined;
2589
+ fromAddress?: string | null | undefined;
2590
+ timestamp?: {
2591
+ eq?: string | null | undefined;
2592
+ gt?: string | null | undefined;
2593
+ gte?: string | null | undefined;
2594
+ in?: string[] | null | undefined;
2595
+ lt?: string | null | undefined;
2596
+ lte?: string | null | undefined;
2597
+ notIn?: string[] | null | undefined;
2598
+ } | null | undefined;
2599
+ toAddress?: string | null | undefined;
2600
+ } | undefined;
2601
+ before?: string | null | undefined;
2602
+ after?: string | null | undefined;
2603
+ first?: number | null | undefined;
2604
+ chain?: "ethereum" | "ethereumSepolia" | "polygon" | null | undefined;
2605
+ }, {
2606
+ filter?: {
2607
+ blockNumber?: {
2608
+ eq?: number | null | undefined;
2609
+ gt?: number | null | undefined;
2610
+ gte?: number | null | undefined;
2611
+ in?: number[] | null | undefined;
2612
+ lt?: number | null | undefined;
2613
+ lte?: number | null | undefined;
2614
+ notIn?: number[] | null | undefined;
2615
+ } | null | undefined;
2616
+ fromAddress?: string | null | undefined;
2617
+ timestamp?: {
2618
+ eq?: string | null | undefined;
2619
+ gt?: string | null | undefined;
2620
+ gte?: string | null | undefined;
2621
+ in?: string[] | null | undefined;
2622
+ lt?: string | null | undefined;
2623
+ lte?: string | null | undefined;
2624
+ notIn?: string[] | null | undefined;
2625
+ } | null | undefined;
2626
+ toAddress?: string | null | undefined;
2627
+ } | undefined;
2628
+ before?: string | null | undefined;
2629
+ after?: string | null | undefined;
2630
+ first?: number | null | undefined;
2631
+ chain?: "ethereum" | "ethereumSepolia" | "polygon" | null | undefined;
2632
+ }>;
2633
+ type TransactionsBySearchInput = z.infer<typeof transactionsBySearchValidator>;
2634
+ type TransactionsBySearchResult = SimplifyType<{
2635
+ results: CodegenTransactionsNodeFragment[];
2636
+ pageInfo: CodegenPaginationFragment;
2637
+ }>;
2638
+
2639
+ declare const transactionsByHashValidator: z.ZodObject<{
2640
+ hash: z.ZodString;
2641
+ chain: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ethereum", "polygon", "ethereumSepolia"]>>>;
2642
+ }, "strict", z.ZodTypeAny, {
2643
+ hash: string;
2644
+ chain?: "ethereum" | "ethereumSepolia" | "polygon" | null | undefined;
2645
+ }, {
2646
+ hash: string;
2647
+ chain?: "ethereum" | "ethereumSepolia" | "polygon" | null | undefined;
2648
+ }>;
2649
+ type TransactionsByHashInput = z.infer<typeof transactionsByHashValidator>;
2650
+ type TransactionsByHashResult = SimplifyType<{
2651
+ transaction: CodegenTransactionsNodeFragment | null;
2652
+ }>;
2653
+
2654
+ declare class TransactionsController {
2655
+ private client;
2656
+ private defaultChain;
2657
+ constructor(client: CustomUrqlClient, defaultChain?: ChainName);
2658
+ getByWallet(variables: TransactionsByWalletAddressInput): Promise<TransactionsByWalletAddressResult>;
2659
+ private getByWalletAddress;
2660
+ private getByWalletENS;
2661
+ getAll(variables: TransactionsBySearchInput): Promise<TransactionsBySearchResult>;
2662
+ getByHash(variables: TransactionsByHashInput): Promise<TransactionsByHashResult>;
2663
+ }
2664
+
2665
+ interface ApiArguments {
2666
+ graphApiKey?: string;
2667
+ additionalHeaders?: Record<string, string>;
2668
+ defaultChain?: ChainName;
2669
+ }
2670
+ declare class API {
2671
+ readonly urqlClient: Client;
2672
+ private customUrqlClient;
2673
+ private graphApiKey?;
2674
+ private additionalHeaders?;
2675
+ readonly defaultChain: ChainName;
2676
+ readonly nfts: NftsController;
2677
+ readonly tokens: TokensController;
2678
+ readonly utils: UtilsController;
2679
+ readonly contracts: ContractsController;
2680
+ readonly transactions: TransactionsController;
2681
+ readonly events: EventsController;
2682
+ readonly graphApiClient: Client;
2683
+ constructor({ graphApiKey, additionalHeaders, defaultChain, }?: ApiArguments);
2684
+ private createUrqlClient;
2685
+ }
2686
+
2687
+ export { API as default };