@stacks/blockchain-api-client 4.1.1 → 4.1.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.
|
@@ -50,7 +50,7 @@ export interface GetNftMintsRequest {
|
|
|
50
50
|
export interface NonFungibleTokensApiInterface {
|
|
51
51
|
/**
|
|
52
52
|
* Retrieves metadata for non fungible tokens for a given contract id. More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#non-fungible-tokens-nfts).
|
|
53
|
-
* @summary Non fungible tokens metadata for contract
|
|
53
|
+
* @summary Non fungible tokens metadata for contract ID
|
|
54
54
|
* @param {string} contractId token\'s contract id
|
|
55
55
|
* @param {*} [options] Override http request option.
|
|
56
56
|
* @throws {RequiredError}
|
|
@@ -59,7 +59,7 @@ export interface NonFungibleTokensApiInterface {
|
|
|
59
59
|
getContractNftMetadataRaw(requestParameters: GetContractNftMetadataRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<NonFungibleTokenMetadata>>;
|
|
60
60
|
/**
|
|
61
61
|
* Retrieves metadata for non fungible tokens for a given contract id. More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#non-fungible-tokens-nfts).
|
|
62
|
-
* Non fungible tokens metadata for contract
|
|
62
|
+
* Non fungible tokens metadata for contract ID
|
|
63
63
|
*/
|
|
64
64
|
getContractNftMetadata(requestParameters: GetContractNftMetadataRequest, initOverrides?: RequestInit): Promise<NonFungibleTokenMetadata>;
|
|
65
65
|
/**
|
|
@@ -140,12 +140,12 @@ export interface NonFungibleTokensApiInterface {
|
|
|
140
140
|
export declare class NonFungibleTokensApi extends runtime.BaseAPI implements NonFungibleTokensApiInterface {
|
|
141
141
|
/**
|
|
142
142
|
* Retrieves metadata for non fungible tokens for a given contract id. More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#non-fungible-tokens-nfts).
|
|
143
|
-
* Non fungible tokens metadata for contract
|
|
143
|
+
* Non fungible tokens metadata for contract ID
|
|
144
144
|
*/
|
|
145
145
|
getContractNftMetadataRaw(requestParameters: GetContractNftMetadataRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<NonFungibleTokenMetadata>>;
|
|
146
146
|
/**
|
|
147
147
|
* Retrieves metadata for non fungible tokens for a given contract id. More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#non-fungible-tokens-nfts).
|
|
148
|
-
* Non fungible tokens metadata for contract
|
|
148
|
+
* Non fungible tokens metadata for contract ID
|
|
149
149
|
*/
|
|
150
150
|
getContractNftMetadata(requestParameters: GetContractNftMetadataRequest, initOverrides?: RequestInit): Promise<NonFungibleTokenMetadata>;
|
|
151
151
|
/**
|
|
@@ -22,7 +22,7 @@ const models_1 = require("../models");
|
|
|
22
22
|
class NonFungibleTokensApi extends runtime.BaseAPI {
|
|
23
23
|
/**
|
|
24
24
|
* Retrieves metadata for non fungible tokens for a given contract id. More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#non-fungible-tokens-nfts).
|
|
25
|
-
* Non fungible tokens metadata for contract
|
|
25
|
+
* Non fungible tokens metadata for contract ID
|
|
26
26
|
*/
|
|
27
27
|
async getContractNftMetadataRaw(requestParameters, initOverrides) {
|
|
28
28
|
if (requestParameters.contractId === null || requestParameters.contractId === undefined) {
|
|
@@ -40,7 +40,7 @@ class NonFungibleTokensApi extends runtime.BaseAPI {
|
|
|
40
40
|
}
|
|
41
41
|
/**
|
|
42
42
|
* Retrieves metadata for non fungible tokens for a given contract id. More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#non-fungible-tokens-nfts).
|
|
43
|
-
* Non fungible tokens metadata for contract
|
|
43
|
+
* Non fungible tokens metadata for contract ID
|
|
44
44
|
*/
|
|
45
45
|
async getContractNftMetadata(requestParameters, initOverrides) {
|
|
46
46
|
const response = await this.getContractNftMetadataRaw(requestParameters, initOverrides);
|
package/lib/index.umd.js
CHANGED
|
@@ -8481,7 +8481,7 @@
|
|
|
8481
8481
|
|
|
8482
8482
|
/**
|
|
8483
8483
|
* Retrieves metadata for non fungible tokens for a given contract id. More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#non-fungible-tokens-nfts).
|
|
8484
|
-
* Non fungible tokens metadata for contract
|
|
8484
|
+
* Non fungible tokens metadata for contract ID
|
|
8485
8485
|
*/
|
|
8486
8486
|
_proto.getContractNftMetadataRaw = function getContractNftMetadataRaw(requestParameters, initOverrides) {
|
|
8487
8487
|
try {
|
|
@@ -8509,7 +8509,7 @@
|
|
|
8509
8509
|
}
|
|
8510
8510
|
/**
|
|
8511
8511
|
* Retrieves metadata for non fungible tokens for a given contract id. More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#non-fungible-tokens-nfts).
|
|
8512
|
-
* Non fungible tokens metadata for contract
|
|
8512
|
+
* Non fungible tokens metadata for contract ID
|
|
8513
8513
|
*/
|
|
8514
8514
|
;
|
|
8515
8515
|
|