@imtbl/sdk 1.35.2-alpha → 1.35.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist/blockchain_data.js +2 -2
  2. package/dist/browser/checkout/{BridgeWidget-22c8b08d.js → BridgeWidget-b9e736eb.js} +1 -1
  3. package/dist/browser/checkout/{OnRampWidget-aeb5d57c.js → OnRampWidget-08bfa49c.js} +1 -1
  4. package/dist/browser/checkout/{SaleWidget-93a4fffd.js → SaleWidget-62cda384.js} +1 -1
  5. package/dist/browser/checkout/{SpendingCapHero-8459b91d.js → SpendingCapHero-341cfc38.js} +1 -1
  6. package/dist/browser/checkout/{SwapWidget-11ecb4ae.js → SwapWidget-40adbff0.js} +1 -1
  7. package/dist/browser/checkout/{TopUpView-ad058510.js → TopUpView-17d237f3.js} +1 -1
  8. package/dist/browser/checkout/{WalletWidget-920b03b4.js → WalletWidget-a19ab89c.js} +1 -1
  9. package/dist/browser/checkout/{auto-track-469b3ba5.js → auto-track-ffcab507.js} +1 -1
  10. package/dist/browser/checkout/{balance-c9c03af5.js → balance-4d6f9b6f.js} +1 -1
  11. package/dist/browser/checkout/{index-06896b92.js → index-11eefc56.js} +1 -1
  12. package/dist/browser/checkout/{index-09b1efac.js → index-317dcefc.js} +1 -1
  13. package/dist/browser/checkout/{index-9997f064.js → index-4fb1863d.js} +1 -1
  14. package/dist/browser/checkout/{index-e5f07d9e.js → index-7a9fdf09.js} +2 -2
  15. package/dist/browser/checkout/{index-cbf7168d.js → index-9a663258.js} +1 -1
  16. package/dist/browser/checkout/{index-37c4003a.js → index-ab21662b.js} +1 -1
  17. package/dist/browser/checkout/index-bafd7f6d.js +1 -0
  18. package/dist/browser/checkout/{index-c53e5321.js → index-be2f6fa5.js} +1 -1
  19. package/dist/browser/checkout/{index.umd-e783a603.js → index.umd-cb823fd6.js} +1 -1
  20. package/dist/browser/checkout/{retry-10de11e8.js → retry-0002f89a.js} +1 -1
  21. package/dist/browser/checkout/sdk.js +4 -4
  22. package/dist/browser/checkout/widgets-esm.js +1 -1
  23. package/dist/browser/checkout/widgets.js +1 -1
  24. package/dist/checkout.d.ts +14 -2
  25. package/dist/checkout.js +18 -13
  26. package/dist/config.js +1 -1
  27. package/dist/index.browser.js +4 -4
  28. package/dist/index.browser.js.map +1 -1
  29. package/dist/index.cjs +89 -578
  30. package/dist/index.d.ts +21 -114
  31. package/dist/index.js +90 -577
  32. package/dist/orderbook.js +1 -1
  33. package/dist/passport.js +64 -55
  34. package/dist/x.js +3 -3
  35. package/package.json +1 -9
  36. package/dist/browser/checkout/index-1b8b7ce9.js +0 -1
  37. package/dist/minting_backend.d.ts +0 -3506
  38. package/dist/minting_backend.js +0 -447
  39. package/dist/webhook.d.ts +0 -11
  40. package/dist/webhook.js +0 -388
