@imtbl/sdk 0.23.1 → 0.23.2-alpha.2
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 +467 -0
- package/dist/blockchain_data.js +135 -11
- package/dist/browser/153.afe08b0c.chunk.js +1 -0
- package/dist/browser/175.cdce927d.chunk.js +1 -0
- package/dist/browser/362.7e7bfa44.chunk.js +1 -0
- package/dist/browser/383.de862369.chunk.js +1 -0
- package/dist/browser/472.923d4bd5.chunk.js +1 -0
- package/dist/browser/603.3e2914e2.chunk.js +2 -0
- package/dist/browser/692.306a7f2a.chunk.js +1 -0
- package/dist/browser/703.5c480d28.chunk.js +1 -0
- package/dist/browser/82.bed3464b.chunk.js +2 -0
- package/dist/browser/ajs-destination.52125420.chunk.js +1 -0
- package/dist/browser/auto-track.a6dd767a.chunk.js +1 -0
- package/dist/browser/checkout.js +1 -2
- package/dist/browser/legacyVideos.55664053.chunk.js +1 -0
- package/dist/browser/queryString.307c6759.chunk.js +1 -0
- package/dist/browser/remoteMiddleware.c0e773ab.chunk.js +1 -0
- package/dist/browser/schemaFilter.0ba00503.chunk.js +1 -0
- package/dist/browser/tsub-middleware.bb1047fe.chunk.js +2 -0
- package/dist/checkout_sdk.d.ts +2 -13
- package/dist/checkout_sdk.js +291 -126
- package/dist/checkout_widgets.js +1 -1
- package/dist/immutablex_client.js +1 -1
- package/dist/index.browser.js +13 -13
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +314 -138
- package/dist/index.d.ts +469 -13
- package/dist/index.js +314 -138
- package/dist/passport.js +22 -11
- package/package.json +1 -1
|
@@ -962,6 +962,67 @@ interface Collection {
|
|
|
962
962
|
'last_metadata_synced_at': string | null;
|
|
963
963
|
}
|
|
964
964
|
|
|
965
|
+
/**
|
|
966
|
+
* Immutable zkEVM API
|
|
967
|
+
* Immutable Multi Rollup API
|
|
968
|
+
*
|
|
969
|
+
* The version of the OpenAPI document: 1.0.0
|
|
970
|
+
* Contact: support@immutable.com
|
|
971
|
+
*
|
|
972
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
973
|
+
* https://openapi-generator.tech
|
|
974
|
+
* Do not edit the class manually.
|
|
975
|
+
*/
|
|
976
|
+
/**
|
|
977
|
+
*
|
|
978
|
+
* @export
|
|
979
|
+
* @interface CollectionMetadata
|
|
980
|
+
*/
|
|
981
|
+
interface CollectionMetadata {
|
|
982
|
+
/**
|
|
983
|
+
* The name of the collection
|
|
984
|
+
* @type {string}
|
|
985
|
+
* @memberof CollectionMetadata
|
|
986
|
+
*/
|
|
987
|
+
'name': string | null;
|
|
988
|
+
/**
|
|
989
|
+
* The symbol of contract
|
|
990
|
+
* @type {string}
|
|
991
|
+
* @memberof CollectionMetadata
|
|
992
|
+
*/
|
|
993
|
+
'symbol': string | null;
|
|
994
|
+
/**
|
|
995
|
+
* The description of collection
|
|
996
|
+
* @type {string}
|
|
997
|
+
* @memberof CollectionMetadata
|
|
998
|
+
*/
|
|
999
|
+
'description': string | null;
|
|
1000
|
+
/**
|
|
1001
|
+
* The url of the collection image
|
|
1002
|
+
* @type {string}
|
|
1003
|
+
* @memberof CollectionMetadata
|
|
1004
|
+
*/
|
|
1005
|
+
'image': string | null;
|
|
1006
|
+
/**
|
|
1007
|
+
* The url of external link
|
|
1008
|
+
* @type {string}
|
|
1009
|
+
* @memberof CollectionMetadata
|
|
1010
|
+
*/
|
|
1011
|
+
'external_link': string | null;
|
|
1012
|
+
/**
|
|
1013
|
+
* The uri for the metadata of the collection
|
|
1014
|
+
* @type {string}
|
|
1015
|
+
* @memberof CollectionMetadata
|
|
1016
|
+
*/
|
|
1017
|
+
'contract_uri': string | null;
|
|
1018
|
+
/**
|
|
1019
|
+
* The metadata uri for nft
|
|
1020
|
+
* @type {string}
|
|
1021
|
+
* @memberof CollectionMetadata
|
|
1022
|
+
*/
|
|
1023
|
+
'base_uri': string | null;
|
|
1024
|
+
}
|
|
1025
|
+
|
|
965
1026
|
/**
|
|
966
1027
|
* Immutable zkEVM API
|
|
967
1028
|
* Immutable Multi Rollup API
|
|
@@ -1594,6 +1655,313 @@ interface ListTokensResult {
|
|
|
1594
1655
|
'page': Page;
|
|
1595
1656
|
}
|
|
1596
1657
|
|
|
1658
|
+
/**
|
|
1659
|
+
* Immutable zkEVM API
|
|
1660
|
+
* Immutable Multi Rollup API
|
|
1661
|
+
*
|
|
1662
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1663
|
+
* Contact: support@immutable.com
|
|
1664
|
+
*
|
|
1665
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1666
|
+
* https://openapi-generator.tech
|
|
1667
|
+
* Do not edit the class manually.
|
|
1668
|
+
*/
|
|
1669
|
+
/**
|
|
1670
|
+
*
|
|
1671
|
+
* @export
|
|
1672
|
+
* @interface MetadataRefreshRateLimitResult
|
|
1673
|
+
*/
|
|
1674
|
+
interface MetadataRefreshRateLimitResult {
|
|
1675
|
+
/**
|
|
1676
|
+
*
|
|
1677
|
+
* @type {string}
|
|
1678
|
+
* @memberof MetadataRefreshRateLimitResult
|
|
1679
|
+
*/
|
|
1680
|
+
'imx_refreshes_limit': string;
|
|
1681
|
+
/**
|
|
1682
|
+
*
|
|
1683
|
+
* @type {string}
|
|
1684
|
+
* @memberof MetadataRefreshRateLimitResult
|
|
1685
|
+
*/
|
|
1686
|
+
'imx_refresh_limit_reset': string;
|
|
1687
|
+
/**
|
|
1688
|
+
*
|
|
1689
|
+
* @type {string}
|
|
1690
|
+
* @memberof MetadataRefreshRateLimitResult
|
|
1691
|
+
*/
|
|
1692
|
+
'imx_remaining_refreshes': string;
|
|
1693
|
+
/**
|
|
1694
|
+
*
|
|
1695
|
+
* @type {string}
|
|
1696
|
+
* @memberof MetadataRefreshRateLimitResult
|
|
1697
|
+
*/
|
|
1698
|
+
'retry_after': string;
|
|
1699
|
+
}
|
|
1700
|
+
|
|
1701
|
+
/**
|
|
1702
|
+
* Immutable zkEVM API
|
|
1703
|
+
* Immutable Multi Rollup API
|
|
1704
|
+
*
|
|
1705
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1706
|
+
* Contact: support@immutable.com
|
|
1707
|
+
*
|
|
1708
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1709
|
+
* https://openapi-generator.tech
|
|
1710
|
+
* Do not edit the class manually.
|
|
1711
|
+
*/
|
|
1712
|
+
|
|
1713
|
+
/**
|
|
1714
|
+
*
|
|
1715
|
+
* @export
|
|
1716
|
+
* @interface RefreshCollectionMetadataRequest
|
|
1717
|
+
*/
|
|
1718
|
+
interface RefreshCollectionMetadataRequest {
|
|
1719
|
+
/**
|
|
1720
|
+
*
|
|
1721
|
+
* @type {CollectionMetadata}
|
|
1722
|
+
* @memberof RefreshCollectionMetadataRequest
|
|
1723
|
+
*/
|
|
1724
|
+
'collection_metadata': CollectionMetadata;
|
|
1725
|
+
}
|
|
1726
|
+
|
|
1727
|
+
/**
|
|
1728
|
+
* Immutable zkEVM API
|
|
1729
|
+
* Immutable Multi Rollup API
|
|
1730
|
+
*
|
|
1731
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1732
|
+
* Contact: support@immutable.com
|
|
1733
|
+
*
|
|
1734
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1735
|
+
* https://openapi-generator.tech
|
|
1736
|
+
* Do not edit the class manually.
|
|
1737
|
+
*/
|
|
1738
|
+
|
|
1739
|
+
/**
|
|
1740
|
+
*
|
|
1741
|
+
* @export
|
|
1742
|
+
* @interface RefreshCollectionMetadataResult
|
|
1743
|
+
*/
|
|
1744
|
+
interface RefreshCollectionMetadataResult {
|
|
1745
|
+
/**
|
|
1746
|
+
*
|
|
1747
|
+
* @type {string}
|
|
1748
|
+
* @memberof RefreshCollectionMetadataResult
|
|
1749
|
+
*/
|
|
1750
|
+
'contract_address': string;
|
|
1751
|
+
/**
|
|
1752
|
+
*
|
|
1753
|
+
* @type {Chain}
|
|
1754
|
+
* @memberof RefreshCollectionMetadataResult
|
|
1755
|
+
*/
|
|
1756
|
+
'chain': Chain;
|
|
1757
|
+
/**
|
|
1758
|
+
*
|
|
1759
|
+
* @type {CollectionMetadata}
|
|
1760
|
+
* @memberof RefreshCollectionMetadataResult
|
|
1761
|
+
*/
|
|
1762
|
+
'collection_metadata': CollectionMetadata;
|
|
1763
|
+
}
|
|
1764
|
+
|
|
1765
|
+
/**
|
|
1766
|
+
* Immutable zkEVM API
|
|
1767
|
+
* Immutable Multi Rollup API
|
|
1768
|
+
*
|
|
1769
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1770
|
+
* Contact: support@immutable.com
|
|
1771
|
+
*
|
|
1772
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1773
|
+
* https://openapi-generator.tech
|
|
1774
|
+
* Do not edit the class manually.
|
|
1775
|
+
*/
|
|
1776
|
+
/**
|
|
1777
|
+
*
|
|
1778
|
+
* @export
|
|
1779
|
+
* @interface RefreshMetadataByIDAllOf
|
|
1780
|
+
*/
|
|
1781
|
+
interface RefreshMetadataByIDAllOf {
|
|
1782
|
+
/**
|
|
1783
|
+
* Metadata ID in UUIDv4 format
|
|
1784
|
+
* @type {string}
|
|
1785
|
+
* @memberof RefreshMetadataByIDAllOf
|
|
1786
|
+
*/
|
|
1787
|
+
'metadata_id': string;
|
|
1788
|
+
}
|
|
1789
|
+
|
|
1790
|
+
/**
|
|
1791
|
+
* Immutable zkEVM API
|
|
1792
|
+
* Immutable Multi Rollup API
|
|
1793
|
+
*
|
|
1794
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1795
|
+
* Contact: support@immutable.com
|
|
1796
|
+
*
|
|
1797
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1798
|
+
* https://openapi-generator.tech
|
|
1799
|
+
* Do not edit the class manually.
|
|
1800
|
+
*/
|
|
1801
|
+
|
|
1802
|
+
/**
|
|
1803
|
+
*
|
|
1804
|
+
* @export
|
|
1805
|
+
* @interface RefreshableNFTAttributes
|
|
1806
|
+
*/
|
|
1807
|
+
interface RefreshableNFTAttributes {
|
|
1808
|
+
/**
|
|
1809
|
+
* The name of the NFT
|
|
1810
|
+
* @type {string}
|
|
1811
|
+
* @memberof RefreshableNFTAttributes
|
|
1812
|
+
*/
|
|
1813
|
+
'name': string | null;
|
|
1814
|
+
/**
|
|
1815
|
+
* The description of the NFT
|
|
1816
|
+
* @type {string}
|
|
1817
|
+
* @memberof RefreshableNFTAttributes
|
|
1818
|
+
*/
|
|
1819
|
+
'description': string | null;
|
|
1820
|
+
/**
|
|
1821
|
+
* The image url of the NFT
|
|
1822
|
+
* @type {string}
|
|
1823
|
+
* @memberof RefreshableNFTAttributes
|
|
1824
|
+
*/
|
|
1825
|
+
'image': string | null;
|
|
1826
|
+
/**
|
|
1827
|
+
* The external link of the NFT
|
|
1828
|
+
* @type {string}
|
|
1829
|
+
* @memberof RefreshableNFTAttributes
|
|
1830
|
+
*/
|
|
1831
|
+
'external_url': string | null;
|
|
1832
|
+
/**
|
|
1833
|
+
* The animation url of the NFT
|
|
1834
|
+
* @type {string}
|
|
1835
|
+
* @memberof RefreshableNFTAttributes
|
|
1836
|
+
*/
|
|
1837
|
+
'animation_url': string | null;
|
|
1838
|
+
/**
|
|
1839
|
+
* The youtube link of the NFT
|
|
1840
|
+
* @type {string}
|
|
1841
|
+
* @memberof RefreshableNFTAttributes
|
|
1842
|
+
*/
|
|
1843
|
+
'youtube_url': string | null;
|
|
1844
|
+
/**
|
|
1845
|
+
* List of Metadata attributes
|
|
1846
|
+
* @type {Array<NFTMetadataAttribute>}
|
|
1847
|
+
* @memberof RefreshableNFTAttributes
|
|
1848
|
+
*/
|
|
1849
|
+
'attributes': Array<NFTMetadataAttribute> | null;
|
|
1850
|
+
}
|
|
1851
|
+
|
|
1852
|
+
/**
|
|
1853
|
+
* Immutable zkEVM API
|
|
1854
|
+
* Immutable Multi Rollup API
|
|
1855
|
+
*
|
|
1856
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1857
|
+
* Contact: support@immutable.com
|
|
1858
|
+
*
|
|
1859
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1860
|
+
* https://openapi-generator.tech
|
|
1861
|
+
* Do not edit the class manually.
|
|
1862
|
+
*/
|
|
1863
|
+
|
|
1864
|
+
/**
|
|
1865
|
+
* @type RefreshMetadataByID
|
|
1866
|
+
* @export
|
|
1867
|
+
*/
|
|
1868
|
+
type RefreshMetadataByID = RefreshMetadataByIDAllOf & RefreshableNFTAttributes;
|
|
1869
|
+
|
|
1870
|
+
/**
|
|
1871
|
+
* Immutable zkEVM API
|
|
1872
|
+
* Immutable Multi Rollup API
|
|
1873
|
+
*
|
|
1874
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1875
|
+
* Contact: support@immutable.com
|
|
1876
|
+
*
|
|
1877
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1878
|
+
* https://openapi-generator.tech
|
|
1879
|
+
* Do not edit the class manually.
|
|
1880
|
+
*/
|
|
1881
|
+
|
|
1882
|
+
/**
|
|
1883
|
+
* Request body for refreshing metadata by id
|
|
1884
|
+
* @export
|
|
1885
|
+
* @interface RefreshMetadataByIDRequest
|
|
1886
|
+
*/
|
|
1887
|
+
interface RefreshMetadataByIDRequest {
|
|
1888
|
+
/**
|
|
1889
|
+
*
|
|
1890
|
+
* @type {Array<RefreshMetadataByID>}
|
|
1891
|
+
* @memberof RefreshMetadataByIDRequest
|
|
1892
|
+
*/
|
|
1893
|
+
'metadata'?: Array<RefreshMetadataByID>;
|
|
1894
|
+
}
|
|
1895
|
+
|
|
1896
|
+
/**
|
|
1897
|
+
* Immutable zkEVM API
|
|
1898
|
+
* Immutable Multi Rollup API
|
|
1899
|
+
*
|
|
1900
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1901
|
+
* Contact: support@immutable.com
|
|
1902
|
+
*
|
|
1903
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1904
|
+
* https://openapi-generator.tech
|
|
1905
|
+
* Do not edit the class manually.
|
|
1906
|
+
*/
|
|
1907
|
+
/**
|
|
1908
|
+
*
|
|
1909
|
+
* @export
|
|
1910
|
+
* @interface RefreshMetadataByTokenIDAllOf
|
|
1911
|
+
*/
|
|
1912
|
+
interface RefreshMetadataByTokenIDAllOf {
|
|
1913
|
+
/**
|
|
1914
|
+
* An `uint256` token id as string
|
|
1915
|
+
* @type {string}
|
|
1916
|
+
* @memberof RefreshMetadataByTokenIDAllOf
|
|
1917
|
+
*/
|
|
1918
|
+
'token_id': string;
|
|
1919
|
+
}
|
|
1920
|
+
|
|
1921
|
+
/**
|
|
1922
|
+
* Immutable zkEVM API
|
|
1923
|
+
* Immutable Multi Rollup API
|
|
1924
|
+
*
|
|
1925
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1926
|
+
* Contact: support@immutable.com
|
|
1927
|
+
*
|
|
1928
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1929
|
+
* https://openapi-generator.tech
|
|
1930
|
+
* Do not edit the class manually.
|
|
1931
|
+
*/
|
|
1932
|
+
|
|
1933
|
+
/**
|
|
1934
|
+
* @type RefreshMetadataByTokenID
|
|
1935
|
+
* @export
|
|
1936
|
+
*/
|
|
1937
|
+
type RefreshMetadataByTokenID = RefreshMetadataByTokenIDAllOf & RefreshableNFTAttributes;
|
|
1938
|
+
|
|
1939
|
+
/**
|
|
1940
|
+
* Immutable zkEVM API
|
|
1941
|
+
* Immutable Multi Rollup API
|
|
1942
|
+
*
|
|
1943
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1944
|
+
* Contact: support@immutable.com
|
|
1945
|
+
*
|
|
1946
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1947
|
+
* https://openapi-generator.tech
|
|
1948
|
+
* Do not edit the class manually.
|
|
1949
|
+
*/
|
|
1950
|
+
|
|
1951
|
+
/**
|
|
1952
|
+
*
|
|
1953
|
+
* @export
|
|
1954
|
+
* @interface RefreshNFTMetadataByTokenIDRequest
|
|
1955
|
+
*/
|
|
1956
|
+
interface RefreshNFTMetadataByTokenIDRequest {
|
|
1957
|
+
/**
|
|
1958
|
+
* List of nft metadata to be refreshed
|
|
1959
|
+
* @type {Array<RefreshMetadataByTokenID>}
|
|
1960
|
+
* @memberof RefreshNFTMetadataByTokenIDRequest
|
|
1961
|
+
*/
|
|
1962
|
+
'nft_metadata': Array<RefreshMetadataByTokenID>;
|
|
1963
|
+
}
|
|
1964
|
+
|
|
1597
1965
|
/**
|
|
1598
1966
|
* Request parameters for getActivity operation in ActivitiesApi.
|
|
1599
1967
|
* @export
|
|
@@ -1776,6 +2144,82 @@ interface CollectionsApiListCollectionsByNFTOwnerRequest {
|
|
|
1776
2144
|
*/
|
|
1777
2145
|
readonly pageSize?: number;
|
|
1778
2146
|
}
|
|
2147
|
+
/**
|
|
2148
|
+
* Request parameters for refreshCollectionMetadata operation in CollectionsApi.
|
|
2149
|
+
* @export
|
|
2150
|
+
* @interface CollectionsApiRefreshCollectionMetadataRequest
|
|
2151
|
+
*/
|
|
2152
|
+
interface CollectionsApiRefreshCollectionMetadataRequest {
|
|
2153
|
+
/**
|
|
2154
|
+
* The address contract
|
|
2155
|
+
* @type {string}
|
|
2156
|
+
* @memberof CollectionsApiRefreshCollectionMetadata
|
|
2157
|
+
*/
|
|
2158
|
+
readonly contractAddress: string;
|
|
2159
|
+
/**
|
|
2160
|
+
* The name of chain
|
|
2161
|
+
* @type {string}
|
|
2162
|
+
* @memberof CollectionsApiRefreshCollectionMetadata
|
|
2163
|
+
*/
|
|
2164
|
+
readonly chainName: string;
|
|
2165
|
+
/**
|
|
2166
|
+
* The request body
|
|
2167
|
+
* @type {RefreshCollectionMetadataRequest}
|
|
2168
|
+
* @memberof CollectionsApiRefreshCollectionMetadata
|
|
2169
|
+
*/
|
|
2170
|
+
readonly refreshCollectionMetadataRequest: RefreshCollectionMetadataRequest;
|
|
2171
|
+
}
|
|
2172
|
+
|
|
2173
|
+
/**
|
|
2174
|
+
* Request parameters for refreshMetadataByID operation in MetadataApi.
|
|
2175
|
+
* @export
|
|
2176
|
+
* @interface MetadataApiRefreshMetadataByIDRequest
|
|
2177
|
+
*/
|
|
2178
|
+
interface MetadataApiRefreshMetadataByIDRequest {
|
|
2179
|
+
/**
|
|
2180
|
+
* The name of chain
|
|
2181
|
+
* @type {string}
|
|
2182
|
+
* @memberof MetadataApiRefreshMetadataByID
|
|
2183
|
+
*/
|
|
2184
|
+
readonly chainName: string;
|
|
2185
|
+
/**
|
|
2186
|
+
* Contract address
|
|
2187
|
+
* @type {string}
|
|
2188
|
+
* @memberof MetadataApiRefreshMetadataByID
|
|
2189
|
+
*/
|
|
2190
|
+
readonly contractAddress: string;
|
|
2191
|
+
/**
|
|
2192
|
+
* NFT Metadata Refresh Request
|
|
2193
|
+
* @type {RefreshMetadataByIDRequest}
|
|
2194
|
+
* @memberof MetadataApiRefreshMetadataByID
|
|
2195
|
+
*/
|
|
2196
|
+
readonly refreshMetadataByIDRequest: RefreshMetadataByIDRequest;
|
|
2197
|
+
}
|
|
2198
|
+
/**
|
|
2199
|
+
* Request parameters for refreshNFTMetadataByTokenID operation in MetadataApi.
|
|
2200
|
+
* @export
|
|
2201
|
+
* @interface MetadataApiRefreshNFTMetadataByTokenIDRequest
|
|
2202
|
+
*/
|
|
2203
|
+
interface MetadataApiRefreshNFTMetadataByTokenIDRequest {
|
|
2204
|
+
/**
|
|
2205
|
+
* The address of contract
|
|
2206
|
+
* @type {string}
|
|
2207
|
+
* @memberof MetadataApiRefreshNFTMetadataByTokenID
|
|
2208
|
+
*/
|
|
2209
|
+
readonly contractAddress: string;
|
|
2210
|
+
/**
|
|
2211
|
+
* The name of chain
|
|
2212
|
+
* @type {string}
|
|
2213
|
+
* @memberof MetadataApiRefreshNFTMetadataByTokenID
|
|
2214
|
+
*/
|
|
2215
|
+
readonly chainName: string;
|
|
2216
|
+
/**
|
|
2217
|
+
* the request body
|
|
2218
|
+
* @type {RefreshNFTMetadataByTokenIDRequest}
|
|
2219
|
+
* @memberof MetadataApiRefreshNFTMetadataByTokenID
|
|
2220
|
+
*/
|
|
2221
|
+
readonly refreshNFTMetadataByTokenIDRequest: RefreshNFTMetadataByTokenIDRequest;
|
|
2222
|
+
}
|
|
1779
2223
|
|
|
1780
2224
|
/**
|
|
1781
2225
|
* Request parameters for listNFTOwners operation in NftOwnersApi.
|
|
@@ -1993,6 +2437,7 @@ interface ModuleConfiguration<T> {
|
|
|
1993
2437
|
interface APIConfigurationParams {
|
|
1994
2438
|
basePath: string;
|
|
1995
2439
|
headers?: Record<string, string>;
|
|
2440
|
+
baseConfig?: ImmutableConfiguration;
|
|
1996
2441
|
}
|
|
1997
2442
|
interface BlockchainDataModuleConfiguration extends ModuleConfiguration<APIConfigurationParams> {
|
|
1998
2443
|
}
|
|
@@ -2010,6 +2455,7 @@ declare class BlockchainData {
|
|
|
2010
2455
|
private readonly nfts;
|
|
2011
2456
|
private readonly nftOwners;
|
|
2012
2457
|
private readonly tokens;
|
|
2458
|
+
private readonly metadata;
|
|
2013
2459
|
constructor(moduleConfig: BlockchainDataModuleConfiguration);
|
|
2014
2460
|
/**
|
|
2015
2461
|
* List all activities
|
|
@@ -2095,6 +2541,27 @@ declare class BlockchainData {
|
|
|
2095
2541
|
* @throws {@link index.APIError}
|
|
2096
2542
|
*/
|
|
2097
2543
|
getToken(request: TokensApiGetERC20TokenRequest): Promise<GetTokenResult>;
|
|
2544
|
+
/**
|
|
2545
|
+
* Refresh collection metadata
|
|
2546
|
+
* @param request - the request object containing the parameters to be provided in the API request
|
|
2547
|
+
* @returns a promise that resolves with the updated collection
|
|
2548
|
+
* @throws {@link index.APIError}
|
|
2549
|
+
*/
|
|
2550
|
+
refreshCollectionMetadata(request: CollectionsApiRefreshCollectionMetadataRequest): Promise<RefreshCollectionMetadataResult>;
|
|
2551
|
+
/**
|
|
2552
|
+
* Refresh metadata for specific NFTs
|
|
2553
|
+
* @param request - the request object containing the parameters to be provided in the API request
|
|
2554
|
+
* @returns a promise that resolves with the remaining rate limits
|
|
2555
|
+
* @throws {@link index.APIError}
|
|
2556
|
+
*/
|
|
2557
|
+
refreshNFTMetadata(request: MetadataApiRefreshNFTMetadataByTokenIDRequest): Promise<MetadataRefreshRateLimitResult>;
|
|
2558
|
+
/**
|
|
2559
|
+
* Refresh metadata by ID. This will refresh metadata for all NFTs that reference the given metadata ID.
|
|
2560
|
+
* @param request - the request object containing the parameters to be provided in the API request
|
|
2561
|
+
* @returns a promise that resolves with the remaining rate limits
|
|
2562
|
+
* @throws {@link index.APIError}
|
|
2563
|
+
*/
|
|
2564
|
+
refreshStackedMetadata(request: MetadataApiRefreshMetadataByIDRequest): Promise<MetadataRefreshRateLimitResult>;
|
|
2098
2565
|
}
|
|
2099
2566
|
|
|
2100
2567
|
type ActivityType = ActivityType$1;
|