@imtbl/sdk 0.24.1 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/blockchain_data.d.ts +382 -0
- package/dist/blockchain_data.js +584 -44
- package/dist/browser/checkout.js +2 -2
- package/dist/checkout_sdk.d.ts +2 -1
- package/dist/checkout_sdk.js +728 -75
- package/dist/checkout_widgets.js +1 -1
- package/dist/immutablex_client.js +1 -1
- package/dist/index.browser.js +10 -10
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +734 -81
- package/dist/index.d.ts +534 -15
- package/dist/index.js +734 -81
- package/dist/orderbook.d.ts +142 -12
- package/dist/orderbook.js +124 -24
- package/dist/passport.js +293 -11
- package/package.json +1 -1
|
@@ -1125,6 +1125,124 @@ interface NFTMetadataAttribute {
|
|
|
1125
1125
|
'value': NFTMetadataAttributeValue;
|
|
1126
1126
|
}
|
|
1127
1127
|
|
|
1128
|
+
/**
|
|
1129
|
+
* Immutable zkEVM API
|
|
1130
|
+
* Immutable Multi Rollup API
|
|
1131
|
+
*
|
|
1132
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1133
|
+
* Contact: support@immutable.com
|
|
1134
|
+
*
|
|
1135
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1136
|
+
* https://openapi-generator.tech
|
|
1137
|
+
* Do not edit the class manually.
|
|
1138
|
+
*/
|
|
1139
|
+
|
|
1140
|
+
/**
|
|
1141
|
+
*
|
|
1142
|
+
* @export
|
|
1143
|
+
* @interface Metadata
|
|
1144
|
+
*/
|
|
1145
|
+
interface Metadata {
|
|
1146
|
+
/**
|
|
1147
|
+
* Metadata ID in UUIDv4 format
|
|
1148
|
+
* @type {string}
|
|
1149
|
+
* @memberof Metadata
|
|
1150
|
+
*/
|
|
1151
|
+
'id': string;
|
|
1152
|
+
/**
|
|
1153
|
+
*
|
|
1154
|
+
* @type {Chain}
|
|
1155
|
+
* @memberof Metadata
|
|
1156
|
+
*/
|
|
1157
|
+
'chain': Chain;
|
|
1158
|
+
/**
|
|
1159
|
+
* The contract address of the metadata
|
|
1160
|
+
* @type {string}
|
|
1161
|
+
* @memberof Metadata
|
|
1162
|
+
*/
|
|
1163
|
+
'contract_address': string;
|
|
1164
|
+
/**
|
|
1165
|
+
* When the metadata was created
|
|
1166
|
+
* @type {string}
|
|
1167
|
+
* @memberof Metadata
|
|
1168
|
+
*/
|
|
1169
|
+
'created_at': string;
|
|
1170
|
+
/**
|
|
1171
|
+
* When the metadata was last updated
|
|
1172
|
+
* @type {string}
|
|
1173
|
+
* @memberof Metadata
|
|
1174
|
+
*/
|
|
1175
|
+
'updated_at': string | null;
|
|
1176
|
+
/**
|
|
1177
|
+
* The name of the NFT
|
|
1178
|
+
* @type {string}
|
|
1179
|
+
* @memberof Metadata
|
|
1180
|
+
*/
|
|
1181
|
+
'name': string | null;
|
|
1182
|
+
/**
|
|
1183
|
+
* The description of the NFT
|
|
1184
|
+
* @type {string}
|
|
1185
|
+
* @memberof Metadata
|
|
1186
|
+
*/
|
|
1187
|
+
'description': string | null;
|
|
1188
|
+
/**
|
|
1189
|
+
* The image url of the NFT
|
|
1190
|
+
* @type {string}
|
|
1191
|
+
* @memberof Metadata
|
|
1192
|
+
*/
|
|
1193
|
+
'image': string | null;
|
|
1194
|
+
/**
|
|
1195
|
+
* The external website link of NFT
|
|
1196
|
+
* @type {string}
|
|
1197
|
+
* @memberof Metadata
|
|
1198
|
+
*/
|
|
1199
|
+
'external_url'?: string | null;
|
|
1200
|
+
/**
|
|
1201
|
+
* The animation url of the NFT
|
|
1202
|
+
* @type {string}
|
|
1203
|
+
* @memberof Metadata
|
|
1204
|
+
*/
|
|
1205
|
+
'animation_url': string | null;
|
|
1206
|
+
/**
|
|
1207
|
+
* The youtube URL of NFT
|
|
1208
|
+
* @type {string}
|
|
1209
|
+
* @memberof Metadata
|
|
1210
|
+
*/
|
|
1211
|
+
'youtube_url': string | null;
|
|
1212
|
+
/**
|
|
1213
|
+
* List of Metadata attributes
|
|
1214
|
+
* @type {Array<NFTMetadataAttribute>}
|
|
1215
|
+
* @memberof Metadata
|
|
1216
|
+
*/
|
|
1217
|
+
'attributes': Array<NFTMetadataAttribute> | null;
|
|
1218
|
+
}
|
|
1219
|
+
|
|
1220
|
+
/**
|
|
1221
|
+
* Immutable zkEVM API
|
|
1222
|
+
* Immutable Multi Rollup API
|
|
1223
|
+
*
|
|
1224
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1225
|
+
* Contact: support@immutable.com
|
|
1226
|
+
*
|
|
1227
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1228
|
+
* https://openapi-generator.tech
|
|
1229
|
+
* Do not edit the class manually.
|
|
1230
|
+
*/
|
|
1231
|
+
|
|
1232
|
+
/**
|
|
1233
|
+
* Single metadata
|
|
1234
|
+
* @export
|
|
1235
|
+
* @interface GetMetadataResult
|
|
1236
|
+
*/
|
|
1237
|
+
interface GetMetadataResult {
|
|
1238
|
+
/**
|
|
1239
|
+
*
|
|
1240
|
+
* @type {Metadata}
|
|
1241
|
+
* @memberof GetMetadataResult
|
|
1242
|
+
*/
|
|
1243
|
+
'result': Metadata;
|
|
1244
|
+
}
|
|
1245
|
+
|
|
1128
1246
|
/**
|
|
1129
1247
|
* Immutable zkEVM API
|
|
1130
1248
|
* Immutable Multi Rollup API
|
|
@@ -1167,6 +1285,12 @@ interface NFT {
|
|
|
1167
1285
|
* @memberof NFT
|
|
1168
1286
|
*/
|
|
1169
1287
|
'indexed_at': string;
|
|
1288
|
+
/**
|
|
1289
|
+
* When the NFT owner was last updated
|
|
1290
|
+
* @type {string}
|
|
1291
|
+
* @memberof NFT
|
|
1292
|
+
*/
|
|
1293
|
+
'updated_at': string;
|
|
1170
1294
|
/**
|
|
1171
1295
|
* When NFT metadata was last synced
|
|
1172
1296
|
* @type {string}
|
|
@@ -1354,6 +1478,12 @@ interface Token {
|
|
|
1354
1478
|
* @memberof Token
|
|
1355
1479
|
*/
|
|
1356
1480
|
'name': string | null;
|
|
1481
|
+
/**
|
|
1482
|
+
* When the collection was last updated
|
|
1483
|
+
* @type {string}
|
|
1484
|
+
* @memberof Token
|
|
1485
|
+
*/
|
|
1486
|
+
'updated_at': string;
|
|
1357
1487
|
}
|
|
1358
1488
|
|
|
1359
1489
|
/**
|
|
@@ -1509,6 +1639,38 @@ interface ListCollectionsResult {
|
|
|
1509
1639
|
'page': Page;
|
|
1510
1640
|
}
|
|
1511
1641
|
|
|
1642
|
+
/**
|
|
1643
|
+
* Immutable zkEVM API
|
|
1644
|
+
* Immutable Multi Rollup API
|
|
1645
|
+
*
|
|
1646
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1647
|
+
* Contact: support@immutable.com
|
|
1648
|
+
*
|
|
1649
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1650
|
+
* https://openapi-generator.tech
|
|
1651
|
+
* Do not edit the class manually.
|
|
1652
|
+
*/
|
|
1653
|
+
|
|
1654
|
+
/**
|
|
1655
|
+
*
|
|
1656
|
+
* @export
|
|
1657
|
+
* @interface ListMetadataResult
|
|
1658
|
+
*/
|
|
1659
|
+
interface ListMetadataResult {
|
|
1660
|
+
/**
|
|
1661
|
+
* List of metadata
|
|
1662
|
+
* @type {Array<Metadata>}
|
|
1663
|
+
* @memberof ListMetadataResult
|
|
1664
|
+
*/
|
|
1665
|
+
'result': Array<Metadata>;
|
|
1666
|
+
/**
|
|
1667
|
+
*
|
|
1668
|
+
* @type {Page}
|
|
1669
|
+
* @memberof ListMetadataResult
|
|
1670
|
+
*/
|
|
1671
|
+
'page': Page;
|
|
1672
|
+
}
|
|
1673
|
+
|
|
1512
1674
|
/**
|
|
1513
1675
|
* Immutable zkEVM API
|
|
1514
1676
|
* Immutable Multi Rollup API
|
|
@@ -1557,6 +1719,12 @@ interface NFTOwner {
|
|
|
1557
1719
|
* @memberof NFTOwner
|
|
1558
1720
|
*/
|
|
1559
1721
|
'quantity': string;
|
|
1722
|
+
/**
|
|
1723
|
+
* When the NFT owner was last updated
|
|
1724
|
+
* @type {string}
|
|
1725
|
+
* @memberof NFTOwner
|
|
1726
|
+
*/
|
|
1727
|
+
'updated_at'?: string;
|
|
1560
1728
|
}
|
|
1561
1729
|
|
|
1562
1730
|
/**
|
|
@@ -2100,6 +2268,12 @@ interface CollectionsApiListCollectionsRequest {
|
|
|
2100
2268
|
* @memberof CollectionsApiListCollections
|
|
2101
2269
|
*/
|
|
2102
2270
|
readonly chainName: string;
|
|
2271
|
+
/**
|
|
2272
|
+
* Datetime to use as the oldest updated timestamp
|
|
2273
|
+
* @type {string}
|
|
2274
|
+
* @memberof CollectionsApiListCollections
|
|
2275
|
+
*/
|
|
2276
|
+
readonly fromUpdatedAt?: string;
|
|
2103
2277
|
/**
|
|
2104
2278
|
* Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
2105
2279
|
* @type {string}
|
|
@@ -2170,6 +2344,68 @@ interface CollectionsApiRefreshCollectionMetadataRequest {
|
|
|
2170
2344
|
readonly refreshCollectionMetadataRequest: RefreshCollectionMetadataRequest;
|
|
2171
2345
|
}
|
|
2172
2346
|
|
|
2347
|
+
/**
|
|
2348
|
+
* Request parameters for getMetadata operation in MetadataApi.
|
|
2349
|
+
* @export
|
|
2350
|
+
* @interface MetadataApiGetMetadataRequest
|
|
2351
|
+
*/
|
|
2352
|
+
interface MetadataApiGetMetadataRequest {
|
|
2353
|
+
/**
|
|
2354
|
+
* The name of chain
|
|
2355
|
+
* @type {string}
|
|
2356
|
+
* @memberof MetadataApiGetMetadata
|
|
2357
|
+
*/
|
|
2358
|
+
readonly chainName: string;
|
|
2359
|
+
/**
|
|
2360
|
+
* The address of metadata contract
|
|
2361
|
+
* @type {string}
|
|
2362
|
+
* @memberof MetadataApiGetMetadata
|
|
2363
|
+
*/
|
|
2364
|
+
readonly contractAddress: string;
|
|
2365
|
+
/**
|
|
2366
|
+
* The id of the metadata
|
|
2367
|
+
* @type {string}
|
|
2368
|
+
* @memberof MetadataApiGetMetadata
|
|
2369
|
+
*/
|
|
2370
|
+
readonly metadataId: string;
|
|
2371
|
+
}
|
|
2372
|
+
/**
|
|
2373
|
+
* Request parameters for listMetadata operation in MetadataApi.
|
|
2374
|
+
* @export
|
|
2375
|
+
* @interface MetadataApiListMetadataRequest
|
|
2376
|
+
*/
|
|
2377
|
+
interface MetadataApiListMetadataRequest {
|
|
2378
|
+
/**
|
|
2379
|
+
* The name of chain
|
|
2380
|
+
* @type {string}
|
|
2381
|
+
* @memberof MetadataApiListMetadata
|
|
2382
|
+
*/
|
|
2383
|
+
readonly chainName: string;
|
|
2384
|
+
/**
|
|
2385
|
+
* The address of metadata contract
|
|
2386
|
+
* @type {string}
|
|
2387
|
+
* @memberof MetadataApiListMetadata
|
|
2388
|
+
*/
|
|
2389
|
+
readonly contractAddress: string;
|
|
2390
|
+
/**
|
|
2391
|
+
* Datetime to use as the oldest updated timestamp
|
|
2392
|
+
* @type {string}
|
|
2393
|
+
* @memberof MetadataApiListMetadata
|
|
2394
|
+
*/
|
|
2395
|
+
readonly fromUpdatedAt?: string;
|
|
2396
|
+
/**
|
|
2397
|
+
* Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
2398
|
+
* @type {string}
|
|
2399
|
+
* @memberof MetadataApiListMetadata
|
|
2400
|
+
*/
|
|
2401
|
+
readonly pageCursor?: string;
|
|
2402
|
+
/**
|
|
2403
|
+
* Maximum number of items to return
|
|
2404
|
+
* @type {number}
|
|
2405
|
+
* @memberof MetadataApiListMetadata
|
|
2406
|
+
*/
|
|
2407
|
+
readonly pageSize?: number;
|
|
2408
|
+
}
|
|
2173
2409
|
/**
|
|
2174
2410
|
* Request parameters for refreshMetadataByID operation in MetadataApi.
|
|
2175
2411
|
* @export
|
|
@@ -2258,6 +2494,43 @@ interface NftOwnersApiListNFTOwnersRequest {
|
|
|
2258
2494
|
*/
|
|
2259
2495
|
readonly pageSize?: number;
|
|
2260
2496
|
}
|
|
2497
|
+
/**
|
|
2498
|
+
* Request parameters for listOwnersByContractAddress operation in NftOwnersApi.
|
|
2499
|
+
* @export
|
|
2500
|
+
* @interface NftOwnersApiListOwnersByContractAddressRequest
|
|
2501
|
+
*/
|
|
2502
|
+
interface NftOwnersApiListOwnersByContractAddressRequest {
|
|
2503
|
+
/**
|
|
2504
|
+
* The address of contract
|
|
2505
|
+
* @type {string}
|
|
2506
|
+
* @memberof NftOwnersApiListOwnersByContractAddress
|
|
2507
|
+
*/
|
|
2508
|
+
readonly contractAddress: string;
|
|
2509
|
+
/**
|
|
2510
|
+
* The name of chain
|
|
2511
|
+
* @type {string}
|
|
2512
|
+
* @memberof NftOwnersApiListOwnersByContractAddress
|
|
2513
|
+
*/
|
|
2514
|
+
readonly chainName: string;
|
|
2515
|
+
/**
|
|
2516
|
+
* Datetime to use as the oldest updated timestamp
|
|
2517
|
+
* @type {string}
|
|
2518
|
+
* @memberof NftOwnersApiListOwnersByContractAddress
|
|
2519
|
+
*/
|
|
2520
|
+
readonly fromUpdatedAt?: string;
|
|
2521
|
+
/**
|
|
2522
|
+
* Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
2523
|
+
* @type {string}
|
|
2524
|
+
* @memberof NftOwnersApiListOwnersByContractAddress
|
|
2525
|
+
*/
|
|
2526
|
+
readonly pageCursor?: string;
|
|
2527
|
+
/**
|
|
2528
|
+
* Maximum number of items to return
|
|
2529
|
+
* @type {number}
|
|
2530
|
+
* @memberof NftOwnersApiListOwnersByContractAddress
|
|
2531
|
+
*/
|
|
2532
|
+
readonly pageSize?: number;
|
|
2533
|
+
}
|
|
2261
2534
|
|
|
2262
2535
|
/**
|
|
2263
2536
|
* Request parameters for getNFT operation in NftsApi.
|
|
@@ -2284,6 +2557,68 @@ interface NftsApiGetNFTRequest {
|
|
|
2284
2557
|
*/
|
|
2285
2558
|
readonly chainName: string;
|
|
2286
2559
|
}
|
|
2560
|
+
/**
|
|
2561
|
+
* Request parameters for listAllNFTOwners operation in NftsApi.
|
|
2562
|
+
* @export
|
|
2563
|
+
* @interface NftsApiListAllNFTOwnersRequest
|
|
2564
|
+
*/
|
|
2565
|
+
interface NftsApiListAllNFTOwnersRequest {
|
|
2566
|
+
/**
|
|
2567
|
+
* The name of chain
|
|
2568
|
+
* @type {string}
|
|
2569
|
+
* @memberof NftsApiListAllNFTOwners
|
|
2570
|
+
*/
|
|
2571
|
+
readonly chainName: string;
|
|
2572
|
+
/**
|
|
2573
|
+
* Datetime to use as the oldest updated timestamp
|
|
2574
|
+
* @type {string}
|
|
2575
|
+
* @memberof NftsApiListAllNFTOwners
|
|
2576
|
+
*/
|
|
2577
|
+
readonly fromUpdatedAt: string;
|
|
2578
|
+
/**
|
|
2579
|
+
* Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
2580
|
+
* @type {string}
|
|
2581
|
+
* @memberof NftsApiListAllNFTOwners
|
|
2582
|
+
*/
|
|
2583
|
+
readonly pageCursor?: string;
|
|
2584
|
+
/**
|
|
2585
|
+
* Maximum number of items to return
|
|
2586
|
+
* @type {number}
|
|
2587
|
+
* @memberof NftsApiListAllNFTOwners
|
|
2588
|
+
*/
|
|
2589
|
+
readonly pageSize?: number;
|
|
2590
|
+
}
|
|
2591
|
+
/**
|
|
2592
|
+
* Request parameters for listAllNFTs operation in NftsApi.
|
|
2593
|
+
* @export
|
|
2594
|
+
* @interface NftsApiListAllNFTsRequest
|
|
2595
|
+
*/
|
|
2596
|
+
interface NftsApiListAllNFTsRequest {
|
|
2597
|
+
/**
|
|
2598
|
+
* The name of chain
|
|
2599
|
+
* @type {string}
|
|
2600
|
+
* @memberof NftsApiListAllNFTs
|
|
2601
|
+
*/
|
|
2602
|
+
readonly chainName: string;
|
|
2603
|
+
/**
|
|
2604
|
+
* Datetime to use as the oldest updated timestamp
|
|
2605
|
+
* @type {string}
|
|
2606
|
+
* @memberof NftsApiListAllNFTs
|
|
2607
|
+
*/
|
|
2608
|
+
readonly fromUpdatedAt?: string;
|
|
2609
|
+
/**
|
|
2610
|
+
* Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
2611
|
+
* @type {string}
|
|
2612
|
+
* @memberof NftsApiListAllNFTs
|
|
2613
|
+
*/
|
|
2614
|
+
readonly pageCursor?: string;
|
|
2615
|
+
/**
|
|
2616
|
+
* Maximum number of items to return
|
|
2617
|
+
* @type {number}
|
|
2618
|
+
* @memberof NftsApiListAllNFTs
|
|
2619
|
+
*/
|
|
2620
|
+
readonly pageSize?: number;
|
|
2621
|
+
}
|
|
2287
2622
|
/**
|
|
2288
2623
|
* Request parameters for listNFTs operation in NftsApi.
|
|
2289
2624
|
* @export
|
|
@@ -2302,6 +2637,12 @@ interface NftsApiListNFTsRequest {
|
|
|
2302
2637
|
* @memberof NftsApiListNFTs
|
|
2303
2638
|
*/
|
|
2304
2639
|
readonly chainName: string;
|
|
2640
|
+
/**
|
|
2641
|
+
* Datetime to use as the oldest updated timestamp
|
|
2642
|
+
* @type {string}
|
|
2643
|
+
* @memberof NftsApiListNFTs
|
|
2644
|
+
*/
|
|
2645
|
+
readonly fromUpdatedAt?: string;
|
|
2305
2646
|
/**
|
|
2306
2647
|
* Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
2307
2648
|
* @type {string}
|
|
@@ -2384,6 +2725,12 @@ interface TokensApiListERC20TokensRequest {
|
|
|
2384
2725
|
* @memberof TokensApiListERC20Tokens
|
|
2385
2726
|
*/
|
|
2386
2727
|
readonly chainName: string;
|
|
2728
|
+
/**
|
|
2729
|
+
* Datetime to use as the oldest updated timestamp
|
|
2730
|
+
* @type {string}
|
|
2731
|
+
* @memberof TokensApiListERC20Tokens
|
|
2732
|
+
*/
|
|
2733
|
+
readonly fromUpdatedAt?: string;
|
|
2387
2734
|
/**
|
|
2388
2735
|
* Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
2389
2736
|
* @type {string}
|
|
@@ -2520,6 +2867,13 @@ declare class BlockchainData {
|
|
|
2520
2867
|
* @throws {@link index.APIError}
|
|
2521
2868
|
*/
|
|
2522
2869
|
listNFTsByAccountAddress(request: NftsApiListNFTsByAccountAddressRequest): Promise<ListNFTsResult>;
|
|
2870
|
+
/**
|
|
2871
|
+
* List All NFTs on a chain
|
|
2872
|
+
* @param request - the request object containing the parameters to be provided in the API request
|
|
2873
|
+
* @returns a promise that resolves with a list of NFTs
|
|
2874
|
+
* @throws {@link index.APIError}
|
|
2875
|
+
*/
|
|
2876
|
+
listAllNFTs(request: NftsApiListAllNFTsRequest): Promise<ListNFTsResult>;
|
|
2523
2877
|
/**
|
|
2524
2878
|
* List NFT owners by token ID
|
|
2525
2879
|
* @param request - the request object containing the parameters to be provided in the API request
|
|
@@ -2527,6 +2881,20 @@ declare class BlockchainData {
|
|
|
2527
2881
|
* @throws {@link index.APIError}
|
|
2528
2882
|
*/
|
|
2529
2883
|
listNFTOwners(request: NftOwnersApiListNFTOwnersRequest): Promise<ListNFTOwnersResult>;
|
|
2884
|
+
/**
|
|
2885
|
+
* List NFT owners by contract address
|
|
2886
|
+
* @param request - the request object containing the parameters to be provided in the API request
|
|
2887
|
+
* @returns a promise that resolves with a list of NFT owners
|
|
2888
|
+
* @throws {@link index.APIError}
|
|
2889
|
+
*/
|
|
2890
|
+
listNFTOwnersByContractAddress(request: NftOwnersApiListOwnersByContractAddressRequest): Promise<ListNFTOwnersResult>;
|
|
2891
|
+
/**
|
|
2892
|
+
* List All NFT owners on a chain
|
|
2893
|
+
* @param request - the request object containing the parameters to be provided in the API request
|
|
2894
|
+
* @returns a promise that resolves with a list of NFT owners
|
|
2895
|
+
* @throws {@link index.APIError}
|
|
2896
|
+
*/
|
|
2897
|
+
listAllNFTOwners(request: NftsApiListAllNFTOwnersRequest): Promise<ListNFTOwnersResult>;
|
|
2530
2898
|
/**
|
|
2531
2899
|
* List ERC20 Token contracts
|
|
2532
2900
|
* @param request - the request object containing the parameters to be provided in the API request
|
|
@@ -2541,6 +2909,20 @@ declare class BlockchainData {
|
|
|
2541
2909
|
* @throws {@link index.APIError}
|
|
2542
2910
|
*/
|
|
2543
2911
|
getToken(request: TokensApiGetERC20TokenRequest): Promise<GetTokenResult>;
|
|
2912
|
+
/**
|
|
2913
|
+
* Get metadata by ID
|
|
2914
|
+
* @param request - the request object containing the parameters to be provided in the API request
|
|
2915
|
+
* @returns a promise that resolves with a single Metadata
|
|
2916
|
+
* @throws {@link index.APIError}
|
|
2917
|
+
*/
|
|
2918
|
+
getMetadata(request: MetadataApiGetMetadataRequest): Promise<GetMetadataResult>;
|
|
2919
|
+
/**
|
|
2920
|
+
* List NFT Metadata by contract address
|
|
2921
|
+
* @param request - the request object containing the parameters to be provided in the API request
|
|
2922
|
+
* @returns a promise that resolves with a list of Metadata
|
|
2923
|
+
* @throws {@link index.APIError}
|
|
2924
|
+
*/
|
|
2925
|
+
listNFTMetadataByContractAddress(request: MetadataApiListMetadataRequest): Promise<ListMetadataResult>;
|
|
2544
2926
|
/**
|
|
2545
2927
|
* Refresh collection metadata
|
|
2546
2928
|
* @param request - the request object containing the parameters to be provided in the API request
|