@imtbl/sdk 0.1.9-alpha.4 → 0.1.9
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.
- package/dist/immutablex_client.js +1 -1
- package/dist/index.cjs +5486 -11452
- package/dist/index.d.ts +2 -2187
- package/dist/index.js +5391 -11347
- package/dist/passport.js +482 -441
- package/package.json +1 -17
- package/dist/blockchain-data.d.ts +0 -1885
- package/dist/blockchain-data.js +0 -2459
- package/dist/browser/checkout.js +0 -2
- package/dist/erc20.d.ts +0 -296
- package/dist/erc20.js +0 -371
- package/dist/erc721-permissioned-mintable.d.ts +0 -435
- package/dist/erc721-permissioned-mintable.js +0 -1165
- package/dist/orderbook.d.ts +0 -64
- package/dist/orderbook.js +0 -2020
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { OrderbookModuleConfiguration } from 'config/config';
|
|
3
|
-
import { ListingResult, ListListingsResult } from 'openapi/sdk';
|
|
4
|
-
import { ListListingsParams, PrepareListingParams, PrepareListingResponse, CreateListingParams, FulfillOrderResponse, CancelOrderResponse as CancelOrderResponse$1 } from 'types';
|
|
1
|
+
import { ProviderConfiguration as ProviderConfiguration$1 } from 'config';
|
|
5
2
|
|
|
6
3
|
declare enum Environment {
|
|
7
4
|
PRODUCTION = "production",
|
|
@@ -20,1871 +17,6 @@ interface ModuleConfiguration<T> {
|
|
|
20
17
|
overrides?: T;
|
|
21
18
|
}
|
|
22
19
|
|
|
23
|
-
/**
|
|
24
|
-
* Immutable X API
|
|
25
|
-
* Immutable Multi Rollup API
|
|
26
|
-
*
|
|
27
|
-
* The version of the OpenAPI document: 1.0.0
|
|
28
|
-
* Contact: support@immutable.com
|
|
29
|
-
*
|
|
30
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
31
|
-
* https://openapi-generator.tech
|
|
32
|
-
* Do not edit the class manually.
|
|
33
|
-
*/
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @export
|
|
37
|
-
* @interface BasicAPIError
|
|
38
|
-
*/
|
|
39
|
-
interface BasicAPIError {
|
|
40
|
-
/**
|
|
41
|
-
* Error Message
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof BasicAPIError
|
|
44
|
-
*/
|
|
45
|
-
'message': string;
|
|
46
|
-
/**
|
|
47
|
-
* Link to IMX documentation that can help resolve this error
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof BasicAPIError
|
|
50
|
-
*/
|
|
51
|
-
'link': string;
|
|
52
|
-
/**
|
|
53
|
-
* Trace ID of the initial request
|
|
54
|
-
* @type {string}
|
|
55
|
-
* @memberof BasicAPIError
|
|
56
|
-
*/
|
|
57
|
-
'trace_id': string;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* Immutable X API
|
|
62
|
-
* Immutable Multi Rollup API
|
|
63
|
-
*
|
|
64
|
-
* The version of the OpenAPI document: 1.0.0
|
|
65
|
-
* Contact: support@immutable.com
|
|
66
|
-
*
|
|
67
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
68
|
-
* https://openapi-generator.tech
|
|
69
|
-
* Do not edit the class manually.
|
|
70
|
-
*/
|
|
71
|
-
/**
|
|
72
|
-
* The contract type for an NFT
|
|
73
|
-
* @export
|
|
74
|
-
* @enum {string}
|
|
75
|
-
*/
|
|
76
|
-
declare const NFTContractType: {
|
|
77
|
-
readonly Erc721: "ERC721";
|
|
78
|
-
};
|
|
79
|
-
type NFTContractType = typeof NFTContractType[keyof typeof NFTContractType];
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* Immutable X API
|
|
83
|
-
* Immutable Multi Rollup API
|
|
84
|
-
*
|
|
85
|
-
* The version of the OpenAPI document: 1.0.0
|
|
86
|
-
* Contact: support@immutable.com
|
|
87
|
-
*
|
|
88
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
89
|
-
* https://openapi-generator.tech
|
|
90
|
-
* Do not edit the class manually.
|
|
91
|
-
*/
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
*
|
|
95
|
-
* @export
|
|
96
|
-
* @interface ActivityNFT
|
|
97
|
-
*/
|
|
98
|
-
interface ActivityNFT {
|
|
99
|
-
/**
|
|
100
|
-
*
|
|
101
|
-
* @type {NFTContractType}
|
|
102
|
-
* @memberof ActivityNFT
|
|
103
|
-
*/
|
|
104
|
-
'contract_type': NFTContractType;
|
|
105
|
-
/**
|
|
106
|
-
* The token contract address
|
|
107
|
-
* @type {string}
|
|
108
|
-
* @memberof ActivityNFT
|
|
109
|
-
*/
|
|
110
|
-
'contract_address': string;
|
|
111
|
-
/**
|
|
112
|
-
* An `uint256` token id as string
|
|
113
|
-
* @type {string}
|
|
114
|
-
* @memberof ActivityNFT
|
|
115
|
-
*/
|
|
116
|
-
'token_id': string;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
/**
|
|
120
|
-
* Immutable X API
|
|
121
|
-
* Immutable Multi Rollup API
|
|
122
|
-
*
|
|
123
|
-
* The version of the OpenAPI document: 1.0.0
|
|
124
|
-
* Contact: support@immutable.com
|
|
125
|
-
*
|
|
126
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
127
|
-
* https://openapi-generator.tech
|
|
128
|
-
* Do not edit the class manually.
|
|
129
|
-
*/
|
|
130
|
-
/**
|
|
131
|
-
* The contract type for a token
|
|
132
|
-
* @export
|
|
133
|
-
* @enum {string}
|
|
134
|
-
*/
|
|
135
|
-
declare const TokenContractType: {
|
|
136
|
-
readonly Erc20: "ERC20";
|
|
137
|
-
};
|
|
138
|
-
type TokenContractType = typeof TokenContractType[keyof typeof TokenContractType];
|
|
139
|
-
|
|
140
|
-
/**
|
|
141
|
-
* Immutable X API
|
|
142
|
-
* Immutable Multi Rollup API
|
|
143
|
-
*
|
|
144
|
-
* The version of the OpenAPI document: 1.0.0
|
|
145
|
-
* Contact: support@immutable.com
|
|
146
|
-
*
|
|
147
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
148
|
-
* https://openapi-generator.tech
|
|
149
|
-
* Do not edit the class manually.
|
|
150
|
-
*/
|
|
151
|
-
|
|
152
|
-
/**
|
|
153
|
-
*
|
|
154
|
-
* @export
|
|
155
|
-
* @interface ActivityToken
|
|
156
|
-
*/
|
|
157
|
-
interface ActivityToken {
|
|
158
|
-
/**
|
|
159
|
-
*
|
|
160
|
-
* @type {TokenContractType}
|
|
161
|
-
* @memberof ActivityToken
|
|
162
|
-
*/
|
|
163
|
-
'contract_type': TokenContractType;
|
|
164
|
-
/**
|
|
165
|
-
* The contract address
|
|
166
|
-
* @type {string}
|
|
167
|
-
* @memberof ActivityToken
|
|
168
|
-
*/
|
|
169
|
-
'contract_address': string;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
/**
|
|
173
|
-
* Immutable X API
|
|
174
|
-
* Immutable Multi Rollup API
|
|
175
|
-
*
|
|
176
|
-
* The version of the OpenAPI document: 1.0.0
|
|
177
|
-
* Contact: support@immutable.com
|
|
178
|
-
*
|
|
179
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
180
|
-
* https://openapi-generator.tech
|
|
181
|
-
* Do not edit the class manually.
|
|
182
|
-
*/
|
|
183
|
-
|
|
184
|
-
/**
|
|
185
|
-
* @type ActivityAsset
|
|
186
|
-
* The contract and asset details for this activity
|
|
187
|
-
* @export
|
|
188
|
-
*/
|
|
189
|
-
type ActivityAsset = ActivityNFT | ActivityToken;
|
|
190
|
-
|
|
191
|
-
/**
|
|
192
|
-
* Immutable X API
|
|
193
|
-
* Immutable Multi Rollup API
|
|
194
|
-
*
|
|
195
|
-
* The version of the OpenAPI document: 1.0.0
|
|
196
|
-
* Contact: support@immutable.com
|
|
197
|
-
*
|
|
198
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
199
|
-
* https://openapi-generator.tech
|
|
200
|
-
* Do not edit the class manually.
|
|
201
|
-
*/
|
|
202
|
-
|
|
203
|
-
/**
|
|
204
|
-
* The burn activity details
|
|
205
|
-
* @export
|
|
206
|
-
* @interface Burn
|
|
207
|
-
*/
|
|
208
|
-
interface Burn {
|
|
209
|
-
/**
|
|
210
|
-
* The account address the asset was transferred from
|
|
211
|
-
* @type {string}
|
|
212
|
-
* @memberof Burn
|
|
213
|
-
*/
|
|
214
|
-
'from': string;
|
|
215
|
-
/**
|
|
216
|
-
* The amount of assets burnt
|
|
217
|
-
* @type {string}
|
|
218
|
-
* @memberof Burn
|
|
219
|
-
*/
|
|
220
|
-
'amount': string;
|
|
221
|
-
/**
|
|
222
|
-
*
|
|
223
|
-
* @type {ActivityAsset}
|
|
224
|
-
* @memberof Burn
|
|
225
|
-
*/
|
|
226
|
-
'asset': ActivityAsset;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
/**
|
|
230
|
-
* Immutable X API
|
|
231
|
-
* Immutable Multi Rollup API
|
|
232
|
-
*
|
|
233
|
-
* The version of the OpenAPI document: 1.0.0
|
|
234
|
-
* Contact: support@immutable.com
|
|
235
|
-
*
|
|
236
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
237
|
-
* https://openapi-generator.tech
|
|
238
|
-
* Do not edit the class manually.
|
|
239
|
-
*/
|
|
240
|
-
|
|
241
|
-
/**
|
|
242
|
-
* The mint activity details
|
|
243
|
-
* @export
|
|
244
|
-
* @interface Mint
|
|
245
|
-
*/
|
|
246
|
-
interface Mint$1 {
|
|
247
|
-
/**
|
|
248
|
-
* The account address the asset was minted to
|
|
249
|
-
* @type {string}
|
|
250
|
-
* @memberof Mint
|
|
251
|
-
*/
|
|
252
|
-
'to': string;
|
|
253
|
-
/**
|
|
254
|
-
* The minted amount
|
|
255
|
-
* @type {string}
|
|
256
|
-
* @memberof Mint
|
|
257
|
-
*/
|
|
258
|
-
'amount': string;
|
|
259
|
-
/**
|
|
260
|
-
*
|
|
261
|
-
* @type {ActivityAsset}
|
|
262
|
-
* @memberof Mint
|
|
263
|
-
*/
|
|
264
|
-
'asset': ActivityAsset;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
/**
|
|
268
|
-
* Immutable X API
|
|
269
|
-
* Immutable Multi Rollup API
|
|
270
|
-
*
|
|
271
|
-
* The version of the OpenAPI document: 1.0.0
|
|
272
|
-
* Contact: support@immutable.com
|
|
273
|
-
*
|
|
274
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
275
|
-
* https://openapi-generator.tech
|
|
276
|
-
* Do not edit the class manually.
|
|
277
|
-
*/
|
|
278
|
-
/**
|
|
279
|
-
*
|
|
280
|
-
* @export
|
|
281
|
-
* @interface SaleFee
|
|
282
|
-
*/
|
|
283
|
-
interface SaleFee {
|
|
284
|
-
/**
|
|
285
|
-
* Fee payable to recipient upon settlement
|
|
286
|
-
* @type {string}
|
|
287
|
-
* @memberof SaleFee
|
|
288
|
-
*/
|
|
289
|
-
'amount'?: string;
|
|
290
|
-
/**
|
|
291
|
-
* Fee type
|
|
292
|
-
* @type {string}
|
|
293
|
-
* @memberof SaleFee
|
|
294
|
-
*/
|
|
295
|
-
'type'?: SaleFeeTypeEnum;
|
|
296
|
-
/**
|
|
297
|
-
* Wallet address of fee recipient
|
|
298
|
-
* @type {string}
|
|
299
|
-
* @memberof SaleFee
|
|
300
|
-
*/
|
|
301
|
-
'recipient'?: string;
|
|
302
|
-
}
|
|
303
|
-
declare const SaleFeeTypeEnum: {
|
|
304
|
-
readonly Royalty: "ROYALTY";
|
|
305
|
-
};
|
|
306
|
-
type SaleFeeTypeEnum = typeof SaleFeeTypeEnum[keyof typeof SaleFeeTypeEnum];
|
|
307
|
-
|
|
308
|
-
/**
|
|
309
|
-
* Immutable X API
|
|
310
|
-
* Immutable Multi Rollup API
|
|
311
|
-
*
|
|
312
|
-
* The version of the OpenAPI document: 1.0.0
|
|
313
|
-
* Contact: support@immutable.com
|
|
314
|
-
*
|
|
315
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
316
|
-
* https://openapi-generator.tech
|
|
317
|
-
* Do not edit the class manually.
|
|
318
|
-
*/
|
|
319
|
-
/**
|
|
320
|
-
*
|
|
321
|
-
* @export
|
|
322
|
-
* @interface ActivityNativeToken
|
|
323
|
-
*/
|
|
324
|
-
interface ActivityNativeToken {
|
|
325
|
-
/**
|
|
326
|
-
* The token symbol
|
|
327
|
-
* @type {string}
|
|
328
|
-
* @memberof ActivityNativeToken
|
|
329
|
-
*/
|
|
330
|
-
'symbol': string;
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
/**
|
|
334
|
-
* Immutable X API
|
|
335
|
-
* Immutable Multi Rollup API
|
|
336
|
-
*
|
|
337
|
-
* The version of the OpenAPI document: 1.0.0
|
|
338
|
-
* Contact: support@immutable.com
|
|
339
|
-
*
|
|
340
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
341
|
-
* https://openapi-generator.tech
|
|
342
|
-
* Do not edit the class manually.
|
|
343
|
-
*/
|
|
344
|
-
|
|
345
|
-
/**
|
|
346
|
-
* @type SalePaymentToken
|
|
347
|
-
* The type of payment token
|
|
348
|
-
* @export
|
|
349
|
-
*/
|
|
350
|
-
type SalePaymentToken = ActivityNativeToken | ActivityToken;
|
|
351
|
-
|
|
352
|
-
/**
|
|
353
|
-
* Immutable X API
|
|
354
|
-
* Immutable Multi Rollup API
|
|
355
|
-
*
|
|
356
|
-
* The version of the OpenAPI document: 1.0.0
|
|
357
|
-
* Contact: support@immutable.com
|
|
358
|
-
*
|
|
359
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
360
|
-
* https://openapi-generator.tech
|
|
361
|
-
* Do not edit the class manually.
|
|
362
|
-
*/
|
|
363
|
-
|
|
364
|
-
/**
|
|
365
|
-
*
|
|
366
|
-
* @export
|
|
367
|
-
* @interface SalePayment
|
|
368
|
-
*/
|
|
369
|
-
interface SalePayment {
|
|
370
|
-
/**
|
|
371
|
-
*
|
|
372
|
-
* @type {SalePaymentToken}
|
|
373
|
-
* @memberof SalePayment
|
|
374
|
-
*/
|
|
375
|
-
'token': SalePaymentToken;
|
|
376
|
-
/**
|
|
377
|
-
* The base price of the sale not including any fees
|
|
378
|
-
* @type {string}
|
|
379
|
-
* @memberof SalePayment
|
|
380
|
-
*/
|
|
381
|
-
'price_excluding_fees': string;
|
|
382
|
-
/**
|
|
383
|
-
* The total price of the sale. Includes the sum of all fees
|
|
384
|
-
* @type {string}
|
|
385
|
-
* @memberof SalePayment
|
|
386
|
-
*/
|
|
387
|
-
'price_including_fees': string;
|
|
388
|
-
/**
|
|
389
|
-
* The fees associated with this sale
|
|
390
|
-
* @type {Array<SaleFee>}
|
|
391
|
-
* @memberof SalePayment
|
|
392
|
-
*/
|
|
393
|
-
'fees': Array<SaleFee>;
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
/**
|
|
397
|
-
* Immutable X API
|
|
398
|
-
* Immutable Multi Rollup API
|
|
399
|
-
*
|
|
400
|
-
* The version of the OpenAPI document: 1.0.0
|
|
401
|
-
* Contact: support@immutable.com
|
|
402
|
-
*
|
|
403
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
404
|
-
* https://openapi-generator.tech
|
|
405
|
-
* Do not edit the class manually.
|
|
406
|
-
*/
|
|
407
|
-
|
|
408
|
-
/**
|
|
409
|
-
* The NFT Sale activity details
|
|
410
|
-
* @export
|
|
411
|
-
* @interface NFTSale
|
|
412
|
-
*/
|
|
413
|
-
interface NFTSale {
|
|
414
|
-
/**
|
|
415
|
-
* The id of order
|
|
416
|
-
* @type {string}
|
|
417
|
-
* @memberof NFTSale
|
|
418
|
-
*/
|
|
419
|
-
'order_id': string;
|
|
420
|
-
/**
|
|
421
|
-
* The account address of buyer
|
|
422
|
-
* @type {string}
|
|
423
|
-
* @memberof NFTSale
|
|
424
|
-
*/
|
|
425
|
-
'to': string;
|
|
426
|
-
/**
|
|
427
|
-
* The account address of seller
|
|
428
|
-
* @type {string}
|
|
429
|
-
* @memberof NFTSale
|
|
430
|
-
*/
|
|
431
|
-
'from': string;
|
|
432
|
-
/**
|
|
433
|
-
*
|
|
434
|
-
* @type {Array<ActivityNFT>}
|
|
435
|
-
* @memberof NFTSale
|
|
436
|
-
*/
|
|
437
|
-
'asset': Array<ActivityNFT>;
|
|
438
|
-
/**
|
|
439
|
-
*
|
|
440
|
-
* @type {SalePayment}
|
|
441
|
-
* @memberof NFTSale
|
|
442
|
-
*/
|
|
443
|
-
'payment': SalePayment;
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
/**
|
|
447
|
-
* Immutable X API
|
|
448
|
-
* Immutable Multi Rollup API
|
|
449
|
-
*
|
|
450
|
-
* The version of the OpenAPI document: 1.0.0
|
|
451
|
-
* Contact: support@immutable.com
|
|
452
|
-
*
|
|
453
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
454
|
-
* https://openapi-generator.tech
|
|
455
|
-
* Do not edit the class manually.
|
|
456
|
-
*/
|
|
457
|
-
|
|
458
|
-
/**
|
|
459
|
-
* The transfer activity details
|
|
460
|
-
* @export
|
|
461
|
-
* @interface Transfer
|
|
462
|
-
*/
|
|
463
|
-
interface Transfer$1 {
|
|
464
|
-
/**
|
|
465
|
-
* The account address the asset was transferred from
|
|
466
|
-
* @type {string}
|
|
467
|
-
* @memberof Transfer
|
|
468
|
-
*/
|
|
469
|
-
'from': string;
|
|
470
|
-
/**
|
|
471
|
-
* The account address the asset was transferred to
|
|
472
|
-
* @type {string}
|
|
473
|
-
* @memberof Transfer
|
|
474
|
-
*/
|
|
475
|
-
'to': string;
|
|
476
|
-
/**
|
|
477
|
-
* The amount of assets transferred
|
|
478
|
-
* @type {string}
|
|
479
|
-
* @memberof Transfer
|
|
480
|
-
*/
|
|
481
|
-
'amount': string;
|
|
482
|
-
/**
|
|
483
|
-
*
|
|
484
|
-
* @type {ActivityAsset}
|
|
485
|
-
* @memberof Transfer
|
|
486
|
-
*/
|
|
487
|
-
'asset': ActivityAsset;
|
|
488
|
-
}
|
|
489
|
-
|
|
490
|
-
/**
|
|
491
|
-
* Immutable X API
|
|
492
|
-
* Immutable Multi Rollup API
|
|
493
|
-
*
|
|
494
|
-
* The version of the OpenAPI document: 1.0.0
|
|
495
|
-
* Contact: support@immutable.com
|
|
496
|
-
*
|
|
497
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
498
|
-
* https://openapi-generator.tech
|
|
499
|
-
* Do not edit the class manually.
|
|
500
|
-
*/
|
|
501
|
-
|
|
502
|
-
/**
|
|
503
|
-
* @type ActivityDetails
|
|
504
|
-
* The activity details
|
|
505
|
-
* @export
|
|
506
|
-
*/
|
|
507
|
-
type ActivityDetails = Burn | Mint$1 | NFTSale | Transfer$1;
|
|
508
|
-
|
|
509
|
-
/**
|
|
510
|
-
* Immutable X API
|
|
511
|
-
* Immutable Multi Rollup API
|
|
512
|
-
*
|
|
513
|
-
* The version of the OpenAPI document: 1.0.0
|
|
514
|
-
* Contact: support@immutable.com
|
|
515
|
-
*
|
|
516
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
517
|
-
* https://openapi-generator.tech
|
|
518
|
-
* Do not edit the class manually.
|
|
519
|
-
*/
|
|
520
|
-
/**
|
|
521
|
-
* The activity type
|
|
522
|
-
* @export
|
|
523
|
-
* @enum {string}
|
|
524
|
-
*/
|
|
525
|
-
declare const ActivityType: {
|
|
526
|
-
readonly Mint: "mint";
|
|
527
|
-
readonly Burn: "burn";
|
|
528
|
-
readonly Transfer: "transfer";
|
|
529
|
-
readonly Sale: "sale";
|
|
530
|
-
};
|
|
531
|
-
type ActivityType = typeof ActivityType[keyof typeof ActivityType];
|
|
532
|
-
|
|
533
|
-
/**
|
|
534
|
-
* Immutable X API
|
|
535
|
-
* Immutable Multi Rollup API
|
|
536
|
-
*
|
|
537
|
-
* The version of the OpenAPI document: 1.0.0
|
|
538
|
-
* Contact: support@immutable.com
|
|
539
|
-
*
|
|
540
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
541
|
-
* https://openapi-generator.tech
|
|
542
|
-
* Do not edit the class manually.
|
|
543
|
-
*/
|
|
544
|
-
/**
|
|
545
|
-
* The metadata related to blockchain transaction
|
|
546
|
-
* @export
|
|
547
|
-
* @interface BlockchainMetadata
|
|
548
|
-
*/
|
|
549
|
-
interface BlockchainMetadata {
|
|
550
|
-
/**
|
|
551
|
-
* The transaction hash of the activity
|
|
552
|
-
* @type {string}
|
|
553
|
-
* @memberof BlockchainMetadata
|
|
554
|
-
*/
|
|
555
|
-
'transaction_hash': string;
|
|
556
|
-
/**
|
|
557
|
-
* EVM block number (uint64 as string)
|
|
558
|
-
* @type {string}
|
|
559
|
-
* @memberof BlockchainMetadata
|
|
560
|
-
*/
|
|
561
|
-
'block_number': string;
|
|
562
|
-
/**
|
|
563
|
-
* Transaction index in a block (uint32 as string)
|
|
564
|
-
* @type {string}
|
|
565
|
-
* @memberof BlockchainMetadata
|
|
566
|
-
*/
|
|
567
|
-
'transaction_index': string;
|
|
568
|
-
/**
|
|
569
|
-
* The log index of activity in a block (uint32 as string)
|
|
570
|
-
* @type {string}
|
|
571
|
-
* @memberof BlockchainMetadata
|
|
572
|
-
*/
|
|
573
|
-
'log_index': string | null;
|
|
574
|
-
}
|
|
575
|
-
|
|
576
|
-
/**
|
|
577
|
-
* Immutable X API
|
|
578
|
-
* Immutable Multi Rollup API
|
|
579
|
-
*
|
|
580
|
-
* The version of the OpenAPI document: 1.0.0
|
|
581
|
-
* Contact: support@immutable.com
|
|
582
|
-
*
|
|
583
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
584
|
-
* https://openapi-generator.tech
|
|
585
|
-
* Do not edit the class manually.
|
|
586
|
-
*/
|
|
587
|
-
/**
|
|
588
|
-
* The chain details
|
|
589
|
-
* @export
|
|
590
|
-
* @interface Chain
|
|
591
|
-
*/
|
|
592
|
-
interface Chain {
|
|
593
|
-
/**
|
|
594
|
-
* The id of chain
|
|
595
|
-
* @type {string}
|
|
596
|
-
* @memberof Chain
|
|
597
|
-
*/
|
|
598
|
-
'id': string;
|
|
599
|
-
/**
|
|
600
|
-
* The name of chain
|
|
601
|
-
* @type {string}
|
|
602
|
-
* @memberof Chain
|
|
603
|
-
*/
|
|
604
|
-
'name': string;
|
|
605
|
-
}
|
|
606
|
-
|
|
607
|
-
/**
|
|
608
|
-
* Immutable X API
|
|
609
|
-
* Immutable Multi Rollup API
|
|
610
|
-
*
|
|
611
|
-
* The version of the OpenAPI document: 1.0.0
|
|
612
|
-
* Contact: support@immutable.com
|
|
613
|
-
*
|
|
614
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
615
|
-
* https://openapi-generator.tech
|
|
616
|
-
* Do not edit the class manually.
|
|
617
|
-
*/
|
|
618
|
-
|
|
619
|
-
/**
|
|
620
|
-
*
|
|
621
|
-
* @export
|
|
622
|
-
* @interface Activity
|
|
623
|
-
*/
|
|
624
|
-
interface Activity {
|
|
625
|
-
/**
|
|
626
|
-
* Activity ID in UUIDv4 format
|
|
627
|
-
* @type {string}
|
|
628
|
-
* @memberof Activity
|
|
629
|
-
*/
|
|
630
|
-
'id': string;
|
|
631
|
-
/**
|
|
632
|
-
*
|
|
633
|
-
* @type {Chain}
|
|
634
|
-
* @memberof Activity
|
|
635
|
-
*/
|
|
636
|
-
'chain': Chain;
|
|
637
|
-
/**
|
|
638
|
-
*
|
|
639
|
-
* @type {ActivityType}
|
|
640
|
-
* @memberof Activity
|
|
641
|
-
*/
|
|
642
|
-
'type': ActivityType;
|
|
643
|
-
/**
|
|
644
|
-
*
|
|
645
|
-
* @type {ActivityDetails}
|
|
646
|
-
* @memberof Activity
|
|
647
|
-
*/
|
|
648
|
-
'details': ActivityDetails;
|
|
649
|
-
/**
|
|
650
|
-
* The time activity was indexed
|
|
651
|
-
* @type {string}
|
|
652
|
-
* @memberof Activity
|
|
653
|
-
*/
|
|
654
|
-
'indexed_at': string;
|
|
655
|
-
/**
|
|
656
|
-
*
|
|
657
|
-
* @type {BlockchainMetadata}
|
|
658
|
-
* @memberof Activity
|
|
659
|
-
*/
|
|
660
|
-
'blockchain_metadata': BlockchainMetadata | null;
|
|
661
|
-
}
|
|
662
|
-
|
|
663
|
-
/**
|
|
664
|
-
* Immutable X API
|
|
665
|
-
* Immutable Multi Rollup API
|
|
666
|
-
*
|
|
667
|
-
* The version of the OpenAPI document: 1.0.0
|
|
668
|
-
* Contact: support@immutable.com
|
|
669
|
-
*
|
|
670
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
671
|
-
* https://openapi-generator.tech
|
|
672
|
-
* Do not edit the class manually.
|
|
673
|
-
*/
|
|
674
|
-
/**
|
|
675
|
-
*
|
|
676
|
-
* @export
|
|
677
|
-
* @interface ChainWithDetailsAllOf
|
|
678
|
-
*/
|
|
679
|
-
interface ChainWithDetailsAllOf {
|
|
680
|
-
/**
|
|
681
|
-
* URL for RPC node
|
|
682
|
-
* @type {string}
|
|
683
|
-
* @memberof ChainWithDetailsAllOf
|
|
684
|
-
*/
|
|
685
|
-
'rpc_url': string | null;
|
|
686
|
-
}
|
|
687
|
-
|
|
688
|
-
/**
|
|
689
|
-
* Immutable X API
|
|
690
|
-
* Immutable Multi Rollup API
|
|
691
|
-
*
|
|
692
|
-
* The version of the OpenAPI document: 1.0.0
|
|
693
|
-
* Contact: support@immutable.com
|
|
694
|
-
*
|
|
695
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
696
|
-
* https://openapi-generator.tech
|
|
697
|
-
* Do not edit the class manually.
|
|
698
|
-
*/
|
|
699
|
-
|
|
700
|
-
/**
|
|
701
|
-
* @type ChainWithDetails
|
|
702
|
-
* @export
|
|
703
|
-
*/
|
|
704
|
-
type ChainWithDetails = Chain & ChainWithDetailsAllOf;
|
|
705
|
-
|
|
706
|
-
/**
|
|
707
|
-
* Immutable X API
|
|
708
|
-
* Immutable Multi Rollup API
|
|
709
|
-
*
|
|
710
|
-
* The version of the OpenAPI document: 1.0.0
|
|
711
|
-
* Contact: support@immutable.com
|
|
712
|
-
*
|
|
713
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
714
|
-
* https://openapi-generator.tech
|
|
715
|
-
* Do not edit the class manually.
|
|
716
|
-
*/
|
|
717
|
-
/**
|
|
718
|
-
* The collection contract type
|
|
719
|
-
* @export
|
|
720
|
-
* @enum {string}
|
|
721
|
-
*/
|
|
722
|
-
declare const CollectionContractType: {
|
|
723
|
-
readonly Erc721: "ERC721";
|
|
724
|
-
};
|
|
725
|
-
type CollectionContractType = typeof CollectionContractType[keyof typeof CollectionContractType];
|
|
726
|
-
|
|
727
|
-
/**
|
|
728
|
-
* Immutable X API
|
|
729
|
-
* Immutable Multi Rollup API
|
|
730
|
-
*
|
|
731
|
-
* The version of the OpenAPI document: 1.0.0
|
|
732
|
-
* Contact: support@immutable.com
|
|
733
|
-
*
|
|
734
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
735
|
-
* https://openapi-generator.tech
|
|
736
|
-
* Do not edit the class manually.
|
|
737
|
-
*/
|
|
738
|
-
|
|
739
|
-
/**
|
|
740
|
-
*
|
|
741
|
-
* @export
|
|
742
|
-
* @interface Collection
|
|
743
|
-
*/
|
|
744
|
-
interface Collection$1 {
|
|
745
|
-
/**
|
|
746
|
-
*
|
|
747
|
-
* @type {Chain}
|
|
748
|
-
* @memberof Collection
|
|
749
|
-
*/
|
|
750
|
-
'chain': Chain;
|
|
751
|
-
/**
|
|
752
|
-
* The name of the collection
|
|
753
|
-
* @type {string}
|
|
754
|
-
* @memberof Collection
|
|
755
|
-
*/
|
|
756
|
-
'name': string | null;
|
|
757
|
-
/**
|
|
758
|
-
* The symbol of contract
|
|
759
|
-
* @type {string}
|
|
760
|
-
* @memberof Collection
|
|
761
|
-
*/
|
|
762
|
-
'symbol': string | null;
|
|
763
|
-
/**
|
|
764
|
-
*
|
|
765
|
-
* @type {CollectionContractType}
|
|
766
|
-
* @memberof Collection
|
|
767
|
-
*/
|
|
768
|
-
'contract_type': CollectionContractType;
|
|
769
|
-
/**
|
|
770
|
-
* The address of the contract
|
|
771
|
-
* @type {string}
|
|
772
|
-
* @memberof Collection
|
|
773
|
-
*/
|
|
774
|
-
'contract_address': string;
|
|
775
|
-
/**
|
|
776
|
-
* The description of collection
|
|
777
|
-
* @type {string}
|
|
778
|
-
* @memberof Collection
|
|
779
|
-
*/
|
|
780
|
-
'description': string | null;
|
|
781
|
-
/**
|
|
782
|
-
* The url of the collection image
|
|
783
|
-
* @type {string}
|
|
784
|
-
* @memberof Collection
|
|
785
|
-
*/
|
|
786
|
-
'image': string | null;
|
|
787
|
-
/**
|
|
788
|
-
* The url of external link
|
|
789
|
-
* @type {string}
|
|
790
|
-
* @memberof Collection
|
|
791
|
-
*/
|
|
792
|
-
'external_link': string | null;
|
|
793
|
-
/**
|
|
794
|
-
* The uri for the metadata of the collection
|
|
795
|
-
* @type {string}
|
|
796
|
-
* @memberof Collection
|
|
797
|
-
*/
|
|
798
|
-
'contract_uri'?: string | null;
|
|
799
|
-
/**
|
|
800
|
-
* The metadata uri for nft
|
|
801
|
-
* @type {string}
|
|
802
|
-
* @memberof Collection
|
|
803
|
-
*/
|
|
804
|
-
'base_uri': string | null;
|
|
805
|
-
/**
|
|
806
|
-
* When the collection was first indexed
|
|
807
|
-
* @type {string}
|
|
808
|
-
* @memberof Collection
|
|
809
|
-
*/
|
|
810
|
-
'indexed_at': string;
|
|
811
|
-
/**
|
|
812
|
-
* When the collection was last updated
|
|
813
|
-
* @type {string}
|
|
814
|
-
* @memberof Collection
|
|
815
|
-
*/
|
|
816
|
-
'updated_at': string;
|
|
817
|
-
/**
|
|
818
|
-
* When the collection metadata was last synced
|
|
819
|
-
* @type {string}
|
|
820
|
-
* @memberof Collection
|
|
821
|
-
*/
|
|
822
|
-
'last_metadata_synced_at': string | null;
|
|
823
|
-
}
|
|
824
|
-
|
|
825
|
-
/**
|
|
826
|
-
* Immutable X API
|
|
827
|
-
* Immutable Multi Rollup API
|
|
828
|
-
*
|
|
829
|
-
* The version of the OpenAPI document: 1.0.0
|
|
830
|
-
* Contact: support@immutable.com
|
|
831
|
-
*
|
|
832
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
833
|
-
* https://openapi-generator.tech
|
|
834
|
-
* Do not edit the class manually.
|
|
835
|
-
*/
|
|
836
|
-
|
|
837
|
-
/**
|
|
838
|
-
* Single activity
|
|
839
|
-
* @export
|
|
840
|
-
* @interface GetActivityResult
|
|
841
|
-
*/
|
|
842
|
-
interface GetActivityResult {
|
|
843
|
-
/**
|
|
844
|
-
*
|
|
845
|
-
* @type {Activity}
|
|
846
|
-
* @memberof GetActivityResult
|
|
847
|
-
*/
|
|
848
|
-
'result': Activity;
|
|
849
|
-
}
|
|
850
|
-
|
|
851
|
-
/**
|
|
852
|
-
* Immutable X 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
|
-
* Single Collection
|
|
865
|
-
* @export
|
|
866
|
-
* @interface GetCollectionResult
|
|
867
|
-
*/
|
|
868
|
-
interface GetCollectionResult {
|
|
869
|
-
/**
|
|
870
|
-
*
|
|
871
|
-
* @type {Collection}
|
|
872
|
-
* @memberof GetCollectionResult
|
|
873
|
-
*/
|
|
874
|
-
'result': Collection$1;
|
|
875
|
-
}
|
|
876
|
-
|
|
877
|
-
/**
|
|
878
|
-
* Immutable X API
|
|
879
|
-
* Immutable Multi Rollup API
|
|
880
|
-
*
|
|
881
|
-
* The version of the OpenAPI document: 1.0.0
|
|
882
|
-
* Contact: support@immutable.com
|
|
883
|
-
*
|
|
884
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
885
|
-
* https://openapi-generator.tech
|
|
886
|
-
* Do not edit the class manually.
|
|
887
|
-
*/
|
|
888
|
-
|
|
889
|
-
/**
|
|
890
|
-
*
|
|
891
|
-
* @export
|
|
892
|
-
* @interface NFT
|
|
893
|
-
*/
|
|
894
|
-
interface NFT {
|
|
895
|
-
/**
|
|
896
|
-
*
|
|
897
|
-
* @type {Chain}
|
|
898
|
-
* @memberof NFT
|
|
899
|
-
*/
|
|
900
|
-
'chain': Chain;
|
|
901
|
-
/**
|
|
902
|
-
* An `uint256` token id as string
|
|
903
|
-
* @type {string}
|
|
904
|
-
* @memberof NFT
|
|
905
|
-
*/
|
|
906
|
-
'token_id': string;
|
|
907
|
-
/**
|
|
908
|
-
* The contract address of the NFT
|
|
909
|
-
* @type {string}
|
|
910
|
-
* @memberof NFT
|
|
911
|
-
*/
|
|
912
|
-
'contract_address': string;
|
|
913
|
-
/**
|
|
914
|
-
* When the NFT was first indexed
|
|
915
|
-
* @type {string}
|
|
916
|
-
* @memberof NFT
|
|
917
|
-
*/
|
|
918
|
-
'indexed_at': string;
|
|
919
|
-
/**
|
|
920
|
-
* When NFT metadata was last synced
|
|
921
|
-
* @type {string}
|
|
922
|
-
* @memberof NFT
|
|
923
|
-
*/
|
|
924
|
-
'metadata_synced_at': string | null;
|
|
925
|
-
/**
|
|
926
|
-
* The name of the NFT
|
|
927
|
-
* @type {string}
|
|
928
|
-
* @memberof NFT
|
|
929
|
-
*/
|
|
930
|
-
'name': string | null;
|
|
931
|
-
/**
|
|
932
|
-
* The description of the NFT
|
|
933
|
-
* @type {string}
|
|
934
|
-
* @memberof NFT
|
|
935
|
-
*/
|
|
936
|
-
'description': string | null;
|
|
937
|
-
/**
|
|
938
|
-
* The image url of the NFT
|
|
939
|
-
* @type {string}
|
|
940
|
-
* @memberof NFT
|
|
941
|
-
*/
|
|
942
|
-
'image': string | null;
|
|
943
|
-
/**
|
|
944
|
-
* The external website link of NFT
|
|
945
|
-
* @type {string}
|
|
946
|
-
* @memberof NFT
|
|
947
|
-
*/
|
|
948
|
-
'external_link': string | null;
|
|
949
|
-
/**
|
|
950
|
-
* The animation url of the NFT
|
|
951
|
-
* @type {string}
|
|
952
|
-
* @memberof NFT
|
|
953
|
-
*/
|
|
954
|
-
'animation_url': string | null;
|
|
955
|
-
/**
|
|
956
|
-
* The youtube URL of NFT
|
|
957
|
-
* @type {string}
|
|
958
|
-
* @memberof NFT
|
|
959
|
-
*/
|
|
960
|
-
'youtube_url': string | null;
|
|
961
|
-
/**
|
|
962
|
-
* The id of mint activity of this NFT
|
|
963
|
-
* @type {string}
|
|
964
|
-
* @memberof NFT
|
|
965
|
-
*/
|
|
966
|
-
'mint_activity_id': string | null;
|
|
967
|
-
}
|
|
968
|
-
|
|
969
|
-
/**
|
|
970
|
-
* Immutable X API
|
|
971
|
-
* Immutable Multi Rollup API
|
|
972
|
-
*
|
|
973
|
-
* The version of the OpenAPI document: 1.0.0
|
|
974
|
-
* Contact: support@immutable.com
|
|
975
|
-
*
|
|
976
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
977
|
-
* https://openapi-generator.tech
|
|
978
|
-
* Do not edit the class manually.
|
|
979
|
-
*/
|
|
980
|
-
/**
|
|
981
|
-
* @type NFTMetadataAttributeValue
|
|
982
|
-
* The metadata trait value
|
|
983
|
-
* @export
|
|
984
|
-
*/
|
|
985
|
-
type NFTMetadataAttributeValue = boolean | number | string;
|
|
986
|
-
|
|
987
|
-
/**
|
|
988
|
-
* Immutable X API
|
|
989
|
-
* Immutable Multi Rollup API
|
|
990
|
-
*
|
|
991
|
-
* The version of the OpenAPI document: 1.0.0
|
|
992
|
-
* Contact: support@immutable.com
|
|
993
|
-
*
|
|
994
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
995
|
-
* https://openapi-generator.tech
|
|
996
|
-
* Do not edit the class manually.
|
|
997
|
-
*/
|
|
998
|
-
|
|
999
|
-
/**
|
|
1000
|
-
*
|
|
1001
|
-
* @export
|
|
1002
|
-
* @interface NFTMetadataAttribute
|
|
1003
|
-
*/
|
|
1004
|
-
interface NFTMetadataAttribute {
|
|
1005
|
-
/**
|
|
1006
|
-
* The metadata trait type
|
|
1007
|
-
* @type {string}
|
|
1008
|
-
* @memberof NFTMetadataAttribute
|
|
1009
|
-
*/
|
|
1010
|
-
'trait_type': string;
|
|
1011
|
-
/**
|
|
1012
|
-
*
|
|
1013
|
-
* @type {NFTMetadataAttributeValue}
|
|
1014
|
-
* @memberof NFTMetadataAttribute
|
|
1015
|
-
*/
|
|
1016
|
-
'value': NFTMetadataAttributeValue;
|
|
1017
|
-
}
|
|
1018
|
-
|
|
1019
|
-
/**
|
|
1020
|
-
* Immutable X API
|
|
1021
|
-
* Immutable Multi Rollup API
|
|
1022
|
-
*
|
|
1023
|
-
* The version of the OpenAPI document: 1.0.0
|
|
1024
|
-
* Contact: support@immutable.com
|
|
1025
|
-
*
|
|
1026
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1027
|
-
* https://openapi-generator.tech
|
|
1028
|
-
* Do not edit the class manually.
|
|
1029
|
-
*/
|
|
1030
|
-
|
|
1031
|
-
/**
|
|
1032
|
-
* List of normalized NFT metadata attributes
|
|
1033
|
-
* @export
|
|
1034
|
-
* @interface NFTMetadataAttributes
|
|
1035
|
-
*/
|
|
1036
|
-
interface NFTMetadataAttributes {
|
|
1037
|
-
/**
|
|
1038
|
-
* List of NFT Metadata attributes
|
|
1039
|
-
* @type {Array<NFTMetadataAttribute>}
|
|
1040
|
-
* @memberof NFTMetadataAttributes
|
|
1041
|
-
*/
|
|
1042
|
-
'attributes': Array<NFTMetadataAttribute>;
|
|
1043
|
-
}
|
|
1044
|
-
|
|
1045
|
-
/**
|
|
1046
|
-
* Immutable X API
|
|
1047
|
-
* Immutable Multi Rollup API
|
|
1048
|
-
*
|
|
1049
|
-
* The version of the OpenAPI document: 1.0.0
|
|
1050
|
-
* Contact: support@immutable.com
|
|
1051
|
-
*
|
|
1052
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1053
|
-
* https://openapi-generator.tech
|
|
1054
|
-
* Do not edit the class manually.
|
|
1055
|
-
*/
|
|
1056
|
-
|
|
1057
|
-
/**
|
|
1058
|
-
* @type NFTWithMetadataAttributes
|
|
1059
|
-
* A single NFT with metadata attributes
|
|
1060
|
-
* @export
|
|
1061
|
-
*/
|
|
1062
|
-
type NFTWithMetadataAttributes = NFT & NFTMetadataAttributes;
|
|
1063
|
-
|
|
1064
|
-
/**
|
|
1065
|
-
* Immutable X API
|
|
1066
|
-
* Immutable Multi Rollup API
|
|
1067
|
-
*
|
|
1068
|
-
* The version of the OpenAPI document: 1.0.0
|
|
1069
|
-
* Contact: support@immutable.com
|
|
1070
|
-
*
|
|
1071
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1072
|
-
* https://openapi-generator.tech
|
|
1073
|
-
* Do not edit the class manually.
|
|
1074
|
-
*/
|
|
1075
|
-
|
|
1076
|
-
/**
|
|
1077
|
-
* Single NFT
|
|
1078
|
-
* @export
|
|
1079
|
-
* @interface GetNFTResult
|
|
1080
|
-
*/
|
|
1081
|
-
interface GetNFTResult {
|
|
1082
|
-
/**
|
|
1083
|
-
*
|
|
1084
|
-
* @type {NFTWithMetadataAttributes}
|
|
1085
|
-
* @memberof GetNFTResult
|
|
1086
|
-
*/
|
|
1087
|
-
'result': NFTWithMetadataAttributes;
|
|
1088
|
-
}
|
|
1089
|
-
|
|
1090
|
-
/**
|
|
1091
|
-
* Immutable X API
|
|
1092
|
-
* Immutable Multi Rollup API
|
|
1093
|
-
*
|
|
1094
|
-
* The version of the OpenAPI document: 1.0.0
|
|
1095
|
-
* Contact: support@immutable.com
|
|
1096
|
-
*
|
|
1097
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1098
|
-
* https://openapi-generator.tech
|
|
1099
|
-
* Do not edit the class manually.
|
|
1100
|
-
*/
|
|
1101
|
-
|
|
1102
|
-
/**
|
|
1103
|
-
*
|
|
1104
|
-
* @export
|
|
1105
|
-
* @interface Token
|
|
1106
|
-
*/
|
|
1107
|
-
interface Token$1 {
|
|
1108
|
-
/**
|
|
1109
|
-
*
|
|
1110
|
-
* @type {Chain}
|
|
1111
|
-
* @memberof Token
|
|
1112
|
-
*/
|
|
1113
|
-
'chain': Chain;
|
|
1114
|
-
/**
|
|
1115
|
-
*
|
|
1116
|
-
* @type {string}
|
|
1117
|
-
* @memberof Token
|
|
1118
|
-
*/
|
|
1119
|
-
'contract_address': string;
|
|
1120
|
-
/**
|
|
1121
|
-
*
|
|
1122
|
-
* @type {string}
|
|
1123
|
-
* @memberof Token
|
|
1124
|
-
*/
|
|
1125
|
-
'symbol': string | null;
|
|
1126
|
-
/**
|
|
1127
|
-
*
|
|
1128
|
-
* @type {number}
|
|
1129
|
-
* @memberof Token
|
|
1130
|
-
*/
|
|
1131
|
-
'decimals': number | null;
|
|
1132
|
-
/**
|
|
1133
|
-
*
|
|
1134
|
-
* @type {string}
|
|
1135
|
-
* @memberof Token
|
|
1136
|
-
*/
|
|
1137
|
-
'image_url': string | null;
|
|
1138
|
-
/**
|
|
1139
|
-
*
|
|
1140
|
-
* @type {string}
|
|
1141
|
-
* @memberof Token
|
|
1142
|
-
*/
|
|
1143
|
-
'name': string | null;
|
|
1144
|
-
}
|
|
1145
|
-
|
|
1146
|
-
/**
|
|
1147
|
-
* Immutable X API
|
|
1148
|
-
* Immutable Multi Rollup API
|
|
1149
|
-
*
|
|
1150
|
-
* The version of the OpenAPI document: 1.0.0
|
|
1151
|
-
* Contact: support@immutable.com
|
|
1152
|
-
*
|
|
1153
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1154
|
-
* https://openapi-generator.tech
|
|
1155
|
-
* Do not edit the class manually.
|
|
1156
|
-
*/
|
|
1157
|
-
|
|
1158
|
-
/**
|
|
1159
|
-
* Single Token
|
|
1160
|
-
* @export
|
|
1161
|
-
* @interface GetTokenResult
|
|
1162
|
-
*/
|
|
1163
|
-
interface GetTokenResult {
|
|
1164
|
-
/**
|
|
1165
|
-
*
|
|
1166
|
-
* @type {Token}
|
|
1167
|
-
* @memberof GetTokenResult
|
|
1168
|
-
*/
|
|
1169
|
-
'result': Token$1;
|
|
1170
|
-
}
|
|
1171
|
-
|
|
1172
|
-
/**
|
|
1173
|
-
* Immutable X API
|
|
1174
|
-
* Immutable Multi Rollup API
|
|
1175
|
-
*
|
|
1176
|
-
* The version of the OpenAPI document: 1.0.0
|
|
1177
|
-
* Contact: support@immutable.com
|
|
1178
|
-
*
|
|
1179
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1180
|
-
* https://openapi-generator.tech
|
|
1181
|
-
* Do not edit the class manually.
|
|
1182
|
-
*/
|
|
1183
|
-
/**
|
|
1184
|
-
* Pagination properties
|
|
1185
|
-
* @export
|
|
1186
|
-
* @interface Page
|
|
1187
|
-
*/
|
|
1188
|
-
interface Page {
|
|
1189
|
-
/**
|
|
1190
|
-
* First item as an encoded string
|
|
1191
|
-
* @type {string}
|
|
1192
|
-
* @memberof Page
|
|
1193
|
-
*/
|
|
1194
|
-
'previous_cursor': string | null;
|
|
1195
|
-
/**
|
|
1196
|
-
* Last item as an encoded string
|
|
1197
|
-
* @type {string}
|
|
1198
|
-
* @memberof Page
|
|
1199
|
-
*/
|
|
1200
|
-
'next_cursor': string | null;
|
|
1201
|
-
}
|
|
1202
|
-
|
|
1203
|
-
/**
|
|
1204
|
-
* Immutable X API
|
|
1205
|
-
* Immutable Multi Rollup API
|
|
1206
|
-
*
|
|
1207
|
-
* The version of the OpenAPI document: 1.0.0
|
|
1208
|
-
* Contact: support@immutable.com
|
|
1209
|
-
*
|
|
1210
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1211
|
-
* https://openapi-generator.tech
|
|
1212
|
-
* Do not edit the class manually.
|
|
1213
|
-
*/
|
|
1214
|
-
|
|
1215
|
-
/**
|
|
1216
|
-
* List activities response
|
|
1217
|
-
* @export
|
|
1218
|
-
* @interface ListActivitiesResult
|
|
1219
|
-
*/
|
|
1220
|
-
interface ListActivitiesResult {
|
|
1221
|
-
/**
|
|
1222
|
-
* List of activities
|
|
1223
|
-
* @type {Array<Activity>}
|
|
1224
|
-
* @memberof ListActivitiesResult
|
|
1225
|
-
*/
|
|
1226
|
-
'result': Array<Activity>;
|
|
1227
|
-
/**
|
|
1228
|
-
*
|
|
1229
|
-
* @type {Page}
|
|
1230
|
-
* @memberof ListActivitiesResult
|
|
1231
|
-
*/
|
|
1232
|
-
'page': Page;
|
|
1233
|
-
}
|
|
1234
|
-
|
|
1235
|
-
/**
|
|
1236
|
-
* Immutable X API
|
|
1237
|
-
* Immutable Multi Rollup API
|
|
1238
|
-
*
|
|
1239
|
-
* The version of the OpenAPI document: 1.0.0
|
|
1240
|
-
* Contact: support@immutable.com
|
|
1241
|
-
*
|
|
1242
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1243
|
-
* https://openapi-generator.tech
|
|
1244
|
-
* Do not edit the class manually.
|
|
1245
|
-
*/
|
|
1246
|
-
|
|
1247
|
-
/**
|
|
1248
|
-
*
|
|
1249
|
-
* @export
|
|
1250
|
-
* @interface ListChainsResult
|
|
1251
|
-
*/
|
|
1252
|
-
interface ListChainsResult {
|
|
1253
|
-
/**
|
|
1254
|
-
* List of chains
|
|
1255
|
-
* @type {Array<ChainWithDetails>}
|
|
1256
|
-
* @memberof ListChainsResult
|
|
1257
|
-
*/
|
|
1258
|
-
'result': Array<ChainWithDetails>;
|
|
1259
|
-
/**
|
|
1260
|
-
*
|
|
1261
|
-
* @type {Page}
|
|
1262
|
-
* @memberof ListChainsResult
|
|
1263
|
-
*/
|
|
1264
|
-
'page': Page;
|
|
1265
|
-
}
|
|
1266
|
-
|
|
1267
|
-
/**
|
|
1268
|
-
* Immutable X API
|
|
1269
|
-
* Immutable Multi Rollup API
|
|
1270
|
-
*
|
|
1271
|
-
* The version of the OpenAPI document: 1.0.0
|
|
1272
|
-
* Contact: support@immutable.com
|
|
1273
|
-
*
|
|
1274
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1275
|
-
* https://openapi-generator.tech
|
|
1276
|
-
* Do not edit the class manually.
|
|
1277
|
-
*/
|
|
1278
|
-
|
|
1279
|
-
/**
|
|
1280
|
-
*
|
|
1281
|
-
* @export
|
|
1282
|
-
* @interface ListCollectionsResult
|
|
1283
|
-
*/
|
|
1284
|
-
interface ListCollectionsResult {
|
|
1285
|
-
/**
|
|
1286
|
-
* List of collections
|
|
1287
|
-
* @type {Array<Collection>}
|
|
1288
|
-
* @memberof ListCollectionsResult
|
|
1289
|
-
*/
|
|
1290
|
-
'result': Array<Collection$1>;
|
|
1291
|
-
/**
|
|
1292
|
-
*
|
|
1293
|
-
* @type {Page}
|
|
1294
|
-
* @memberof ListCollectionsResult
|
|
1295
|
-
*/
|
|
1296
|
-
'page': Page;
|
|
1297
|
-
}
|
|
1298
|
-
|
|
1299
|
-
/**
|
|
1300
|
-
* Immutable X API
|
|
1301
|
-
* Immutable Multi Rollup API
|
|
1302
|
-
*
|
|
1303
|
-
* The version of the OpenAPI document: 1.0.0
|
|
1304
|
-
* Contact: support@immutable.com
|
|
1305
|
-
*
|
|
1306
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1307
|
-
* https://openapi-generator.tech
|
|
1308
|
-
* Do not edit the class manually.
|
|
1309
|
-
*/
|
|
1310
|
-
|
|
1311
|
-
/**
|
|
1312
|
-
*
|
|
1313
|
-
* @export
|
|
1314
|
-
* @interface NFTOwner
|
|
1315
|
-
*/
|
|
1316
|
-
interface NFTOwner {
|
|
1317
|
-
/**
|
|
1318
|
-
*
|
|
1319
|
-
* @type {Chain}
|
|
1320
|
-
* @memberof NFTOwner
|
|
1321
|
-
*/
|
|
1322
|
-
'chain': Chain;
|
|
1323
|
-
/**
|
|
1324
|
-
* The address of NFT contract
|
|
1325
|
-
* @type {string}
|
|
1326
|
-
* @memberof NFTOwner
|
|
1327
|
-
*/
|
|
1328
|
-
'contract_address': string;
|
|
1329
|
-
/**
|
|
1330
|
-
* An `uint256` token id as string
|
|
1331
|
-
* @type {string}
|
|
1332
|
-
* @memberof NFTOwner
|
|
1333
|
-
*/
|
|
1334
|
-
'token_id': string;
|
|
1335
|
-
/**
|
|
1336
|
-
* The account address of the owner of the NFT
|
|
1337
|
-
* @type {string}
|
|
1338
|
-
* @memberof NFTOwner
|
|
1339
|
-
*/
|
|
1340
|
-
'account_address': string;
|
|
1341
|
-
/**
|
|
1342
|
-
* The quantity of owned tokens (uint256 as string)
|
|
1343
|
-
* @type {string}
|
|
1344
|
-
* @memberof NFTOwner
|
|
1345
|
-
*/
|
|
1346
|
-
'quantity': string;
|
|
1347
|
-
}
|
|
1348
|
-
|
|
1349
|
-
/**
|
|
1350
|
-
* Immutable X API
|
|
1351
|
-
* Immutable Multi Rollup API
|
|
1352
|
-
*
|
|
1353
|
-
* The version of the OpenAPI document: 1.0.0
|
|
1354
|
-
* Contact: support@immutable.com
|
|
1355
|
-
*
|
|
1356
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1357
|
-
* https://openapi-generator.tech
|
|
1358
|
-
* Do not edit the class manually.
|
|
1359
|
-
*/
|
|
1360
|
-
|
|
1361
|
-
/**
|
|
1362
|
-
*
|
|
1363
|
-
* @export
|
|
1364
|
-
* @interface ListNFTOwnersResult
|
|
1365
|
-
*/
|
|
1366
|
-
interface ListNFTOwnersResult {
|
|
1367
|
-
/**
|
|
1368
|
-
* List of nft owners
|
|
1369
|
-
* @type {Array<NFTOwner>}
|
|
1370
|
-
* @memberof ListNFTOwnersResult
|
|
1371
|
-
*/
|
|
1372
|
-
'result': Array<NFTOwner>;
|
|
1373
|
-
/**
|
|
1374
|
-
*
|
|
1375
|
-
* @type {Page}
|
|
1376
|
-
* @memberof ListNFTOwnersResult
|
|
1377
|
-
*/
|
|
1378
|
-
'page': Page;
|
|
1379
|
-
}
|
|
1380
|
-
|
|
1381
|
-
/**
|
|
1382
|
-
* Immutable X API
|
|
1383
|
-
* Immutable Multi Rollup API
|
|
1384
|
-
*
|
|
1385
|
-
* The version of the OpenAPI document: 1.0.0
|
|
1386
|
-
* Contact: support@immutable.com
|
|
1387
|
-
*
|
|
1388
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1389
|
-
* https://openapi-generator.tech
|
|
1390
|
-
* Do not edit the class manually.
|
|
1391
|
-
*/
|
|
1392
|
-
|
|
1393
|
-
/**
|
|
1394
|
-
*
|
|
1395
|
-
* @export
|
|
1396
|
-
* @interface ListNFTsResult
|
|
1397
|
-
*/
|
|
1398
|
-
interface ListNFTsResult {
|
|
1399
|
-
/**
|
|
1400
|
-
* List of nfts
|
|
1401
|
-
* @type {Array<NFT>}
|
|
1402
|
-
* @memberof ListNFTsResult
|
|
1403
|
-
*/
|
|
1404
|
-
'result': Array<NFT>;
|
|
1405
|
-
/**
|
|
1406
|
-
*
|
|
1407
|
-
* @type {Page}
|
|
1408
|
-
* @memberof ListNFTsResult
|
|
1409
|
-
*/
|
|
1410
|
-
'page': Page;
|
|
1411
|
-
}
|
|
1412
|
-
|
|
1413
|
-
/**
|
|
1414
|
-
* Immutable X API
|
|
1415
|
-
* Immutable Multi Rollup API
|
|
1416
|
-
*
|
|
1417
|
-
* The version of the OpenAPI document: 1.0.0
|
|
1418
|
-
* Contact: support@immutable.com
|
|
1419
|
-
*
|
|
1420
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1421
|
-
* https://openapi-generator.tech
|
|
1422
|
-
* Do not edit the class manually.
|
|
1423
|
-
*/
|
|
1424
|
-
|
|
1425
|
-
/**
|
|
1426
|
-
*
|
|
1427
|
-
* @export
|
|
1428
|
-
* @interface ListTokensResult
|
|
1429
|
-
*/
|
|
1430
|
-
interface ListTokensResult {
|
|
1431
|
-
/**
|
|
1432
|
-
* List of tokens
|
|
1433
|
-
* @type {Array<Token>}
|
|
1434
|
-
* @memberof ListTokensResult
|
|
1435
|
-
*/
|
|
1436
|
-
'result': Array<Token$1>;
|
|
1437
|
-
/**
|
|
1438
|
-
*
|
|
1439
|
-
* @type {Page}
|
|
1440
|
-
* @memberof ListTokensResult
|
|
1441
|
-
*/
|
|
1442
|
-
'page': Page;
|
|
1443
|
-
}
|
|
1444
|
-
|
|
1445
|
-
/**
|
|
1446
|
-
* Request parameters for getActivity operation in ActivitiesApi.
|
|
1447
|
-
* @export
|
|
1448
|
-
* @interface ActivitiesApiGetActivityRequest
|
|
1449
|
-
*/
|
|
1450
|
-
interface ActivitiesApiGetActivityRequest {
|
|
1451
|
-
/**
|
|
1452
|
-
* The name of chain
|
|
1453
|
-
* @type {string}
|
|
1454
|
-
* @memberof ActivitiesApiGetActivity
|
|
1455
|
-
*/
|
|
1456
|
-
readonly chainName: string;
|
|
1457
|
-
/**
|
|
1458
|
-
* The id of activity
|
|
1459
|
-
* @type {string}
|
|
1460
|
-
* @memberof ActivitiesApiGetActivity
|
|
1461
|
-
*/
|
|
1462
|
-
readonly activityId: string;
|
|
1463
|
-
}
|
|
1464
|
-
/**
|
|
1465
|
-
* Request parameters for listActivities operation in ActivitiesApi.
|
|
1466
|
-
* @export
|
|
1467
|
-
* @interface ActivitiesApiListActivitiesRequest
|
|
1468
|
-
*/
|
|
1469
|
-
interface ActivitiesApiListActivitiesRequest {
|
|
1470
|
-
/**
|
|
1471
|
-
* The name of chain
|
|
1472
|
-
* @type {string}
|
|
1473
|
-
* @memberof ActivitiesApiListActivities
|
|
1474
|
-
*/
|
|
1475
|
-
readonly chainName: string;
|
|
1476
|
-
/**
|
|
1477
|
-
* The contract address of NFT or ERC20 Token
|
|
1478
|
-
* @type {string}
|
|
1479
|
-
* @memberof ActivitiesApiListActivities
|
|
1480
|
-
*/
|
|
1481
|
-
readonly contractAddress?: string;
|
|
1482
|
-
/**
|
|
1483
|
-
* An `uint256` token id as string
|
|
1484
|
-
* @type {string}
|
|
1485
|
-
* @memberof ActivitiesApiListActivities
|
|
1486
|
-
*/
|
|
1487
|
-
readonly tokenId?: string;
|
|
1488
|
-
/**
|
|
1489
|
-
* The account address activity contains
|
|
1490
|
-
* @type {string}
|
|
1491
|
-
* @memberof ActivitiesApiListActivities
|
|
1492
|
-
*/
|
|
1493
|
-
readonly accountAddress?: string;
|
|
1494
|
-
/**
|
|
1495
|
-
* The activity type
|
|
1496
|
-
* @type {ActivityType}
|
|
1497
|
-
* @memberof ActivitiesApiListActivities
|
|
1498
|
-
*/
|
|
1499
|
-
readonly activityType?: ActivityType;
|
|
1500
|
-
/**
|
|
1501
|
-
* From indexed at including given date
|
|
1502
|
-
* @type {string}
|
|
1503
|
-
* @memberof ActivitiesApiListActivities
|
|
1504
|
-
*/
|
|
1505
|
-
readonly fromIndexedAt?: string;
|
|
1506
|
-
/**
|
|
1507
|
-
* To indexed at including given date
|
|
1508
|
-
* @type {string}
|
|
1509
|
-
* @memberof ActivitiesApiListActivities
|
|
1510
|
-
*/
|
|
1511
|
-
readonly toIndexedAt?: string;
|
|
1512
|
-
/**
|
|
1513
|
-
* The transaction hash of activity
|
|
1514
|
-
* @type {string}
|
|
1515
|
-
* @memberof ActivitiesApiListActivities
|
|
1516
|
-
*/
|
|
1517
|
-
readonly transactionHash?: string;
|
|
1518
|
-
/**
|
|
1519
|
-
* Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
1520
|
-
* @type {string}
|
|
1521
|
-
* @memberof ActivitiesApiListActivities
|
|
1522
|
-
*/
|
|
1523
|
-
readonly pageCursor?: string;
|
|
1524
|
-
/**
|
|
1525
|
-
* Maximum number of items to return
|
|
1526
|
-
* @type {number}
|
|
1527
|
-
* @memberof ActivitiesApiListActivities
|
|
1528
|
-
*/
|
|
1529
|
-
readonly pageSize?: number;
|
|
1530
|
-
}
|
|
1531
|
-
|
|
1532
|
-
/**
|
|
1533
|
-
* Request parameters for listChains operation in ChainsApi.
|
|
1534
|
-
* @export
|
|
1535
|
-
* @interface ChainsApiListChainsRequest
|
|
1536
|
-
*/
|
|
1537
|
-
interface ChainsApiListChainsRequest {
|
|
1538
|
-
/**
|
|
1539
|
-
* Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
1540
|
-
* @type {string}
|
|
1541
|
-
* @memberof ChainsApiListChains
|
|
1542
|
-
*/
|
|
1543
|
-
readonly pageCursor?: string;
|
|
1544
|
-
/**
|
|
1545
|
-
* Maximum number of items to return
|
|
1546
|
-
* @type {number}
|
|
1547
|
-
* @memberof ChainsApiListChains
|
|
1548
|
-
*/
|
|
1549
|
-
readonly pageSize?: number;
|
|
1550
|
-
}
|
|
1551
|
-
|
|
1552
|
-
/**
|
|
1553
|
-
* Request parameters for getCollection operation in CollectionsApi.
|
|
1554
|
-
* @export
|
|
1555
|
-
* @interface CollectionsApiGetCollectionRequest
|
|
1556
|
-
*/
|
|
1557
|
-
interface CollectionsApiGetCollectionRequest$1 {
|
|
1558
|
-
/**
|
|
1559
|
-
* The address contract
|
|
1560
|
-
* @type {string}
|
|
1561
|
-
* @memberof CollectionsApiGetCollection
|
|
1562
|
-
*/
|
|
1563
|
-
readonly contractAddress: string;
|
|
1564
|
-
/**
|
|
1565
|
-
* The name of chain
|
|
1566
|
-
* @type {string}
|
|
1567
|
-
* @memberof CollectionsApiGetCollection
|
|
1568
|
-
*/
|
|
1569
|
-
readonly chainName: string;
|
|
1570
|
-
}
|
|
1571
|
-
/**
|
|
1572
|
-
* Request parameters for listCollections operation in CollectionsApi.
|
|
1573
|
-
* @export
|
|
1574
|
-
* @interface CollectionsApiListCollectionsRequest
|
|
1575
|
-
*/
|
|
1576
|
-
interface CollectionsApiListCollectionsRequest$1 {
|
|
1577
|
-
/**
|
|
1578
|
-
* The name of chain
|
|
1579
|
-
* @type {string}
|
|
1580
|
-
* @memberof CollectionsApiListCollections
|
|
1581
|
-
*/
|
|
1582
|
-
readonly chainName: string;
|
|
1583
|
-
/**
|
|
1584
|
-
* Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
1585
|
-
* @type {string}
|
|
1586
|
-
* @memberof CollectionsApiListCollections
|
|
1587
|
-
*/
|
|
1588
|
-
readonly pageCursor?: string;
|
|
1589
|
-
/**
|
|
1590
|
-
* Maximum number of items to return
|
|
1591
|
-
* @type {number}
|
|
1592
|
-
* @memberof CollectionsApiListCollections
|
|
1593
|
-
*/
|
|
1594
|
-
readonly pageSize?: number;
|
|
1595
|
-
}
|
|
1596
|
-
|
|
1597
|
-
/**
|
|
1598
|
-
* Request parameters for listNFTOwners operation in NftOwnersApi.
|
|
1599
|
-
* @export
|
|
1600
|
-
* @interface NftOwnersApiListNFTOwnersRequest
|
|
1601
|
-
*/
|
|
1602
|
-
interface NftOwnersApiListNFTOwnersRequest {
|
|
1603
|
-
/**
|
|
1604
|
-
* The address of contract
|
|
1605
|
-
* @type {string}
|
|
1606
|
-
* @memberof NftOwnersApiListNFTOwners
|
|
1607
|
-
*/
|
|
1608
|
-
readonly contractAddress: string;
|
|
1609
|
-
/**
|
|
1610
|
-
* An `uint256` token id as string
|
|
1611
|
-
* @type {string}
|
|
1612
|
-
* @memberof NftOwnersApiListNFTOwners
|
|
1613
|
-
*/
|
|
1614
|
-
readonly tokenId: string;
|
|
1615
|
-
/**
|
|
1616
|
-
* The name of chain
|
|
1617
|
-
* @type {string}
|
|
1618
|
-
* @memberof NftOwnersApiListNFTOwners
|
|
1619
|
-
*/
|
|
1620
|
-
readonly chainName: string;
|
|
1621
|
-
/**
|
|
1622
|
-
* Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
1623
|
-
* @type {string}
|
|
1624
|
-
* @memberof NftOwnersApiListNFTOwners
|
|
1625
|
-
*/
|
|
1626
|
-
readonly pageCursor?: string;
|
|
1627
|
-
/**
|
|
1628
|
-
* Maximum number of items to return
|
|
1629
|
-
* @type {number}
|
|
1630
|
-
* @memberof NftOwnersApiListNFTOwners
|
|
1631
|
-
*/
|
|
1632
|
-
readonly pageSize?: number;
|
|
1633
|
-
}
|
|
1634
|
-
|
|
1635
|
-
/**
|
|
1636
|
-
* Request parameters for getNFT operation in NftsApi.
|
|
1637
|
-
* @export
|
|
1638
|
-
* @interface NftsApiGetNFTRequest
|
|
1639
|
-
*/
|
|
1640
|
-
interface NftsApiGetNFTRequest {
|
|
1641
|
-
/**
|
|
1642
|
-
* The address of NFT contract
|
|
1643
|
-
* @type {string}
|
|
1644
|
-
* @memberof NftsApiGetNFT
|
|
1645
|
-
*/
|
|
1646
|
-
readonly contractAddress: string;
|
|
1647
|
-
/**
|
|
1648
|
-
* An `uint256` token id as string
|
|
1649
|
-
* @type {string}
|
|
1650
|
-
* @memberof NftsApiGetNFT
|
|
1651
|
-
*/
|
|
1652
|
-
readonly tokenId: string;
|
|
1653
|
-
/**
|
|
1654
|
-
* The name of chain
|
|
1655
|
-
* @type {string}
|
|
1656
|
-
* @memberof NftsApiGetNFT
|
|
1657
|
-
*/
|
|
1658
|
-
readonly chainName: string;
|
|
1659
|
-
}
|
|
1660
|
-
/**
|
|
1661
|
-
* Request parameters for listNFTs operation in NftsApi.
|
|
1662
|
-
* @export
|
|
1663
|
-
* @interface NftsApiListNFTsRequest
|
|
1664
|
-
*/
|
|
1665
|
-
interface NftsApiListNFTsRequest {
|
|
1666
|
-
/**
|
|
1667
|
-
* Contract address
|
|
1668
|
-
* @type {string}
|
|
1669
|
-
* @memberof NftsApiListNFTs
|
|
1670
|
-
*/
|
|
1671
|
-
readonly contractAddress: string;
|
|
1672
|
-
/**
|
|
1673
|
-
* The name of chain
|
|
1674
|
-
* @type {string}
|
|
1675
|
-
* @memberof NftsApiListNFTs
|
|
1676
|
-
*/
|
|
1677
|
-
readonly chainName: string;
|
|
1678
|
-
/**
|
|
1679
|
-
* Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
1680
|
-
* @type {string}
|
|
1681
|
-
* @memberof NftsApiListNFTs
|
|
1682
|
-
*/
|
|
1683
|
-
readonly pageCursor?: string;
|
|
1684
|
-
/**
|
|
1685
|
-
* Maximum number of items to return
|
|
1686
|
-
* @type {number}
|
|
1687
|
-
* @memberof NftsApiListNFTs
|
|
1688
|
-
*/
|
|
1689
|
-
readonly pageSize?: number;
|
|
1690
|
-
}
|
|
1691
|
-
/**
|
|
1692
|
-
* Request parameters for listNFTsByAccountAddress operation in NftsApi.
|
|
1693
|
-
* @export
|
|
1694
|
-
* @interface NftsApiListNFTsByAccountAddressRequest
|
|
1695
|
-
*/
|
|
1696
|
-
interface NftsApiListNFTsByAccountAddressRequest {
|
|
1697
|
-
/**
|
|
1698
|
-
* Account address
|
|
1699
|
-
* @type {string}
|
|
1700
|
-
* @memberof NftsApiListNFTsByAccountAddress
|
|
1701
|
-
*/
|
|
1702
|
-
readonly accountAddress: string;
|
|
1703
|
-
/**
|
|
1704
|
-
* The name of chain
|
|
1705
|
-
* @type {string}
|
|
1706
|
-
* @memberof NftsApiListNFTsByAccountAddress
|
|
1707
|
-
*/
|
|
1708
|
-
readonly chainName: string;
|
|
1709
|
-
/**
|
|
1710
|
-
* The address of contract
|
|
1711
|
-
* @type {string}
|
|
1712
|
-
* @memberof NftsApiListNFTsByAccountAddress
|
|
1713
|
-
*/
|
|
1714
|
-
readonly contractAddress?: string;
|
|
1715
|
-
/**
|
|
1716
|
-
* Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
1717
|
-
* @type {string}
|
|
1718
|
-
* @memberof NftsApiListNFTsByAccountAddress
|
|
1719
|
-
*/
|
|
1720
|
-
readonly pageCursor?: string;
|
|
1721
|
-
/**
|
|
1722
|
-
* Maximum number of items to return
|
|
1723
|
-
* @type {number}
|
|
1724
|
-
* @memberof NftsApiListNFTsByAccountAddress
|
|
1725
|
-
*/
|
|
1726
|
-
readonly pageSize?: number;
|
|
1727
|
-
}
|
|
1728
|
-
|
|
1729
|
-
/**
|
|
1730
|
-
* Request parameters for getERC20Token operation in TokensApi.
|
|
1731
|
-
* @export
|
|
1732
|
-
* @interface TokensApiGetERC20TokenRequest
|
|
1733
|
-
*/
|
|
1734
|
-
interface TokensApiGetERC20TokenRequest {
|
|
1735
|
-
/**
|
|
1736
|
-
* The address of contract
|
|
1737
|
-
* @type {string}
|
|
1738
|
-
* @memberof TokensApiGetERC20Token
|
|
1739
|
-
*/
|
|
1740
|
-
readonly contractAddress: string;
|
|
1741
|
-
/**
|
|
1742
|
-
* The name of chain
|
|
1743
|
-
* @type {string}
|
|
1744
|
-
* @memberof TokensApiGetERC20Token
|
|
1745
|
-
*/
|
|
1746
|
-
readonly chainName: string;
|
|
1747
|
-
}
|
|
1748
|
-
/**
|
|
1749
|
-
* Request parameters for listERC20Tokens operation in TokensApi.
|
|
1750
|
-
* @export
|
|
1751
|
-
* @interface TokensApiListERC20TokensRequest
|
|
1752
|
-
*/
|
|
1753
|
-
interface TokensApiListERC20TokensRequest {
|
|
1754
|
-
/**
|
|
1755
|
-
* The name of chain
|
|
1756
|
-
* @type {string}
|
|
1757
|
-
* @memberof TokensApiListERC20Tokens
|
|
1758
|
-
*/
|
|
1759
|
-
readonly chainName: string;
|
|
1760
|
-
/**
|
|
1761
|
-
* Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
1762
|
-
* @type {string}
|
|
1763
|
-
* @memberof TokensApiListERC20Tokens
|
|
1764
|
-
*/
|
|
1765
|
-
readonly pageCursor?: string;
|
|
1766
|
-
/**
|
|
1767
|
-
* Maximum number of items to return
|
|
1768
|
-
* @type {number}
|
|
1769
|
-
* @memberof TokensApiListERC20Tokens
|
|
1770
|
-
*/
|
|
1771
|
-
readonly pageSize?: number;
|
|
1772
|
-
}
|
|
1773
|
-
|
|
1774
|
-
interface OpenAPIError extends BasicAPIError {
|
|
1775
|
-
code: string;
|
|
1776
|
-
details: {
|
|
1777
|
-
[key: string]: any;
|
|
1778
|
-
} | null;
|
|
1779
|
-
}
|
|
1780
|
-
/**
|
|
1781
|
-
* Custom Error class that is returned from the API when a request fails
|
|
1782
|
-
*/
|
|
1783
|
-
declare class APIError extends Error {
|
|
1784
|
-
readonly code: string;
|
|
1785
|
-
readonly details: {
|
|
1786
|
-
[key: string]: any;
|
|
1787
|
-
} | null;
|
|
1788
|
-
readonly link: string;
|
|
1789
|
-
readonly traceId: string;
|
|
1790
|
-
constructor({ message, code, details, link, trace_id: traceId, }: OpenAPIError);
|
|
1791
|
-
}
|
|
1792
|
-
|
|
1793
|
-
declare class BlockchainData {
|
|
1794
|
-
readonly config: BlockchainDataConfiguration;
|
|
1795
|
-
private readonly activities;
|
|
1796
|
-
private readonly chains;
|
|
1797
|
-
private readonly collections;
|
|
1798
|
-
private readonly nfts;
|
|
1799
|
-
private readonly nftOwners;
|
|
1800
|
-
private readonly tokens;
|
|
1801
|
-
constructor(moduleConfig: BlockchainDataModuleConfiguration$1);
|
|
1802
|
-
/**
|
|
1803
|
-
* List all activities
|
|
1804
|
-
* @param request - the request object containing the parameters to be provided in the API request
|
|
1805
|
-
* @returns a promise that resolves with a list of activities
|
|
1806
|
-
* @throws {@link index.APIError}
|
|
1807
|
-
*/
|
|
1808
|
-
listActivities(request: ActivitiesApiListActivitiesRequest): Promise<ListActivitiesResult>;
|
|
1809
|
-
/**
|
|
1810
|
-
* Get a single activity by ID
|
|
1811
|
-
* @param request - the request object containing the parameters to be provided in the API request
|
|
1812
|
-
* @returns a promise that resolves with a single activity
|
|
1813
|
-
* @throws {@link index.APIError}
|
|
1814
|
-
*/
|
|
1815
|
-
getActivity(request: ActivitiesApiGetActivityRequest): Promise<GetActivityResult>;
|
|
1816
|
-
/**
|
|
1817
|
-
* List supported chains
|
|
1818
|
-
* @param request - the request object containing the parameters to be provided in the API request
|
|
1819
|
-
* @returns a promise that resolves with a list of supported chains
|
|
1820
|
-
* @throws {@link index.APIError}
|
|
1821
|
-
*/
|
|
1822
|
-
listChains(request: ChainsApiListChainsRequest): Promise<ListChainsResult>;
|
|
1823
|
-
/**
|
|
1824
|
-
* List all collections
|
|
1825
|
-
* @param request - the request object containing the parameters to be provided in the API request
|
|
1826
|
-
* @returns a promise that resolves with a list of collections
|
|
1827
|
-
* @throws {@link index.APIError}
|
|
1828
|
-
*/
|
|
1829
|
-
listCollections(request: CollectionsApiListCollectionsRequest$1): Promise<ListCollectionsResult>;
|
|
1830
|
-
/**
|
|
1831
|
-
* Get collection by contract address
|
|
1832
|
-
* @param request - the request object containing the parameters to be provided in the API request
|
|
1833
|
-
* @returns a promise that resolves with a single collection
|
|
1834
|
-
* @throws {@link index.APIError}
|
|
1835
|
-
*/
|
|
1836
|
-
getCollection(request: CollectionsApiGetCollectionRequest$1): Promise<GetCollectionResult>;
|
|
1837
|
-
/**
|
|
1838
|
-
* Get NFT by token ID
|
|
1839
|
-
* @param request - the request object containing the parameters to be provided in the API request
|
|
1840
|
-
* @returns a promise that resolves with a single NFT
|
|
1841
|
-
* @throws {@link index.APIError}
|
|
1842
|
-
*/
|
|
1843
|
-
getNFT(request: NftsApiGetNFTRequest): Promise<GetNFTResult>;
|
|
1844
|
-
/**
|
|
1845
|
-
* List NFTs by contract address
|
|
1846
|
-
* @param request - the request object containing the parameters to be provided in the API request
|
|
1847
|
-
* @returns a promise that resolves with a list of NFTs
|
|
1848
|
-
* @throws {@link index.APIError}
|
|
1849
|
-
*/
|
|
1850
|
-
listNFTs(request: NftsApiListNFTsRequest): Promise<ListNFTsResult>;
|
|
1851
|
-
/**
|
|
1852
|
-
* List NFTs by account address
|
|
1853
|
-
* @param request - the request object containing the parameters to be provided in the API request
|
|
1854
|
-
* @returns a promise that resolves with a list of NFTs
|
|
1855
|
-
* @throws {@link index.APIError}
|
|
1856
|
-
*/
|
|
1857
|
-
listNFTsByAccountAddress(request: NftsApiListNFTsByAccountAddressRequest): Promise<ListNFTsResult>;
|
|
1858
|
-
/**
|
|
1859
|
-
* List NFT owners by token ID
|
|
1860
|
-
* @param request - the request object containing the parameters to be provided in the API request
|
|
1861
|
-
* @returns a promise that resolves with a list of NFT owners
|
|
1862
|
-
* @throws {@link index.APIError}
|
|
1863
|
-
*/
|
|
1864
|
-
listNFTOwners(request: NftOwnersApiListNFTOwnersRequest): Promise<ListNFTOwnersResult>;
|
|
1865
|
-
/**
|
|
1866
|
-
* List ERC20 Token contracts
|
|
1867
|
-
* @param request - the request object containing the parameters to be provided in the API request
|
|
1868
|
-
* @returns a promise that resolves with a list of ERC20 Tokens
|
|
1869
|
-
* @throws {@link index.APIError}
|
|
1870
|
-
*/
|
|
1871
|
-
listTokens(request: TokensApiListERC20TokensRequest): Promise<ListTokensResult>;
|
|
1872
|
-
/**
|
|
1873
|
-
* Get details for an ERC20 Token by contract address
|
|
1874
|
-
* @param request - the request object containing the parameters to be provided in the API request
|
|
1875
|
-
* @returns a promise that resolves with a list of ERC20 Tokens
|
|
1876
|
-
* @throws {@link index.APIError}
|
|
1877
|
-
*/
|
|
1878
|
-
getToken(request: TokensApiGetERC20TokenRequest): Promise<GetTokenResult>;
|
|
1879
|
-
}
|
|
1880
|
-
|
|
1881
|
-
interface APIConfigurationParams {
|
|
1882
|
-
basePath: string;
|
|
1883
|
-
headers?: Record<string, string>;
|
|
1884
|
-
}
|
|
1885
|
-
interface BlockchainDataModuleConfiguration extends ModuleConfiguration<APIConfigurationParams> {
|
|
1886
|
-
}
|
|
1887
|
-
|
|
1888
20
|
declare type Bytes = ArrayLike<number>;
|
|
1889
21
|
declare type BytesLike = Bytes | string;
|
|
1890
22
|
interface Hexable {
|
|
@@ -2126,41 +258,6 @@ declare abstract class Signer {
|
|
|
2126
258
|
static isSigner(value: any): value is Signer;
|
|
2127
259
|
}
|
|
2128
260
|
|
|
2129
|
-
interface Overrides {
|
|
2130
|
-
gasLimit?: BigNumberish | Promise<BigNumberish>;
|
|
2131
|
-
gasPrice?: BigNumberish | Promise<BigNumberish>;
|
|
2132
|
-
maxFeePerGas?: BigNumberish | Promise<BigNumberish>;
|
|
2133
|
-
maxPriorityFeePerGas?: BigNumberish | Promise<BigNumberish>;
|
|
2134
|
-
nonce?: BigNumberish | Promise<BigNumberish>;
|
|
2135
|
-
type?: number;
|
|
2136
|
-
accessList?: AccessListish;
|
|
2137
|
-
customData?: Record<string, any>;
|
|
2138
|
-
ccipReadEnabled?: boolean;
|
|
2139
|
-
}
|
|
2140
|
-
interface PayableOverrides extends Overrides {
|
|
2141
|
-
value?: BigNumberish | Promise<BigNumberish>;
|
|
2142
|
-
}
|
|
2143
|
-
interface CallOverrides extends PayableOverrides {
|
|
2144
|
-
blockTag?: BlockTag | Promise<BlockTag>;
|
|
2145
|
-
from?: string | Promise<string>;
|
|
2146
|
-
}
|
|
2147
|
-
interface PopulatedTransaction {
|
|
2148
|
-
to?: string;
|
|
2149
|
-
from?: string;
|
|
2150
|
-
nonce?: number;
|
|
2151
|
-
gasLimit?: BigNumber;
|
|
2152
|
-
gasPrice?: BigNumber;
|
|
2153
|
-
data?: string;
|
|
2154
|
-
value?: BigNumber;
|
|
2155
|
-
chainId?: number;
|
|
2156
|
-
type?: number;
|
|
2157
|
-
accessList?: AccessList;
|
|
2158
|
-
maxFeePerGas?: BigNumber;
|
|
2159
|
-
maxPriorityFeePerGas?: BigNumber;
|
|
2160
|
-
customData?: Record<string, any>;
|
|
2161
|
-
ccipReadEnabled?: boolean;
|
|
2162
|
-
}
|
|
2163
|
-
|
|
2164
261
|
// TypeScript Version: 3.0
|
|
2165
262
|
|
|
2166
263
|
type AxiosRequestHeaders = Record<string, string | number | boolean>;
|
|
@@ -12460,286 +10557,4 @@ declare class Passport {
|
|
|
12460
10557
|
getAccessToken(): Promise<string | undefined>;
|
|
12461
10558
|
}
|
|
12462
10559
|
|
|
12463
|
-
|
|
12464
|
-
* zkEVM orderbook SDK
|
|
12465
|
-
* @constructor
|
|
12466
|
-
* @param {OrderbookModuleConfiguration} config - Configuration for Immutable services.
|
|
12467
|
-
*/
|
|
12468
|
-
declare class Orderbook {
|
|
12469
|
-
private config;
|
|
12470
|
-
private apiClient;
|
|
12471
|
-
private seaport;
|
|
12472
|
-
constructor(config: OrderbookModuleConfiguration);
|
|
12473
|
-
/**
|
|
12474
|
-
* Get an order by ID
|
|
12475
|
-
* @param {string} listingId - The listingId to find.
|
|
12476
|
-
* @return {ListingResult} The returned order result.
|
|
12477
|
-
*/
|
|
12478
|
-
getListing(listingId: string): Promise<ListingResult>;
|
|
12479
|
-
/**
|
|
12480
|
-
* List orders. This method is used to get a list of orders filtered by conditions specified
|
|
12481
|
-
* in the params object.
|
|
12482
|
-
* @param {ListOrderParams} listOrderParams - Filtering, ordering and page parameters.
|
|
12483
|
-
* @return {Orders} The paged orders.
|
|
12484
|
-
*/
|
|
12485
|
-
listListings(listOrderParams: ListListingsParams): Promise<ListListingsResult>;
|
|
12486
|
-
/**
|
|
12487
|
-
* Get required transactions and messages for signing prior to creating a listing
|
|
12488
|
-
* through the createListing method
|
|
12489
|
-
* @param {PrepareListingParams} prepareListingParams - Details about the listing to be created.
|
|
12490
|
-
* @return {PrepareListingResponse} PrepareListingResponse includes
|
|
12491
|
-
* the unsigned approval transaction, the typed order message for signing and
|
|
12492
|
-
* the order components that can be submitted to `createListing` with a signature.
|
|
12493
|
-
*/
|
|
12494
|
-
prepareListing({ makerAddress, sell, buy, orderExpiry, }: PrepareListingParams): Promise<PrepareListingResponse>;
|
|
12495
|
-
/**
|
|
12496
|
-
* Create an order
|
|
12497
|
-
* @param {CreateListingParams} createListingParams - create an order with the given params.
|
|
12498
|
-
* @return {ListingResult} The result of the order created in the Immutable services.
|
|
12499
|
-
*/
|
|
12500
|
-
createListing(createListingParams: CreateListingParams): Promise<ListingResult>;
|
|
12501
|
-
/**
|
|
12502
|
-
* Get unsigned transactions that can be submitted to fulfil an open order. If the approval
|
|
12503
|
-
* transaction exists it must be signed and submitted to the chain before the fulfilment
|
|
12504
|
-
* transaction can be submitted or it will be reverted.
|
|
12505
|
-
* @param {string} listingId - The listingId to fulfil.
|
|
12506
|
-
* @param {string} fulfillerAddress - The address of the account fulfilling the order.
|
|
12507
|
-
* @return {FulfillOrderResponse} Approval and fulfilment transactions.
|
|
12508
|
-
*/
|
|
12509
|
-
fulfillOrder(listingId: string, takerAddress: string): Promise<FulfillOrderResponse>;
|
|
12510
|
-
/**
|
|
12511
|
-
* Get an unsigned cancel order transaction. Orders can only be cancelled by
|
|
12512
|
-
* the account that created them.
|
|
12513
|
-
* @param {string} listingId - The listingId to cancel.
|
|
12514
|
-
* @param {string} accountAddress - The address of the account cancelling the order.
|
|
12515
|
-
* @return {CancelOrderResponse} The unsigned cancel order transaction
|
|
12516
|
-
*/
|
|
12517
|
-
cancelOrder(listingId: string, accountAddress: string): Promise<CancelOrderResponse$1>;
|
|
12518
|
-
}
|
|
12519
|
-
|
|
12520
|
-
declare const module = "orderbook";
|
|
12521
|
-
|
|
12522
|
-
/* Autogenerated file. Do not edit manually. */
|
|
12523
|
-
/* tslint:disable */
|
|
12524
|
-
/* eslint-disable */
|
|
12525
|
-
|
|
12526
|
-
|
|
12527
|
-
type PromiseOrValue$1<T> = T | Promise<T>;
|
|
12528
|
-
|
|
12529
|
-
declare class ERC20 {
|
|
12530
|
-
private readonly contract;
|
|
12531
|
-
constructor(contractAddress: string);
|
|
12532
|
-
/**
|
|
12533
|
-
* @returns a promise that resolves with a BigNumber that represents the amount of tokens in existence
|
|
12534
|
-
*/
|
|
12535
|
-
totalSupply(provider: Provider, overrides?: CallOverrides): Promise<BigNumber>;
|
|
12536
|
-
/**
|
|
12537
|
-
* @returns a promise that resolves with a BigNumber that represents the amount of tokens owned by account
|
|
12538
|
-
*/
|
|
12539
|
-
balanceOf(provider: Provider, account: PromiseOrValue$1<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
12540
|
-
/**
|
|
12541
|
-
* @returns a promise that resolves with a BigNumber that represents the remaining number of tokens that spender will be allowed to spend on behalf of owner through transferFrom
|
|
12542
|
-
*/
|
|
12543
|
-
allowance(provider: Provider, owner: PromiseOrValue$1<string>, spender: PromiseOrValue$1<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
12544
|
-
/**
|
|
12545
|
-
* @returns a promise that resolves with a populated transaction
|
|
12546
|
-
*/
|
|
12547
|
-
populateTransfer(to: PromiseOrValue$1<string>, amount: PromiseOrValue$1<BigNumberish>, overrides?: Overrides & {
|
|
12548
|
-
from?: PromiseOrValue$1<string>;
|
|
12549
|
-
}): Promise<PopulatedTransaction>;
|
|
12550
|
-
/**
|
|
12551
|
-
* @returns a promise that resolves with a populated transaction
|
|
12552
|
-
*/
|
|
12553
|
-
populateApprove(spender: PromiseOrValue$1<string>, amount: PromiseOrValue$1<BigNumberish>, overrides?: Overrides & {
|
|
12554
|
-
from?: PromiseOrValue$1<string>;
|
|
12555
|
-
}): Promise<PopulatedTransaction>;
|
|
12556
|
-
/**
|
|
12557
|
-
* @returns a promise that resolves with a populated transaction
|
|
12558
|
-
*/
|
|
12559
|
-
populateTransferFrom(from: PromiseOrValue$1<string>, to: PromiseOrValue$1<string>, amount: PromiseOrValue$1<BigNumberish>, overrides?: Overrides & {
|
|
12560
|
-
from?: PromiseOrValue$1<string>;
|
|
12561
|
-
}): Promise<PopulatedTransaction>;
|
|
12562
|
-
}
|
|
12563
|
-
|
|
12564
|
-
type PromiseOrValue<T> = T | Promise<T>;
|
|
12565
|
-
|
|
12566
|
-
declare class ERC721PermissionedMintable {
|
|
12567
|
-
private readonly contract;
|
|
12568
|
-
constructor(contractAddress: string);
|
|
12569
|
-
/**
|
|
12570
|
-
* Read functions
|
|
12571
|
-
*/
|
|
12572
|
-
/**
|
|
12573
|
-
* @returns the DEFAULT_ADMIN_ROLE as a string.
|
|
12574
|
-
*/
|
|
12575
|
-
DEFAULT_ADMIN_ROLE(provider: Provider, overrides?: CallOverrides): Promise<string>;
|
|
12576
|
-
/**
|
|
12577
|
-
* @returns the MINTER_ROLE as a string.
|
|
12578
|
-
*/
|
|
12579
|
-
MINTER_ROLE(provider: Provider, overrides?: CallOverrides): Promise<string>;
|
|
12580
|
-
/**
|
|
12581
|
-
* @returns the balance of an address as a BigNumber.
|
|
12582
|
-
*/
|
|
12583
|
-
balanceOf(provider: Provider, owner: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
12584
|
-
/**
|
|
12585
|
-
* @returns the baseURI as a string.
|
|
12586
|
-
*/
|
|
12587
|
-
baseURI(provider: Provider, overrides?: CallOverrides): Promise<string>;
|
|
12588
|
-
/**
|
|
12589
|
-
* @returns the contractURI as a string.
|
|
12590
|
-
*/
|
|
12591
|
-
contractURI(provider: Provider, overrides?: CallOverrides): Promise<string>;
|
|
12592
|
-
/**
|
|
12593
|
-
* @returns admin addresses as an array of strings.
|
|
12594
|
-
*/
|
|
12595
|
-
getAdmins(provider: Provider, overrides?: CallOverrides): Promise<string[]>;
|
|
12596
|
-
/**
|
|
12597
|
-
* @returns the approved address for a token ID, or zero if no address set.
|
|
12598
|
-
*/
|
|
12599
|
-
getApproved(provider: Provider, tokenId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<string>;
|
|
12600
|
-
/**
|
|
12601
|
-
* @returns the role admin address.
|
|
12602
|
-
*/
|
|
12603
|
-
getRoleAdmin(provider: Provider, role: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<string>;
|
|
12604
|
-
/**
|
|
12605
|
-
* @returns the role member address at a particular index.
|
|
12606
|
-
*/
|
|
12607
|
-
getRoleMember(provider: Provider, role: PromiseOrValue<BytesLike>, index: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<string>;
|
|
12608
|
-
/**
|
|
12609
|
-
* @returns the role member count as a BigNumber.
|
|
12610
|
-
*/
|
|
12611
|
-
getRoleMemberCount(provider: Provider, role: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
12612
|
-
/**
|
|
12613
|
-
* @returns a boolean for whether an account has a particular role.
|
|
12614
|
-
*/
|
|
12615
|
-
hasRole(provider: Provider, role: PromiseOrValue<BytesLike>, account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
|
|
12616
|
-
/**
|
|
12617
|
-
* @returns a booolean that tells whether an operator is approved by a given owner.
|
|
12618
|
-
*/
|
|
12619
|
-
isApprovedForAll(provider: Provider, owner: PromiseOrValue<string>, operator: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
|
|
12620
|
-
/**
|
|
12621
|
-
* @returns the name of the contract as a string.
|
|
12622
|
-
*/
|
|
12623
|
-
name(provider: Provider, overrides?: CallOverrides): Promise<string>;
|
|
12624
|
-
/**
|
|
12625
|
-
* @returns the owner address of a particular tokenId.
|
|
12626
|
-
*/
|
|
12627
|
-
ownerOf(provider: Provider, tokenId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<string>;
|
|
12628
|
-
/**
|
|
12629
|
-
* @returns the royalty allowlist as a string.
|
|
12630
|
-
*/
|
|
12631
|
-
royaltyAllowlist(provider: Provider, overrides?: CallOverrides): Promise<string>;
|
|
12632
|
-
/**
|
|
12633
|
-
* @returns the royalty information for a particular tokenId.
|
|
12634
|
-
*/
|
|
12635
|
-
royaltyInfo(provider: Provider, _tokenId: PromiseOrValue<BigNumberish>, _salePrice: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[string, BigNumber]>;
|
|
12636
|
-
/**
|
|
12637
|
-
* @returns the symbol of the contract as a string.
|
|
12638
|
-
*/
|
|
12639
|
-
symbol(provider: Provider, overrides?: CallOverrides): Promise<string>;
|
|
12640
|
-
/**
|
|
12641
|
-
* @returns a token ID at a given index of all the tokens stored by the contract.
|
|
12642
|
-
*/
|
|
12643
|
-
tokenByIndex(provider: Provider, index: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
12644
|
-
/**
|
|
12645
|
-
* @returns a token ID owned by owner at a given index of its token list.
|
|
12646
|
-
*/
|
|
12647
|
-
tokenOfOwnerByIndex(provider: Provider, owner: PromiseOrValue<string>, index: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
12648
|
-
/**
|
|
12649
|
-
* @returns the Uniform Resource Identifier (URI) for tokenId token.
|
|
12650
|
-
*/
|
|
12651
|
-
tokenURI(provider: Provider, tokenId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<string>;
|
|
12652
|
-
/**
|
|
12653
|
-
* @returns returns the total amount of tokens stored by the contract.
|
|
12654
|
-
*/
|
|
12655
|
-
totalSupply(provider: Provider, overrides?: CallOverrides): Promise<BigNumber>;
|
|
12656
|
-
/**
|
|
12657
|
-
* Write functions
|
|
12658
|
-
*/
|
|
12659
|
-
/**
|
|
12660
|
-
* @returns a populated transaction for the approve contract function
|
|
12661
|
-
*/
|
|
12662
|
-
populateApprove(to: PromiseOrValue<string>, tokenId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
12663
|
-
from?: PromiseOrValue<string>;
|
|
12664
|
-
}): Promise<PopulatedTransaction>;
|
|
12665
|
-
/**
|
|
12666
|
-
* @returns a populated transaction for the burn contract function
|
|
12667
|
-
*/
|
|
12668
|
-
populateBurn(tokenId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
12669
|
-
from?: PromiseOrValue<string>;
|
|
12670
|
-
}): Promise<PopulatedTransaction>;
|
|
12671
|
-
/**
|
|
12672
|
-
* @returns a populated transaction for the grantMinterRole contract function
|
|
12673
|
-
*/
|
|
12674
|
-
populateGrantMinterRole(user: PromiseOrValue<string>, overrides?: Overrides & {
|
|
12675
|
-
from?: PromiseOrValue<string>;
|
|
12676
|
-
}): Promise<PopulatedTransaction>;
|
|
12677
|
-
/**
|
|
12678
|
-
* @returns a populated transaction for the grantRole contract function
|
|
12679
|
-
*/
|
|
12680
|
-
populateGrantRole(role: PromiseOrValue<BytesLike>, account: PromiseOrValue<string>, overrides?: Overrides & {
|
|
12681
|
-
from?: PromiseOrValue<string>;
|
|
12682
|
-
}): Promise<PopulatedTransaction>;
|
|
12683
|
-
/**
|
|
12684
|
-
* @returns a populated transaction for the mint contract function
|
|
12685
|
-
*/
|
|
12686
|
-
populateMint(to: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
12687
|
-
from?: PromiseOrValue<string>;
|
|
12688
|
-
}): Promise<PopulatedTransaction>;
|
|
12689
|
-
/**
|
|
12690
|
-
* @returns a populated transaction for the renounceRole contract function
|
|
12691
|
-
*/
|
|
12692
|
-
populateRenounceRole(role: PromiseOrValue<BytesLike>, account: PromiseOrValue<string>, overrides?: Overrides & {
|
|
12693
|
-
from?: PromiseOrValue<string>;
|
|
12694
|
-
}): Promise<PopulatedTransaction>;
|
|
12695
|
-
/**
|
|
12696
|
-
* @returns a populated transaction for the revokeMinterRole contract function
|
|
12697
|
-
*/
|
|
12698
|
-
populateRevokeMinterRole(user: PromiseOrValue<string>, overrides?: Overrides & {
|
|
12699
|
-
from?: PromiseOrValue<string>;
|
|
12700
|
-
}): Promise<PopulatedTransaction>;
|
|
12701
|
-
/**
|
|
12702
|
-
* @returns a populated transaction for the revokeRole contract function
|
|
12703
|
-
*/
|
|
12704
|
-
populateRevokeRole(role: PromiseOrValue<BytesLike>, account: PromiseOrValue<string>, overrides?: Overrides & {
|
|
12705
|
-
from?: PromiseOrValue<string>;
|
|
12706
|
-
}): Promise<PopulatedTransaction>;
|
|
12707
|
-
/**
|
|
12708
|
-
* @returns a populated transaction for the safeTransferFrom(address,address,uint256) contract function
|
|
12709
|
-
*/
|
|
12710
|
-
'populateSafeTransferFrom(address,address,uint256)'(from: PromiseOrValue<string>, to: PromiseOrValue<string>, tokenId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
12711
|
-
from?: PromiseOrValue<string>;
|
|
12712
|
-
}): Promise<PopulatedTransaction>;
|
|
12713
|
-
/**
|
|
12714
|
-
* @returns a populated transaction for the safeTransferFrom(address,address,uint256,bytes) contract function
|
|
12715
|
-
*/
|
|
12716
|
-
'populateSafeTransferFrom(address,address,uint256,bytes)'(from: PromiseOrValue<string>, to: PromiseOrValue<string>, tokenId: PromiseOrValue<BigNumberish>, data: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
12717
|
-
from?: PromiseOrValue<string>;
|
|
12718
|
-
}): Promise<PopulatedTransaction>;
|
|
12719
|
-
/**
|
|
12720
|
-
* @returns a populated transaction for the setApprovalForAll contract function
|
|
12721
|
-
*/
|
|
12722
|
-
populateSetApprovalForAll(operator: PromiseOrValue<string>, approved: PromiseOrValue<boolean>, overrides?: Overrides & {
|
|
12723
|
-
from?: PromiseOrValue<string>;
|
|
12724
|
-
}): Promise<PopulatedTransaction>;
|
|
12725
|
-
/**
|
|
12726
|
-
* @returns a populated transaction for the setBaseURI contract function
|
|
12727
|
-
*/
|
|
12728
|
-
populateSetBaseURI(baseURI_: PromiseOrValue<string>, overrides?: Overrides & {
|
|
12729
|
-
from?: PromiseOrValue<string>;
|
|
12730
|
-
}): Promise<PopulatedTransaction>;
|
|
12731
|
-
/**
|
|
12732
|
-
* @returns a populated transaction for the setContractURI contract function
|
|
12733
|
-
*/
|
|
12734
|
-
populateSetContractURI(_contractURI: PromiseOrValue<string>, overrides?: Overrides & {
|
|
12735
|
-
from?: PromiseOrValue<string>;
|
|
12736
|
-
}): Promise<PopulatedTransaction>;
|
|
12737
|
-
/**
|
|
12738
|
-
* @returns a populated transaction for the setRoyaltyAllowlistRegistry contract function
|
|
12739
|
-
*/
|
|
12740
|
-
populateSetRoyaltyAllowlistRegistry(_royaltyAllowlist: PromiseOrValue<string>, overrides?: Overrides & {
|
|
12741
|
-
from?: PromiseOrValue<string>;
|
|
12742
|
-
}): Promise<PopulatedTransaction>;
|
|
12743
|
-
}
|
|
12744
|
-
|
|
12745
|
-
export { APIError, ActivityType, BlockchainData, BlockchainDataModuleConfiguration, ERC20, ERC721PermissionedMintable, Environment, GenericIMXProvider, IMXProvider, ImmutableConfiguration, ImmutableXClient, ImxModuleConfiguration as ImxClientModuleConfiguration, WalletConnection as ImxClientWalletConnection, MetaMaskIMXProvider, ModuleConfiguration, Networks, Orderbook, Passport, PassportError, PassportModuleConfiguration, PassportOverrides, ProviderConfiguration, UserProfile, createStarkSigner as imxClientCreateStarkSigner, generateLegacyStarkPrivateKey as imxClientGenerateLegacyStarkPrivateKey, module };
|
|
10560
|
+
export { Environment, GenericIMXProvider, IMXProvider, ImmutableConfiguration, ImmutableXClient, ImxModuleConfiguration as ImxClientModuleConfiguration, WalletConnection as ImxClientWalletConnection, MetaMaskIMXProvider, ModuleConfiguration, Networks, Passport, PassportError, PassportModuleConfiguration, PassportOverrides, ProviderConfiguration, UserProfile, createStarkSigner as imxClientCreateStarkSigner, generateLegacyStarkPrivateKey as imxClientGenerateLegacyStarkPrivateKey };
|