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