@@ -1,3506 +0,0 @@
1
- import { Pool } from 'pg';
2
-
3
- type CreateMintRequest = {
4
- contract_address: string;
5
- asset_id: string;
6
- metadata: any;
7
- owner_address: string;
8
- };
9
- type MintRequest = {
10
- id: string;
11
- contract_address: string;
12
- wallet_address: string;
13
- asset_id: string;
14
- metadata: any;
15
- owner_address: string;
16
- tried_count: number;
17
- };
18
- type SubmittedMintRequest = {
19
- tokenId: string | null;
20
- status: string;
21
- assetId: string;
22
- contractAddress: string;
23
- ownerAddress: string;
24
- metadataId: string;
25
- imtblZkevmMintRequestUpdatedId: string;
26
- error: any | null;
27
- };
28
- interface MintingPersistence {
29
- recordMint: (request: CreateMintRequest) => Promise<void>;
30
- getNextBatchForSubmission: (limit: number) => Promise<MintRequest[]>;
31
- updateMintingStatusToSubmitted: (ids: string[]) => Promise<void>;
32
- updateMintingStatusToSubmissionFailed: (ids: string[]) => Promise<void>;
33
- syncMintingStatus: (submittedMintRequest: SubmittedMintRequest) => Promise<void>;
34
- markAsConflict: (assetIds: string[], contractAddress: string) => Promise<void>;
35
- resetMintingStatus: (ids: string[]) => Promise<void>;
36
- markForRetry: (ids: string[]) => Promise<void>;
37
- getMintingRequest: (contractAddress: string, referenceId: string) => Promise<MintRequest | null>;
38
- }
39
-
40
- declare const mintingPersistence$1: (client: Pool) => MintingPersistence;
41
-
42
- declare const mintingPersistence: (client: any) => MintingPersistence;
43
-
44
- /**
45
- * Immutable zkEVM API
46
- * Immutable Multi Rollup API
47
- *
48
- * The version of the OpenAPI document: 1.0.0
49
- * Contact: support@immutable.com
50
- *
51
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
52
- * https://openapi-generator.tech
53
- * Do not edit the class manually.
54
- */
55
- interface ConfigurationParameters {
56
- apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
57
- username?: string;
58
- password?: string;
59
- accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
60
- basePath?: string;
61
- baseOptions?: any;
62
- formDataCtor?: new () => any;
63
- }
64
- declare class Configuration {
65
- /**
66
- * parameter for apiKey security
67
- * @param name security name
68
- * @memberof Configuration
69
- */
70
- apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
71
- /**
72
- * parameter for basic security
73
- *
74
- * @type {string}
75
- * @memberof Configuration
76
- */
77
- username?: string;
78
- /**
79
- * parameter for basic security
80
- *
81
- * @type {string}
82
- * @memberof Configuration
83
- */
84
- password?: string;
85
- /**
86
- * parameter for oauth2 security
87
- * @param name security name
88
- * @param scopes oauth2 scope
89
- * @memberof Configuration
90
- */
91
- accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
92
- /**
93
- * override base path
94
- *
95
- * @type {string}
96
- * @memberof Configuration
97
- */
98
- basePath?: string;
99
- /**
100
- * base options for axios calls
101
- *
102
- * @type {any}
103
- * @memberof Configuration
104
- */
105
- baseOptions?: any;
106
- /**
107
- * The FormData constructor that will be used to create multipart form data
108
- * requests. You can inject this here so that execution environments that
109
- * do not support the FormData class can still run the generated client.
110
- *
111
- * @type {new () => FormData}
112
- */
113
- formDataCtor?: new () => any;
114
- constructor(param?: ConfigurationParameters);
115
- /**
116
- * Check if the given MIME is a JSON MIME.
117
- * JSON MIME examples:
118
- * application/json
119
- * application/json; charset=UTF8
120
- * APPLICATION/JSON
121
- * application/vnd.company+json
122
- * @param mime - MIME (Multipurpose Internet Mail Extensions)
123
- * @return True if the given MIME is JSON, false otherwise.
124
- */
125
- isJsonMime(mime: string): boolean;
126
- }
127
-
128
- /**
129
- * Immutable zkEVM API
130
- * Immutable Multi Rollup API
131
- *
132
- * The version of the OpenAPI document: 1.0.0
133
- * Contact: support@immutable.com
134
- *
135
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
136
- * https://openapi-generator.tech
137
- * Do not edit the class manually.
138
- */
139
- /**
140
- * The contract type for an NFT
141
- * @export
142
- * @enum {string}
143
- */
144
- declare const NFTContractType: {
145
- readonly Erc721: "ERC721";
146
- readonly Erc1155: "ERC1155";
147
- };
148
- type NFTContractType = typeof NFTContractType[keyof typeof NFTContractType];
149
-
150
- /**
151
- * Immutable zkEVM API
152
- * Immutable Multi Rollup API
153
- *
154
- * The version of the OpenAPI document: 1.0.0
155
- * Contact: support@immutable.com
156
- *
157
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
158
- * https://openapi-generator.tech
159
- * Do not edit the class manually.
160
- */
161
-
162
- /**
163
- *
164
- * @export
165
- * @interface ActivityNFT
166
- */
167
- interface ActivityNFT {
168
- /**
169
- *
170
- * @type {NFTContractType}
171
- * @memberof ActivityNFT
172
- */
173
- 'contract_type': NFTContractType;
174
- /**
175
- * The token contract address
176
- * @type {string}
177
- * @memberof ActivityNFT
178
- */
179
- 'contract_address': string;
180
- /**
181
- * An `uint256` token id as string
182
- * @type {string}
183
- * @memberof ActivityNFT
184
- */
185
- 'token_id': string;
186
- /**
187
- * The amount of tokens exchanged
188
- * @type {string}
189
- * @memberof ActivityNFT
190
- */
191
- 'amount': string;
192
- }
193
-
194
- /**
195
- * Immutable zkEVM API
196
- * Immutable Multi Rollup API
197
- *
198
- * The version of the OpenAPI document: 1.0.0
199
- * Contact: support@immutable.com
200
- *
201
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
202
- * https://openapi-generator.tech
203
- * Do not edit the class manually.
204
- */
205
- /**
206
- * The contract type for a token
207
- * @export
208
- * @enum {string}
209
- */
210
- declare const TokenContractType: {
211
- readonly Erc20: "ERC20";
212
- };
213
- type TokenContractType = typeof TokenContractType[keyof typeof TokenContractType];
214
-
215
- /**
216
- * Immutable zkEVM API
217
- * Immutable Multi Rollup API
218
- *
219
- * The version of the OpenAPI document: 1.0.0
220
- * Contact: support@immutable.com
221
- *
222
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
223
- * https://openapi-generator.tech
224
- * Do not edit the class manually.
225
- */
226
-
227
- /**
228
- *
229
- * @export
230
- * @interface ActivityToken
231
- */
232
- interface ActivityToken {
233
- /**
234
- *
235
- * @type {TokenContractType}
236
- * @memberof ActivityToken
237
- */
238
- 'contract_type': TokenContractType;
239
- /**
240
- * The contract address
241
- * @type {string}
242
- * @memberof ActivityToken
243
- */
244
- 'contract_address': string;
245
- }
246
-
247
- /**
248
- * Immutable zkEVM API
249
- * Immutable Multi Rollup API
250
- *
251
- * The version of the OpenAPI document: 1.0.0
252
- * Contact: support@immutable.com
253
- *
254
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
255
- * https://openapi-generator.tech
256
- * Do not edit the class manually.
257
- */
258
-
259
- /**
260
- * @type ActivityAsset
261
- * The contract and asset details for this activity
262
- * @export
263
- */
264
- type ActivityAsset = ActivityNFT | ActivityToken;
265
-
266
- /**
267
- * Immutable zkEVM API
268
- * Immutable Multi Rollup API
269
- *
270
- * The version of the OpenAPI document: 1.0.0
271
- * Contact: support@immutable.com
272
- *
273
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
274
- * https://openapi-generator.tech
275
- * Do not edit the class manually.
276
- */
277
-
278
- /**
279
- * The burn activity details
280
- * @export
281
- * @interface Burn
282
- */
283
- interface Burn {
284
- /**
285
- * The account address the asset was transferred from
286
- * @type {string}
287
- * @memberof Burn
288
- */
289
- 'from': string;
290
- /**
291
- * The amount of assets burnt
292
- * @type {string}
293
- * @memberof Burn
294
- */
295
- 'amount': string;
296
- /**
297
- *
298
- * @type {ActivityAsset}
299
- * @memberof Burn
300
- */
301
- 'asset': ActivityAsset;
302
- }
303
-
304
- /**
305
- * Immutable zkEVM API
306
- * Immutable Multi Rollup API
307
- *
308
- * The version of the OpenAPI document: 1.0.0
309
- * Contact: support@immutable.com
310
- *
311
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
312
- * https://openapi-generator.tech
313
- * Do not edit the class manually.
314
- */
315
-
316
- /**
317
- * The deposit activity details
318
- * @export
319
- * @interface Deposit
320
- */
321
- interface Deposit {
322
- /**
323
- * The account address the asset was deposited to
324
- * @type {string}
325
- * @memberof Deposit
326
- */
327
- 'to': string;
328
- /**
329
- * The deposited amount
330
- * @type {string}
331
- * @memberof Deposit
332
- */
333
- 'amount': string;
334
- /**
335
- *
336
- * @type {ActivityAsset}
337
- * @memberof Deposit
338
- */
339
- 'asset': ActivityAsset;
340
- }
341
-
342
- /**
343
- * Immutable zkEVM API
344
- * Immutable Multi Rollup API
345
- *
346
- * The version of the OpenAPI document: 1.0.0
347
- * Contact: support@immutable.com
348
- *
349
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
350
- * https://openapi-generator.tech
351
- * Do not edit the class manually.
352
- */
353
-
354
- /**
355
- * The mint activity details
356
- * @export
357
- * @interface Mint
358
- */
359
- interface Mint {
360
- /**
361
- * The account address the asset was minted to
362
- * @type {string}
363
- * @memberof Mint
364
- */
365
- 'to': string;
366
- /**
367
- * The minted amount
368
- * @type {string}
369
- * @memberof Mint
370
- */
371
- 'amount': string;
372
- /**
373
- *
374
- * @type {ActivityAsset}
375
- * @memberof Mint
376
- */
377
- 'asset': ActivityAsset;
378
- }
379
-
380
- /**
381
- * Immutable zkEVM API
382
- * Immutable Multi Rollup API
383
- *
384
- * The version of the OpenAPI document: 1.0.0
385
- * Contact: support@immutable.com
386
- *
387
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
388
- * https://openapi-generator.tech
389
- * Do not edit the class manually.
390
- */
391
- /**
392
- *
393
- * @export
394
- * @interface SaleFee
395
- */
396
- interface SaleFee {
397
- /**
398
- * Fee payable to recipient upon settlement
399
- * @type {string}
400
- * @memberof SaleFee
401
- */
402
- 'amount'?: string;
403
- /**
404
- * Fee type
405
- * @type {string}
406
- * @memberof SaleFee
407
- */
408
- 'type'?: SaleFeeTypeEnum;
409
- /**
410
- * Wallet address of fee recipient
411
- * @type {string}
412
- * @memberof SaleFee
413
- */
414
- 'recipient'?: string;
415
- }
416
- declare const SaleFeeTypeEnum: {
417
- readonly Royalty: "ROYALTY";
418
- };
419
- type SaleFeeTypeEnum = typeof SaleFeeTypeEnum[keyof typeof SaleFeeTypeEnum];
420
-
421
- /**
422
- * Immutable zkEVM API
423
- * Immutable Multi Rollup API
424
- *
425
- * The version of the OpenAPI document: 1.0.0
426
- * Contact: support@immutable.com
427
- *
428
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
429
- * https://openapi-generator.tech
430
- * Do not edit the class manually.
431
- */
432
- /**
433
- *
434
- * @export
435
- * @interface ActivityNativeToken
436
- */
437
- interface ActivityNativeToken {
438
- /**
439
- * The token symbol
440
- * @type {string}
441
- * @memberof ActivityNativeToken
442
- */
443
- 'symbol': string;
444
- }
445
-
446
- /**
447
- * Immutable zkEVM API
448
- * Immutable Multi Rollup API
449
- *
450
- * The version of the OpenAPI document: 1.0.0
451
- * Contact: support@immutable.com
452
- *
453
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
454
- * https://openapi-generator.tech
455
- * Do not edit the class manually.
456
- */
457
-
458
- /**
459
- * @type SalePaymentToken
460
- * The type of payment token
461
- * @export
462
- */
463
- type SalePaymentToken = ActivityNativeToken | ActivityToken;
464
-
465
- /**
466
- * Immutable zkEVM API
467
- * Immutable Multi Rollup API
468
- *
469
- * The version of the OpenAPI document: 1.0.0
470
- * Contact: support@immutable.com
471
- *
472
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
473
- * https://openapi-generator.tech
474
- * Do not edit the class manually.
475
- */
476
-
477
- /**
478
- *
479
- * @export
480
- * @interface SalePayment
481
- */
482
- interface SalePayment {
483
- /**
484
- *
485
- * @type {SalePaymentToken}
486
- * @memberof SalePayment
487
- */
488
- 'token': SalePaymentToken;
489
- /**
490
- * The base price of the sale not including any fees
491
- * @type {string}
492
- * @memberof SalePayment
493
- */
494
- 'price_excluding_fees': string;
495
- /**
496
- * The total price of the sale. Includes the sum of all fees
497
- * @type {string}
498
- * @memberof SalePayment
499
- */
500
- 'price_including_fees': string;
501
- /**
502
- * The fees associated with this sale
503
- * @type {Array<SaleFee>}
504
- * @memberof SalePayment
505
- */
506
- 'fees': Array<SaleFee>;
507
- }
508
-
509
- /**
510
- * Immutable zkEVM API
511
- * Immutable Multi Rollup API
512
- *
513
- * The version of the OpenAPI document: 1.0.0
514
- * Contact: support@immutable.com
515
- *
516
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
517
- * https://openapi-generator.tech
518
- * Do not edit the class manually.
519
- */
520
-
521
- /**
522
- * The NFT Sale activity details
523
- * @export
524
- * @interface NFTSale
525
- */
526
- interface NFTSale {
527
- /**
528
- * The id of order
529
- * @type {string}
530
- * @memberof NFTSale
531
- */
532
- 'order_id': string;
533
- /**
534
- * The account address of buyer
535
- * @type {string}
536
- * @memberof NFTSale
537
- */
538
- 'to': string;
539
- /**
540
- * The account address of seller
541
- * @type {string}
542
- * @memberof NFTSale
543
- */
544
- 'from': string;
545
- /**
546
- *
547
- * @type {Array<ActivityNFT>}
548
- * @memberof NFTSale
549
- */
550
- 'asset': Array<ActivityNFT>;
551
- /**
552
- *
553
- * @type {SalePayment}
554
- * @memberof NFTSale
555
- */
556
- 'payment': SalePayment;
557
- }
558
-
559
- /**
560
- * Immutable zkEVM API
561
- * Immutable Multi Rollup API
562
- *
563
- * The version of the OpenAPI document: 1.0.0
564
- * Contact: support@immutable.com
565
- *
566
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
567
- * https://openapi-generator.tech
568
- * Do not edit the class manually.
569
- */
570
-
571
- /**
572
- * The transfer activity details
573
- * @export
574
- * @interface Transfer
575
- */
576
- interface Transfer {
577
- /**
578
- * The account address the asset was transferred from
579
- * @type {string}
580
- * @memberof Transfer
581
- */
582
- 'from': string;
583
- /**
584
- * The account address the asset was transferred to
585
- * @type {string}
586
- * @memberof Transfer
587
- */
588
- 'to': string;
589
- /**
590
- * The amount of assets transferred
591
- * @type {string}
592
- * @memberof Transfer
593
- */
594
- 'amount': string;
595
- /**
596
- *
597
- * @type {ActivityAsset}
598
- * @memberof Transfer
599
- */
600
- 'asset': ActivityAsset;
601
- }
602
-
603
- /**
604
- * Immutable zkEVM API
605
- * Immutable Multi Rollup API
606
- *
607
- * The version of the OpenAPI document: 1.0.0
608
- * Contact: support@immutable.com
609
- *
610
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
611
- * https://openapi-generator.tech
612
- * Do not edit the class manually.
613
- */
614
-
615
- /**
616
- * The withdrawal activity details
617
- * @export
618
- * @interface Withdrawal
619
- */
620
- interface Withdrawal {
621
- /**
622
- * The account address the asset was withdrawn from
623
- * @type {string}
624
- * @memberof Withdrawal
625
- */
626
- 'from': string;
627
- /**
628
- * The amount of assets withdrawn
629
- * @type {string}
630
- * @memberof Withdrawal
631
- */
632
- 'amount': string;
633
- /**
634
- *
635
- * @type {ActivityAsset}
636
- * @memberof Withdrawal
637
- */
638
- 'asset': ActivityAsset;
639
- }
640
-
641
- /**
642
- * Immutable zkEVM API
643
- * Immutable Multi Rollup API
644
- *
645
- * The version of the OpenAPI document: 1.0.0
646
- * Contact: support@immutable.com
647
- *
648
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
649
- * https://openapi-generator.tech
650
- * Do not edit the class manually.
651
- */
652
-
653
- /**
654
- * @type ActivityDetails
655
- * The activity details
656
- * @export
657
- */
658
- type ActivityDetails = Burn | Deposit | Mint | NFTSale | Transfer | Withdrawal;
659
-
660
- /**
661
- * Immutable zkEVM API
662
- * Immutable Multi Rollup API
663
- *
664
- * The version of the OpenAPI document: 1.0.0
665
- * Contact: support@immutable.com
666
- *
667
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
668
- * https://openapi-generator.tech
669
- * Do not edit the class manually.
670
- */
671
- /**
672
- * The activity type
673
- * @export
674
- * @enum {string}
675
- */
676
- declare const ActivityType: {
677
- readonly Mint: "mint";
678
- readonly Burn: "burn";
679
- readonly Transfer: "transfer";
680
- readonly Sale: "sale";
681
- readonly Deposit: "deposit";
682
- readonly Withdrawal: "withdrawal";
683
- };
684
- type ActivityType = typeof ActivityType[keyof typeof ActivityType];
685
-
686
- /**
687
- * Immutable zkEVM API
688
- * Immutable Multi Rollup API
689
- *
690
- * The version of the OpenAPI document: 1.0.0
691
- * Contact: support@immutable.com
692
- *
693
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
694
- * https://openapi-generator.tech
695
- * Do not edit the class manually.
696
- */
697
- /**
698
- * The metadata related to blockchain transaction
699
- * @export
700
- * @interface BlockchainMetadata
701
- */
702
- interface BlockchainMetadata {
703
- /**
704
- * The transaction hash of the activity
705
- * @type {string}
706
- * @memberof BlockchainMetadata
707
- */
708
- 'transaction_hash': string;
709
- /**
710
- * EVM block number (uint64 as string)
711
- * @type {string}
712
- * @memberof BlockchainMetadata
713
- */
714
- 'block_number': string;
715
- /**
716
- * Transaction index in a block (uint32 as string)
717
- * @type {string}
718
- * @memberof BlockchainMetadata
719
- */
720
- 'transaction_index': string;
721
- /**
722
- * The log index of activity in a block (uint32 as string)
723
- * @type {string}
724
- * @memberof BlockchainMetadata
725
- */
726
- 'log_index': string | null;
727
- }
728
-
729
- /**
730
- * Immutable zkEVM API
731
- * Immutable Multi Rollup API
732
- *
733
- * The version of the OpenAPI document: 1.0.0
734
- * Contact: support@immutable.com
735
- *
736
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
737
- * https://openapi-generator.tech
738
- * Do not edit the class manually.
739
- */
740
- /**
741
- * The chain details
742
- * @export
743
- * @interface Chain
744
- */
745
- interface Chain {
746
- /**
747
- * The id of chain
748
- * @type {string}
749
- * @memberof Chain
750
- */
751
- 'id': string;
752
- /**
753
- * The name of chain
754
- * @type {string}
755
- * @memberof Chain
756
- */
757
- 'name': string;
758
- }
759
-
760
- /**
761
- * Immutable zkEVM API
762
- * Immutable Multi Rollup API
763
- *
764
- * The version of the OpenAPI document: 1.0.0
765
- * Contact: support@immutable.com
766
- *
767
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
768
- * https://openapi-generator.tech
769
- * Do not edit the class manually.
770
- */
771
-
772
- /**
773
- *
774
- * @export
775
- * @interface Activity
776
- */
777
- interface Activity {
778
- /**
779
- * Activity id in UUIDv4 format
780
- * @type {string}
781
- * @memberof Activity
782
- */
783
- 'id': string;
784
- /**
785
- *
786
- * @type {Chain}
787
- * @memberof Activity
788
- */
789
- 'chain': Chain;
790
- /**
791
- *
792
- * @type {ActivityType}
793
- * @memberof Activity
794
- */
795
- 'type': ActivityType;
796
- /**
797
- *
798
- * @type {ActivityDetails}
799
- * @memberof Activity
800
- */
801
- 'details': ActivityDetails;
802
- /**
803
- * The time activity was updated at
804
- * @type {string}
805
- * @memberof Activity
806
- */
807
- 'updated_at': string;
808
- /**
809
- * The time activity was indexed
810
- * @type {string}
811
- * @memberof Activity
812
- */
813
- 'indexed_at': string;
814
- /**
815
- *
816
- * @type {BlockchainMetadata}
817
- * @memberof Activity
818
- */
819
- 'blockchain_metadata': BlockchainMetadata | null;
820
- }
821
-
822
- /**
823
- * Immutable zkEVM API
824
- * Immutable Multi Rollup API
825
- *
826
- * The version of the OpenAPI document: 1.0.0
827
- * Contact: support@immutable.com
828
- *
829
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
830
- * https://openapi-generator.tech
831
- * Do not edit the class manually.
832
- */
833
- /**
834
- * The verification status for a given contract
835
- * @export
836
- * @enum {string}
837
- */
838
- declare const AssetVerificationStatus: {
839
- readonly Verified: "verified";
840
- readonly Unverified: "unverified";
841
- readonly Spam: "spam";
842
- readonly Inactive: "inactive";
843
- };
844
- type AssetVerificationStatus = typeof AssetVerificationStatus[keyof typeof AssetVerificationStatus];
845
-
846
- /**
847
- * Immutable zkEVM API
848
- * Immutable Multi Rollup API
849
- *
850
- * The version of the OpenAPI document: 1.0.0
851
- * Contact: support@immutable.com
852
- *
853
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
854
- * https://openapi-generator.tech
855
- * Do not edit the class manually.
856
- */
857
- /**
858
- *
859
- * @export
860
- * @interface ChainWithDetailsAllOf
861
- */
862
- interface ChainWithDetailsAllOf {
863
- /**
864
- * URL for RPC node
865
- * @type {string}
866
- * @memberof ChainWithDetailsAllOf
867
- */
868
- 'rpc_url': string | null;
869
- }
870
-
871
- /**
872
- * Immutable zkEVM API
873
- * Immutable Multi Rollup API
874
- *
875
- * The version of the OpenAPI document: 1.0.0
876
- * Contact: support@immutable.com
877
- *
878
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
879
- * https://openapi-generator.tech
880
- * Do not edit the class manually.
881
- */
882
-
883
- /**
884
- * @type ChainWithDetails
885
- * @export
886
- */
887
- type ChainWithDetails = Chain & ChainWithDetailsAllOf;
888
-
889
- /**
890
- * Immutable zkEVM API
891
- * Immutable Multi Rollup API
892
- *
893
- * The version of the OpenAPI document: 1.0.0
894
- * Contact: support@immutable.com
895
- *
896
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
897
- * https://openapi-generator.tech
898
- * Do not edit the class manually.
899
- */
900
- /**
901
- * The collection contract type
902
- * @export
903
- * @enum {string}
904
- */
905
- declare const CollectionContractType: {
906
- readonly Erc721: "ERC721";
907
- readonly Erc1155: "ERC1155";
908
- };
909
- type CollectionContractType = typeof CollectionContractType[keyof typeof CollectionContractType];
910
-
911
- /**
912
- * Immutable zkEVM API
913
- * Immutable Multi Rollup API
914
- *
915
- * The version of the OpenAPI document: 1.0.0
916
- * Contact: support@immutable.com
917
- *
918
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
919
- * https://openapi-generator.tech
920
- * Do not edit the class manually.
921
- */
922
-
923
- /**
924
- *
925
- * @export
926
- * @interface Collection
927
- */
928
- interface Collection {
929
- /**
930
- *
931
- * @type {Chain}
932
- * @memberof Collection
933
- */
934
- 'chain': Chain;
935
- /**
936
- * The name of the collection
937
- * @type {string}
938
- * @memberof Collection
939
- */
940
- 'name': string | null;
941
- /**
942
- * The symbol of contract
943
- * @type {string}
944
- * @memberof Collection
945
- */
946
- 'symbol': string | null;
947
- /**
948
- *
949
- * @type {CollectionContractType}
950
- * @memberof Collection
951
- */
952
- 'contract_type': CollectionContractType;
953
- /**
954
- * The address of the contract
955
- * @type {string}
956
- * @memberof Collection
957
- */
958
- 'contract_address': string;
959
- /**
960
- * The description of collection
961
- * @type {string}
962
- * @memberof Collection
963
- */
964
- 'description': string | null;
965
- /**
966
- * The url of the collection image
967
- * @type {string}
968
- * @memberof Collection
969
- */
970
- 'image': string | null;
971
- /**
972
- * The url of external link
973
- * @type {string}
974
- * @memberof Collection
975
- */
976
- 'external_link': string | null;
977
- /**
978
- * The uri for the metadata of the collection
979
- * @type {string}
980
- * @memberof Collection
981
- */
982
- 'contract_uri'?: string | null;
983
- /**
984
- * The metadata uri for nft
985
- * @type {string}
986
- * @memberof Collection
987
- */
988
- 'base_uri': string | null;
989
- /**
990
- *
991
- * @type {AssetVerificationStatus}
992
- * @memberof Collection
993
- */
994
- 'verification_status': AssetVerificationStatus;
995
- /**
996
- * When the collection was first indexed
997
- * @type {string}
998
- * @memberof Collection
999
- */
1000
- 'indexed_at': string;
1001
- /**
1002
- * When the collection was last updated
1003
- * @type {string}
1004
- * @memberof Collection
1005
- */
1006
- 'updated_at': string;
1007
- /**
1008
- * When the collection metadata was last synced
1009
- * @type {string}
1010
- * @memberof Collection
1011
- */
1012
- 'metadata_synced_at': string | null;
1013
- }
1014
-
1015
- /**
1016
- * Immutable zkEVM API
1017
- * Immutable Multi Rollup API
1018
- *
1019
- * The version of the OpenAPI document: 1.0.0
1020
- * Contact: support@immutable.com
1021
- *
1022
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1023
- * https://openapi-generator.tech
1024
- * Do not edit the class manually.
1025
- */
1026
- /**
1027
- *
1028
- * @export
1029
- * @interface CollectionMetadata
1030
- */
1031
- interface CollectionMetadata {
1032
- /**
1033
- * The name of the collection
1034
- * @type {string}
1035
- * @memberof CollectionMetadata
1036
- */
1037
- 'name': string | null;
1038
- /**
1039
- * The symbol of contract
1040
- * @type {string}
1041
- * @memberof CollectionMetadata
1042
- */
1043
- 'symbol': string | null;
1044
- /**
1045
- * The description of collection
1046
- * @type {string}
1047
- * @memberof CollectionMetadata
1048
- */
1049
- 'description': string | null;
1050
- /**
1051
- * The url of the collection image
1052
- * @type {string}
1053
- * @memberof CollectionMetadata
1054
- */
1055
- 'image': string | null;
1056
- /**
1057
- * The url of external link
1058
- * @type {string}
1059
- * @memberof CollectionMetadata
1060
- */
1061
- 'external_link': string | null;
1062
- /**
1063
- * The uri for the metadata of the collection
1064
- * @type {string}
1065
- * @memberof CollectionMetadata
1066
- */
1067
- 'contract_uri': string | null;
1068
- /**
1069
- * The metadata uri for nft
1070
- * @type {string}
1071
- * @memberof CollectionMetadata
1072
- */
1073
- 'base_uri': string | null;
1074
- }
1075
-
1076
- /**
1077
- * Immutable zkEVM API
1078
- * Immutable Multi Rollup API
1079
- *
1080
- * The version of the OpenAPI document: 1.0.0
1081
- * Contact: support@immutable.com
1082
- *
1083
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1084
- * https://openapi-generator.tech
1085
- * Do not edit the class manually.
1086
- */
1087
- /**
1088
- * @type NFTMetadataAttributeValue
1089
- * The metadata trait value
1090
- * @export
1091
- */
1092
- type NFTMetadataAttributeValue = boolean | number | string;
1093
-
1094
- /**
1095
- * Immutable zkEVM API
1096
- * Immutable Multi Rollup API
1097
- *
1098
- * The version of the OpenAPI document: 1.0.0
1099
- * Contact: support@immutable.com
1100
- *
1101
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1102
- * https://openapi-generator.tech
1103
- * Do not edit the class manually.
1104
- */
1105
-
1106
- /**
1107
- *
1108
- * @export
1109
- * @interface NFTMetadataAttribute
1110
- */
1111
- interface NFTMetadataAttribute {
1112
- /**
1113
- * The metadata trait type
1114
- * @type {string}
1115
- * @memberof NFTMetadataAttribute
1116
- */
1117
- 'trait_type': string;
1118
- /**
1119
- *
1120
- * @type {NFTMetadataAttributeValue}
1121
- * @memberof NFTMetadataAttribute
1122
- */
1123
- 'value': NFTMetadataAttributeValue;
1124
- }
1125
-
1126
- /**
1127
- * Immutable zkEVM API
1128
- * Immutable Multi Rollup API
1129
- *
1130
- * The version of the OpenAPI document: 1.0.0
1131
- * Contact: support@immutable.com
1132
- *
1133
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1134
- * https://openapi-generator.tech
1135
- * Do not edit the class manually.
1136
- */
1137
-
1138
- /**
1139
- * The NFT metadata
1140
- * @export
1141
- * @interface NFTMetadataRequest
1142
- */
1143
- interface NFTMetadataRequest {
1144
- /**
1145
- * The name of the NFT
1146
- * @type {string}
1147
- * @memberof NFTMetadataRequest
1148
- */
1149
- 'name'?: string | null;
1150
- /**
1151
- * The description of the NFT
1152
- * @type {string}
1153
- * @memberof NFTMetadataRequest
1154
- */
1155
- 'description'?: string | null;
1156
- /**
1157
- * The image url of the NFT
1158
- * @type {string}
1159
- * @memberof NFTMetadataRequest
1160
- */
1161
- 'image'?: string | null;
1162
- /**
1163
- * The external link of the NFT
1164
- * @type {string}
1165
- * @memberof NFTMetadataRequest
1166
- */
1167
- 'external_url'?: string | null;
1168
- /**
1169
- * The animation url of the NFT
1170
- * @type {string}
1171
- * @memberof NFTMetadataRequest
1172
- */
1173
- 'animation_url'?: string | null;
1174
- /**
1175
- * The youtube link of the NFT
1176
- * @type {string}
1177
- * @memberof NFTMetadataRequest
1178
- */
1179
- 'youtube_url'?: string | null;
1180
- /**
1181
- * List of Metadata attributes
1182
- * @type {Array<NFTMetadataAttribute>}
1183
- * @memberof NFTMetadataRequest
1184
- */
1185
- 'attributes'?: Array<NFTMetadataAttribute> | null;
1186
- }
1187
-
1188
- /**
1189
- * Immutable zkEVM API
1190
- * Immutable Multi Rollup API
1191
- *
1192
- * The version of the OpenAPI document: 1.0.0
1193
- * Contact: support@immutable.com
1194
- *
1195
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1196
- * https://openapi-generator.tech
1197
- * Do not edit the class manually.
1198
- */
1199
-
1200
- /**
1201
- *
1202
- * @export
1203
- * @interface MintAsset
1204
- */
1205
- interface MintAsset {
1206
- /**
1207
- * The id of this asset in the system that originates the mint request
1208
- * @type {string}
1209
- * @memberof MintAsset
1210
- */
1211
- 'reference_id': string;
1212
- /**
1213
- * The address of the receiver
1214
- * @type {string}
1215
- * @memberof MintAsset
1216
- */
1217
- 'owner_address': string;
1218
- /**
1219
- * An optional `uint256` token id as string. Required for ERC1155 collections.
1220
- * @type {string}
1221
- * @memberof MintAsset
1222
- */
1223
- 'token_id'?: string | null;
1224
- /**
1225
- * Optional mount of tokens to mint. Required for ERC1155 collections. ERC712 collections can omit this field or set it to 1
1226
- * @type {string}
1227
- * @memberof MintAsset
1228
- */
1229
- 'amount'?: string | null;
1230
- /**
1231
- *
1232
- * @type {NFTMetadataRequest}
1233
- * @memberof MintAsset
1234
- */
1235
- 'metadata'?: NFTMetadataRequest;
1236
- }
1237
-
1238
- /**
1239
- * Immutable zkEVM API
1240
- * Immutable Multi Rollup API
1241
- *
1242
- * The version of the OpenAPI document: 1.0.0
1243
- * Contact: support@immutable.com
1244
- *
1245
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1246
- * https://openapi-generator.tech
1247
- * Do not edit the class manually.
1248
- */
1249
-
1250
- /**
1251
- *
1252
- * @export
1253
- * @interface CreateMintRequestRequest
1254
- */
1255
- interface CreateMintRequestRequest {
1256
- /**
1257
- * List of nft to be minted
1258
- * @type {Array<MintAsset>}
1259
- * @memberof CreateMintRequestRequest
1260
- */
1261
- 'assets': Array<MintAsset>;
1262
- }
1263
-
1264
- /**
1265
- * Immutable zkEVM API
1266
- * Immutable Multi Rollup API
1267
- *
1268
- * The version of the OpenAPI document: 1.0.0
1269
- * Contact: support@immutable.com
1270
- *
1271
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1272
- * https://openapi-generator.tech
1273
- * Do not edit the class manually.
1274
- */
1275
- /**
1276
- *
1277
- * @export
1278
- * @interface CreateMintRequestResult
1279
- */
1280
- interface CreateMintRequestResult {
1281
- /**
1282
- *
1283
- * @type {string}
1284
- * @memberof CreateMintRequestResult
1285
- */
1286
- 'imx_mint_requests_limit': string;
1287
- /**
1288
- *
1289
- * @type {string}
1290
- * @memberof CreateMintRequestResult
1291
- */
1292
- 'imx_mint_requests_limit_reset': string;
1293
- /**
1294
- *
1295
- * @type {string}
1296
- * @memberof CreateMintRequestResult
1297
- */
1298
- 'imx_remaining_mint_requests': string;
1299
- /**
1300
- *
1301
- * @type {string}
1302
- * @memberof CreateMintRequestResult
1303
- */
1304
- 'imx_mint_requests_retry_after': string;
1305
- }
1306
-
1307
- /**
1308
- * Immutable zkEVM API
1309
- * Immutable Multi Rollup API
1310
- *
1311
- * The version of the OpenAPI document: 1.0.0
1312
- * Contact: support@immutable.com
1313
- *
1314
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1315
- * https://openapi-generator.tech
1316
- * Do not edit the class manually.
1317
- */
1318
-
1319
- /**
1320
- * Single activity
1321
- * @export
1322
- * @interface GetActivityResult
1323
- */
1324
- interface GetActivityResult {
1325
- /**
1326
- *
1327
- * @type {Activity}
1328
- * @memberof GetActivityResult
1329
- */
1330
- 'result': Activity;
1331
- }
1332
-
1333
- /**
1334
- * Immutable zkEVM API
1335
- * Immutable Multi Rollup API
1336
- *
1337
- * The version of the OpenAPI document: 1.0.0
1338
- * Contact: support@immutable.com
1339
- *
1340
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1341
- * https://openapi-generator.tech
1342
- * Do not edit the class manually.
1343
- */
1344
-
1345
- /**
1346
- * Single Collection
1347
- * @export
1348
- * @interface GetCollectionResult
1349
- */
1350
- interface GetCollectionResult {
1351
- /**
1352
- *
1353
- * @type {Collection}
1354
- * @memberof GetCollectionResult
1355
- */
1356
- 'result': Collection;
1357
- }
1358
-
1359
- /**
1360
- * Immutable zkEVM API
1361
- * Immutable Multi Rollup API
1362
- *
1363
- * The version of the OpenAPI document: 1.0.0
1364
- * Contact: support@immutable.com
1365
- *
1366
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1367
- * https://openapi-generator.tech
1368
- * Do not edit the class manually.
1369
- */
1370
-
1371
- /**
1372
- *
1373
- * @export
1374
- * @interface Metadata
1375
- */
1376
- interface Metadata {
1377
- /**
1378
- * Metadata id in UUIDv4 format
1379
- * @type {string}
1380
- * @memberof Metadata
1381
- */
1382
- 'id': string;
1383
- /**
1384
- *
1385
- * @type {Chain}
1386
- * @memberof Metadata
1387
- */
1388
- 'chain': Chain;
1389
- /**
1390
- * The contract address of the metadata
1391
- * @type {string}
1392
- * @memberof Metadata
1393
- */
1394
- 'contract_address': string;
1395
- /**
1396
- * When the metadata was created
1397
- * @type {string}
1398
- * @memberof Metadata
1399
- */
1400
- 'created_at': string;
1401
- /**
1402
- * When the metadata was last updated
1403
- * @type {string}
1404
- * @memberof Metadata
1405
- */
1406
- 'updated_at': string | null;
1407
- /**
1408
- * The name of the NFT
1409
- * @type {string}
1410
- * @memberof Metadata
1411
- */
1412
- 'name': string | null;
1413
- /**
1414
- * The description of the NFT
1415
- * @type {string}
1416
- * @memberof Metadata
1417
- */
1418
- 'description': string | null;
1419
- /**
1420
- * The image url of the NFT
1421
- * @type {string}
1422
- * @memberof Metadata
1423
- */
1424
- 'image': string | null;
1425
- /**
1426
- * The external website link of NFT
1427
- * @type {string}
1428
- * @memberof Metadata
1429
- */
1430
- 'external_url'?: string | null;
1431
- /**
1432
- * The animation url of the NFT
1433
- * @type {string}
1434
- * @memberof Metadata
1435
- */
1436
- 'animation_url': string | null;
1437
- /**
1438
- * The youtube URL of NFT
1439
- * @type {string}
1440
- * @memberof Metadata
1441
- */
1442
- 'youtube_url': string | null;
1443
- /**
1444
- * List of Metadata attributes
1445
- * @type {Array<NFTMetadataAttribute>}
1446
- * @memberof Metadata
1447
- */
1448
- 'attributes': Array<NFTMetadataAttribute> | null;
1449
- }
1450
-
1451
- /**
1452
- * Immutable zkEVM API
1453
- * Immutable Multi Rollup API
1454
- *
1455
- * The version of the OpenAPI document: 1.0.0
1456
- * Contact: support@immutable.com
1457
- *
1458
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1459
- * https://openapi-generator.tech
1460
- * Do not edit the class manually.
1461
- */
1462
-
1463
- /**
1464
- * Single metadata
1465
- * @export
1466
- * @interface GetMetadataResult
1467
- */
1468
- interface GetMetadataResult {
1469
- /**
1470
- *
1471
- * @type {Metadata}
1472
- * @memberof GetMetadataResult
1473
- */
1474
- 'result': Metadata;
1475
- }
1476
-
1477
- /**
1478
- * Immutable zkEVM API
1479
- * Immutable Multi Rollup API
1480
- *
1481
- * The version of the OpenAPI document: 1.0.0
1482
- * Contact: support@immutable.com
1483
- *
1484
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1485
- * https://openapi-generator.tech
1486
- * Do not edit the class manually.
1487
- */
1488
- /**
1489
- * The error details in case the mint request fails
1490
- * @export
1491
- * @interface MintRequestErrorMessage
1492
- */
1493
- interface MintRequestErrorMessage {
1494
- /**
1495
- * An error message in case the mint request fails
1496
- * @type {string}
1497
- * @memberof MintRequestErrorMessage
1498
- */
1499
- 'message'?: string;
1500
- }
1501
-
1502
- /**
1503
- * Immutable zkEVM API
1504
- * Immutable Multi Rollup API
1505
- *
1506
- * The version of the OpenAPI document: 1.0.0
1507
- * Contact: support@immutable.com
1508
- *
1509
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1510
- * https://openapi-generator.tech
1511
- * Do not edit the class manually.
1512
- */
1513
- /**
1514
- * The status of the mint request
1515
- * @export
1516
- * @enum {string}
1517
- */
1518
- declare const MintRequestStatus: {
1519
- readonly Pending: "pending";
1520
- readonly Succeeded: "succeeded";
1521
- readonly Failed: "failed";
1522
- };
1523
- type MintRequestStatus = typeof MintRequestStatus[keyof typeof MintRequestStatus];
1524
-
1525
- /**
1526
- * Immutable zkEVM API
1527
- * Immutable Multi Rollup API
1528
- *
1529
- * The version of the OpenAPI document: 1.0.0
1530
- * Contact: support@immutable.com
1531
- *
1532
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1533
- * https://openapi-generator.tech
1534
- * Do not edit the class manually.
1535
- */
1536
-
1537
- /**
1538
- *
1539
- * @export
1540
- * @interface GetMintRequestResult
1541
- */
1542
- interface GetMintRequestResult {
1543
- /**
1544
- *
1545
- * @type {Chain}
1546
- * @memberof GetMintRequestResult
1547
- */
1548
- 'chain': Chain;
1549
- /**
1550
- * The address of the contract
1551
- * @type {string}
1552
- * @memberof GetMintRequestResult
1553
- */
1554
- 'collection_address': string;
1555
- /**
1556
- * The reference id of this mint request
1557
- * @type {string}
1558
- * @memberof GetMintRequestResult
1559
- */
1560
- 'reference_id': string;
1561
- /**
1562
- * The address of the owner of the NFT
1563
- * @type {string}
1564
- * @memberof GetMintRequestResult
1565
- */
1566
- 'owner_address': string;
1567
- /**
1568
- * An `uint256` token id as string. Only available when the mint request succeeds
1569
- * @type {string}
1570
- * @memberof GetMintRequestResult
1571
- */
1572
- 'token_id': string | null;
1573
- /**
1574
- * An `uint256` amount as string. Only relevant for mint requests on ERC1155 contracts
1575
- * @type {string}
1576
- * @memberof GetMintRequestResult
1577
- */
1578
- 'amount'?: string | null;
1579
- /**
1580
- * The id of the mint activity associated with this mint request
1581
- * @type {string}
1582
- * @memberof GetMintRequestResult
1583
- */
1584
- 'activity_id'?: string | null;
1585
- /**
1586
- * The transaction hash of the activity
1587
- * @type {string}
1588
- * @memberof GetMintRequestResult
1589
- */
1590
- 'transaction_hash': string | null;
1591
- /**
1592
- * When the mint request was created
1593
- * @type {string}
1594
- * @memberof GetMintRequestResult
1595
- */
1596
- 'created_at': string;
1597
- /**
1598
- * When the mint request was last updated
1599
- * @type {string}
1600
- * @memberof GetMintRequestResult
1601
- */
1602
- 'updated_at': string;
1603
- /**
1604
- *
1605
- * @type {MintRequestErrorMessage}
1606
- * @memberof GetMintRequestResult
1607
- */
1608
- 'error': MintRequestErrorMessage | null;
1609
- /**
1610
- *
1611
- * @type {MintRequestStatus}
1612
- * @memberof GetMintRequestResult
1613
- */
1614
- 'status': MintRequestStatus;
1615
- }
1616
-
1617
- /**
1618
- * Immutable zkEVM API
1619
- * Immutable Multi Rollup API
1620
- *
1621
- * The version of the OpenAPI document: 1.0.0
1622
- * Contact: support@immutable.com
1623
- *
1624
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1625
- * https://openapi-generator.tech
1626
- * Do not edit the class manually.
1627
- */
1628
-
1629
- /**
1630
- *
1631
- * @export
1632
- * @interface NFT
1633
- */
1634
- interface NFT {
1635
- /**
1636
- *
1637
- * @type {Chain}
1638
- * @memberof NFT
1639
- */
1640
- 'chain': Chain;
1641
- /**
1642
- * An `uint256` token id as string
1643
- * @type {string}
1644
- * @memberof NFT
1645
- */
1646
- 'token_id': string;
1647
- /**
1648
- * The contract address of the NFT
1649
- * @type {string}
1650
- * @memberof NFT
1651
- */
1652
- 'contract_address': string;
1653
- /**
1654
- *
1655
- * @type {NFTContractType}
1656
- * @memberof NFT
1657
- */
1658
- 'contract_type': NFTContractType;
1659
- /**
1660
- * When the NFT was first indexed
1661
- * @type {string}
1662
- * @memberof NFT
1663
- */
1664
- 'indexed_at': string;
1665
- /**
1666
- * When the NFT owner was last updated
1667
- * @type {string}
1668
- * @memberof NFT
1669
- */
1670
- 'updated_at': string;
1671
- /**
1672
- * When NFT metadata was last synced
1673
- * @type {string}
1674
- * @memberof NFT
1675
- */
1676
- 'metadata_synced_at': string | null;
1677
- /**
1678
- * The id of the metadata of this NFT
1679
- * @type {string}
1680
- * @memberof NFT
1681
- */
1682
- 'metadata_id'?: string | null;
1683
- /**
1684
- * The name of the NFT
1685
- * @type {string}
1686
- * @memberof NFT
1687
- */
1688
- 'name': string | null;
1689
- /**
1690
- * The description of the NFT
1691
- * @type {string}
1692
- * @memberof NFT
1693
- */
1694
- 'description': string | null;
1695
- /**
1696
- * The image url of the NFT
1697
- * @type {string}
1698
- * @memberof NFT
1699
- */
1700
- 'image': string | null;
1701
- /**
1702
- * The external website link of NFT
1703
- * @type {string}
1704
- * @memberof NFT
1705
- */
1706
- 'external_link': string | null;
1707
- /**
1708
- * The animation url of the NFT
1709
- * @type {string}
1710
- * @memberof NFT
1711
- */
1712
- 'animation_url': string | null;
1713
- /**
1714
- * The youtube URL of NFT
1715
- * @type {string}
1716
- * @memberof NFT
1717
- */
1718
- 'youtube_url': string | null;
1719
- /**
1720
- * List of NFT Metadata attributes
1721
- * @type {Array<NFTMetadataAttribute>}
1722
- * @memberof NFT
1723
- */
1724
- 'attributes': Array<NFTMetadataAttribute>;
1725
- /**
1726
- * The total supply of NFT
1727
- * @type {string}
1728
- * @memberof NFT
1729
- */
1730
- 'total_supply'?: string | null;
1731
- }
1732
-
1733
- /**
1734
- * Immutable zkEVM API
1735
- * Immutable Multi Rollup API
1736
- *
1737
- * The version of the OpenAPI document: 1.0.0
1738
- * Contact: support@immutable.com
1739
- *
1740
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1741
- * https://openapi-generator.tech
1742
- * Do not edit the class manually.
1743
- */
1744
-
1745
- /**
1746
- * Single NFT
1747
- * @export
1748
- * @interface GetNFTResult
1749
- */
1750
- interface GetNFTResult {
1751
- /**
1752
- *
1753
- * @type {NFT}
1754
- * @memberof GetNFTResult
1755
- */
1756
- 'result': NFT;
1757
- }
1758
-
1759
- /**
1760
- * Immutable zkEVM API
1761
- * Immutable Multi Rollup API
1762
- *
1763
- * The version of the OpenAPI document: 1.0.0
1764
- * Contact: support@immutable.com
1765
- *
1766
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1767
- * https://openapi-generator.tech
1768
- * Do not edit the class manually.
1769
- */
1770
-
1771
- /**
1772
- *
1773
- * @export
1774
- * @interface Token
1775
- */
1776
- interface Token {
1777
- /**
1778
- *
1779
- * @type {Chain}
1780
- * @memberof Token
1781
- */
1782
- 'chain': Chain;
1783
- /**
1784
- * The address of token contract
1785
- * @type {string}
1786
- * @memberof Token
1787
- */
1788
- 'contract_address': string;
1789
- /**
1790
- * The address of root token contract
1791
- * @type {string}
1792
- * @memberof Token
1793
- */
1794
- 'root_contract_address': string | null;
1795
- /**
1796
- * The symbol of token
1797
- * @type {string}
1798
- * @memberof Token
1799
- */
1800
- 'symbol': string | null;
1801
- /**
1802
- * The decimals of token
1803
- * @type {number}
1804
- * @memberof Token
1805
- */
1806
- 'decimals': number | null;
1807
- /**
1808
- * The image url of token
1809
- * @type {string}
1810
- * @memberof Token
1811
- */
1812
- 'image_url': string | null;
1813
- /**
1814
- * The name of token
1815
- * @type {string}
1816
- * @memberof Token
1817
- */
1818
- 'name': string | null;
1819
- /**
1820
- *
1821
- * @type {AssetVerificationStatus}
1822
- * @memberof Token
1823
- */
1824
- 'verification_status': AssetVerificationStatus;
1825
- /**
1826
- * When the collection was last updated
1827
- * @type {string}
1828
- * @memberof Token
1829
- */
1830
- 'updated_at': string;
1831
- }
1832
-
1833
- /**
1834
- * Immutable zkEVM API
1835
- * Immutable Multi Rollup API
1836
- *
1837
- * The version of the OpenAPI document: 1.0.0
1838
- * Contact: support@immutable.com
1839
- *
1840
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1841
- * https://openapi-generator.tech
1842
- * Do not edit the class manually.
1843
- */
1844
-
1845
- /**
1846
- * Single Token
1847
- * @export
1848
- * @interface GetTokenResult
1849
- */
1850
- interface GetTokenResult {
1851
- /**
1852
- *
1853
- * @type {Token}
1854
- * @memberof GetTokenResult
1855
- */
1856
- 'result': Token;
1857
- }
1858
-
1859
- /**
1860
- * Immutable zkEVM API
1861
- * Immutable Multi Rollup API
1862
- *
1863
- * The version of the OpenAPI document: 1.0.0
1864
- * Contact: support@immutable.com
1865
- *
1866
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1867
- * https://openapi-generator.tech
1868
- * Do not edit the class manually.
1869
- */
1870
- /**
1871
- * Pagination properties
1872
- * @export
1873
- * @interface Page
1874
- */
1875
- interface Page {
1876
- /**
1877
- * First item as an encoded string
1878
- * @type {string}
1879
- * @memberof Page
1880
- */
1881
- 'previous_cursor': string | null;
1882
- /**
1883
- * Last item as an encoded string
1884
- * @type {string}
1885
- * @memberof Page
1886
- */
1887
- 'next_cursor': string | null;
1888
- }
1889
-
1890
- /**
1891
- * Immutable zkEVM API
1892
- * Immutable Multi Rollup API
1893
- *
1894
- * The version of the OpenAPI document: 1.0.0
1895
- * Contact: support@immutable.com
1896
- *
1897
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1898
- * https://openapi-generator.tech
1899
- * Do not edit the class manually.
1900
- */
1901
-
1902
- /**
1903
- * List activities response
1904
- * @export
1905
- * @interface ListActivitiesResult
1906
- */
1907
- interface ListActivitiesResult {
1908
- /**
1909
- * List of activities
1910
- * @type {Array<Activity>}
1911
- * @memberof ListActivitiesResult
1912
- */
1913
- 'result': Array<Activity>;
1914
- /**
1915
- *
1916
- * @type {Page}
1917
- * @memberof ListActivitiesResult
1918
- */
1919
- 'page': Page;
1920
- }
1921
-
1922
- /**
1923
- * Immutable zkEVM API
1924
- * Immutable Multi Rollup API
1925
- *
1926
- * The version of the OpenAPI document: 1.0.0
1927
- * Contact: support@immutable.com
1928
- *
1929
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1930
- * https://openapi-generator.tech
1931
- * Do not edit the class manually.
1932
- */
1933
-
1934
- /**
1935
- *
1936
- * @export
1937
- * @interface ListChainsResult
1938
- */
1939
- interface ListChainsResult {
1940
- /**
1941
- * List of chains
1942
- * @type {Array<ChainWithDetails>}
1943
- * @memberof ListChainsResult
1944
- */
1945
- 'result': Array<ChainWithDetails>;
1946
- /**
1947
- *
1948
- * @type {Page}
1949
- * @memberof ListChainsResult
1950
- */
1951
- 'page': Page;
1952
- }
1953
-
1954
- /**
1955
- * Immutable zkEVM API
1956
- * Immutable Multi Rollup API
1957
- *
1958
- * The version of the OpenAPI document: 1.0.0
1959
- * Contact: support@immutable.com
1960
- *
1961
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1962
- * https://openapi-generator.tech
1963
- * Do not edit the class manually.
1964
- */
1965
-
1966
- /**
1967
- *
1968
- * @export
1969
- * @interface ListCollectionsResult
1970
- */
1971
- interface ListCollectionsResult {
1972
- /**
1973
- * List of collections
1974
- * @type {Array<Collection>}
1975
- * @memberof ListCollectionsResult
1976
- */
1977
- 'result': Array<Collection>;
1978
- /**
1979
- *
1980
- * @type {Page}
1981
- * @memberof ListCollectionsResult
1982
- */
1983
- 'page': Page;
1984
- }
1985
-
1986
- /**
1987
- * Immutable zkEVM API
1988
- * Immutable Multi Rollup API
1989
- *
1990
- * The version of the OpenAPI document: 1.0.0
1991
- * Contact: support@immutable.com
1992
- *
1993
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1994
- * https://openapi-generator.tech
1995
- * Do not edit the class manually.
1996
- */
1997
-
1998
- /**
1999
- *
2000
- * @export
2001
- * @interface ListMetadataResult
2002
- */
2003
- interface ListMetadataResult {
2004
- /**
2005
- * List of metadata
2006
- * @type {Array<Metadata>}
2007
- * @memberof ListMetadataResult
2008
- */
2009
- 'result': Array<Metadata>;
2010
- /**
2011
- *
2012
- * @type {Page}
2013
- * @memberof ListMetadataResult
2014
- */
2015
- 'page': Page;
2016
- }
2017
-
2018
- /**
2019
- * Immutable zkEVM API
2020
- * Immutable Multi Rollup API
2021
- *
2022
- * The version of the OpenAPI document: 1.0.0
2023
- * Contact: support@immutable.com
2024
- *
2025
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2026
- * https://openapi-generator.tech
2027
- * Do not edit the class manually.
2028
- */
2029
-
2030
- /**
2031
- * List mint requests
2032
- * @export
2033
- * @interface ListMintRequestsResult
2034
- */
2035
- interface ListMintRequestsResult {
2036
- /**
2037
- * List of mint requests
2038
- * @type {Array<GetMintRequestResult>}
2039
- * @memberof ListMintRequestsResult
2040
- */
2041
- 'result': Array<GetMintRequestResult>;
2042
- /**
2043
- *
2044
- * @type {Page}
2045
- * @memberof ListMintRequestsResult
2046
- */
2047
- 'page': Page;
2048
- }
2049
-
2050
- /**
2051
- * Immutable zkEVM API
2052
- * Immutable Multi Rollup API
2053
- *
2054
- * The version of the OpenAPI document: 1.0.0
2055
- * Contact: support@immutable.com
2056
- *
2057
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2058
- * https://openapi-generator.tech
2059
- * Do not edit the class manually.
2060
- */
2061
-
2062
- /**
2063
- *
2064
- * @export
2065
- * @interface NFTOwner
2066
- */
2067
- interface NFTOwner {
2068
- /**
2069
- *
2070
- * @type {Chain}
2071
- * @memberof NFTOwner
2072
- */
2073
- 'chain': Chain;
2074
- /**
2075
- * The address of NFT contract
2076
- * @type {string}
2077
- * @memberof NFTOwner
2078
- */
2079
- 'contract_address': string;
2080
- /**
2081
- * An `uint256` token id as string
2082
- * @type {string}
2083
- * @memberof NFTOwner
2084
- */
2085
- 'token_id': string;
2086
- /**
2087
- * The account address of the owner of the NFT
2088
- * @type {string}
2089
- * @memberof NFTOwner
2090
- */
2091
- 'account_address': string;
2092
- /**
2093
- * (deprecated - use balance instead) The quantity of owned tokens (uint256 as string)
2094
- * @type {string}
2095
- * @memberof NFTOwner
2096
- * @deprecated
2097
- */
2098
- 'quantity': string;
2099
- /**
2100
- * The amount of owned tokens (uint256 as string)
2101
- * @type {string}
2102
- * @memberof NFTOwner
2103
- */
2104
- 'balance': string;
2105
- /**
2106
- * When the NFT owner was last updated
2107
- * @type {string}
2108
- * @memberof NFTOwner
2109
- */
2110
- 'updated_at'?: string;
2111
- }
2112
-
2113
- /**
2114
- * Immutable zkEVM API
2115
- * Immutable Multi Rollup API
2116
- *
2117
- * The version of the OpenAPI document: 1.0.0
2118
- * Contact: support@immutable.com
2119
- *
2120
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2121
- * https://openapi-generator.tech
2122
- * Do not edit the class manually.
2123
- */
2124
-
2125
- /**
2126
- *
2127
- * @export
2128
- * @interface ListNFTOwnersResult
2129
- */
2130
- interface ListNFTOwnersResult {
2131
- /**
2132
- * List of nft owners
2133
- * @type {Array<NFTOwner>}
2134
- * @memberof ListNFTOwnersResult
2135
- */
2136
- 'result': Array<NFTOwner>;
2137
- /**
2138
- *
2139
- * @type {Page}
2140
- * @memberof ListNFTOwnersResult
2141
- */
2142
- 'page': Page;
2143
- }
2144
-
2145
- /**
2146
- * Immutable zkEVM API
2147
- * Immutable Multi Rollup API
2148
- *
2149
- * The version of the OpenAPI document: 1.0.0
2150
- * Contact: support@immutable.com
2151
- *
2152
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2153
- * https://openapi-generator.tech
2154
- * Do not edit the class manually.
2155
- */
2156
-
2157
- /**
2158
- *
2159
- * @export
2160
- * @interface ListNFTsResult
2161
- */
2162
- interface ListNFTsResult {
2163
- /**
2164
- * List of NFTs
2165
- * @type {Array<NFT>}
2166
- * @memberof ListNFTsResult
2167
- */
2168
- 'result': Array<NFT>;
2169
- /**
2170
- *
2171
- * @type {Page}
2172
- * @memberof ListNFTsResult
2173
- */
2174
- 'page': Page;
2175
- }
2176
-
2177
- /**
2178
- * Immutable zkEVM API
2179
- * Immutable Multi Rollup API
2180
- *
2181
- * The version of the OpenAPI document: 1.0.0
2182
- * Contact: support@immutable.com
2183
- *
2184
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2185
- * https://openapi-generator.tech
2186
- * Do not edit the class manually.
2187
- */
2188
-
2189
- /**
2190
- *
2191
- * @export
2192
- * @interface ListTokensResult
2193
- */
2194
- interface ListTokensResult {
2195
- /**
2196
- * List of tokens
2197
- * @type {Array<Token>}
2198
- * @memberof ListTokensResult
2199
- */
2200
- 'result': Array<Token>;
2201
- /**
2202
- *
2203
- * @type {Page}
2204
- * @memberof ListTokensResult
2205
- */
2206
- 'page': Page;
2207
- }
2208
-
2209
- /**
2210
- * Immutable zkEVM API
2211
- * Immutable Multi Rollup API
2212
- *
2213
- * The version of the OpenAPI document: 1.0.0
2214
- * Contact: support@immutable.com
2215
- *
2216
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2217
- * https://openapi-generator.tech
2218
- * Do not edit the class manually.
2219
- */
2220
- /**
2221
- *
2222
- * @export
2223
- * @interface MetadataRefreshRateLimitResult
2224
- */
2225
- interface MetadataRefreshRateLimitResult {
2226
- /**
2227
- *
2228
- * @type {string}
2229
- * @memberof MetadataRefreshRateLimitResult
2230
- */
2231
- 'imx_refreshes_limit': string;
2232
- /**
2233
- *
2234
- * @type {string}
2235
- * @memberof MetadataRefreshRateLimitResult
2236
- */
2237
- 'imx_refresh_limit_reset': string;
2238
- /**
2239
- *
2240
- * @type {string}
2241
- * @memberof MetadataRefreshRateLimitResult
2242
- */
2243
- 'imx_remaining_refreshes': string;
2244
- /**
2245
- *
2246
- * @type {string}
2247
- * @memberof MetadataRefreshRateLimitResult
2248
- */
2249
- 'retry_after': string;
2250
- }
2251
-
2252
- /**
2253
- * Immutable zkEVM API
2254
- * Immutable Multi Rollup API
2255
- *
2256
- * The version of the OpenAPI document: 1.0.0
2257
- * Contact: support@immutable.com
2258
- *
2259
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2260
- * https://openapi-generator.tech
2261
- * Do not edit the class manually.
2262
- */
2263
-
2264
- /**
2265
- *
2266
- * @export
2267
- * @interface RefreshCollectionMetadataRequest
2268
- */
2269
- interface RefreshCollectionMetadataRequest {
2270
- /**
2271
- *
2272
- * @type {CollectionMetadata}
2273
- * @memberof RefreshCollectionMetadataRequest
2274
- */
2275
- 'collection_metadata': CollectionMetadata;
2276
- }
2277
-
2278
- /**
2279
- * Immutable zkEVM API
2280
- * Immutable Multi Rollup API
2281
- *
2282
- * The version of the OpenAPI document: 1.0.0
2283
- * Contact: support@immutable.com
2284
- *
2285
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2286
- * https://openapi-generator.tech
2287
- * Do not edit the class manually.
2288
- */
2289
-
2290
- /**
2291
- *
2292
- * @export
2293
- * @interface RefreshCollectionMetadataResult
2294
- */
2295
- interface RefreshCollectionMetadataResult {
2296
- /**
2297
- *
2298
- * @type {string}
2299
- * @memberof RefreshCollectionMetadataResult
2300
- */
2301
- 'contract_address': string;
2302
- /**
2303
- *
2304
- * @type {Chain}
2305
- * @memberof RefreshCollectionMetadataResult
2306
- */
2307
- 'chain': Chain;
2308
- /**
2309
- *
2310
- * @type {CollectionMetadata}
2311
- * @memberof RefreshCollectionMetadataResult
2312
- */
2313
- 'collection_metadata': CollectionMetadata;
2314
- }
2315
-
2316
- /**
2317
- * Immutable zkEVM API
2318
- * Immutable Multi Rollup API
2319
- *
2320
- * The version of the OpenAPI document: 1.0.0
2321
- * Contact: support@immutable.com
2322
- *
2323
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2324
- * https://openapi-generator.tech
2325
- * Do not edit the class manually.
2326
- */
2327
- /**
2328
- *
2329
- * @export
2330
- * @interface RefreshMetadataByIDAllOf
2331
- */
2332
- interface RefreshMetadataByIDAllOf {
2333
- /**
2334
- * Metadata id in UUIDv4 format
2335
- * @type {string}
2336
- * @memberof RefreshMetadataByIDAllOf
2337
- */
2338
- 'metadata_id': string;
2339
- }
2340
-
2341
- /**
2342
- * Immutable zkEVM API
2343
- * Immutable Multi Rollup API
2344
- *
2345
- * The version of the OpenAPI document: 1.0.0
2346
- * Contact: support@immutable.com
2347
- *
2348
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2349
- * https://openapi-generator.tech
2350
- * Do not edit the class manually.
2351
- */
2352
-
2353
- /**
2354
- * @type RefreshableNFTAttributes
2355
- * @export
2356
- */
2357
- type RefreshableNFTAttributes = NFTMetadataRequest;
2358
-
2359
- /**
2360
- * Immutable zkEVM API
2361
- * Immutable Multi Rollup API
2362
- *
2363
- * The version of the OpenAPI document: 1.0.0
2364
- * Contact: support@immutable.com
2365
- *
2366
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2367
- * https://openapi-generator.tech
2368
- * Do not edit the class manually.
2369
- */
2370
-
2371
- /**
2372
- * @type RefreshMetadataByID
2373
- * @export
2374
- */
2375
- type RefreshMetadataByID = RefreshMetadataByIDAllOf & RefreshableNFTAttributes;
2376
-
2377
- /**
2378
- * Immutable zkEVM API
2379
- * Immutable Multi Rollup API
2380
- *
2381
- * The version of the OpenAPI document: 1.0.0
2382
- * Contact: support@immutable.com
2383
- *
2384
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2385
- * https://openapi-generator.tech
2386
- * Do not edit the class manually.
2387
- */
2388
-
2389
- /**
2390
- * Request body for refreshing metadata by id
2391
- * @export
2392
- * @interface RefreshMetadataByIDRequest
2393
- */
2394
- interface RefreshMetadataByIDRequest {
2395
- /**
2396
- *
2397
- * @type {Array<RefreshMetadataByID>}
2398
- * @memberof RefreshMetadataByIDRequest
2399
- */
2400
- 'metadata'?: Array<RefreshMetadataByID>;
2401
- }
2402
-
2403
- /**
2404
- * Immutable zkEVM API
2405
- * Immutable Multi Rollup API
2406
- *
2407
- * The version of the OpenAPI document: 1.0.0
2408
- * Contact: support@immutable.com
2409
- *
2410
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2411
- * https://openapi-generator.tech
2412
- * Do not edit the class manually.
2413
- */
2414
- /**
2415
- *
2416
- * @export
2417
- * @interface RefreshMetadataByTokenIDAllOf
2418
- */
2419
- interface RefreshMetadataByTokenIDAllOf {
2420
- /**
2421
- * An `uint256` token id as string
2422
- * @type {string}
2423
- * @memberof RefreshMetadataByTokenIDAllOf
2424
- */
2425
- 'token_id': string;
2426
- }
2427
-
2428
- /**
2429
- * Immutable zkEVM API
2430
- * Immutable Multi Rollup API
2431
- *
2432
- * The version of the OpenAPI document: 1.0.0
2433
- * Contact: support@immutable.com
2434
- *
2435
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2436
- * https://openapi-generator.tech
2437
- * Do not edit the class manually.
2438
- */
2439
-
2440
- /**
2441
- * @type RefreshMetadataByTokenID
2442
- * @export
2443
- */
2444
- type RefreshMetadataByTokenID = RefreshMetadataByTokenIDAllOf & RefreshableNFTAttributes;
2445
-
2446
- /**
2447
- * Immutable zkEVM API
2448
- * Immutable Multi Rollup API
2449
- *
2450
- * The version of the OpenAPI document: 1.0.0
2451
- * Contact: support@immutable.com
2452
- *
2453
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2454
- * https://openapi-generator.tech
2455
- * Do not edit the class manually.
2456
- */
2457
-
2458
- /**
2459
- *
2460
- * @export
2461
- * @interface RefreshNFTMetadataByTokenIDRequest
2462
- */
2463
- interface RefreshNFTMetadataByTokenIDRequest {
2464
- /**
2465
- * List of nft metadata to be refreshed
2466
- * @type {Array<RefreshMetadataByTokenID>}
2467
- * @memberof RefreshNFTMetadataByTokenIDRequest
2468
- */
2469
- 'nft_metadata': Array<RefreshMetadataByTokenID>;
2470
- }
2471
-
2472
- /**
2473
- * Request parameters for getActivity operation in ActivitiesApi.
2474
- * @export
2475
- * @interface ActivitiesApiGetActivityRequest
2476
- */
2477
- interface ActivitiesApiGetActivityRequest {
2478
- /**
2479
- * The name of chain
2480
- * @type {string}
2481
- * @memberof ActivitiesApiGetActivity
2482
- */
2483
- readonly chainName: string;
2484
- /**
2485
- * The id of activity
2486
- * @type {string}
2487
- * @memberof ActivitiesApiGetActivity
2488
- */
2489
- readonly activityId: string;
2490
- }
2491
- /**
2492
- * Request parameters for listActivities operation in ActivitiesApi.
2493
- * @export
2494
- * @interface ActivitiesApiListActivitiesRequest
2495
- */
2496
- interface ActivitiesApiListActivitiesRequest {
2497
- /**
2498
- * The name of chain
2499
- * @type {string}
2500
- * @memberof ActivitiesApiListActivities
2501
- */
2502
- readonly chainName: string;
2503
- /**
2504
- * The contract address of NFT or ERC20 Token
2505
- * @type {string}
2506
- * @memberof ActivitiesApiListActivities
2507
- */
2508
- readonly contractAddress?: string;
2509
- /**
2510
- * An &#x60;uint256&#x60; token id as string
2511
- * @type {string}
2512
- * @memberof ActivitiesApiListActivities
2513
- */
2514
- readonly tokenId?: string;
2515
- /**
2516
- * The account address activity contains
2517
- * @type {string}
2518
- * @memberof ActivitiesApiListActivities
2519
- */
2520
- readonly accountAddress?: string;
2521
- /**
2522
- * The activity type
2523
- * @type {ActivityType}
2524
- * @memberof ActivitiesApiListActivities
2525
- */
2526
- readonly activityType?: ActivityType;
2527
- /**
2528
- * The transaction hash of activity
2529
- * @type {string}
2530
- * @memberof ActivitiesApiListActivities
2531
- */
2532
- readonly transactionHash?: string;
2533
- /**
2534
- * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
2535
- * @type {string}
2536
- * @memberof ActivitiesApiListActivities
2537
- */
2538
- readonly pageCursor?: string;
2539
- /**
2540
- * Maximum number of items to return
2541
- * @type {number}
2542
- * @memberof ActivitiesApiListActivities
2543
- */
2544
- readonly pageSize?: number;
2545
- }
2546
- /**
2547
- * Request parameters for listActivityHistory operation in ActivitiesApi.
2548
- * @export
2549
- * @interface ActivitiesApiListActivityHistoryRequest
2550
- */
2551
- interface ActivitiesApiListActivityHistoryRequest {
2552
- /**
2553
- * The name of chain
2554
- * @type {string}
2555
- * @memberof ActivitiesApiListActivityHistory
2556
- */
2557
- readonly chainName: string;
2558
- /**
2559
- * From indexed at including given date
2560
- * @type {string}
2561
- * @memberof ActivitiesApiListActivityHistory
2562
- */
2563
- readonly fromUpdatedAt: string;
2564
- /**
2565
- * To indexed at including given date
2566
- * @type {string}
2567
- * @memberof ActivitiesApiListActivityHistory
2568
- */
2569
- readonly toUpdatedAt?: string;
2570
- /**
2571
- * The contract address of the collection
2572
- * @type {string}
2573
- * @memberof ActivitiesApiListActivityHistory
2574
- */
2575
- readonly contractAddress?: string;
2576
- /**
2577
- * The activity type
2578
- * @type {ActivityType}
2579
- * @memberof ActivitiesApiListActivityHistory
2580
- */
2581
- readonly activityType?: ActivityType;
2582
- /**
2583
- * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
2584
- * @type {string}
2585
- * @memberof ActivitiesApiListActivityHistory
2586
- */
2587
- readonly pageCursor?: string;
2588
- /**
2589
- * Maximum number of items to return
2590
- * @type {number}
2591
- * @memberof ActivitiesApiListActivityHistory
2592
- */
2593
- readonly pageSize?: number;
2594
- }
2595
-
2596
- /**
2597
- * Request parameters for listChains operation in ChainsApi.
2598
- * @export
2599
- * @interface ChainsApiListChainsRequest
2600
- */
2601
- interface ChainsApiListChainsRequest {
2602
- /**
2603
- * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
2604
- * @type {string}
2605
- * @memberof ChainsApiListChains
2606
- */
2607
- readonly pageCursor?: string;
2608
- /**
2609
- * Maximum number of items to return
2610
- * @type {number}
2611
- * @memberof ChainsApiListChains
2612
- */
2613
- readonly pageSize?: number;
2614
- }
2615
-
2616
- /**
2617
- * Request parameters for getCollection operation in CollectionsApi.
2618
- * @export
2619
- * @interface CollectionsApiGetCollectionRequest
2620
- */
2621
- interface CollectionsApiGetCollectionRequest {
2622
- /**
2623
- * The address contract
2624
- * @type {string}
2625
- * @memberof CollectionsApiGetCollection
2626
- */
2627
- readonly contractAddress: string;
2628
- /**
2629
- * The name of chain
2630
- * @type {string}
2631
- * @memberof CollectionsApiGetCollection
2632
- */
2633
- readonly chainName: string;
2634
- }
2635
- /**
2636
- * Request parameters for listCollections operation in CollectionsApi.
2637
- * @export
2638
- * @interface CollectionsApiListCollectionsRequest
2639
- */
2640
- interface CollectionsApiListCollectionsRequest {
2641
- /**
2642
- * The name of chain
2643
- * @type {string}
2644
- * @memberof CollectionsApiListCollections
2645
- */
2646
- readonly chainName: string;
2647
- /**
2648
- * List of contract addresses to filter by
2649
- * @type {Array<string>}
2650
- * @memberof CollectionsApiListCollections
2651
- */
2652
- readonly contractAddress?: Array<string>;
2653
- /**
2654
- * List of verification status to filter by
2655
- * @type {Array<AssetVerificationStatus>}
2656
- * @memberof CollectionsApiListCollections
2657
- */
2658
- readonly verificationStatus?: Array<AssetVerificationStatus>;
2659
- /**
2660
- * Datetime to use as the oldest updated timestamp
2661
- * @type {string}
2662
- * @memberof CollectionsApiListCollections
2663
- */
2664
- readonly fromUpdatedAt?: string;
2665
- /**
2666
- * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
2667
- * @type {string}
2668
- * @memberof CollectionsApiListCollections
2669
- */
2670
- readonly pageCursor?: string;
2671
- /**
2672
- * Maximum number of items to return
2673
- * @type {number}
2674
- * @memberof CollectionsApiListCollections
2675
- */
2676
- readonly pageSize?: number;
2677
- }
2678
- /**
2679
- * Request parameters for listCollectionsByNFTOwner operation in CollectionsApi.
2680
- * @export
2681
- * @interface CollectionsApiListCollectionsByNFTOwnerRequest
2682
- */
2683
- interface CollectionsApiListCollectionsByNFTOwnerRequest {
2684
- /**
2685
- * Account address
2686
- * @type {string}
2687
- * @memberof CollectionsApiListCollectionsByNFTOwner
2688
- */
2689
- readonly accountAddress: string;
2690
- /**
2691
- * The name of chain
2692
- * @type {string}
2693
- * @memberof CollectionsApiListCollectionsByNFTOwner
2694
- */
2695
- readonly chainName: string;
2696
- /**
2697
- * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
2698
- * @type {string}
2699
- * @memberof CollectionsApiListCollectionsByNFTOwner
2700
- */
2701
- readonly pageCursor?: string;
2702
- /**
2703
- * Maximum number of items to return
2704
- * @type {number}
2705
- * @memberof CollectionsApiListCollectionsByNFTOwner
2706
- */
2707
- readonly pageSize?: number;
2708
- }
2709
- /**
2710
- * Request parameters for refreshCollectionMetadata operation in CollectionsApi.
2711
- * @export
2712
- * @interface CollectionsApiRefreshCollectionMetadataRequest
2713
- */
2714
- interface CollectionsApiRefreshCollectionMetadataRequest {
2715
- /**
2716
- * The address contract
2717
- * @type {string}
2718
- * @memberof CollectionsApiRefreshCollectionMetadata
2719
- */
2720
- readonly contractAddress: string;
2721
- /**
2722
- * The name of chain
2723
- * @type {string}
2724
- * @memberof CollectionsApiRefreshCollectionMetadata
2725
- */
2726
- readonly chainName: string;
2727
- /**
2728
- * The request body
2729
- * @type {RefreshCollectionMetadataRequest}
2730
- * @memberof CollectionsApiRefreshCollectionMetadata
2731
- */
2732
- readonly refreshCollectionMetadataRequest: RefreshCollectionMetadataRequest;
2733
- }
2734
-
2735
- /**
2736
- * Request parameters for getMetadata operation in MetadataApi.
2737
- * @export
2738
- * @interface MetadataApiGetMetadataRequest
2739
- */
2740
- interface MetadataApiGetMetadataRequest {
2741
- /**
2742
- * The name of chain
2743
- * @type {string}
2744
- * @memberof MetadataApiGetMetadata
2745
- */
2746
- readonly chainName: string;
2747
- /**
2748
- * The address of metadata contract
2749
- * @type {string}
2750
- * @memberof MetadataApiGetMetadata
2751
- */
2752
- readonly contractAddress: string;
2753
- /**
2754
- * The id of the metadata
2755
- * @type {string}
2756
- * @memberof MetadataApiGetMetadata
2757
- */
2758
- readonly metadataId: string;
2759
- }
2760
- /**
2761
- * Request parameters for listMetadata operation in MetadataApi.
2762
- * @export
2763
- * @interface MetadataApiListMetadataRequest
2764
- */
2765
- interface MetadataApiListMetadataRequest {
2766
- /**
2767
- * The name of chain
2768
- * @type {string}
2769
- * @memberof MetadataApiListMetadata
2770
- */
2771
- readonly chainName: string;
2772
- /**
2773
- * The address of metadata contract
2774
- * @type {string}
2775
- * @memberof MetadataApiListMetadata
2776
- */
2777
- readonly contractAddress: string;
2778
- /**
2779
- * Datetime to use as the oldest updated timestamp
2780
- * @type {string}
2781
- * @memberof MetadataApiListMetadata
2782
- */
2783
- readonly fromUpdatedAt?: string;
2784
- /**
2785
- * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
2786
- * @type {string}
2787
- * @memberof MetadataApiListMetadata
2788
- */
2789
- readonly pageCursor?: string;
2790
- /**
2791
- * Maximum number of items to return
2792
- * @type {number}
2793
- * @memberof MetadataApiListMetadata
2794
- */
2795
- readonly pageSize?: number;
2796
- }
2797
- /**
2798
- * Request parameters for listMetadataForChain operation in MetadataApi.
2799
- * @export
2800
- * @interface MetadataApiListMetadataForChainRequest
2801
- */
2802
- interface MetadataApiListMetadataForChainRequest {
2803
- /**
2804
- * The name of chain
2805
- * @type {string}
2806
- * @memberof MetadataApiListMetadataForChain
2807
- */
2808
- readonly chainName: string;
2809
- /**
2810
- * Datetime to use as the oldest updated timestamp
2811
- * @type {string}
2812
- * @memberof MetadataApiListMetadataForChain
2813
- */
2814
- readonly fromUpdatedAt?: string;
2815
- /**
2816
- * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
2817
- * @type {string}
2818
- * @memberof MetadataApiListMetadataForChain
2819
- */
2820
- readonly pageCursor?: string;
2821
- /**
2822
- * Maximum number of items to return
2823
- * @type {number}
2824
- * @memberof MetadataApiListMetadataForChain
2825
- */
2826
- readonly pageSize?: number;
2827
- }
2828
- /**
2829
- * Request parameters for refreshMetadataByID operation in MetadataApi.
2830
- * @export
2831
- * @interface MetadataApiRefreshMetadataByIDRequest
2832
- */
2833
- interface MetadataApiRefreshMetadataByIDRequest {
2834
- /**
2835
- * The name of chain
2836
- * @type {string}
2837
- * @memberof MetadataApiRefreshMetadataByID
2838
- */
2839
- readonly chainName: string;
2840
- /**
2841
- * Contract address
2842
- * @type {string}
2843
- * @memberof MetadataApiRefreshMetadataByID
2844
- */
2845
- readonly contractAddress: string;
2846
- /**
2847
- * NFT Metadata Refresh Request
2848
- * @type {RefreshMetadataByIDRequest}
2849
- * @memberof MetadataApiRefreshMetadataByID
2850
- */
2851
- readonly refreshMetadataByIDRequest: RefreshMetadataByIDRequest;
2852
- }
2853
- /**
2854
- * Request parameters for refreshNFTMetadataByTokenID operation in MetadataApi.
2855
- * @export
2856
- * @interface MetadataApiRefreshNFTMetadataByTokenIDRequest
2857
- */
2858
- interface MetadataApiRefreshNFTMetadataByTokenIDRequest {
2859
- /**
2860
- * The address of contract
2861
- * @type {string}
2862
- * @memberof MetadataApiRefreshNFTMetadataByTokenID
2863
- */
2864
- readonly contractAddress: string;
2865
- /**
2866
- * The name of chain
2867
- * @type {string}
2868
- * @memberof MetadataApiRefreshNFTMetadataByTokenID
2869
- */
2870
- readonly chainName: string;
2871
- /**
2872
- * the request body
2873
- * @type {RefreshNFTMetadataByTokenIDRequest}
2874
- * @memberof MetadataApiRefreshNFTMetadataByTokenID
2875
- */
2876
- readonly refreshNFTMetadataByTokenIDRequest: RefreshNFTMetadataByTokenIDRequest;
2877
- }
2878
-
2879
- /**
2880
- * Request parameters for listNFTOwners operation in NftOwnersApi.
2881
- * @export
2882
- * @interface NftOwnersApiListNFTOwnersRequest
2883
- */
2884
- interface NftOwnersApiListNFTOwnersRequest {
2885
- /**
2886
- * The address of contract
2887
- * @type {string}
2888
- * @memberof NftOwnersApiListNFTOwners
2889
- */
2890
- readonly contractAddress: string;
2891
- /**
2892
- * An &#x60;uint256&#x60; token id as string
2893
- * @type {string}
2894
- * @memberof NftOwnersApiListNFTOwners
2895
- */
2896
- readonly tokenId: string;
2897
- /**
2898
- * The name of chain
2899
- * @type {string}
2900
- * @memberof NftOwnersApiListNFTOwners
2901
- */
2902
- readonly chainName: string;
2903
- /**
2904
- * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
2905
- * @type {string}
2906
- * @memberof NftOwnersApiListNFTOwners
2907
- */
2908
- readonly pageCursor?: string;
2909
- /**
2910
- * Maximum number of items to return
2911
- * @type {number}
2912
- * @memberof NftOwnersApiListNFTOwners
2913
- */
2914
- readonly pageSize?: number;
2915
- }
2916
- /**
2917
- * Request parameters for listOwnersByContractAddress operation in NftOwnersApi.
2918
- * @export
2919
- * @interface NftOwnersApiListOwnersByContractAddressRequest
2920
- */
2921
- interface NftOwnersApiListOwnersByContractAddressRequest {
2922
- /**
2923
- * The address of contract
2924
- * @type {string}
2925
- * @memberof NftOwnersApiListOwnersByContractAddress
2926
- */
2927
- readonly contractAddress: string;
2928
- /**
2929
- * The name of chain
2930
- * @type {string}
2931
- * @memberof NftOwnersApiListOwnersByContractAddress
2932
- */
2933
- readonly chainName: string;
2934
- /**
2935
- * List of account addresses to filter by
2936
- * @type {Array<string>}
2937
- * @memberof NftOwnersApiListOwnersByContractAddress
2938
- */
2939
- readonly accountAddress?: Array<string>;
2940
- /**
2941
- * Datetime to use as the oldest updated timestamp
2942
- * @type {string}
2943
- * @memberof NftOwnersApiListOwnersByContractAddress
2944
- */
2945
- readonly fromUpdatedAt?: string;
2946
- /**
2947
- * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
2948
- * @type {string}
2949
- * @memberof NftOwnersApiListOwnersByContractAddress
2950
- */
2951
- readonly pageCursor?: string;
2952
- /**
2953
- * Maximum number of items to return
2954
- * @type {number}
2955
- * @memberof NftOwnersApiListOwnersByContractAddress
2956
- */
2957
- readonly pageSize?: number;
2958
- }
2959
-
2960
- /**
2961
- * Request parameters for createMintRequest operation in NftsApi.
2962
- * @export
2963
- * @interface NftsApiCreateMintRequestRequest
2964
- */
2965
- interface NftsApiCreateMintRequestRequest {
2966
- /**
2967
- * The address of contract
2968
- * @type {string}
2969
- * @memberof NftsApiCreateMintRequest
2970
- */
2971
- readonly contractAddress: string;
2972
- /**
2973
- * The name of chain
2974
- * @type {string}
2975
- * @memberof NftsApiCreateMintRequest
2976
- */
2977
- readonly chainName: string;
2978
- /**
2979
- * Create Mint Request Body
2980
- * @type {CreateMintRequestRequest}
2981
- * @memberof NftsApiCreateMintRequest
2982
- */
2983
- readonly createMintRequestRequest: CreateMintRequestRequest;
2984
- }
2985
- /**
2986
- * Request parameters for getMintRequest operation in NftsApi.
2987
- * @export
2988
- * @interface NftsApiGetMintRequestRequest
2989
- */
2990
- interface NftsApiGetMintRequestRequest {
2991
- /**
2992
- * The address of contract
2993
- * @type {string}
2994
- * @memberof NftsApiGetMintRequest
2995
- */
2996
- readonly contractAddress: string;
2997
- /**
2998
- * The name of chain
2999
- * @type {string}
3000
- * @memberof NftsApiGetMintRequest
3001
- */
3002
- readonly chainName: string;
3003
- /**
3004
- * The id of the mint request
3005
- * @type {string}
3006
- * @memberof NftsApiGetMintRequest
3007
- */
3008
- readonly referenceId: string;
3009
- }
3010
- /**
3011
- * Request parameters for getNFT operation in NftsApi.
3012
- * @export
3013
- * @interface NftsApiGetNFTRequest
3014
- */
3015
- interface NftsApiGetNFTRequest {
3016
- /**
3017
- * The address of NFT contract
3018
- * @type {string}
3019
- * @memberof NftsApiGetNFT
3020
- */
3021
- readonly contractAddress: string;
3022
- /**
3023
- * An &#x60;uint256&#x60; token id as string
3024
- * @type {string}
3025
- * @memberof NftsApiGetNFT
3026
- */
3027
- readonly tokenId: string;
3028
- /**
3029
- * The name of chain
3030
- * @type {string}
3031
- * @memberof NftsApiGetNFT
3032
- */
3033
- readonly chainName: string;
3034
- }
3035
- /**
3036
- * Request parameters for listAllNFTs operation in NftsApi.
3037
- * @export
3038
- * @interface NftsApiListAllNFTsRequest
3039
- */
3040
- interface NftsApiListAllNFTsRequest {
3041
- /**
3042
- * The name of chain
3043
- * @type {string}
3044
- * @memberof NftsApiListAllNFTs
3045
- */
3046
- readonly chainName: string;
3047
- /**
3048
- * Datetime to use as the oldest updated timestamp
3049
- * @type {string}
3050
- * @memberof NftsApiListAllNFTs
3051
- */
3052
- readonly fromUpdatedAt?: string;
3053
- /**
3054
- * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
3055
- * @type {string}
3056
- * @memberof NftsApiListAllNFTs
3057
- */
3058
- readonly pageCursor?: string;
3059
- /**
3060
- * Maximum number of items to return
3061
- * @type {number}
3062
- * @memberof NftsApiListAllNFTs
3063
- */
3064
- readonly pageSize?: number;
3065
- }
3066
- /**
3067
- * Request parameters for listMintRequests operation in NftsApi.
3068
- * @export
3069
- * @interface NftsApiListMintRequestsRequest
3070
- */
3071
- interface NftsApiListMintRequestsRequest {
3072
- /**
3073
- * The address of contract
3074
- * @type {string}
3075
- * @memberof NftsApiListMintRequests
3076
- */
3077
- readonly contractAddress: string;
3078
- /**
3079
- * The name of chain
3080
- * @type {string}
3081
- * @memberof NftsApiListMintRequests
3082
- */
3083
- readonly chainName: string;
3084
- /**
3085
- * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
3086
- * @type {string}
3087
- * @memberof NftsApiListMintRequests
3088
- */
3089
- readonly pageCursor?: string;
3090
- /**
3091
- * Maximum number of items to return
3092
- * @type {number}
3093
- * @memberof NftsApiListMintRequests
3094
- */
3095
- readonly pageSize?: number;
3096
- /**
3097
- * The status of the mint request
3098
- * @type {MintRequestStatus}
3099
- * @memberof NftsApiListMintRequests
3100
- */
3101
- readonly status?: MintRequestStatus;
3102
- }
3103
- /**
3104
- * Request parameters for listNFTs operation in NftsApi.
3105
- * @export
3106
- * @interface NftsApiListNFTsRequest
3107
- */
3108
- interface NftsApiListNFTsRequest {
3109
- /**
3110
- * Contract address
3111
- * @type {string}
3112
- * @memberof NftsApiListNFTs
3113
- */
3114
- readonly contractAddress: string;
3115
- /**
3116
- * The name of chain
3117
- * @type {string}
3118
- * @memberof NftsApiListNFTs
3119
- */
3120
- readonly chainName: string;
3121
- /**
3122
- * List of token IDs to filter by
3123
- * @type {Array<string>}
3124
- * @memberof NftsApiListNFTs
3125
- */
3126
- readonly tokenId?: Array<string>;
3127
- /**
3128
- * Datetime to use as the oldest updated timestamp
3129
- * @type {string}
3130
- * @memberof NftsApiListNFTs
3131
- */
3132
- readonly fromUpdatedAt?: string;
3133
- /**
3134
- * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
3135
- * @type {string}
3136
- * @memberof NftsApiListNFTs
3137
- */
3138
- readonly pageCursor?: string;
3139
- /**
3140
- * Maximum number of items to return
3141
- * @type {number}
3142
- * @memberof NftsApiListNFTs
3143
- */
3144
- readonly pageSize?: number;
3145
- }
3146
- /**
3147
- * Request parameters for listNFTsByAccountAddress operation in NftsApi.
3148
- * @export
3149
- * @interface NftsApiListNFTsByAccountAddressRequest
3150
- */
3151
- interface NftsApiListNFTsByAccountAddressRequest {
3152
- /**
3153
- * Account address
3154
- * @type {string}
3155
- * @memberof NftsApiListNFTsByAccountAddress
3156
- */
3157
- readonly accountAddress: string;
3158
- /**
3159
- * The name of chain
3160
- * @type {string}
3161
- * @memberof NftsApiListNFTsByAccountAddress
3162
- */
3163
- readonly chainName: string;
3164
- /**
3165
- * The address of contract
3166
- * @type {string}
3167
- * @memberof NftsApiListNFTsByAccountAddress
3168
- */
3169
- readonly contractAddress?: string;
3170
- /**
3171
- * Datetime to use as the oldest updated timestamp
3172
- * @type {string}
3173
- * @memberof NftsApiListNFTsByAccountAddress
3174
- */
3175
- readonly fromUpdatedAt?: string;
3176
- /**
3177
- * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
3178
- * @type {string}
3179
- * @memberof NftsApiListNFTsByAccountAddress
3180
- */
3181
- readonly pageCursor?: string;
3182
- /**
3183
- * Maximum number of items to return
3184
- * @type {number}
3185
- * @memberof NftsApiListNFTsByAccountAddress
3186
- */
3187
- readonly pageSize?: number;
3188
- }
3189
-
3190
- /**
3191
- * Request parameters for getERC20Token operation in TokensApi.
3192
- * @export
3193
- * @interface TokensApiGetERC20TokenRequest
3194
- */
3195
- interface TokensApiGetERC20TokenRequest {
3196
- /**
3197
- * The address of contract
3198
- * @type {string}
3199
- * @memberof TokensApiGetERC20Token
3200
- */
3201
- readonly contractAddress: string;
3202
- /**
3203
- * The name of chain
3204
- * @type {string}
3205
- * @memberof TokensApiGetERC20Token
3206
- */
3207
- readonly chainName: string;
3208
- }
3209
- /**
3210
- * Request parameters for listERC20Tokens operation in TokensApi.
3211
- * @export
3212
- * @interface TokensApiListERC20TokensRequest
3213
- */
3214
- interface TokensApiListERC20TokensRequest {
3215
- /**
3216
- * The name of chain
3217
- * @type {string}
3218
- * @memberof TokensApiListERC20Tokens
3219
- */
3220
- readonly chainName: string;
3221
- /**
3222
- * Datetime to use as the oldest updated timestamp
3223
- * @type {string}
3224
- * @memberof TokensApiListERC20Tokens
3225
- */
3226
- readonly fromUpdatedAt?: string;
3227
- /**
3228
- * List of verification status to filter by
3229
- * @type {Array<AssetVerificationStatus>}
3230
- * @memberof TokensApiListERC20Tokens
3231
- */
3232
- readonly verificationStatus?: Array<AssetVerificationStatus>;
3233
- /**
3234
- * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
3235
- * @type {string}
3236
- * @memberof TokensApiListERC20Tokens
3237
- */
3238
- readonly pageCursor?: string;
3239
- /**
3240
- * Maximum number of items to return
3241
- * @type {number}
3242
- * @memberof TokensApiListERC20Tokens
3243
- */
3244
- readonly pageSize?: number;
3245
- }
3246
-
3247
- declare enum Environment {
3248
- PRODUCTION = "production",
3249
- SANDBOX = "sandbox"
3250
- }
3251
- declare class ImmutableConfiguration {
3252
- readonly environment: Environment;
3253
- readonly rateLimitingKey?: string;
3254
- readonly apiKey?: string;
3255
- readonly publishableKey?: string;
3256
- constructor(options: {
3257
- environment: Environment;
3258
- rateLimitingKey?: string;
3259
- apiKey?: string;
3260
- publishableKey?: string;
3261
- });
3262
- }
3263
- interface ModuleConfiguration<T> {
3264
- baseConfig: ImmutableConfiguration;
3265
- overrides?: T;
3266
- }
3267
-
3268
- interface APIConfigurationParams {
3269
- basePath: string;
3270
- headers?: Record<string, string>;
3271
- baseConfig?: ImmutableConfiguration;
3272
- }
3273
- interface BlockchainDataModuleConfiguration extends ModuleConfiguration<APIConfigurationParams> {
3274
- }
3275
- declare class BlockchainDataConfiguration {
3276
- readonly apiConfig: Configuration;
3277
- readonly baseConfig: ImmutableConfiguration;
3278
- constructor({ baseConfig, overrides }: BlockchainDataModuleConfiguration);
3279
- }
3280
-
3281
- declare class BlockchainData {
3282
- readonly config: BlockchainDataConfiguration;
3283
- private readonly activities;
3284
- private readonly chains;
3285
- private readonly collections;
3286
- private readonly nfts;
3287
- private readonly nftOwners;
3288
- private readonly tokens;
3289
- private readonly metadata;
3290
- constructor(moduleConfig: BlockchainDataModuleConfiguration);
3291
- /**
3292
- * List all activities
3293
- * @param request - the request object containing the parameters to be provided in the API request
3294
- * @returns a promise that resolves with a list of activities
3295
- * @throws {@link index.APIError}
3296
- */
3297
- listActivities(request: ActivitiesApiListActivitiesRequest): Promise<ListActivitiesResult>;
3298
- /**
3299
- * List activities sorted by updated_at timestamp ascending, useful for time based data replication
3300
- * @param request - the request object containing the parameters to be provided in the API request
3301
- * @returns a promise that resolves with a list of activities
3302
- * @throws {@link index.APIError}
3303
- */
3304
- listActivityHistory(request: ActivitiesApiListActivityHistoryRequest): Promise<ListActivitiesResult>;
3305
- /**
3306
- * Get a single activity by ID
3307
- * @param request - the request object containing the parameters to be provided in the API request
3308
- * @returns a promise that resolves with a single activity
3309
- * @throws {@link index.APIError}
3310
- */
3311
- getActivity(request: ActivitiesApiGetActivityRequest): Promise<GetActivityResult>;
3312
- /**
3313
- * List supported chains
3314
- * @param request - the request object containing the parameters to be provided in the API request
3315
- * @returns a promise that resolves with a list of supported chains
3316
- * @throws {@link index.APIError}
3317
- */
3318
- listChains(request: ChainsApiListChainsRequest): Promise<ListChainsResult>;
3319
- /**
3320
- * List all collections
3321
- * @param request - the request object containing the parameters to be provided in the API request
3322
- * @returns a promise that resolves with a list of collections
3323
- * @throws {@link index.APIError}
3324
- */
3325
- listCollections(request: CollectionsApiListCollectionsRequest): Promise<ListCollectionsResult>;
3326
- /**
3327
- * List collections by NFT owner
3328
- * @param request - the request object containing the parameters to be provided in the API request
3329
- * @returns a promise that resolves with a list of collections
3330
- * @throws {@link index.APIError}
3331
- */
3332
- listCollectionsByNFTOwner(request: CollectionsApiListCollectionsByNFTOwnerRequest): Promise<ListCollectionsResult>;
3333
- /**
3334
- * Get a collection by contract address
3335
- * @param request - the request object containing the parameters to be provided in the API request
3336
- * @returns a promise that resolves with a single collection
3337
- * @throws {@link index.APIError}
3338
- */
3339
- getCollection(request: CollectionsApiGetCollectionRequest): Promise<GetCollectionResult>;
3340
- /**
3341
- * Get NFT by token ID
3342
- * @param request - the request object containing the parameters to be provided in the API request
3343
- * @returns a promise that resolves with a single NFT
3344
- * @throws {@link index.APIError}
3345
- */
3346
- getNFT(request: NftsApiGetNFTRequest): Promise<GetNFTResult>;
3347
- /**
3348
- * List NFTs by contract address
3349
- * @param request - the request object containing the parameters to be provided in the API request
3350
- * @returns a promise that resolves with a list of NFTs
3351
- * @throws {@link index.APIError}
3352
- */
3353
- listNFTs(request: NftsApiListNFTsRequest): Promise<ListNFTsResult>;
3354
- /**
3355
- * List NFTs by account address
3356
- * @param request - the request object containing the parameters to be provided in the API request
3357
- * @returns a promise that resolves with a list of NFTs
3358
- * @throws {@link index.APIError}
3359
- */
3360
- listNFTsByAccountAddress(request: NftsApiListNFTsByAccountAddressRequest): Promise<ListNFTsResult>;
3361
- /**
3362
- * List All NFTs on a chain
3363
- * @param request - the request object containing the parameters to be provided in the API request
3364
- * @returns a promise that resolves with a list of NFTs
3365
- * @throws {@link index.APIError}
3366
- */
3367
- listAllNFTs(request: NftsApiListAllNFTsRequest): Promise<ListNFTsResult>;
3368
- /**
3369
- * Create a mint request to mint a set of NFTs for a given collection
3370
- * @param request - the request object containing the parameters to be provided in the API request
3371
- * @returns a promise that resolves with the remaining rate limits
3372
- * @throws {@link index.APIError}
3373
- */
3374
- createMintRequest(request: NftsApiCreateMintRequestRequest): Promise<CreateMintRequestResult>;
3375
- /**
3376
- * List all mint requests for a given contract address
3377
- * @param request - the request object containing the parameters to be provided in the API request
3378
- * @returns a promise that resolves with a list of mint requests
3379
- * @throws {@link index.APIError}
3380
- */
3381
- listMintRequests(request: NftsApiListMintRequestsRequest): Promise<ListMintRequestsResult>;
3382
- /**
3383
- * Retrieve the status of a single mint request identified by its reference ID
3384
- * @param request - the request object containing the parameters to be provided in the API request
3385
- * @returns a promise that resolves with a single mint request
3386
- * @throws {@link index.APIError}
3387
- */
3388
- getMintRequest(request: NftsApiGetMintRequestRequest): Promise<ListMintRequestsResult>;
3389
- /**
3390
- * List NFT owners by token ID
3391
- * @param request - the request object containing the parameters to be provided in the API request
3392
- * @returns a promise that resolves with a list of NFT owners
3393
- * @throws {@link index.APIError}
3394
- */
3395
- listNFTOwners(request: NftOwnersApiListNFTOwnersRequest): Promise<ListNFTOwnersResult>;
3396
- /**
3397
- * List NFT owners by contract address
3398
- * @param request - the request object containing the parameters to be provided in the API request
3399
- * @returns a promise that resolves with a list of NFT owners
3400
- * @throws {@link index.APIError}
3401
- */
3402
- listNFTOwnersByContractAddress(request: NftOwnersApiListOwnersByContractAddressRequest): Promise<ListNFTOwnersResult>;
3403
- /**
3404
- * List All NFT owners on a chain
3405
- * @param request - the request object containing the parameters to be provided in the API request
3406
- * @returns a promise that resolves with a list of NFT owners
3407
- * @throws {@link index.APIError}
3408
- */
3409
- listAllNFTOwners(request: NftOwnersApiListNFTOwnersRequest): Promise<ListNFTOwnersResult>;
3410
- /**
3411
- * List ERC20 Token contracts
3412
- * @param request - the request object containing the parameters to be provided in the API request
3413
- * @returns a promise that resolves with a list of ERC20 Tokens
3414
- * @throws {@link index.APIError}
3415
- */
3416
- listTokens(request: TokensApiListERC20TokensRequest): Promise<ListTokensResult>;
3417
- /**
3418
- * Get details for an ERC20 Token by contract address
3419
- * @param request - the request object containing the parameters to be provided in the API request
3420
- * @returns a promise that resolves with a list of ERC20 Tokens
3421
- * @throws {@link index.APIError}
3422
- */
3423
- getToken(request: TokensApiGetERC20TokenRequest): Promise<GetTokenResult>;
3424
- /**
3425
- * Get metadata by ID
3426
- * @param request - the request object containing the parameters to be provided in the API request
3427
- * @returns a promise that resolves with a single Metadata
3428
- * @throws {@link index.APIError}
3429
- */
3430
- getMetadata(request: MetadataApiGetMetadataRequest): Promise<GetMetadataResult>;
3431
- /**
3432
- * List NFT Metadata by contract address
3433
- * @param request - the request object containing the parameters to be provided in the API request
3434
- * @returns a promise that resolves with a list of Metadata
3435
- * @throws {@link index.APIError}
3436
- */
3437
- listNFTMetadataByContractAddress(request: MetadataApiListMetadataRequest): Promise<ListMetadataResult>;
3438
- /**
3439
- * List NFT Metadata by chain
3440
- * @param request - the request object containing the parameters to be provided in the API request
3441
- * @returns a promise that resolves with a list of Metadata
3442
- * @throws {@link index.APIError}
3443
- */
3444
- listNFTMetadataByChain(request: MetadataApiListMetadataForChainRequest): Promise<ListMetadataResult>;
3445
- /**
3446
- * Refresh collection metadata
3447
- * @param request - the request object containing the parameters to be provided in the API request
3448
- * @returns a promise that resolves with the updated collection
3449
- * @throws {@link index.APIError}
3450
- */
3451
- refreshCollectionMetadata(request: CollectionsApiRefreshCollectionMetadataRequest): Promise<RefreshCollectionMetadataResult>;
3452
- /**
3453
- * Refresh metadata for specific NFTs
3454
- * @param request - the request object containing the parameters to be provided in the API request
3455
- * @returns a promise that resolves with the remaining rate limits
3456
- * @throws {@link index.APIError}
3457
- */
3458
- refreshNFTMetadata(request: MetadataApiRefreshNFTMetadataByTokenIDRequest): Promise<MetadataRefreshRateLimitResult>;
3459
- /**
3460
- * Refresh metadata by ID. This will refresh metadata for all NFTs that reference the given metadata ID.
3461
- * @param request - the request object containing the parameters to be provided in the API request
3462
- * @returns a promise that resolves with the remaining rate limits
3463
- * @throws {@link index.APIError}
3464
- */
3465
- refreshStackedMetadata(request: MetadataApiRefreshMetadataByIDRequest): Promise<MetadataRefreshRateLimitResult>;
3466
- }
3467
-
3468
- interface Logger {
3469
- info: (message: string) => void;
3470
- error: (message: any) => void;
3471
- }
3472
-
3473
- declare const recordMint: (mintingPersistence: MintingPersistence, mintRequest: CreateMintRequest) => Promise<void>;
3474
- declare const submitMintingRequests: (mintingPersistence: MintingPersistence, blockchainDataSDKClient: BlockchainData, { defaultBatchSize, chainName, maxNumberOfTries, }: {
3475
- defaultBatchSize?: number | undefined;
3476
- chainName?: string | undefined;
3477
- maxNumberOfTries?: number | undefined;
3478
- }, logger?: Logger) => Promise<never>;
3479
- type MintRequestEvent = {
3480
- event_name: string;
3481
- chain: string;
3482
- event_id: string;
3483
- data: {
3484
- chain: {
3485
- id: string;
3486
- name: string;
3487
- };
3488
- contract_address: string;
3489
- owner_address: string;
3490
- reference_id: string;
3491
- metadata_id: string;
3492
- token_id: string | null;
3493
- status: string;
3494
- transaction_hash: string | null;
3495
- activity_id: string | null;
3496
- error: {
3497
- code: string;
3498
- message: string;
3499
- } | null;
3500
- created_at: string;
3501
- updated_at: string;
3502
- };
3503
- };
3504
- declare const processMint: (mintingPersistence: MintingPersistence, event: MintRequestEvent, logger?: Logger) => Promise<void>;
3505
-
3506
- export { mintingPersistence$1 as mintingPersistencePg, mintingPersistence as mintingPersistencePrismaSqlite, processMint, recordMint, submitMintingRequests };