@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.
package/package.json
CHANGED
|
@@ -76,7 +76,7 @@ export interface GetNftMintsRequest {
|
|
|
76
76
|
export interface NonFungibleTokensApiInterface {
|
|
77
77
|
/**
|
|
78
78
|
* 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).
|
|
79
|
-
* @summary Non fungible tokens metadata for contract
|
|
79
|
+
* @summary Non fungible tokens metadata for contract ID
|
|
80
80
|
* @param {string} contractId token\'s contract id
|
|
81
81
|
* @param {*} [options] Override http request option.
|
|
82
82
|
* @throws {RequiredError}
|
|
@@ -86,7 +86,7 @@ export interface NonFungibleTokensApiInterface {
|
|
|
86
86
|
|
|
87
87
|
/**
|
|
88
88
|
* 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).
|
|
89
|
-
* Non fungible tokens metadata for contract
|
|
89
|
+
* Non fungible tokens metadata for contract ID
|
|
90
90
|
*/
|
|
91
91
|
getContractNftMetadata(requestParameters: GetContractNftMetadataRequest, initOverrides?: RequestInit): Promise<NonFungibleTokenMetadata>;
|
|
92
92
|
|
|
@@ -178,7 +178,7 @@ export class NonFungibleTokensApi extends runtime.BaseAPI implements NonFungible
|
|
|
178
178
|
|
|
179
179
|
/**
|
|
180
180
|
* 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).
|
|
181
|
-
* Non fungible tokens metadata for contract
|
|
181
|
+
* Non fungible tokens metadata for contract ID
|
|
182
182
|
*/
|
|
183
183
|
async getContractNftMetadataRaw(requestParameters: GetContractNftMetadataRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<NonFungibleTokenMetadata>> {
|
|
184
184
|
if (requestParameters.contractId === null || requestParameters.contractId === undefined) {
|
|
@@ -201,7 +201,7 @@ export class NonFungibleTokensApi extends runtime.BaseAPI implements NonFungible
|
|
|
201
201
|
|
|
202
202
|
/**
|
|
203
203
|
* 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).
|
|
204
|
-
* Non fungible tokens metadata for contract
|
|
204
|
+
* Non fungible tokens metadata for contract ID
|
|
205
205
|
*/
|
|
206
206
|
async getContractNftMetadata(requestParameters: GetContractNftMetadataRequest, initOverrides?: RequestInit): Promise<NonFungibleTokenMetadata> {
|
|
207
207
|
const response = await this.getContractNftMetadataRaw(requestParameters, initOverrides);
|