@imtbl/sdk 1.43.3 → 1.43.4

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