@quicknode/sdk 0.5.2 → 1.0.0-beta.1

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