@highlightxyz/sdk 0.1.1 → 0.2.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.
@@ -23,7 +23,8 @@ export declare enum StorageProvider {
23
23
  R2 = "R2",
24
24
  Arweave = "Arweave",
25
25
  S3 = "S3",
26
- Ipfs = "IPFS"
26
+ Ipfs = "IPFS",
27
+ External = "External"
27
28
  }
28
29
  export declare enum StorageRole {
29
30
  Origin = "Origin",
@@ -41,6 +42,7 @@ export type MediaStorageLocation = {
41
42
  provider: StorageProvider;
42
43
  role: StorageRole;
43
44
  reference: string;
45
+ url: string | null;
44
46
  status: LocationStatus;
45
47
  attempts: number;
46
48
  lastError: string | null;
@@ -66,7 +68,6 @@ export type MediaAsset = {
66
68
  path: string | null;
67
69
  uploadedAt: string | null;
68
70
  locations: Array<MediaStorageLocation>;
69
- url: string | null;
70
71
  createdAt: string;
71
72
  updatedAt: string;
72
73
  };
@@ -102,12 +103,26 @@ export declare enum SelectorType {
102
103
  Svg = "SVG",
103
104
  Element = "ELEMENT"
104
105
  }
106
+ export type CollectionCurrencyVolume = {
107
+ currency: string;
108
+ volume: string;
109
+ };
105
110
  export declare enum SaleType {
106
111
  FixedPrice = "FIXED_PRICE",
107
112
  DutchAuction = "DUTCH_AUCTION",
108
113
  RankedAuction = "RANKED_AUCTION",
114
+ EnglishAuction = "ENGLISH_AUCTION",
109
115
  Custom = "CUSTOM"
110
116
  }
117
+ export type SaleCurrency = {
118
+ id: string;
119
+ chainId: number;
120
+ address: string;
121
+ symbol: string;
122
+ decimals: number;
123
+ type: "NATIVE" | "ERC20";
124
+ mintFee: string;
125
+ };
111
126
  export declare enum SaleAccessMode {
112
127
  Public = "PUBLIC",
113
128
  Gated = "GATED"
@@ -116,6 +131,244 @@ export declare enum SaleStatus {
116
131
  Draft = "Draft",
117
132
  Live = "Live"
118
133
  }
134
+ export type SaleStats = {
135
+ minted: number;
136
+ volume: string;
137
+ currency: SaleCurrency;
138
+ };
139
+ export declare enum SaleLifecycle {
140
+ Scheduled = "Scheduled",
141
+ Live = "Live",
142
+ SoldOut = "SoldOut",
143
+ Ended = "Ended",
144
+ Paused = "Paused"
145
+ }
146
+ export type CollectionTrendingItem = {
147
+ rank: number;
148
+ highlightId: string;
149
+ collectionId: string | null;
150
+ name: string;
151
+ imageMedia: MediaAsset | null;
152
+ creator: {
153
+ id: string;
154
+ displayName: string | null;
155
+ primaryAddress: string | null;
156
+ ensName: string | null;
157
+ };
158
+ chainId: number;
159
+ price: string | null;
160
+ currency: SaleCurrency | null;
161
+ mintCount: number;
162
+ };
163
+ export type CollectionTrendingResponse = {
164
+ items: Array<CollectionTrendingItem>;
165
+ };
166
+ export type CollectionFeaturedItem = {
167
+ highlightId: string;
168
+ name: string;
169
+ imageMedia: MediaAsset | null;
170
+ creator: {
171
+ id: string;
172
+ displayName: string | null;
173
+ primaryAddress: string | null;
174
+ ensName: string | null;
175
+ };
176
+ note: string | null;
177
+ };
178
+ export type CollectionFeaturedResponse = {
179
+ items: Array<CollectionFeaturedItem>;
180
+ nextCursor: string | null;
181
+ };
182
+ export type SeriesPreviewEntry = {
183
+ metadataId: number;
184
+ name: string | null;
185
+ description: string | null;
186
+ imageUrl: string | null;
187
+ animationUrl: string | null;
188
+ attributes: Array<{
189
+ traitType: string;
190
+ value: string | number;
191
+ }>;
192
+ };
193
+ export type SeriesPreviewsResponse = {
194
+ items: Array<SeriesPreviewEntry>;
195
+ };
196
+ export type EditionContractExecution = {
197
+ chainId: number;
198
+ to: string | null;
199
+ data: string;
200
+ value: string;
201
+ };
202
+ export type EditionUpdateResponse = {
203
+ collection: {
204
+ highlightId: string;
205
+ collectionId: string | null;
206
+ name: string;
207
+ description: string | null;
208
+ logoMediaId: string;
209
+ logoMedia: MediaAsset;
210
+ baseUriId: string | null;
211
+ royaltyAddress: string | null;
212
+ royaltyAmount: number | null;
213
+ tokenManager: string | null;
214
+ status: "Draft" | "InProgress" | "Live" | "Migrated" | "Disabled" | "Archived";
215
+ revealStrategy: RevealStrategy;
216
+ source: CollectionSource;
217
+ type: CollectionType;
218
+ contract: {
219
+ id: string;
220
+ chainId: number;
221
+ type: "GenerativeSeries" | "Series" | "MultipleEditions" | "MultipleEditionsDFS" | "SingleEdition" | "SingleEditionDFS" | "EditionsDFS1155";
222
+ standard: ContractStandard;
223
+ creatorAddress: string;
224
+ name: string;
225
+ address: string | null;
226
+ symbol: string;
227
+ contractUri: string | null;
228
+ status: "Draft" | "Deploying" | "Live";
229
+ createdAt: string;
230
+ updatedAt: string;
231
+ };
232
+ createdAt: string;
233
+ updatedAt: string;
234
+ series: {
235
+ size: number;
236
+ isCollectorsChoice?: boolean;
237
+ assetsMediaId?: string;
238
+ assetsMedia?: MediaAsset | null;
239
+ } | null;
240
+ generative: {
241
+ size: number;
242
+ codeMediaId: string;
243
+ codeMedia: MediaAsset;
244
+ isCurated?: boolean;
245
+ isGpuRendering?: boolean;
246
+ editionType?: GenerativeEditionType;
247
+ allowedHashes?: Array<string>;
248
+ requiredParams?: Array<string>;
249
+ captureSettings?: {
250
+ trigger: CaptureSettingsTrigger;
251
+ delay?: number;
252
+ selector?: string;
253
+ selectorType?: SelectorType;
254
+ viewPortHeight?: number;
255
+ viewPortWidth?: number;
256
+ };
257
+ } | null;
258
+ edition: {
259
+ editionId: string;
260
+ size: number;
261
+ name?: string;
262
+ description?: string;
263
+ imageMediaId?: string;
264
+ animationMediaId?: string;
265
+ imageMedia?: MediaAsset | null;
266
+ animationMedia?: MediaAsset | null;
267
+ attributes?: Array<{
268
+ traitType: string;
269
+ value: string;
270
+ }>;
271
+ } | null;
272
+ account: {
273
+ id: string;
274
+ displayName: string | null;
275
+ primaryAddress: string | null;
276
+ ensName: string | null;
277
+ };
278
+ stats: {
279
+ ownerCount: number;
280
+ tokenCount: number;
281
+ volumeByCurrency: Array<CollectionCurrencyVolume>;
282
+ updatedAt: string;
283
+ } | null;
284
+ sales: Array<{
285
+ id: string;
286
+ collectionId: string;
287
+ name: string | null;
288
+ type: SaleType;
289
+ startAt: string;
290
+ endAt: string | null;
291
+ price: string;
292
+ currency: SaleCurrency;
293
+ maxPerTransaction: number;
294
+ maxPerWallet: number;
295
+ maxTotal: number;
296
+ paymentRecipient: string;
297
+ accessMode: SaleAccessMode;
298
+ gateId: string | null;
299
+ gasSponsored: boolean;
300
+ status: SaleStatus;
301
+ paused: boolean;
302
+ mechanicId: string | null;
303
+ typeConfig: unknown | null;
304
+ vectorId: string | null;
305
+ customMintFee: string | null;
306
+ collectorMessage: string | null;
307
+ createdAt: string;
308
+ updatedAt: string;
309
+ stats: SaleStats | null;
310
+ lifecycle: SaleLifecycle;
311
+ }>;
312
+ };
313
+ contractExecution: EditionContractExecution | null;
314
+ };
315
+ export type RankedAuctionStandingBid = {
316
+ bidId: number;
317
+ bidderAddress: string;
318
+ bidAmount: string;
319
+ won: boolean;
320
+ };
321
+ export type RankedAuctionViewerStanding = {
322
+ address: string;
323
+ numWinningBids: number;
324
+ numClaimed: number;
325
+ tokensLeftToClaim: number;
326
+ };
327
+ export type RankedAuctionStandings = {
328
+ saleId: string;
329
+ settled: boolean;
330
+ clearingBidAmount: string | null;
331
+ currency: SaleCurrency;
332
+ maxWinners: number;
333
+ totalBids: number;
334
+ bids: Array<RankedAuctionStandingBid>;
335
+ viewer: RankedAuctionViewerStanding | null;
336
+ };
337
+ export type EnglishAuctionViewerStanding = {
338
+ address: string;
339
+ isHighestBidder: boolean;
340
+ };
341
+ export type EnglishAuctionStanding = {
342
+ saleId: string;
343
+ state: number;
344
+ live: boolean;
345
+ fulfilled: boolean;
346
+ cancelled: boolean;
347
+ currency: SaleCurrency;
348
+ reservePrice: string;
349
+ highestBidder: string | null;
350
+ highestBidAmount: string;
351
+ preferredNftRecipient: string | null;
352
+ endTime: number;
353
+ tokenId: string | null;
354
+ creatorEarnings: string;
355
+ platformBps: number;
356
+ totalBids: number;
357
+ viewer: EnglishAuctionViewerStanding | null;
358
+ };
359
+ export type EnglishAuctionBidEntry = {
360
+ bidderAddress: string;
361
+ bidAmount: string;
362
+ firstBid: boolean;
363
+ txHash: string;
364
+ blockNumber: number;
365
+ createdAt: string;
366
+ };
367
+ export type EnglishAuctionBidHistory = {
368
+ saleId: string;
369
+ currency: SaleCurrency;
370
+ bids: Array<EnglishAuctionBidEntry>;
371
+ };
119
372
  export declare enum TokenStatus {
120
373
  PendingReveal = "PendingReveal",
121
374
  PendingIndex = "PendingIndex",
@@ -123,6 +376,21 @@ export declare enum TokenStatus {
123
376
  FailedReveal = "FailedReveal",
124
377
  FailedIndex = "FailedIndex"
125
378
  }
379
+ export type TokenAttributeFacet = {
380
+ traitType: string;
381
+ values: Array<{
382
+ value: string;
383
+ count: number;
384
+ }>;
385
+ };
386
+ export type TokenOwner = {
387
+ ownerAddress: string;
388
+ balance: string;
389
+ firstAcquiredAt: string;
390
+ };
391
+ export type TokenOwnersResponse = {
392
+ owners: Array<TokenOwner>;
393
+ };
126
394
  export declare enum GateMatchMode {
127
395
  All = "ALL",
128
396
  Any = "ANY"
@@ -135,6 +403,48 @@ export declare enum GateConditionType {
135
403
  CurrencyBalance = "CURRENCY_BALANCE",
136
404
  FarcasterFollow = "FARCASTER_FOLLOW"
137
405
  }
406
+ export type GateCollectionPreview = {
407
+ source: "highlight" | "external";
408
+ chainId: number;
409
+ contractAddress: string;
410
+ name: string | null;
411
+ symbol: string | null;
412
+ standard: "ERC721" | "ERC1155" | null;
413
+ tokenCount: number | null;
414
+ imageUrl: string | null;
415
+ };
416
+ export type GateAttributesPreview = {
417
+ source: "highlight" | "external";
418
+ attributes: Array<{
419
+ traitType: string;
420
+ values: Array<{
421
+ value: string;
422
+ count: number | null;
423
+ }>;
424
+ }>;
425
+ };
426
+ export type GateTokensPreview = {
427
+ source: "highlight" | "external";
428
+ tokens: Array<{
429
+ tokenId: string;
430
+ name: string | null;
431
+ imageUrl: string | null;
432
+ }>;
433
+ nextCursor: string | null;
434
+ };
435
+ export type GateCurrencyPreview = {
436
+ chainId: number;
437
+ contractAddress: string | null;
438
+ isNative: boolean;
439
+ symbol: string;
440
+ decimals: number;
441
+ };
442
+ export type GateFarcasterUserPreview = {
443
+ fid: number;
444
+ username: string | null;
445
+ displayName: string | null;
446
+ pfpUrl: string | null;
447
+ };
138
448
  export type MediaUploadInstructions = {
139
449
  url: string;
140
450
  method: "PUT";
@@ -150,6 +460,50 @@ export type MediaChildrenList = {
150
460
  items: Array<MediaAsset>;
151
461
  nextCursor: string | null;
152
462
  };
463
+ export declare enum TxOverallStatus {
464
+ Pending = "Pending",
465
+ Finalizing = "Finalizing",
466
+ Ready = "Ready",
467
+ Failed = "Failed"
468
+ }
469
+ export declare enum TxMilestoneKey {
470
+ CollectionLive = "collection:live",
471
+ SaleLive = "sale:live",
472
+ SaleUpdated = "sale:updated",
473
+ BidRecorded = "bid:recorded",
474
+ DutchSynced = "dutch:synced",
475
+ AuctionSynced = "auction:synced",
476
+ EditionUpdated = "edition:updated",
477
+ TokensReady = "tokens:ready"
478
+ }
479
+ export declare enum TxMilestoneStatus {
480
+ Pending = "Pending",
481
+ Done = "Done",
482
+ Failed = "Failed"
483
+ }
484
+ export declare enum TxUnitStatus {
485
+ Pending = "Pending",
486
+ Done = "Done",
487
+ Failed = "Failed"
488
+ }
489
+ export type TxUnit = {
490
+ id: string;
491
+ ref?: string;
492
+ status: TxUnitStatus;
493
+ };
494
+ export type TxMilestone = {
495
+ key: TxMilestoneKey;
496
+ status: TxMilestoneStatus;
497
+ units?: Array<TxUnit>;
498
+ };
499
+ export type TxStatusSnapshot = {
500
+ chainId: number;
501
+ txHash: string;
502
+ initialized: boolean;
503
+ finalized: boolean;
504
+ overall: TxOverallStatus;
505
+ milestones: Array<TxMilestone>;
506
+ };
153
507
  export type ApiKey = {
154
508
  id: string;
155
509
  accountId: string;
@@ -170,15 +524,15 @@ export type ApiKeyCreateResponse = {
170
524
  export type CollectionListData = {
171
525
  body?: never;
172
526
  path?: never;
173
- query: {
527
+ query?: {
174
528
  page?: number;
175
529
  limit?: number;
176
530
  sortBy?: "CREATED_DATE" | "NAME";
177
531
  sortDirection?: "ASC" | "DESC";
178
532
  status?: "Draft" | "InProgress" | "Live" | "Migrated" | "Disabled";
179
- blockchains: Array<number>;
180
- testnet: boolean;
181
- types: Array<"OpenEdition" | "LimitedEdition" | "OneOfOne" | "Series" | "GenerativeSeries">;
533
+ blockchains?: Array<number>;
534
+ testnet?: boolean;
535
+ types?: Array<"OpenEdition" | "LimitedEdition" | "OneOfOne" | "Series" | "GenerativeSeries">;
182
536
  };
183
537
  url: "/collection";
184
538
  };
@@ -249,6 +603,7 @@ export type CollectionListResponses = {
249
603
  };
250
604
  } | null;
251
605
  edition: {
606
+ editionId: string;
252
607
  size: number;
253
608
  name?: string;
254
609
  description?: string;
@@ -268,10 +623,9 @@ export type CollectionListResponses = {
268
623
  ensName: string | null;
269
624
  };
270
625
  stats: {
271
- volume: string;
272
- volumeUsd: string | null;
273
626
  ownerCount: number;
274
627
  tokenCount: number;
628
+ volumeByCurrency: Array<CollectionCurrencyVolume>;
275
629
  updatedAt: string;
276
630
  } | null;
277
631
  sales: Array<{
@@ -282,7 +636,7 @@ export type CollectionListResponses = {
282
636
  startAt: string;
283
637
  endAt: string | null;
284
638
  price: string;
285
- currency: string;
639
+ currency: SaleCurrency;
286
640
  maxPerTransaction: number;
287
641
  maxPerWallet: number;
288
642
  maxTotal: number;
@@ -299,6 +653,8 @@ export type CollectionListResponses = {
299
653
  collectorMessage: string | null;
300
654
  createdAt: string;
301
655
  updatedAt: string;
656
+ stats: SaleStats | null;
657
+ lifecycle: SaleLifecycle;
302
658
  }>;
303
659
  }>;
304
660
  pageInfo: {
@@ -414,6 +770,7 @@ export type CollectionCreateResponses = {
414
770
  };
415
771
  } | null;
416
772
  edition: {
773
+ editionId: string;
417
774
  size: number;
418
775
  name?: string;
419
776
  description?: string;
@@ -433,10 +790,9 @@ export type CollectionCreateResponses = {
433
790
  ensName: string | null;
434
791
  };
435
792
  stats: {
436
- volume: string;
437
- volumeUsd: string | null;
438
793
  ownerCount: number;
439
794
  tokenCount: number;
795
+ volumeByCurrency: Array<CollectionCurrencyVolume>;
440
796
  updatedAt: string;
441
797
  } | null;
442
798
  sales: Array<{
@@ -447,7 +803,7 @@ export type CollectionCreateResponses = {
447
803
  startAt: string;
448
804
  endAt: string | null;
449
805
  price: string;
450
- currency: string;
806
+ currency: SaleCurrency;
451
807
  maxPerTransaction: number;
452
808
  maxPerWallet: number;
453
809
  maxTotal: number;
@@ -464,14 +820,61 @@ export type CollectionCreateResponses = {
464
820
  collectorMessage: string | null;
465
821
  createdAt: string;
466
822
  updatedAt: string;
823
+ stats: SaleStats | null;
824
+ lifecycle: SaleLifecycle;
467
825
  }>;
468
826
  };
469
827
  };
470
828
  export type CollectionCreateResponse = CollectionCreateResponses[keyof CollectionCreateResponses];
829
+ export type CollectionTrendingData = {
830
+ body?: never;
831
+ path?: never;
832
+ query?: {
833
+ window?: "24h" | "7d" | "28d";
834
+ chainId?: number;
835
+ limit?: number;
836
+ };
837
+ url: "/collection/trending";
838
+ };
839
+ export type CollectionTrendingErrors = {
840
+ /**
841
+ * Invalid request
842
+ */
843
+ 400: unknown;
844
+ };
845
+ export type CollectionTrendingResponses = {
846
+ /**
847
+ * Ranked trending collections
848
+ */
849
+ 200: CollectionTrendingResponse;
850
+ };
851
+ export type CollectionTrendingResponse2 = CollectionTrendingResponses[keyof CollectionTrendingResponses];
852
+ export type CollectionFeaturedData = {
853
+ body?: never;
854
+ path?: never;
855
+ query?: {
856
+ limit?: number;
857
+ cursor?: string;
858
+ };
859
+ url: "/collection/featured";
860
+ };
861
+ export type CollectionFeaturedErrors = {
862
+ /**
863
+ * Invalid request
864
+ */
865
+ 400: unknown;
866
+ };
867
+ export type CollectionFeaturedResponses = {
868
+ /**
869
+ * Curated featured collections
870
+ */
871
+ 200: CollectionFeaturedResponse;
872
+ };
873
+ export type CollectionFeaturedResponse2 = CollectionFeaturedResponses[keyof CollectionFeaturedResponses];
471
874
  export type CollectionGetData = {
472
875
  body?: never;
473
876
  path: {
474
- highlightId: string;
877
+ highlightId: string | string;
475
878
  };
476
879
  query?: never;
477
880
  url: "/collection/{highlightId}";
@@ -546,6 +949,7 @@ export type CollectionGetResponses = {
546
949
  };
547
950
  } | null;
548
951
  edition: {
952
+ editionId: string;
549
953
  size: number;
550
954
  name?: string;
551
955
  description?: string;
@@ -565,10 +969,9 @@ export type CollectionGetResponses = {
565
969
  ensName: string | null;
566
970
  };
567
971
  stats: {
568
- volume: string;
569
- volumeUsd: string | null;
570
972
  ownerCount: number;
571
973
  tokenCount: number;
974
+ volumeByCurrency: Array<CollectionCurrencyVolume>;
572
975
  updatedAt: string;
573
976
  } | null;
574
977
  sales: Array<{
@@ -579,7 +982,7 @@ export type CollectionGetResponses = {
579
982
  startAt: string;
580
983
  endAt: string | null;
581
984
  price: string;
582
- currency: string;
985
+ currency: SaleCurrency;
583
986
  maxPerTransaction: number;
584
987
  maxPerWallet: number;
585
988
  maxTotal: number;
@@ -596,10 +999,39 @@ export type CollectionGetResponses = {
596
999
  collectorMessage: string | null;
597
1000
  createdAt: string;
598
1001
  updatedAt: string;
1002
+ stats: SaleStats | null;
1003
+ lifecycle: SaleLifecycle;
599
1004
  }>;
600
1005
  };
601
1006
  };
602
1007
  export type CollectionGetResponse = CollectionGetResponses[keyof CollectionGetResponses];
1008
+ export type CollectionListPreviewsData = {
1009
+ body?: never;
1010
+ path: {
1011
+ highlightId: string;
1012
+ };
1013
+ query?: {
1014
+ limit?: number;
1015
+ };
1016
+ url: "/collection/{highlightId}/previews";
1017
+ };
1018
+ export type CollectionListPreviewsErrors = {
1019
+ /**
1020
+ * Forbidden
1021
+ */
1022
+ 403: unknown;
1023
+ /**
1024
+ * Not found
1025
+ */
1026
+ 404: unknown;
1027
+ };
1028
+ export type CollectionListPreviewsResponses = {
1029
+ /**
1030
+ * Series previews
1031
+ */
1032
+ 200: SeriesPreviewsResponse;
1033
+ };
1034
+ export type CollectionListPreviewsResponse = CollectionListPreviewsResponses[keyof CollectionListPreviewsResponses];
603
1035
  export type CollectionFinalizeBaseUriData = {
604
1036
  body?: never;
605
1037
  path: {
@@ -690,6 +1122,7 @@ export type CollectionFinalizeBaseUriResponses = {
690
1122
  };
691
1123
  } | null;
692
1124
  edition: {
1125
+ editionId: string;
693
1126
  size: number;
694
1127
  name?: string;
695
1128
  description?: string;
@@ -709,10 +1142,9 @@ export type CollectionFinalizeBaseUriResponses = {
709
1142
  ensName: string | null;
710
1143
  };
711
1144
  stats: {
712
- volume: string;
713
- volumeUsd: string | null;
714
1145
  ownerCount: number;
715
1146
  tokenCount: number;
1147
+ volumeByCurrency: Array<CollectionCurrencyVolume>;
716
1148
  updatedAt: string;
717
1149
  } | null;
718
1150
  sales: Array<{
@@ -723,7 +1155,7 @@ export type CollectionFinalizeBaseUriResponses = {
723
1155
  startAt: string;
724
1156
  endAt: string | null;
725
1157
  price: string;
726
- currency: string;
1158
+ currency: SaleCurrency;
727
1159
  maxPerTransaction: number;
728
1160
  maxPerWallet: number;
729
1161
  maxTotal: number;
@@ -740,6 +1172,8 @@ export type CollectionFinalizeBaseUriResponses = {
740
1172
  collectorMessage: string | null;
741
1173
  createdAt: string;
742
1174
  updatedAt: string;
1175
+ stats: SaleStats | null;
1176
+ lifecycle: SaleLifecycle;
743
1177
  }>;
744
1178
  };
745
1179
  };
@@ -848,6 +1282,7 @@ export type CollectionUpdateGenerativeDetailsResponses = {
848
1282
  };
849
1283
  } | null;
850
1284
  edition: {
1285
+ editionId: string;
851
1286
  size: number;
852
1287
  name?: string;
853
1288
  description?: string;
@@ -867,10 +1302,9 @@ export type CollectionUpdateGenerativeDetailsResponses = {
867
1302
  ensName: string | null;
868
1303
  };
869
1304
  stats: {
870
- volume: string;
871
- volumeUsd: string | null;
872
1305
  ownerCount: number;
873
1306
  tokenCount: number;
1307
+ volumeByCurrency: Array<CollectionCurrencyVolume>;
874
1308
  updatedAt: string;
875
1309
  } | null;
876
1310
  sales: Array<{
@@ -881,7 +1315,7 @@ export type CollectionUpdateGenerativeDetailsResponses = {
881
1315
  startAt: string;
882
1316
  endAt: string | null;
883
1317
  price: string;
884
- currency: string;
1318
+ currency: SaleCurrency;
885
1319
  maxPerTransaction: number;
886
1320
  maxPerWallet: number;
887
1321
  maxTotal: number;
@@ -898,6 +1332,8 @@ export type CollectionUpdateGenerativeDetailsResponses = {
898
1332
  collectorMessage: string | null;
899
1333
  createdAt: string;
900
1334
  updatedAt: string;
1335
+ stats: SaleStats | null;
1336
+ lifecycle: SaleLifecycle;
901
1337
  }>;
902
1338
  };
903
1339
  };
@@ -994,6 +1430,7 @@ export type CollectionUpdateSeriesDetailsResponses = {
994
1430
  };
995
1431
  } | null;
996
1432
  edition: {
1433
+ editionId: string;
997
1434
  size: number;
998
1435
  name?: string;
999
1436
  description?: string;
@@ -1013,10 +1450,9 @@ export type CollectionUpdateSeriesDetailsResponses = {
1013
1450
  ensName: string | null;
1014
1451
  };
1015
1452
  stats: {
1016
- volume: string;
1017
- volumeUsd: string | null;
1018
1453
  ownerCount: number;
1019
1454
  tokenCount: number;
1455
+ volumeByCurrency: Array<CollectionCurrencyVolume>;
1020
1456
  updatedAt: string;
1021
1457
  } | null;
1022
1458
  sales: Array<{
@@ -1027,7 +1463,7 @@ export type CollectionUpdateSeriesDetailsResponses = {
1027
1463
  startAt: string;
1028
1464
  endAt: string | null;
1029
1465
  price: string;
1030
- currency: string;
1466
+ currency: SaleCurrency;
1031
1467
  maxPerTransaction: number;
1032
1468
  maxPerWallet: number;
1033
1469
  maxTotal: number;
@@ -1044,6 +1480,8 @@ export type CollectionUpdateSeriesDetailsResponses = {
1044
1480
  collectorMessage: string | null;
1045
1481
  createdAt: string;
1046
1482
  updatedAt: string;
1483
+ stats: SaleStats | null;
1484
+ lifecycle: SaleLifecycle;
1047
1485
  }>;
1048
1486
  };
1049
1487
  };
@@ -1085,119 +1523,16 @@ export type CollectionUpdateEditionDetailsErrors = {
1085
1523
  * Not found
1086
1524
  */
1087
1525
  404: unknown;
1526
+ /**
1527
+ * Metadata archive provider unavailable
1528
+ */
1529
+ 503: unknown;
1088
1530
  };
1089
1531
  export type CollectionUpdateEditionDetailsResponses = {
1090
1532
  /**
1091
- * Updated edition draft details
1533
+ * Updated edition details (draft) or a transaction to sign (live)
1092
1534
  */
1093
- 200: {
1094
- highlightId: string;
1095
- collectionId: string | null;
1096
- name: string;
1097
- description: string | null;
1098
- logoMediaId: string;
1099
- logoMedia: MediaAsset;
1100
- baseUriId: string | null;
1101
- royaltyAddress: string | null;
1102
- royaltyAmount: number | null;
1103
- tokenManager: string | null;
1104
- status: "Draft" | "InProgress" | "Live" | "Migrated" | "Disabled" | "Archived";
1105
- revealStrategy: RevealStrategy;
1106
- source: CollectionSource;
1107
- type: CollectionType;
1108
- contract: {
1109
- id: string;
1110
- chainId: number;
1111
- type: "GenerativeSeries" | "Series" | "MultipleEditions" | "MultipleEditionsDFS" | "SingleEdition" | "SingleEditionDFS" | "EditionsDFS1155";
1112
- standard: ContractStandard;
1113
- creatorAddress: string;
1114
- name: string;
1115
- address: string | null;
1116
- symbol: string;
1117
- contractUri: string | null;
1118
- status: "Draft" | "Deploying" | "Live";
1119
- createdAt: string;
1120
- updatedAt: string;
1121
- };
1122
- createdAt: string;
1123
- updatedAt: string;
1124
- series: {
1125
- size: number;
1126
- isCollectorsChoice?: boolean;
1127
- assetsMediaId?: string;
1128
- assetsMedia?: MediaAsset | null;
1129
- } | null;
1130
- generative: {
1131
- size: number;
1132
- codeMediaId: string;
1133
- codeMedia: MediaAsset;
1134
- isCurated?: boolean;
1135
- isGpuRendering?: boolean;
1136
- editionType?: GenerativeEditionType;
1137
- allowedHashes?: Array<string>;
1138
- requiredParams?: Array<string>;
1139
- captureSettings?: {
1140
- trigger: CaptureSettingsTrigger;
1141
- delay?: number;
1142
- selector?: string;
1143
- selectorType?: SelectorType;
1144
- viewPortHeight?: number;
1145
- viewPortWidth?: number;
1146
- };
1147
- } | null;
1148
- edition: {
1149
- size: number;
1150
- name?: string;
1151
- description?: string;
1152
- imageMediaId?: string;
1153
- animationMediaId?: string;
1154
- imageMedia?: MediaAsset | null;
1155
- animationMedia?: MediaAsset | null;
1156
- attributes?: Array<{
1157
- traitType: string;
1158
- value: string;
1159
- }>;
1160
- } | null;
1161
- account: {
1162
- id: string;
1163
- displayName: string | null;
1164
- primaryAddress: string | null;
1165
- ensName: string | null;
1166
- };
1167
- stats: {
1168
- volume: string;
1169
- volumeUsd: string | null;
1170
- ownerCount: number;
1171
- tokenCount: number;
1172
- updatedAt: string;
1173
- } | null;
1174
- sales: Array<{
1175
- id: string;
1176
- collectionId: string;
1177
- name: string | null;
1178
- type: SaleType;
1179
- startAt: string;
1180
- endAt: string | null;
1181
- price: string;
1182
- currency: string;
1183
- maxPerTransaction: number;
1184
- maxPerWallet: number;
1185
- maxTotal: number;
1186
- paymentRecipient: string;
1187
- accessMode: SaleAccessMode;
1188
- gateId: string | null;
1189
- gasSponsored: boolean;
1190
- status: SaleStatus;
1191
- paused: boolean;
1192
- mechanicId: string | null;
1193
- typeConfig: unknown | null;
1194
- vectorId: string | null;
1195
- customMintFee: string | null;
1196
- collectorMessage: string | null;
1197
- createdAt: string;
1198
- updatedAt: string;
1199
- }>;
1200
- };
1535
+ 200: EditionUpdateResponse;
1201
1536
  };
1202
1537
  export type CollectionUpdateEditionDetailsResponse = CollectionUpdateEditionDetailsResponses[keyof CollectionUpdateEditionDetailsResponses];
1203
1538
  export type CollectionGetSalesData = {
@@ -1234,7 +1569,7 @@ export type CollectionGetSalesResponses = {
1234
1569
  startAt: string;
1235
1570
  endAt: string | null;
1236
1571
  price: string;
1237
- currency: string;
1572
+ currency: SaleCurrency;
1238
1573
  maxPerTransaction: number;
1239
1574
  maxPerWallet: number;
1240
1575
  maxTotal: number;
@@ -1251,6 +1586,8 @@ export type CollectionGetSalesResponses = {
1251
1586
  collectorMessage: string | null;
1252
1587
  createdAt: string;
1253
1588
  updatedAt: string;
1589
+ stats: SaleStats | null;
1590
+ lifecycle: SaleLifecycle;
1254
1591
  }>;
1255
1592
  };
1256
1593
  export type CollectionGetSalesResponse = CollectionGetSalesResponses[keyof CollectionGetSalesResponses];
@@ -1455,6 +1792,7 @@ export type CollectionBidSaleData = {
1455
1792
  saleId: string;
1456
1793
  bidAmount: string;
1457
1794
  bidId?: number;
1795
+ preferredNftRecipient?: string;
1458
1796
  };
1459
1797
  path: {
1460
1798
  highlightId: string;
@@ -1488,18 +1826,18 @@ export type CollectionBidSaleResponses = {
1488
1826
  };
1489
1827
  };
1490
1828
  export type CollectionBidSaleResponse = CollectionBidSaleResponses[keyof CollectionBidSaleResponses];
1491
- export type CollectionConfirmBidData = {
1829
+ export type CollectionReclaimBidData = {
1492
1830
  body: {
1493
1831
  saleId: string;
1494
- txHash: string;
1832
+ bidId: number;
1495
1833
  };
1496
1834
  path: {
1497
1835
  highlightId: string;
1498
1836
  };
1499
1837
  query?: never;
1500
- url: "/collection/{highlightId}/sales/bid/confirm";
1838
+ url: "/collection/{highlightId}/sales/reclaim";
1501
1839
  };
1502
- export type CollectionConfirmBidErrors = {
1840
+ export type CollectionReclaimBidErrors = {
1503
1841
  /**
1504
1842
  * Invalid request
1505
1843
  */
@@ -1517,27 +1855,99 @@ export type CollectionConfirmBidErrors = {
1517
1855
  */
1518
1856
  500: unknown;
1519
1857
  };
1520
- export type CollectionConfirmBidResponses = {
1858
+ export type CollectionReclaimBidResponses = {
1521
1859
  /**
1522
- * Bid recorded
1860
+ * Reclaim transaction configuration
1523
1861
  */
1524
1862
  200: {
1525
- recorded: boolean;
1863
+ chainId: number;
1864
+ to: string | null;
1865
+ data: string;
1866
+ value: string;
1526
1867
  };
1527
1868
  };
1528
- export type CollectionConfirmBidResponse = CollectionConfirmBidResponses[keyof CollectionConfirmBidResponses];
1529
- export type CollectionConfirmSaleData = {
1869
+ export type CollectionReclaimBidResponse = CollectionReclaimBidResponses[keyof CollectionReclaimBidResponses];
1870
+ export type CollectionClaimAuctionEarningsData = {
1530
1871
  body: {
1531
- txHash: string;
1872
+ saleId: string;
1532
1873
  };
1533
1874
  path: {
1534
1875
  highlightId: string;
1876
+ };
1877
+ query?: never;
1878
+ url: "/collection/{highlightId}/sales/earnings";
1879
+ };
1880
+ export type CollectionClaimAuctionEarningsErrors = {
1881
+ /**
1882
+ * Invalid request
1883
+ */
1884
+ 400: unknown;
1885
+ /**
1886
+ * Unauthorized
1887
+ */
1888
+ 401: unknown;
1889
+ /**
1890
+ * Not found
1891
+ */
1892
+ 404: unknown;
1893
+ /**
1894
+ * Already claimed
1895
+ */
1896
+ 409: unknown;
1897
+ /**
1898
+ * Internal server error
1899
+ */
1900
+ 500: unknown;
1901
+ };
1902
+ export type CollectionClaimAuctionEarningsResponses = {
1903
+ /**
1904
+ * Earnings withdrawal transaction configuration
1905
+ */
1906
+ 200: {
1907
+ chainId: number;
1908
+ to: string | null;
1909
+ data: string;
1910
+ value: string;
1911
+ };
1912
+ };
1913
+ export type CollectionClaimAuctionEarningsResponse = CollectionClaimAuctionEarningsResponses[keyof CollectionClaimAuctionEarningsResponses];
1914
+ export type CollectionRankedAuctionStandingsData = {
1915
+ body?: never;
1916
+ path: {
1917
+ highlightId: string;
1918
+ saleId: string;
1919
+ };
1920
+ query?: never;
1921
+ url: "/collection/{highlightId}/sales/{saleId}/standings";
1922
+ };
1923
+ export type CollectionRankedAuctionStandingsErrors = {
1924
+ /**
1925
+ * Invalid request
1926
+ */
1927
+ 400: unknown;
1928
+ /**
1929
+ * Not found
1930
+ */
1931
+ 404: unknown;
1932
+ };
1933
+ export type CollectionRankedAuctionStandingsResponses = {
1934
+ /**
1935
+ * Ranked auction standings
1936
+ */
1937
+ 200: RankedAuctionStandings;
1938
+ };
1939
+ export type CollectionRankedAuctionStandingsResponse = CollectionRankedAuctionStandingsResponses[keyof CollectionRankedAuctionStandingsResponses];
1940
+ export type CollectionFulfillEnglishAuctionData = {
1941
+ body: {
1535
1942
  saleId: string;
1536
1943
  };
1944
+ path: {
1945
+ highlightId: string;
1946
+ };
1537
1947
  query?: never;
1538
- url: "/collection/{highlightId}/sales/{saleId}/confirm";
1948
+ url: "/collection/{highlightId}/sales/auction/fulfill";
1539
1949
  };
1540
- export type CollectionConfirmSaleErrors = {
1950
+ export type CollectionFulfillEnglishAuctionErrors = {
1541
1951
  /**
1542
1952
  * Invalid request
1543
1953
  */
@@ -1547,23 +1957,122 @@ export type CollectionConfirmSaleErrors = {
1547
1957
  */
1548
1958
  401: unknown;
1549
1959
  /**
1550
- * Forbidden
1960
+ * Not found
1961
+ */
1962
+ 404: unknown;
1963
+ /**
1964
+ * Internal server error
1965
+ */
1966
+ 500: unknown;
1967
+ };
1968
+ export type CollectionFulfillEnglishAuctionResponses = {
1969
+ /**
1970
+ * Fulfill transaction configuration
1971
+ */
1972
+ 200: {
1973
+ chainId: number;
1974
+ to: string | null;
1975
+ data: string;
1976
+ value: string;
1977
+ };
1978
+ };
1979
+ export type CollectionFulfillEnglishAuctionResponse = CollectionFulfillEnglishAuctionResponses[keyof CollectionFulfillEnglishAuctionResponses];
1980
+ export type CollectionCancelEnglishAuctionData = {
1981
+ body: {
1982
+ saleId: string;
1983
+ };
1984
+ path: {
1985
+ highlightId: string;
1986
+ };
1987
+ query?: never;
1988
+ url: "/collection/{highlightId}/sales/auction/cancel";
1989
+ };
1990
+ export type CollectionCancelEnglishAuctionErrors = {
1991
+ /**
1992
+ * Invalid request
1993
+ */
1994
+ 400: unknown;
1995
+ /**
1996
+ * Unauthorized
1997
+ */
1998
+ 401: unknown;
1999
+ /**
2000
+ * Forbidden
2001
+ */
2002
+ 403: unknown;
2003
+ /**
2004
+ * Not found
2005
+ */
2006
+ 404: unknown;
2007
+ /**
2008
+ * Internal server error
2009
+ */
2010
+ 500: unknown;
2011
+ };
2012
+ export type CollectionCancelEnglishAuctionResponses = {
2013
+ /**
2014
+ * Cancel transaction configuration
2015
+ */
2016
+ 200: {
2017
+ chainId: number;
2018
+ to: string | null;
2019
+ data: string;
2020
+ value: string;
2021
+ };
2022
+ };
2023
+ export type CollectionCancelEnglishAuctionResponse = CollectionCancelEnglishAuctionResponses[keyof CollectionCancelEnglishAuctionResponses];
2024
+ export type CollectionEnglishAuctionStandingData = {
2025
+ body?: never;
2026
+ path: {
2027
+ highlightId: string;
2028
+ saleId: string;
2029
+ };
2030
+ query?: never;
2031
+ url: "/collection/{highlightId}/sales/{saleId}/auction";
2032
+ };
2033
+ export type CollectionEnglishAuctionStandingErrors = {
2034
+ /**
2035
+ * Invalid request
2036
+ */
2037
+ 400: unknown;
2038
+ /**
2039
+ * Not found
2040
+ */
2041
+ 404: unknown;
2042
+ };
2043
+ export type CollectionEnglishAuctionStandingResponses = {
2044
+ /**
2045
+ * English auction standing
2046
+ */
2047
+ 200: EnglishAuctionStanding;
2048
+ };
2049
+ export type CollectionEnglishAuctionStandingResponse = CollectionEnglishAuctionStandingResponses[keyof CollectionEnglishAuctionStandingResponses];
2050
+ export type CollectionEnglishAuctionBidsData = {
2051
+ body?: never;
2052
+ path: {
2053
+ highlightId: string;
2054
+ saleId: string;
2055
+ };
2056
+ query?: never;
2057
+ url: "/collection/{highlightId}/sales/{saleId}/auction/bids";
2058
+ };
2059
+ export type CollectionEnglishAuctionBidsErrors = {
2060
+ /**
2061
+ * Invalid request
1551
2062
  */
1552
- 403: unknown;
2063
+ 400: unknown;
1553
2064
  /**
1554
2065
  * Not found
1555
2066
  */
1556
2067
  404: unknown;
1557
2068
  };
1558
- export type CollectionConfirmSaleResponses = {
2069
+ export type CollectionEnglishAuctionBidsResponses = {
1559
2070
  /**
1560
- * Sale confirmed
2071
+ * English auction bid history
1561
2072
  */
1562
- 200: {
1563
- confirmed: boolean;
1564
- };
2073
+ 200: EnglishAuctionBidHistory;
1565
2074
  };
1566
- export type CollectionConfirmSaleResponse = CollectionConfirmSaleResponses[keyof CollectionConfirmSaleResponses];
2075
+ export type CollectionEnglishAuctionBidsResponse = CollectionEnglishAuctionBidsResponses[keyof CollectionEnglishAuctionBidsResponses];
1567
2076
  export type CollectionDeployData = {
1568
2077
  body?: never;
1569
2078
  path: {
@@ -1698,59 +2207,6 @@ export type CollectionDeployCancelResponses = {
1698
2207
  };
1699
2208
  };
1700
2209
  export type CollectionDeployCancelResponse = CollectionDeployCancelResponses[keyof CollectionDeployCancelResponses];
1701
- export type CollectionDeployConfirmData = {
1702
- body: {
1703
- txHash: string;
1704
- };
1705
- path: {
1706
- highlightId: string;
1707
- };
1708
- query?: never;
1709
- url: "/collection/{highlightId}/deploy/confirm";
1710
- };
1711
- export type CollectionDeployConfirmErrors = {
1712
- /**
1713
- * Invalid request
1714
- */
1715
- 400: unknown;
1716
- /**
1717
- * Unauthorized
1718
- */
1719
- 401: unknown;
1720
- /**
1721
- * Forbidden
1722
- */
1723
- 403: unknown;
1724
- /**
1725
- * Not found
1726
- */
1727
- 404: unknown;
1728
- };
1729
- export type CollectionDeployConfirmResponses = {
1730
- /**
1731
- * Transaction confirmed
1732
- */
1733
- 200: {
1734
- status: "Pending" | "InProgress" | "Completed" | "Failed";
1735
- currentStep: "Validate" | "UploadMetadata" | "UploadCode" | "GenerateTransaction" | "AwaitTransaction" | "RecordTransaction";
1736
- steps: Array<{
1737
- step: string;
1738
- status: string;
1739
- error?: string;
1740
- }>;
1741
- contractConfig: {
1742
- chainId: number;
1743
- to: string | null;
1744
- data: string;
1745
- value: string;
1746
- } | null;
1747
- txHash: string | null;
1748
- error: string | null;
1749
- deploymentId: string;
1750
- highlightId: string;
1751
- };
1752
- };
1753
- export type CollectionDeployConfirmResponse = CollectionDeployConfirmResponses[keyof CollectionDeployConfirmResponses];
1754
2210
  export type TokenListData = {
1755
2211
  body?: never;
1756
2212
  path: {
@@ -1763,10 +2219,18 @@ export type TokenListData = {
1763
2219
  order?: "asc" | "desc";
1764
2220
  ownerAddress?: string;
1765
2221
  search?: string;
2222
+ /**
2223
+ * Trait filter as a JSON-encoded array of { traitType, values }. AND across entries, OR within a trait's values. Example: [{"traitType":"Background","values":["Blue","Red"]}].
2224
+ */
2225
+ attributes?: string;
1766
2226
  };
1767
2227
  url: "/collection/{highlightId}/tokens";
1768
2228
  };
1769
2229
  export type TokenListErrors = {
2230
+ /**
2231
+ * Malformed attributes filter
2232
+ */
2233
+ 400: unknown;
1770
2234
  /**
1771
2235
  * Collection not found or not public
1772
2236
  */
@@ -1812,6 +2276,29 @@ export type TokenListResponses = {
1812
2276
  };
1813
2277
  };
1814
2278
  export type TokenListResponse = TokenListResponses[keyof TokenListResponses];
2279
+ export type TokenAttributeFacetsData = {
2280
+ body?: never;
2281
+ path: {
2282
+ highlightId: string;
2283
+ };
2284
+ query?: never;
2285
+ url: "/collection/{highlightId}/tokens/attributes";
2286
+ };
2287
+ export type TokenAttributeFacetsErrors = {
2288
+ /**
2289
+ * Collection not found or not public
2290
+ */
2291
+ 404: unknown;
2292
+ };
2293
+ export type TokenAttributeFacetsResponses = {
2294
+ /**
2295
+ * Attribute facets
2296
+ */
2297
+ 200: {
2298
+ facets: Array<TokenAttributeFacet>;
2299
+ };
2300
+ };
2301
+ export type TokenAttributeFacetsResponse = TokenAttributeFacetsResponses[keyof TokenAttributeFacetsResponses];
1815
2302
  export type TokenGetData = {
1816
2303
  body?: never;
1817
2304
  path: {
@@ -1857,6 +2344,28 @@ export type TokenGetResponses = {
1857
2344
  };
1858
2345
  };
1859
2346
  export type TokenGetResponse = TokenGetResponses[keyof TokenGetResponses];
2347
+ export type TokenListOwnersData = {
2348
+ body?: never;
2349
+ path: {
2350
+ highlightId: string;
2351
+ tokenId: string;
2352
+ };
2353
+ query?: never;
2354
+ url: "/collection/{highlightId}/tokens/{tokenId}/owners";
2355
+ };
2356
+ export type TokenListOwnersErrors = {
2357
+ /**
2358
+ * Token or collection not found
2359
+ */
2360
+ 404: unknown;
2361
+ };
2362
+ export type TokenListOwnersResponses = {
2363
+ /**
2364
+ * Token owners
2365
+ */
2366
+ 200: TokenOwnersResponse;
2367
+ };
2368
+ export type TokenListOwnersResponse = TokenListOwnersResponses[keyof TokenListOwnersResponses];
1860
2369
  export type ConfigChainsData = {
1861
2370
  body?: never;
1862
2371
  path?: never;
@@ -1874,11 +2383,6 @@ export type ConfigChainsResponses = {
1874
2383
  network: string;
1875
2384
  testnet: boolean;
1876
2385
  mintFee: string;
1877
- wrappedCurrency: {
1878
- address: string;
1879
- decimals: number;
1880
- symbol: string;
1881
- } | null;
1882
2386
  supportedFeatures: Array<string>;
1883
2387
  supportedCurrencies: Array<{
1884
2388
  address: string;
@@ -2076,6 +2580,9 @@ export type GateCreateData = {
2076
2580
  type: "FARCASTER_FOLLOW";
2077
2581
  config: {
2078
2582
  fid: number;
2583
+ username?: string;
2584
+ displayName?: string;
2585
+ pfpUrl?: string;
2079
2586
  };
2080
2587
  }>;
2081
2588
  };
@@ -2230,6 +2737,9 @@ export type GateUpdateData = {
2230
2737
  type: "FARCASTER_FOLLOW";
2231
2738
  config: {
2232
2739
  fid: number;
2740
+ username?: string;
2741
+ displayName?: string;
2742
+ pfpUrl?: string;
2233
2743
  };
2234
2744
  }>;
2235
2745
  };
@@ -2278,6 +2788,198 @@ export type GateUpdateResponses = {
2278
2788
  };
2279
2789
  };
2280
2790
  export type GateUpdateResponse = GateUpdateResponses[keyof GateUpdateResponses];
2791
+ export type GatePreviewCollectionData = {
2792
+ body?: never;
2793
+ path: {
2794
+ chainId: number;
2795
+ address: string;
2796
+ };
2797
+ query?: never;
2798
+ url: "/gate/preview/collection/{chainId}/{address}";
2799
+ };
2800
+ export type GatePreviewCollectionErrors = {
2801
+ /**
2802
+ * Unsupported chain
2803
+ */
2804
+ 400: unknown;
2805
+ /**
2806
+ * Unauthorized
2807
+ */
2808
+ 401: unknown;
2809
+ /**
2810
+ * No contract found at this address
2811
+ */
2812
+ 404: unknown;
2813
+ /**
2814
+ * NFT data provider not configured
2815
+ */
2816
+ 500: unknown;
2817
+ };
2818
+ export type GatePreviewCollectionResponses = {
2819
+ /**
2820
+ * Collection preview
2821
+ */
2822
+ 200: GateCollectionPreview;
2823
+ };
2824
+ export type GatePreviewCollectionResponse = GatePreviewCollectionResponses[keyof GatePreviewCollectionResponses];
2825
+ export type GatePreviewAttributesData = {
2826
+ body?: never;
2827
+ path: {
2828
+ chainId: number;
2829
+ address: string;
2830
+ };
2831
+ query?: never;
2832
+ url: "/gate/preview/collection/{chainId}/{address}/attributes";
2833
+ };
2834
+ export type GatePreviewAttributesErrors = {
2835
+ /**
2836
+ * Unsupported chain
2837
+ */
2838
+ 400: unknown;
2839
+ /**
2840
+ * Unauthorized
2841
+ */
2842
+ 401: unknown;
2843
+ /**
2844
+ * NFT data provider not configured
2845
+ */
2846
+ 500: unknown;
2847
+ };
2848
+ export type GatePreviewAttributesResponses = {
2849
+ /**
2850
+ * Attribute facets
2851
+ */
2852
+ 200: GateAttributesPreview;
2853
+ };
2854
+ export type GatePreviewAttributesResponse = GatePreviewAttributesResponses[keyof GatePreviewAttributesResponses];
2855
+ export type GatePreviewTokensData = {
2856
+ body?: never;
2857
+ path: {
2858
+ chainId: number;
2859
+ address: string;
2860
+ };
2861
+ query?: {
2862
+ cursor?: string;
2863
+ limit?: number;
2864
+ };
2865
+ url: "/gate/preview/collection/{chainId}/{address}/tokens";
2866
+ };
2867
+ export type GatePreviewTokensErrors = {
2868
+ /**
2869
+ * Unsupported chain
2870
+ */
2871
+ 400: unknown;
2872
+ /**
2873
+ * Unauthorized
2874
+ */
2875
+ 401: unknown;
2876
+ /**
2877
+ * NFT data provider not configured
2878
+ */
2879
+ 500: unknown;
2880
+ };
2881
+ export type GatePreviewTokensResponses = {
2882
+ /**
2883
+ * Token page
2884
+ */
2885
+ 200: GateTokensPreview;
2886
+ };
2887
+ export type GatePreviewTokensResponse = GatePreviewTokensResponses[keyof GatePreviewTokensResponses];
2888
+ export type GatePreviewTokenData = {
2889
+ body?: never;
2890
+ path: {
2891
+ chainId: number;
2892
+ address: string;
2893
+ tokenId: string;
2894
+ };
2895
+ query?: never;
2896
+ url: "/gate/preview/collection/{chainId}/{address}/token/{tokenId}";
2897
+ };
2898
+ export type GatePreviewTokenErrors = {
2899
+ /**
2900
+ * Unsupported chain
2901
+ */
2902
+ 400: unknown;
2903
+ /**
2904
+ * Unauthorized
2905
+ */
2906
+ 401: unknown;
2907
+ /**
2908
+ * Token not found
2909
+ */
2910
+ 404: unknown;
2911
+ /**
2912
+ * NFT data provider not configured
2913
+ */
2914
+ 500: unknown;
2915
+ };
2916
+ export type GatePreviewTokenResponses = {
2917
+ /**
2918
+ * Token preview
2919
+ */
2920
+ 200: {
2921
+ tokenId: string;
2922
+ name: string | null;
2923
+ imageUrl: string | null;
2924
+ };
2925
+ };
2926
+ export type GatePreviewTokenResponse = GatePreviewTokenResponses[keyof GatePreviewTokenResponses];
2927
+ export type GatePreviewCurrencyData = {
2928
+ body?: never;
2929
+ path: {
2930
+ chainId: number;
2931
+ };
2932
+ query?: {
2933
+ contractAddress?: string;
2934
+ };
2935
+ url: "/gate/preview/currency/{chainId}";
2936
+ };
2937
+ export type GatePreviewCurrencyErrors = {
2938
+ /**
2939
+ * Unauthorized
2940
+ */
2941
+ 401: unknown;
2942
+ /**
2943
+ * Address is not a readable ERC-20
2944
+ */
2945
+ 404: unknown;
2946
+ };
2947
+ export type GatePreviewCurrencyResponses = {
2948
+ /**
2949
+ * Currency preview
2950
+ */
2951
+ 200: GateCurrencyPreview;
2952
+ };
2953
+ export type GatePreviewCurrencyResponse = GatePreviewCurrencyResponses[keyof GatePreviewCurrencyResponses];
2954
+ export type GatePreviewFarcasterData = {
2955
+ body?: never;
2956
+ path?: never;
2957
+ query: {
2958
+ query: string;
2959
+ };
2960
+ url: "/gate/preview/farcaster/user";
2961
+ };
2962
+ export type GatePreviewFarcasterErrors = {
2963
+ /**
2964
+ * Unauthorized
2965
+ */
2966
+ 401: unknown;
2967
+ /**
2968
+ * No Farcaster user found
2969
+ */
2970
+ 404: unknown;
2971
+ /**
2972
+ * Farcaster provider not configured
2973
+ */
2974
+ 500: unknown;
2975
+ };
2976
+ export type GatePreviewFarcasterResponses = {
2977
+ /**
2978
+ * Farcaster user
2979
+ */
2980
+ 200: GateFarcasterUserPreview;
2981
+ };
2982
+ export type GatePreviewFarcasterResponse = GatePreviewFarcasterResponses[keyof GatePreviewFarcasterResponses];
2281
2983
  export type PostIndexerChainsByChainIdActivateData = {
2282
2984
  body?: never;
2283
2985
  path: {
@@ -2874,6 +3576,50 @@ export type MediaGetChildResponses = {
2874
3576
  200: MediaAsset;
2875
3577
  };
2876
3578
  export type MediaGetChildResponse = MediaGetChildResponses[keyof MediaGetChildResponses];
3579
+ export type TxStatusData = {
3580
+ body?: never;
3581
+ path: {
3582
+ chainId: number;
3583
+ txHash: string;
3584
+ };
3585
+ query?: never;
3586
+ url: "/tx/{chainId}/{txHash}";
3587
+ };
3588
+ export type TxStatusErrors = {
3589
+ /**
3590
+ * Unauthorized
3591
+ */
3592
+ 401: unknown;
3593
+ };
3594
+ export type TxStatusResponses = {
3595
+ /**
3596
+ * Current transaction status snapshot
3597
+ */
3598
+ 200: TxStatusSnapshot;
3599
+ };
3600
+ export type TxStatusResponse = TxStatusResponses[keyof TxStatusResponses];
3601
+ export type TxSubmitData = {
3602
+ body?: never;
3603
+ path: {
3604
+ chainId: number;
3605
+ txHash: string;
3606
+ };
3607
+ query?: never;
3608
+ url: "/tx/{chainId}/{txHash}";
3609
+ };
3610
+ export type TxSubmitErrors = {
3611
+ /**
3612
+ * Unauthorized
3613
+ */
3614
+ 401: unknown;
3615
+ };
3616
+ export type TxSubmitResponses = {
3617
+ /**
3618
+ * Transaction accepted for processing
3619
+ */
3620
+ 202: TxStatusSnapshot;
3621
+ };
3622
+ export type TxSubmitResponse = TxSubmitResponses[keyof TxSubmitResponses];
2877
3623
  export type UserSiweNonceData = {
2878
3624
  body?: never;
2879
3625
  path?: never;