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