@quicknode/sdk 0.5.2 → 1.0.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,1305 +0,0 @@
1
- export declare type Maybe<T> = T | null;
2
- export declare type InputMaybe<T> = Maybe<T>;
3
- export declare type Exact<T extends {
4
- [key: string]: unknown;
5
- }> = {
6
- [K in keyof T]: T[K];
7
- };
8
- export declare type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
9
- [SubKey in K]?: Maybe<T[SubKey]>;
10
- };
11
- export declare type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
12
- [SubKey in K]: Maybe<T[SubKey]>;
13
- };
14
- /** All built-in and custom scalars, mapped to their actual values */
15
- export declare type Scalars = {
16
- ID: string;
17
- String: string;
18
- Boolean: boolean;
19
- Int: number;
20
- Float: number;
21
- Date: any;
22
- };
23
- /** A base contract */
24
- export declare type BaseContract = Contract & {
25
- __typename?: 'BaseContract';
26
- address: Scalars['String'];
27
- /** Statistics related to a token's traits/attributes. */
28
- attributes: Array<Maybe<ContractAttribute>>;
29
- isVerified: Scalars['Boolean'];
30
- /** The log history for this contract */
31
- logs?: Maybe<LogConnection>;
32
- /** A token under this contract */
33
- token?: Maybe<Token>;
34
- tokenStandard?: Maybe<TokenStandard>;
35
- tokens?: Maybe<TokenConnection>;
36
- };
37
- /** A base contract */
38
- export declare type BaseContractLogsArgs = {
39
- after?: InputMaybe<Scalars['String']>;
40
- filter?: InputMaybe<LogsFilterInputType>;
41
- first?: InputMaybe<Scalars['Int']>;
42
- };
43
- /** A base contract */
44
- export declare type BaseContractTokenArgs = {
45
- tokenId: Scalars['String'];
46
- };
47
- /** A base contract */
48
- export declare type BaseContractTokensArgs = {
49
- after?: InputMaybe<Scalars['String']>;
50
- first?: InputMaybe<Scalars['Int']>;
51
- };
52
- /** A base log */
53
- export declare type BaseLog = Log & {
54
- __typename?: 'BaseLog';
55
- /** The block number for this log */
56
- blockNumber: Scalars['Int'];
57
- /** The Contract related to this log */
58
- contract: Contract;
59
- /** The contract address for this log */
60
- contractAddress: Scalars['String'];
61
- /** The estimated time the transaction was confirmed at */
62
- estimatedConfirmedAt: Scalars['Date'];
63
- /** The from Wallet related to this log */
64
- from?: Maybe<Wallet>;
65
- /** The from address for this log */
66
- fromAddress: Scalars['String'];
67
- /** This log index -- logs are unique by the transaction_hash + log_index */
68
- logIndex: Scalars['Int'];
69
- /** The to Wallet related to this log */
70
- to?: Maybe<Wallet>;
71
- /** The to address for this log */
72
- toAddress: Scalars['String'];
73
- /** The Token related to this log */
74
- token?: Maybe<Token>;
75
- /** The Transaction related to this log */
76
- transaction?: Maybe<Transaction>;
77
- /** The address of the wallet that created this transaction */
78
- transactionCreator?: Maybe<Scalars['String']>;
79
- /** The transaction hash for this log */
80
- transactionHash: Scalars['String'];
81
- /** The type of log this is: Order, Mint, Transfer, etc. */
82
- type: LogType;
83
- };
84
- /** A base token */
85
- export declare type BaseToken = Token & {
86
- __typename?: 'BaseToken';
87
- /** The attributes of the token. */
88
- attributes: Array<Maybe<TokenAttribute>>;
89
- /** The contract standard for the token. */
90
- contract: Contract;
91
- /** An array of image locations and sizes for the token. */
92
- images: Array<Maybe<TokenImage>>;
93
- /** The log history for this token */
94
- logs?: Maybe<LogConnection>;
95
- tokenId: Scalars['String'];
96
- };
97
- /** A base token */
98
- export declare type BaseTokenLogsArgs = {
99
- after?: InputMaybe<Scalars['String']>;
100
- filter?: InputMaybe<LogsFilterInputType>;
101
- first?: InputMaybe<Scalars['Int']>;
102
- };
103
- /** A contract */
104
- export declare type Contract = {
105
- address: Scalars['String'];
106
- /** Statistics related to a token's traits/attributes. */
107
- attributes: Array<Maybe<ContractAttribute>>;
108
- isVerified: Scalars['Boolean'];
109
- /** The log history for this contract */
110
- logs?: Maybe<LogConnection>;
111
- /** A token under this contract */
112
- token?: Maybe<Token>;
113
- tokenStandard?: Maybe<TokenStandard>;
114
- tokens?: Maybe<TokenConnection>;
115
- };
116
- /** A contract */
117
- export declare type ContractLogsArgs = {
118
- after?: InputMaybe<Scalars['String']>;
119
- filter?: InputMaybe<LogsFilterInputType>;
120
- first?: InputMaybe<Scalars['Int']>;
121
- };
122
- /** A contract */
123
- export declare type ContractTokenArgs = {
124
- tokenId: Scalars['String'];
125
- };
126
- /** A contract */
127
- export declare type ContractTokensArgs = {
128
- after?: InputMaybe<Scalars['String']>;
129
- first?: InputMaybe<Scalars['Int']>;
130
- };
131
- /** A contract's attribute count */
132
- export declare type ContractAttribute = {
133
- __typename?: 'ContractAttribute';
134
- /** The trait key. */
135
- name: Scalars['String'];
136
- /** The `100 * value_count / total_tokens for the contract. */
137
- rarity?: Maybe<Scalars['Float']>;
138
- /** The value of the trait. */
139
- value?: Maybe<Scalars['String']>;
140
- /** The total count for this name: value pair in the contract. */
141
- valueCount: Scalars['Int'];
142
- /**
143
- * The total count for this name: value pair in the contract.
144
- * @deprecated Moved to "valueCount".
145
- */
146
- value_count: Scalars['Int'];
147
- };
148
- /** A connection to a list of items. */
149
- export declare type ContractConnection = {
150
- __typename?: 'ContractConnection';
151
- /** A list of edges. */
152
- edges?: Maybe<Array<Maybe<ContractEdge>>>;
153
- /** Information to aid in pagination. */
154
- pageInfo: PageInfo;
155
- };
156
- /** An edge in a connection. */
157
- export declare type ContractEdge = {
158
- __typename?: 'ContractEdge';
159
- /** A cursor for use in pagination */
160
- cursor: Scalars['String'];
161
- /** The item at the end of the edge */
162
- node?: Maybe<Contract>;
163
- };
164
- /** A contract's stats for a given timeframe */
165
- export declare type ContractStats = {
166
- __typename?: 'ContractStats';
167
- /** Average price */
168
- average?: Maybe<Scalars['Float']>;
169
- /** Ceiling price */
170
- ceiling?: Maybe<Scalars['Float']>;
171
- /** Floor price */
172
- floor?: Maybe<Scalars['Float']>;
173
- /** Total number of sales */
174
- totalSales?: Maybe<Scalars['Int']>;
175
- /** Total volume */
176
- volume?: Maybe<Scalars['Float']>;
177
- };
178
- /** Filters available to the "contracts" query */
179
- export declare type ContractsFilterInput = {
180
- /** The address of the contract */
181
- address?: InputMaybe<StringInput>;
182
- /** The name of the contract */
183
- name?: InputMaybe<SearchStringInput>;
184
- /** The symbol of the contract */
185
- symbol?: InputMaybe<SearchStringInput>;
186
- };
187
- export declare enum ContractsOrderByEnum {
188
- /**
189
- * Sort contracts by average sale price within a given time range. Defaults to within last hour, use timeframe on "stats" to further filter.
190
- * @deprecated Use the trendingCollections query instead.
191
- */
192
- Average = "AVERAGE",
193
- /**
194
- * Sort contracts by max sale price within a given time range. Defaults to within last hour, use timeframe on "stats" to further filter.
195
- * @deprecated Use the trendingCollections query instead.
196
- */
197
- Ceiling = "CEILING",
198
- /**
199
- * Sort contracts by min sale price within a given time range. Defaults to within last hour, use timeframe on "stats" to further filter.
200
- * @deprecated Use the trendingCollections query instead.
201
- */
202
- Floor = "FLOOR",
203
- /** Sort contracts alphabetically by name */
204
- Name = "NAME",
205
- /**
206
- * Sort contracts by number of sales. Defaults to within last hour, use timeframe on "stats" to further filter.
207
- * @deprecated Use the trendingCollections query instead.
208
- */
209
- Sales = "SALES",
210
- /** Sort contracts alphabetically by symbol */
211
- Symbol = "SYMBOL",
212
- /**
213
- * Sort contracts by volume. Defaults to within last hour, use timeframe on "stats" to further filter.
214
- * @deprecated Use the trendingCollections query instead.
215
- */
216
- Volume = "VOLUME"
217
- }
218
- export declare type DateInputType = {
219
- eq?: InputMaybe<Scalars['Date']>;
220
- gt?: InputMaybe<Scalars['Date']>;
221
- gte?: InputMaybe<Scalars['Date']>;
222
- lt?: InputMaybe<Scalars['Date']>;
223
- lte?: InputMaybe<Scalars['Date']>;
224
- };
225
- /** An ERC-721 contract */
226
- export declare type Erc721Contract = Contract & {
227
- __typename?: 'ERC721Contract';
228
- address: Scalars['String'];
229
- /** Statistics related to a token's traits/attributes. */
230
- attributes: Array<Maybe<ContractAttribute>>;
231
- circulatingSupply?: Maybe<Scalars['Int']>;
232
- isVerified: Scalars['Boolean'];
233
- /** The log history for this contract */
234
- logs?: Maybe<LogConnection>;
235
- /** The name of the contract */
236
- name?: Maybe<Scalars['String']>;
237
- stats?: Maybe<ContractStats>;
238
- /** The symbol of the contract */
239
- symbol?: Maybe<Scalars['String']>;
240
- /** A token under this contract */
241
- token?: Maybe<Token>;
242
- tokenStandard?: Maybe<TokenStandard>;
243
- tokens?: Maybe<TokenConnection>;
244
- /** See OpenSea's docs for Collection.banner_image_url. This field is marked unsafe due to the fact OpenSea metadata can change at anytime and we may not have recent changes to this data. */
245
- unsafeOpenseaBannerImageUrl?: Maybe<Scalars['String']>;
246
- /** See OpenSea's docs for Collection.description. This field is marked unsafe due to the fact OpenSea metadata can change at anytime and we may not have recent changes to this data. */
247
- unsafeOpenseaDescription?: Maybe<Scalars['String']>;
248
- /** See OpenSea's docs for Collection.external_url. This field is marked unsafe due to the fact OpenSea metadata can change at anytime and we may not have recent changes to this data. */
249
- unsafeOpenseaExternalUrl?: Maybe<Scalars['String']>;
250
- /** See OpenSea's docs for Collection.image_url. This field is marked unsafe due to the fact OpenSea metadata can change at anytime and we may not have recent changes to this data. */
251
- unsafeOpenseaImageUrl?: Maybe<Scalars['String']>;
252
- /** See OpenSea's docs for Collection.slug. This field is marked unsafe due to the fact OpenSea metadata can change at anytime and we may not have recent changes to this data. */
253
- unsafeOpenseaSlug?: Maybe<Scalars['String']>;
254
- };
255
- /** An ERC-721 contract */
256
- export declare type Erc721ContractLogsArgs = {
257
- after?: InputMaybe<Scalars['String']>;
258
- filter?: InputMaybe<LogsFilterInputType>;
259
- first?: InputMaybe<Scalars['Int']>;
260
- };
261
- /** An ERC-721 contract */
262
- export declare type Erc721ContractStatsArgs = {
263
- timeRange?: InputMaybe<DateInputType>;
264
- };
265
- /** An ERC-721 contract */
266
- export declare type Erc721ContractTokenArgs = {
267
- tokenId: Scalars['String'];
268
- };
269
- /** An ERC-721 contract */
270
- export declare type Erc721ContractTokensArgs = {
271
- after?: InputMaybe<Scalars['String']>;
272
- first?: InputMaybe<Scalars['Int']>;
273
- };
274
- /** A connection to a list of items. */
275
- export declare type Erc721ContractConnection = {
276
- __typename?: 'ERC721ContractConnection';
277
- /** A list of edges. */
278
- edges?: Maybe<Array<Maybe<Erc721ContractEdge>>>;
279
- /** Information to aid in pagination. */
280
- pageInfo: PageInfo;
281
- };
282
- /** An edge in a connection. */
283
- export declare type Erc721ContractEdge = {
284
- __typename?: 'ERC721ContractEdge';
285
- /** A cursor for use in pagination */
286
- cursor: Scalars['String'];
287
- /** The item at the end of the edge */
288
- node?: Maybe<Erc721Contract>;
289
- };
290
- /** An ERC721 standard metadata. Return any keys matching the ERC721 standard and ignore non-conforming keys. */
291
- export declare type Erc721Metadata = {
292
- __typename?: 'ERC721Metadata';
293
- animation_url?: Maybe<Scalars['String']>;
294
- attributes?: Maybe<Array<Maybe<Erc721MetadataAttribute>>>;
295
- background_color?: Maybe<Scalars['String']>;
296
- description?: Maybe<Scalars['String']>;
297
- external_url?: Maybe<Scalars['String']>;
298
- image?: Maybe<Scalars['String']>;
299
- image_data?: Maybe<Scalars['String']>;
300
- name?: Maybe<Scalars['String']>;
301
- youtube_url?: Maybe<Scalars['String']>;
302
- };
303
- /** A Metadata Attribute. Return the attribute keys for the ERC721 standard. */
304
- export declare type Erc721MetadataAttribute = {
305
- __typename?: 'ERC721MetadataAttribute';
306
- display_type?: Maybe<Scalars['String']>;
307
- trait_type?: Maybe<Scalars['String']>;
308
- value?: Maybe<Scalars['String']>;
309
- };
310
- /** An ERC721 token */
311
- export declare type Erc721Token = Token & {
312
- __typename?: 'ERC721Token';
313
- /** The attributes of the token. */
314
- attributes: Array<Maybe<TokenAttribute>>;
315
- /** The contract standard for the token. */
316
- contract: Contract;
317
- /** An array of image locations and sizes for the token. */
318
- images: Array<Maybe<TokenImage>>;
319
- /** The log history for this token */
320
- logs?: Maybe<LogConnection>;
321
- metadata?: Maybe<Erc721Metadata>;
322
- name?: Maybe<Scalars['String']>;
323
- owner?: Maybe<Wallet>;
324
- ownerAddress?: Maybe<Scalars['String']>;
325
- symbol?: Maybe<Scalars['String']>;
326
- tokenId: Scalars['String'];
327
- };
328
- /** An ERC721 token */
329
- export declare type Erc721TokenLogsArgs = {
330
- after?: InputMaybe<Scalars['String']>;
331
- filter?: InputMaybe<LogsFilterInputType>;
332
- first?: InputMaybe<Scalars['Int']>;
333
- };
334
- /** Held collections filter */
335
- export declare type HeldCollectionsFilterInputType = {
336
- contractAddressIn?: InputMaybe<Array<Scalars['String']>>;
337
- };
338
- export declare enum HeldCollectionsOrderByEnum {
339
- /** The timestamp of when the wallet acquired a token in this collection. */
340
- DateAcquired = "DATE_ACQUIRED",
341
- /** The name of the collection */
342
- Name = "NAME"
343
- }
344
- export declare enum HeldTokensOrderByEnum {
345
- /** The timestamp of when the wallet acquired this token. */
346
- DateAcquired = "DATE_ACQUIRED",
347
- /** The name of the token */
348
- Name = "NAME"
349
- }
350
- export declare type IntegerInput = {
351
- eq?: InputMaybe<Scalars['Int']>;
352
- gt?: InputMaybe<Scalars['Int']>;
353
- gte?: InputMaybe<Scalars['Int']>;
354
- in?: InputMaybe<Array<Scalars['Int']>>;
355
- lt?: InputMaybe<Scalars['Int']>;
356
- lte?: InputMaybe<Scalars['Int']>;
357
- };
358
- /** A log */
359
- export declare type Log = {
360
- /** The block number for this log */
361
- blockNumber: Scalars['Int'];
362
- /** The Contract related to this log */
363
- contract: Contract;
364
- /** The contract address for this log */
365
- contractAddress: Scalars['String'];
366
- /** The estimated time the transaction was confirmed at */
367
- estimatedConfirmedAt: Scalars['Date'];
368
- /** The from Wallet related to this log */
369
- from?: Maybe<Wallet>;
370
- /** The from address for this log */
371
- fromAddress: Scalars['String'];
372
- /** This log index -- logs are unique by the transaction_hash + log_index */
373
- logIndex: Scalars['Int'];
374
- /** The to Wallet related to this log */
375
- to?: Maybe<Wallet>;
376
- /** The to address for this log */
377
- toAddress: Scalars['String'];
378
- /** The Token related to this log */
379
- token?: Maybe<Token>;
380
- /** The Transaction related to this log */
381
- transaction?: Maybe<Transaction>;
382
- /** The address of the wallet that created this transaction */
383
- transactionCreator?: Maybe<Scalars['String']>;
384
- /** The transaction hash for this log */
385
- transactionHash: Scalars['String'];
386
- /** The type of log this is: Order, Mint, Transfer, etc. */
387
- type: LogType;
388
- };
389
- /** A connection to a list of items. */
390
- export declare type LogConnection = {
391
- __typename?: 'LogConnection';
392
- /** A list of edges. */
393
- edges?: Maybe<Array<Maybe<LogEdge>>>;
394
- /** Information to aid in pagination. */
395
- pageInfo: PageInfo;
396
- };
397
- /** An edge in a connection. */
398
- export declare type LogEdge = {
399
- __typename?: 'LogEdge';
400
- /** A cursor for use in pagination */
401
- cursor: Scalars['String'];
402
- /** The item at the end of the edge */
403
- node?: Maybe<Log>;
404
- };
405
- export declare enum LogOrderMarketplace {
406
- Blur = "BLUR",
407
- Cryptopunks = "CRYPTOPUNKS",
408
- Gem = "GEM",
409
- Genie = "GENIE",
410
- Looksrare = "LOOKSRARE",
411
- Niftygateway = "NIFTYGATEWAY",
412
- Opensea = "OPENSEA",
413
- X2Y2 = "X2Y2",
414
- Zerox = "ZEROX"
415
- }
416
- export declare enum LogType {
417
- Mint = "MINT",
418
- Order = "ORDER",
419
- Transfer = "TRANSFER"
420
- }
421
- /** Filter by type */
422
- export declare type LogTypeInput = {
423
- eq?: InputMaybe<LogType>;
424
- in?: InputMaybe<Array<LogType>>;
425
- notIn?: InputMaybe<Array<LogType>>;
426
- };
427
- /** Filter input for logs */
428
- export declare type LogsFilterInputType = {
429
- /** Filter logs by their block number */
430
- blockNumber?: InputMaybe<IntegerInput>;
431
- /** Filter logs by contract address */
432
- contractAddress?: InputMaybe<StringInput>;
433
- /** Filter logs by their estimated confirmation date */
434
- estimatedConfirmedAt?: InputMaybe<DateInputType>;
435
- /** Filter logs by the "from" wallet */
436
- fromAddress?: InputMaybe<StringInput>;
437
- /** Filter logs by marketplace */
438
- marketplace?: InputMaybe<OrderMarketplaceInput>;
439
- /** Filter logs by the "to" wallet */
440
- toAddress?: InputMaybe<StringInput>;
441
- /** Filter logs by their type */
442
- type?: InputMaybe<LogTypeInput>;
443
- /** Filter logs by their type */
444
- typeIn?: InputMaybe<Array<LogType>>;
445
- };
446
- /** A Mint log */
447
- export declare type MintLog = Log & {
448
- __typename?: 'MintLog';
449
- /** The block number for this log */
450
- blockNumber: Scalars['Int'];
451
- /** The Contract related to this log */
452
- contract: Contract;
453
- /** The contract address for this log */
454
- contractAddress: Scalars['String'];
455
- /** The estimated time the transaction was confirmed at */
456
- estimatedConfirmedAt: Scalars['Date'];
457
- /** The from Wallet related to this log */
458
- from?: Maybe<Wallet>;
459
- /** The from address for this log */
460
- fromAddress: Scalars['String'];
461
- /** This log index -- logs are unique by the transaction_hash + log_index */
462
- logIndex: Scalars['Int'];
463
- /** The to Wallet related to this log */
464
- to?: Maybe<Wallet>;
465
- /** The to address for this log */
466
- toAddress: Scalars['String'];
467
- /** The Token related to this log */
468
- token?: Maybe<Token>;
469
- /** The Transaction related to this log */
470
- transaction?: Maybe<Transaction>;
471
- /** The address of the wallet that created this transaction */
472
- transactionCreator?: Maybe<Scalars['String']>;
473
- /** The transaction hash for this log */
474
- transactionHash: Scalars['String'];
475
- /** The type of log this is: Order, Mint, Transfer, etc. */
476
- type: LogType;
477
- };
478
- /** The root of all... mutations */
479
- export declare type Mutations = {
480
- __typename?: 'Mutations';
481
- /**
482
- * Queues a job to refresh of the metadata of a specific token or every token in a collection.
483
- * If tokenId is omitted, it will queue a refresh for every token in the collection.
484
- * Only trigger a refresh of the entire collection if absolutely necessary.
485
- */
486
- refreshTokenMetadata: RefreshMetadataStatusMessage;
487
- };
488
- /** The root of all... mutations */
489
- export declare type MutationsRefreshTokenMetadataArgs = {
490
- input: RefreshTokenMetadataInput;
491
- };
492
- export declare enum OrderDirectionEnum {
493
- /** Sort ascending (A-Z) */
494
- Asc = "ASC",
495
- /** Sort descending (Z-A) */
496
- Desc = "DESC"
497
- }
498
- /** A Order log */
499
- export declare type OrderLog = Log & {
500
- __typename?: 'OrderLog';
501
- /** The block number for this log */
502
- blockNumber: Scalars['Int'];
503
- /** The Contract related to this log */
504
- contract: Contract;
505
- /** The contract address for this log */
506
- contractAddress: Scalars['String'];
507
- /** The estimated time the transaction was confirmed at */
508
- estimatedConfirmedAt: Scalars['Date'];
509
- /** The from Wallet related to this log */
510
- from?: Maybe<Wallet>;
511
- /** The from address for this log */
512
- fromAddress: Scalars['String'];
513
- /** This log index -- logs are unique by the transaction_hash + log_index */
514
- logIndex: Scalars['Int'];
515
- /** The marketplace this Order was placed on: OpenSea, Genie, etc. */
516
- marketplace?: Maybe<LogOrderMarketplace>;
517
- /** The price paid in Ethereum */
518
- priceInEth: Scalars['Float'];
519
- /** The to Wallet related to this log */
520
- to?: Maybe<Wallet>;
521
- /** The to address for this log */
522
- toAddress: Scalars['String'];
523
- /** The Token related to this log */
524
- token?: Maybe<Token>;
525
- /** The Transaction related to this log */
526
- transaction?: Maybe<Transaction>;
527
- /** The address of the wallet that created this transaction */
528
- transactionCreator?: Maybe<Scalars['String']>;
529
- /** The transaction hash for this log */
530
- transactionHash: Scalars['String'];
531
- /** The type of log this is: Order, Mint, Transfer, etc. */
532
- type: LogType;
533
- };
534
- /** Filter by marketplace */
535
- export declare type OrderMarketplaceInput = {
536
- eq?: InputMaybe<LogOrderMarketplace>;
537
- in?: InputMaybe<Array<LogOrderMarketplace>>;
538
- notIn?: InputMaybe<Array<LogOrderMarketplace>>;
539
- };
540
- /** Information about pagination in a connection. */
541
- export declare type PageInfo = {
542
- __typename?: 'PageInfo';
543
- /** When paginating forwards, the cursor to continue. */
544
- endCursor?: Maybe<Scalars['String']>;
545
- /** When paginating forwards, are there more items? */
546
- hasNextPage: Scalars['Boolean'];
547
- /** When paginating backwards, are there more items? */
548
- hasPreviousPage: Scalars['Boolean'];
549
- /** When paginating backwards, the cursor to continue. */
550
- startCursor?: Maybe<Scalars['String']>;
551
- };
552
- export declare enum RefreshMetadataStatusMessage {
553
- Completed = "COMPLETED",
554
- CompletedToken = "COMPLETED_TOKEN",
555
- Error = "ERROR",
556
- ErrorToken = "ERROR_TOKEN",
557
- Queued = "QUEUED",
558
- QueuedToken = "QUEUED_TOKEN"
559
- }
560
- export declare type RefreshTokenMetadataInput = {
561
- contractAddress: Scalars['String'];
562
- /** Include to refresh a specific token's metadata */
563
- tokenId?: InputMaybe<Scalars['String']>;
564
- };
565
- /** The root of all... queries */
566
- export declare type RootQuery = {
567
- __typename?: 'RootQuery';
568
- /** Fetches a contract */
569
- contract?: Maybe<Contract>;
570
- /** Fetches all contracts with default sorting alphabetically by name */
571
- contracts?: Maybe<ContractConnection>;
572
- /** Fetches all logs sorted by descending estimatedConfirmedAt */
573
- logs?: Maybe<LogConnection>;
574
- /** Fetches a token */
575
- token?: Maybe<Token>;
576
- /** Fetches a list of trending collections with default sorting by descending sales. */
577
- trendingCollections?: Maybe<ContractConnection>;
578
- /** Fetches a wallet. Provide either a wallet address or ensName. The query will use address if both are provided. */
579
- wallet?: Maybe<Wallet>;
580
- };
581
- /** The root of all... queries */
582
- export declare type RootQueryContractArgs = {
583
- address: Scalars['String'];
584
- };
585
- /** The root of all... queries */
586
- export declare type RootQueryContractsArgs = {
587
- after?: InputMaybe<Scalars['String']>;
588
- filter?: InputMaybe<ContractsFilterInput>;
589
- first?: InputMaybe<Scalars['Int']>;
590
- orderBy?: InputMaybe<ContractsOrderByEnum>;
591
- orderDirection?: InputMaybe<OrderDirectionEnum>;
592
- };
593
- /** The root of all... queries */
594
- export declare type RootQueryLogsArgs = {
595
- after?: InputMaybe<Scalars['String']>;
596
- filter?: InputMaybe<LogsFilterInputType>;
597
- first?: InputMaybe<Scalars['Int']>;
598
- };
599
- /** The root of all... queries */
600
- export declare type RootQueryTokenArgs = {
601
- contractAddress: Scalars['String'];
602
- tokenId: Scalars['String'];
603
- };
604
- /** The root of all... queries */
605
- export declare type RootQueryTrendingCollectionsArgs = {
606
- after?: InputMaybe<Scalars['String']>;
607
- first?: InputMaybe<Scalars['Int']>;
608
- marketplace?: InputMaybe<OrderMarketplaceInput>;
609
- orderBy?: InputMaybe<TrendingCollectionsOrderByEnum>;
610
- orderDirection?: InputMaybe<OrderDirectionEnum>;
611
- timePeriod?: InputMaybe<TrendingCollectionsTimePeriodEnum>;
612
- timeRange?: InputMaybe<DateInputType>;
613
- };
614
- /** The root of all... queries */
615
- export declare type RootQueryWalletArgs = {
616
- address?: InputMaybe<Scalars['String']>;
617
- ensName?: InputMaybe<Scalars['String']>;
618
- };
619
- export declare type SearchStringInput = {
620
- contains?: InputMaybe<Scalars['String']>;
621
- endswith?: InputMaybe<Scalars['String']>;
622
- eq?: InputMaybe<Scalars['String']>;
623
- icontains?: InputMaybe<Scalars['String']>;
624
- iendswith?: InputMaybe<Scalars['String']>;
625
- ieq?: InputMaybe<Scalars['String']>;
626
- istartswith?: InputMaybe<Scalars['String']>;
627
- startswith?: InputMaybe<Scalars['String']>;
628
- };
629
- export declare type StringInput = {
630
- eq?: InputMaybe<Scalars['String']>;
631
- in?: InputMaybe<Array<Scalars['String']>>;
632
- notIn?: InputMaybe<Array<Scalars['String']>>;
633
- };
634
- /** A token */
635
- export declare type Token = {
636
- /** The attributes of the token. */
637
- attributes: Array<Maybe<TokenAttribute>>;
638
- /** The contract standard for the token. */
639
- contract: Contract;
640
- /** An array of image locations and sizes for the token. */
641
- images: Array<Maybe<TokenImage>>;
642
- /** The log history for this token */
643
- logs?: Maybe<LogConnection>;
644
- tokenId: Scalars['String'];
645
- };
646
- /** A token */
647
- export declare type TokenLogsArgs = {
648
- after?: InputMaybe<Scalars['String']>;
649
- filter?: InputMaybe<LogsFilterInputType>;
650
- first?: InputMaybe<Scalars['Int']>;
651
- };
652
- /** A token attribute */
653
- export declare type TokenAttribute = {
654
- __typename?: 'TokenAttribute';
655
- /** Attribute name */
656
- name: Scalars['String'];
657
- /** Attribute value */
658
- value: Scalars['String'];
659
- };
660
- /** A connection to a list of items. */
661
- export declare type TokenConnection = {
662
- __typename?: 'TokenConnection';
663
- /** A list of edges. */
664
- edges?: Maybe<Array<Maybe<TokenEdge>>>;
665
- /** Information to aid in pagination. */
666
- pageInfo: PageInfo;
667
- };
668
- /** An edge in a connection. */
669
- export declare type TokenEdge = {
670
- __typename?: 'TokenEdge';
671
- /** A cursor for use in pagination */
672
- cursor: Scalars['String'];
673
- /** The item at the end of the edge */
674
- node?: Maybe<Token>;
675
- };
676
- /** An uploaded token image */
677
- export declare type TokenImage = {
678
- __typename?: 'TokenImage';
679
- /** Height in pixels of token image */
680
- height?: Maybe<Scalars['Int']>;
681
- /** The mime type of the image */
682
- mimeType?: Maybe<Scalars['String']>;
683
- /** CDN served image URLs in various sizes or as SVG */
684
- url: Scalars['String'];
685
- /** Width in pixels of token image */
686
- width?: Maybe<Scalars['Int']>;
687
- };
688
- export declare enum TokenStandard {
689
- Erc721 = "ERC721",
690
- Erc1155 = "ERC1155"
691
- }
692
- /** Tokens filter */
693
- export declare type TokensFilterInputType = {
694
- contractAddressIn?: InputMaybe<Array<Scalars['String']>>;
695
- name?: InputMaybe<SearchStringInput>;
696
- };
697
- /** A transaction */
698
- export declare type Transaction = {
699
- __typename?: 'Transaction';
700
- blockNumber: Scalars['Int'];
701
- /** The number of confirmations for this transaction */
702
- confirmations: Scalars['Int'];
703
- /** The estimated time the transaction was confirmed at */
704
- estimatedConfirmedAt: Scalars['Date'];
705
- /** The from Wallet related to this transaction */
706
- from?: Maybe<Wallet>;
707
- fromAddress: Scalars['String'];
708
- /** The amount of gas supplied for this transaction to happen */
709
- gasLimit: Scalars['Int'];
710
- /** Cost in Gwei per unit of gas for this transaction. */
711
- gasPrice?: Maybe<Scalars['Float']>;
712
- /** The amount of gas used by this transaction */
713
- gasUsed: Scalars['Int'];
714
- hash: Scalars['String'];
715
- /** The log history for this token */
716
- logs?: Maybe<LogConnection>;
717
- /** Max gas fee in Gwei */
718
- maxGasFee?: Maybe<Scalars['Float']>;
719
- /** Max gas priority fee in Gwei */
720
- maxGasPriorityFee?: Maybe<Scalars['Float']>;
721
- /** The to Wallet related to this transaction */
722
- to?: Maybe<Wallet>;
723
- toAddress?: Maybe<Scalars['String']>;
724
- /** Transaction fee in ETH */
725
- transactionFeeInEth: Scalars['Float'];
726
- transactionIndex: Scalars['String'];
727
- /** The transaction type */
728
- type?: Maybe<Scalars['Int']>;
729
- /** The value being transacted in ETH */
730
- valueInEth: Scalars['Float'];
731
- };
732
- /** A transaction */
733
- export declare type TransactionLogsArgs = {
734
- after?: InputMaybe<Scalars['String']>;
735
- filter?: InputMaybe<LogsFilterInputType>;
736
- first?: InputMaybe<Scalars['Int']>;
737
- };
738
- /** A connection to a list of items. */
739
- export declare type TransactionConnection = {
740
- __typename?: 'TransactionConnection';
741
- /** A list of edges. */
742
- edges?: Maybe<Array<Maybe<TransactionEdge>>>;
743
- /** Information to aid in pagination. */
744
- pageInfo: PageInfo;
745
- };
746
- /** An edge in a connection. */
747
- export declare type TransactionEdge = {
748
- __typename?: 'TransactionEdge';
749
- /** A cursor for use in pagination */
750
- cursor: Scalars['String'];
751
- /** The item at the end of the edge */
752
- node?: Maybe<Transaction>;
753
- };
754
- /** Filter input for transactions */
755
- export declare type TransactionsFilterInputType = {
756
- /** Filter transactions by their block number */
757
- blockNumber?: InputMaybe<IntegerInput>;
758
- /** Filter transactions by their estimated confirmation date */
759
- estimatedConfirmedAt?: InputMaybe<DateInputType>;
760
- /** Filter transactions by the "from" wallet */
761
- fromAddress?: InputMaybe<StringInput>;
762
- /** Filter transactions by the "to" wallet */
763
- toAddress?: InputMaybe<StringInput>;
764
- };
765
- /** A Transfer log */
766
- export declare type TransferLog = Log & {
767
- __typename?: 'TransferLog';
768
- /** The block number for this log */
769
- blockNumber: Scalars['Int'];
770
- /** The Contract related to this log */
771
- contract: Contract;
772
- /** The contract address for this log */
773
- contractAddress: Scalars['String'];
774
- /** The estimated time the transaction was confirmed at */
775
- estimatedConfirmedAt: Scalars['Date'];
776
- /** The from Wallet related to this log */
777
- from?: Maybe<Wallet>;
778
- /** The from address for this log */
779
- fromAddress: Scalars['String'];
780
- /** This log index -- logs are unique by the transaction_hash + log_index */
781
- logIndex: Scalars['Int'];
782
- /** The to Wallet related to this log */
783
- to?: Maybe<Wallet>;
784
- /** The to address for this log */
785
- toAddress: Scalars['String'];
786
- /** The Token related to this log */
787
- token?: Maybe<Token>;
788
- /** The Transaction related to this log */
789
- transaction?: Maybe<Transaction>;
790
- /** The address of the wallet that created this transaction */
791
- transactionCreator?: Maybe<Scalars['String']>;
792
- /** The transaction hash for this log */
793
- transactionHash: Scalars['String'];
794
- /** The type of log this is: Order, Mint, Transfer, etc. */
795
- type: LogType;
796
- };
797
- export declare enum TrendingCollectionsOrderByEnum {
798
- /** Sort contracts by average sale price within a given time range. Defaults to within last hour. */
799
- Average = "AVERAGE",
800
- /** Sort contracts by number of sales. Defaults to within last hour. */
801
- Sales = "SALES",
802
- /** Sort contracts by volume. Defaults to within last hour. */
803
- Volume = "VOLUME"
804
- }
805
- export declare enum TrendingCollectionsTimePeriodEnum {
806
- /** Last 24 hours */
807
- OneDay = "ONE_DAY",
808
- /** Last hour */
809
- OneHour = "ONE_HOUR",
810
- /** Last 7 days */
811
- SevenDays = "SEVEN_DAYS",
812
- /** Last 12 hours */
813
- TwelveHours = "TWELVE_HOURS"
814
- }
815
- /** A wallet */
816
- export declare type Wallet = {
817
- __typename?: 'Wallet';
818
- address: Scalars['String'];
819
- ensName?: Maybe<Scalars['String']>;
820
- /** The held collections for a wallet */
821
- heldCollections?: Maybe<Erc721ContractConnection>;
822
- /** The log history for this wallet */
823
- logs?: Maybe<LogConnection>;
824
- /** A token owned by this wallet, if it exists */
825
- token?: Maybe<Token>;
826
- /** A list of tokens owned by this wallet */
827
- tokens?: Maybe<TokenConnection>;
828
- /** The transaction history for this wallet */
829
- transactions?: Maybe<TransactionConnection>;
830
- };
831
- /** A wallet */
832
- export declare type WalletHeldCollectionsArgs = {
833
- after?: InputMaybe<Scalars['String']>;
834
- filter?: InputMaybe<HeldCollectionsFilterInputType>;
835
- first?: InputMaybe<Scalars['Int']>;
836
- orderBy?: InputMaybe<HeldCollectionsOrderByEnum>;
837
- orderDirection?: InputMaybe<OrderDirectionEnum>;
838
- };
839
- /** A wallet */
840
- export declare type WalletLogsArgs = {
841
- after?: InputMaybe<Scalars['String']>;
842
- filter?: InputMaybe<LogsFilterInputType>;
843
- first?: InputMaybe<Scalars['Int']>;
844
- };
845
- /** A wallet */
846
- export declare type WalletTokenArgs = {
847
- contractAddress: Scalars['String'];
848
- tokenId: Scalars['String'];
849
- };
850
- /** A wallet */
851
- export declare type WalletTokensArgs = {
852
- after?: InputMaybe<Scalars['String']>;
853
- filter?: InputMaybe<TokensFilterInputType>;
854
- first?: InputMaybe<Scalars['Int']>;
855
- orderBy?: InputMaybe<HeldTokensOrderByEnum>;
856
- orderDirection?: InputMaybe<OrderDirectionEnum>;
857
- };
858
- /** A wallet */
859
- export declare type WalletTransactionsArgs = {
860
- after?: InputMaybe<Scalars['String']>;
861
- filter?: InputMaybe<TransactionsFilterInputType>;
862
- first?: InputMaybe<Scalars['Int']>;
863
- };
864
- export declare type NftCollection_BaseContract_Fragment = {
865
- __typename?: 'BaseContract';
866
- };
867
- export declare type NftCollection_Erc721Contract_Fragment = {
868
- __typename?: 'ERC721Contract';
869
- address: string;
870
- isVerified: boolean;
871
- circulatingSupply?: number | null;
872
- name?: string | null;
873
- symbol?: string | null;
874
- stats?: {
875
- __typename?: 'ContractStats';
876
- average?: number | null;
877
- ceiling?: number | null;
878
- floor?: number | null;
879
- totalSales?: number | null;
880
- volume?: number | null;
881
- } | null;
882
- };
883
- export declare type NftCollectionFragment = NftCollection_BaseContract_Fragment | NftCollection_Erc721Contract_Fragment;
884
- export declare type Nft_BaseToken_Fragment = {
885
- __typename?: 'BaseToken';
886
- };
887
- export declare type Nft_Erc721Token_Fragment = {
888
- __typename?: 'ERC721Token';
889
- tokenId: string;
890
- name?: string | null;
891
- symbol?: string | null;
892
- attributes: Array<{
893
- __typename?: 'TokenAttribute';
894
- name: string;
895
- value: string;
896
- } | null>;
897
- contract: {
898
- __typename?: 'BaseContract';
899
- address: string;
900
- isVerified: boolean;
901
- tokenStandard?: TokenStandard | null;
902
- } | {
903
- __typename?: 'ERC721Contract';
904
- name?: string | null;
905
- address: string;
906
- isVerified: boolean;
907
- tokenStandard?: TokenStandard | null;
908
- };
909
- images: Array<{
910
- __typename?: 'TokenImage';
911
- height?: number | null;
912
- mimeType?: string | null;
913
- url: string;
914
- width?: number | null;
915
- } | null>;
916
- metadata?: {
917
- __typename?: 'ERC721Metadata';
918
- animation_url?: string | null;
919
- background_color?: string | null;
920
- description?: string | null;
921
- external_url?: string | null;
922
- image?: string | null;
923
- image_data?: string | null;
924
- name?: string | null;
925
- youtube_url?: string | null;
926
- } | null;
927
- };
928
- export declare type NftFragment = Nft_BaseToken_Fragment | Nft_Erc721Token_Fragment;
929
- export declare type ContractEventLog_BaseLog_Fragment = {
930
- __typename?: 'BaseLog';
931
- blockNumber: number;
932
- type: LogType;
933
- fromAddress: string;
934
- toAddress: string;
935
- estimatedConfirmedAt: any;
936
- transactionHash: string;
937
- token?: {
938
- __typename?: 'BaseToken';
939
- contract: {
940
- __typename?: 'BaseContract';
941
- address: string;
942
- } | {
943
- __typename?: 'ERC721Contract';
944
- address: string;
945
- };
946
- } | {
947
- __typename?: 'ERC721Token';
948
- tokenId: string;
949
- contract: {
950
- __typename?: 'BaseContract';
951
- address: string;
952
- } | {
953
- __typename?: 'ERC721Contract';
954
- address: string;
955
- };
956
- } | null;
957
- };
958
- export declare type ContractEventLog_MintLog_Fragment = {
959
- __typename?: 'MintLog';
960
- blockNumber: number;
961
- type: LogType;
962
- fromAddress: string;
963
- toAddress: string;
964
- estimatedConfirmedAt: any;
965
- transactionHash: string;
966
- token?: {
967
- __typename?: 'BaseToken';
968
- contract: {
969
- __typename?: 'BaseContract';
970
- address: string;
971
- } | {
972
- __typename?: 'ERC721Contract';
973
- address: string;
974
- };
975
- } | {
976
- __typename?: 'ERC721Token';
977
- tokenId: string;
978
- contract: {
979
- __typename?: 'BaseContract';
980
- address: string;
981
- } | {
982
- __typename?: 'ERC721Contract';
983
- address: string;
984
- };
985
- } | null;
986
- };
987
- export declare type ContractEventLog_OrderLog_Fragment = {
988
- __typename?: 'OrderLog';
989
- marketplace?: LogOrderMarketplace | null;
990
- priceInEth: number;
991
- blockNumber: number;
992
- type: LogType;
993
- fromAddress: string;
994
- toAddress: string;
995
- estimatedConfirmedAt: any;
996
- transactionHash: string;
997
- token?: {
998
- __typename?: 'BaseToken';
999
- contract: {
1000
- __typename?: 'BaseContract';
1001
- address: string;
1002
- } | {
1003
- __typename?: 'ERC721Contract';
1004
- address: string;
1005
- };
1006
- } | {
1007
- __typename?: 'ERC721Token';
1008
- tokenId: string;
1009
- contract: {
1010
- __typename?: 'BaseContract';
1011
- address: string;
1012
- } | {
1013
- __typename?: 'ERC721Contract';
1014
- address: string;
1015
- };
1016
- } | null;
1017
- };
1018
- export declare type ContractEventLog_TransferLog_Fragment = {
1019
- __typename?: 'TransferLog';
1020
- blockNumber: number;
1021
- type: LogType;
1022
- fromAddress: string;
1023
- toAddress: string;
1024
- estimatedConfirmedAt: any;
1025
- transactionHash: string;
1026
- token?: {
1027
- __typename?: 'BaseToken';
1028
- contract: {
1029
- __typename?: 'BaseContract';
1030
- address: string;
1031
- } | {
1032
- __typename?: 'ERC721Contract';
1033
- address: string;
1034
- };
1035
- } | {
1036
- __typename?: 'ERC721Token';
1037
- tokenId: string;
1038
- contract: {
1039
- __typename?: 'BaseContract';
1040
- address: string;
1041
- } | {
1042
- __typename?: 'ERC721Contract';
1043
- address: string;
1044
- };
1045
- } | null;
1046
- };
1047
- export declare type ContractEventLogFragment = ContractEventLog_BaseLog_Fragment | ContractEventLog_MintLog_Fragment | ContractEventLog_OrderLog_Fragment | ContractEventLog_TransferLog_Fragment;
1048
- export declare type ContractEventsLogsQueryVariables = Exact<{
1049
- address: Scalars['String'];
1050
- filter?: InputMaybe<LogsFilterInputType>;
1051
- first?: InputMaybe<Scalars['Int']>;
1052
- after?: InputMaybe<Scalars['String']>;
1053
- }>;
1054
- export declare type ContractEventsLogsQuery = {
1055
- __typename?: 'RootQuery';
1056
- contract?: {
1057
- __typename?: 'BaseContract';
1058
- address: string;
1059
- logs?: {
1060
- __typename?: 'LogConnection';
1061
- pageInfo: {
1062
- __typename?: 'PageInfo';
1063
- hasNextPage: boolean;
1064
- endCursor?: string | null;
1065
- };
1066
- edges?: Array<{
1067
- __typename?: 'LogEdge';
1068
- node?: ({
1069
- __typename?: 'BaseLog';
1070
- } & ContractEventLog_BaseLog_Fragment) | ({
1071
- __typename?: 'MintLog';
1072
- } & ContractEventLog_MintLog_Fragment) | ({
1073
- __typename?: 'OrderLog';
1074
- } & ContractEventLog_OrderLog_Fragment) | ({
1075
- __typename?: 'TransferLog';
1076
- } & ContractEventLog_TransferLog_Fragment) | null;
1077
- } | null> | null;
1078
- } | null;
1079
- } | {
1080
- __typename?: 'ERC721Contract';
1081
- address: string;
1082
- logs?: {
1083
- __typename?: 'LogConnection';
1084
- pageInfo: {
1085
- __typename?: 'PageInfo';
1086
- hasNextPage: boolean;
1087
- endCursor?: string | null;
1088
- };
1089
- edges?: Array<{
1090
- __typename?: 'LogEdge';
1091
- node?: ({
1092
- __typename?: 'BaseLog';
1093
- } & ContractEventLog_BaseLog_Fragment) | ({
1094
- __typename?: 'MintLog';
1095
- } & ContractEventLog_MintLog_Fragment) | ({
1096
- __typename?: 'OrderLog';
1097
- } & ContractEventLog_OrderLog_Fragment) | ({
1098
- __typename?: 'TransferLog';
1099
- } & ContractEventLog_TransferLog_Fragment) | null;
1100
- } | null> | null;
1101
- } | null;
1102
- } | null;
1103
- };
1104
- export declare type NftEventsLogsQueryVariables = Exact<{
1105
- address: Scalars['String'];
1106
- tokenId: Scalars['String'];
1107
- filter?: InputMaybe<LogsFilterInputType>;
1108
- first?: InputMaybe<Scalars['Int']>;
1109
- after?: InputMaybe<Scalars['String']>;
1110
- }>;
1111
- export declare type NftEventsLogsQuery = {
1112
- __typename?: 'RootQuery';
1113
- token?: {
1114
- __typename?: 'BaseToken';
1115
- } | {
1116
- __typename?: 'ERC721Token';
1117
- tokenId: string;
1118
- contract: {
1119
- __typename?: 'BaseContract';
1120
- address: string;
1121
- } | {
1122
- __typename?: 'ERC721Contract';
1123
- address: string;
1124
- };
1125
- logs?: {
1126
- __typename?: 'LogConnection';
1127
- edges?: Array<{
1128
- __typename?: 'LogEdge';
1129
- node?: {
1130
- __typename?: 'BaseLog';
1131
- blockNumber: number;
1132
- type: LogType;
1133
- fromAddress: string;
1134
- toAddress: string;
1135
- estimatedConfirmedAt: any;
1136
- transactionHash: string;
1137
- } | {
1138
- __typename?: 'MintLog';
1139
- blockNumber: number;
1140
- type: LogType;
1141
- fromAddress: string;
1142
- toAddress: string;
1143
- estimatedConfirmedAt: any;
1144
- transactionHash: string;
1145
- } | {
1146
- __typename?: 'OrderLog';
1147
- marketplace?: LogOrderMarketplace | null;
1148
- priceInEth: number;
1149
- blockNumber: number;
1150
- type: LogType;
1151
- fromAddress: string;
1152
- toAddress: string;
1153
- estimatedConfirmedAt: any;
1154
- transactionHash: string;
1155
- } | {
1156
- __typename?: 'TransferLog';
1157
- blockNumber: number;
1158
- type: LogType;
1159
- fromAddress: string;
1160
- toAddress: string;
1161
- estimatedConfirmedAt: any;
1162
- transactionHash: string;
1163
- } | null;
1164
- } | null> | null;
1165
- pageInfo: {
1166
- __typename?: 'PageInfo';
1167
- hasNextPage: boolean;
1168
- endCursor?: string | null;
1169
- };
1170
- } | null;
1171
- } | null;
1172
- };
1173
- export declare type WalletNfTsQueryVariables = Exact<{
1174
- address: Scalars['String'];
1175
- first?: InputMaybe<Scalars['Int']>;
1176
- after?: InputMaybe<Scalars['String']>;
1177
- }>;
1178
- export declare type WalletNfTsQuery = {
1179
- __typename?: 'RootQuery';
1180
- wallet?: {
1181
- __typename?: 'Wallet';
1182
- ensName?: string | null;
1183
- address: string;
1184
- tokens?: {
1185
- __typename?: 'TokenConnection';
1186
- pageInfo: {
1187
- __typename?: 'PageInfo';
1188
- hasNextPage: boolean;
1189
- endCursor?: string | null;
1190
- };
1191
- edges?: Array<{
1192
- __typename?: 'TokenEdge';
1193
- node?: {
1194
- __typename?: 'BaseToken';
1195
- tokenId: string;
1196
- images: Array<{
1197
- __typename?: 'TokenImage';
1198
- url: string;
1199
- } | null>;
1200
- } | {
1201
- __typename?: 'ERC721Token';
1202
- tokenId: string;
1203
- contract: {
1204
- __typename?: 'BaseContract';
1205
- address: string;
1206
- } | {
1207
- __typename?: 'ERC721Contract';
1208
- symbol?: string | null;
1209
- name?: string | null;
1210
- address: string;
1211
- };
1212
- images: Array<{
1213
- __typename?: 'TokenImage';
1214
- url: string;
1215
- } | null>;
1216
- } | null;
1217
- } | null> | null;
1218
- } | null;
1219
- } | null;
1220
- };
1221
- export declare type NfTsWalletAndContractQueryVariables = Exact<{
1222
- filter?: InputMaybe<TokensFilterInputType>;
1223
- address?: InputMaybe<Scalars['String']>;
1224
- first?: InputMaybe<Scalars['Int']>;
1225
- after?: InputMaybe<Scalars['String']>;
1226
- }>;
1227
- export declare type NfTsWalletAndContractQuery = {
1228
- __typename?: 'RootQuery';
1229
- wallet?: {
1230
- __typename?: 'Wallet';
1231
- ensName?: string | null;
1232
- address: string;
1233
- tokens?: {
1234
- __typename?: 'TokenConnection';
1235
- pageInfo: {
1236
- __typename?: 'PageInfo';
1237
- hasNextPage: boolean;
1238
- endCursor?: string | null;
1239
- };
1240
- edges?: Array<{
1241
- __typename?: 'TokenEdge';
1242
- node?: {
1243
- __typename?: 'BaseToken';
1244
- tokenId: string;
1245
- images: Array<{
1246
- __typename?: 'TokenImage';
1247
- url: string;
1248
- } | null>;
1249
- } | {
1250
- __typename?: 'ERC721Token';
1251
- tokenId: string;
1252
- contract: {
1253
- __typename?: 'BaseContract';
1254
- address: string;
1255
- } | {
1256
- __typename?: 'ERC721Contract';
1257
- symbol?: string | null;
1258
- name?: string | null;
1259
- address: string;
1260
- };
1261
- images: Array<{
1262
- __typename?: 'TokenImage';
1263
- url: string;
1264
- } | null>;
1265
- } | null;
1266
- } | null> | null;
1267
- } | null;
1268
- } | null;
1269
- };
1270
- export declare type TrendingNftCollectionsQueryVariables = Exact<{
1271
- after?: InputMaybe<Scalars['String']>;
1272
- first?: InputMaybe<Scalars['Int']>;
1273
- orderBy?: InputMaybe<TrendingCollectionsOrderByEnum>;
1274
- orderDirection?: InputMaybe<OrderDirectionEnum>;
1275
- timePeriod?: InputMaybe<TrendingCollectionsTimePeriodEnum>;
1276
- timeRange?: InputMaybe<DateInputType>;
1277
- }>;
1278
- export declare type TrendingNftCollectionsQuery = {
1279
- __typename?: 'RootQuery';
1280
- trendingCollections?: {
1281
- __typename?: 'ContractConnection';
1282
- edges?: Array<{
1283
- __typename?: 'ContractEdge';
1284
- cursor: string;
1285
- node?: ({
1286
- __typename?: 'BaseContract';
1287
- } & NftCollection_BaseContract_Fragment) | ({
1288
- __typename?: 'ERC721Contract';
1289
- } & NftCollection_Erc721Contract_Fragment) | null;
1290
- } | null> | null;
1291
- pageInfo: {
1292
- __typename?: 'PageInfo';
1293
- endCursor?: string | null;
1294
- hasNextPage: boolean;
1295
- };
1296
- } | null;
1297
- };
1298
- export declare const NftCollection: import("graphql").DocumentNode;
1299
- export declare const Nft: import("graphql").DocumentNode;
1300
- export declare const ContractEventLog: import("graphql").DocumentNode;
1301
- export declare const ContractEventsLogs: import("graphql").DocumentNode;
1302
- export declare const NftEventsLogs: import("graphql").DocumentNode;
1303
- export declare const WalletNfTs: import("graphql").DocumentNode;
1304
- export declare const NfTsWalletAndContract: import("graphql").DocumentNode;
1305
- export declare const TrendingNftCollections: import("graphql").DocumentNode;