@stacks/blockchain-api-client 7.0.0-stacks-2.1.2 → 7.0.1
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacks/blockchain-api-client",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.1",
|
|
4
4
|
"access": "public",
|
|
5
5
|
"description": "Client for the Stacks Blockchain API",
|
|
6
6
|
"homepage": "https://github.com/hirosystems/stacks-blockchain-api/tree/master/client#readme",
|
|
@@ -134,9 +134,9 @@ export interface InfoApiInterface {
|
|
|
134
134
|
getStatus(initOverrides?: RequestInit): Promise<ServerStatusResponse>;
|
|
135
135
|
|
|
136
136
|
/**
|
|
137
|
-
* Retrieves the total and unlocked STX supply. More information on Stacking can be found [here] (https://docs.stacks.co/understand-stacks/stacking).
|
|
137
|
+
* Retrieves the total and unlocked STX supply. More information on Stacking can be found [here] (https://docs.stacks.co/understand-stacks/stacking). **Note:** This uses the estimated future total supply for the year 2050.
|
|
138
138
|
* @summary Get total and unlocked STX supply
|
|
139
|
-
* @param {number} [height] Supply details are queried from specified block height. If the block height is not specified, the latest block height is taken as default value.
|
|
139
|
+
* @param {number} [height] Supply details are queried from specified block height. If the block height is not specified, the latest block height is taken as default value. Note that the `block height` is referred to the stacks blockchain.
|
|
140
140
|
* @param {*} [options] Override http request option.
|
|
141
141
|
* @throws {RequiredError}
|
|
142
142
|
* @memberof InfoApiInterface
|
|
@@ -144,7 +144,7 @@ export interface InfoApiInterface {
|
|
|
144
144
|
getStxSupplyRaw(requestParameters: GetStxSupplyRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<GetStxSupplyResponse>>;
|
|
145
145
|
|
|
146
146
|
/**
|
|
147
|
-
* Retrieves the total and unlocked STX supply. More information on Stacking can be found [here] (https://docs.stacks.co/understand-stacks/stacking).
|
|
147
|
+
* Retrieves the total and unlocked STX supply. More information on Stacking can be found [here] (https://docs.stacks.co/understand-stacks/stacking). **Note:** This uses the estimated future total supply for the year 2050.
|
|
148
148
|
* Get total and unlocked STX supply
|
|
149
149
|
*/
|
|
150
150
|
getStxSupply(requestParameters: GetStxSupplyRequest, initOverrides?: RequestInit): Promise<GetStxSupplyResponse>;
|
|
@@ -165,7 +165,7 @@ export interface InfoApiInterface {
|
|
|
165
165
|
getStxSupplyCirculatingPlain(initOverrides?: RequestInit): Promise<string>;
|
|
166
166
|
|
|
167
167
|
/**
|
|
168
|
-
* Retrieves the total supply for STX tokens as plain text.
|
|
168
|
+
* Retrieves the total supply for STX tokens as plain text. **Note:** this uses the estimated future total supply for the year 2050.
|
|
169
169
|
* @summary Get total STX supply in plain text format
|
|
170
170
|
* @param {*} [options] Override http request option.
|
|
171
171
|
* @throws {RequiredError}
|
|
@@ -174,13 +174,13 @@ export interface InfoApiInterface {
|
|
|
174
174
|
getStxSupplyTotalSupplyPlainRaw(initOverrides?: RequestInit): Promise<runtime.ApiResponse<string>>;
|
|
175
175
|
|
|
176
176
|
/**
|
|
177
|
-
* Retrieves the total supply for STX tokens as plain text.
|
|
177
|
+
* Retrieves the total supply for STX tokens as plain text. **Note:** this uses the estimated future total supply for the year 2050.
|
|
178
178
|
* Get total STX supply in plain text format
|
|
179
179
|
*/
|
|
180
180
|
getStxSupplyTotalSupplyPlain(initOverrides?: RequestInit): Promise<string>;
|
|
181
181
|
|
|
182
182
|
/**
|
|
183
|
-
* Retrieves total supply of STX tokens including those currently in circulation that have been unlocked.
|
|
183
|
+
* Retrieves total supply of STX tokens including those currently in circulation that have been unlocked. **Note:** this uses the estimated future total supply for the year 2050.
|
|
184
184
|
* @summary Get total and unlocked STX supply (results formatted the same as the legacy 1.0 API)
|
|
185
185
|
* @param {number} [height] Supply details are queried from specified block height. If the block height is not specified, the latest block height is taken as default value.
|
|
186
186
|
* @param {*} [options] Override http request option.
|
|
@@ -190,7 +190,7 @@ export interface InfoApiInterface {
|
|
|
190
190
|
getTotalStxSupplyLegacyFormatRaw(requestParameters: GetTotalStxSupplyLegacyFormatRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<GetStxSupplyLegacyFormatResponse>>;
|
|
191
191
|
|
|
192
192
|
/**
|
|
193
|
-
* Retrieves total supply of STX tokens including those currently in circulation that have been unlocked.
|
|
193
|
+
* Retrieves total supply of STX tokens including those currently in circulation that have been unlocked. **Note:** this uses the estimated future total supply for the year 2050.
|
|
194
194
|
* Get total and unlocked STX supply (results formatted the same as the legacy 1.0 API)
|
|
195
195
|
*/
|
|
196
196
|
getTotalStxSupplyLegacyFormat(requestParameters: GetTotalStxSupplyLegacyFormatRequest, initOverrides?: RequestInit): Promise<GetStxSupplyLegacyFormatResponse>;
|
|
@@ -347,7 +347,7 @@ export class InfoApi extends runtime.BaseAPI implements InfoApiInterface {
|
|
|
347
347
|
}
|
|
348
348
|
|
|
349
349
|
/**
|
|
350
|
-
* Retrieves the total and unlocked STX supply. More information on Stacking can be found [here] (https://docs.stacks.co/understand-stacks/stacking).
|
|
350
|
+
* Retrieves the total and unlocked STX supply. More information on Stacking can be found [here] (https://docs.stacks.co/understand-stacks/stacking). **Note:** This uses the estimated future total supply for the year 2050.
|
|
351
351
|
* Get total and unlocked STX supply
|
|
352
352
|
*/
|
|
353
353
|
async getStxSupplyRaw(requestParameters: GetStxSupplyRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<GetStxSupplyResponse>> {
|
|
@@ -370,7 +370,7 @@ export class InfoApi extends runtime.BaseAPI implements InfoApiInterface {
|
|
|
370
370
|
}
|
|
371
371
|
|
|
372
372
|
/**
|
|
373
|
-
* Retrieves the total and unlocked STX supply. More information on Stacking can be found [here] (https://docs.stacks.co/understand-stacks/stacking).
|
|
373
|
+
* Retrieves the total and unlocked STX supply. More information on Stacking can be found [here] (https://docs.stacks.co/understand-stacks/stacking). **Note:** This uses the estimated future total supply for the year 2050.
|
|
374
374
|
* Get total and unlocked STX supply
|
|
375
375
|
*/
|
|
376
376
|
async getStxSupply(requestParameters: GetStxSupplyRequest, initOverrides?: RequestInit): Promise<GetStxSupplyResponse> {
|
|
@@ -407,7 +407,7 @@ export class InfoApi extends runtime.BaseAPI implements InfoApiInterface {
|
|
|
407
407
|
}
|
|
408
408
|
|
|
409
409
|
/**
|
|
410
|
-
* Retrieves the total supply for STX tokens as plain text.
|
|
410
|
+
* Retrieves the total supply for STX tokens as plain text. **Note:** this uses the estimated future total supply for the year 2050.
|
|
411
411
|
* Get total STX supply in plain text format
|
|
412
412
|
*/
|
|
413
413
|
async getStxSupplyTotalSupplyPlainRaw(initOverrides?: RequestInit): Promise<runtime.ApiResponse<string>> {
|
|
@@ -426,7 +426,7 @@ export class InfoApi extends runtime.BaseAPI implements InfoApiInterface {
|
|
|
426
426
|
}
|
|
427
427
|
|
|
428
428
|
/**
|
|
429
|
-
* Retrieves the total supply for STX tokens as plain text.
|
|
429
|
+
* Retrieves the total supply for STX tokens as plain text. **Note:** this uses the estimated future total supply for the year 2050.
|
|
430
430
|
* Get total STX supply in plain text format
|
|
431
431
|
*/
|
|
432
432
|
async getStxSupplyTotalSupplyPlain(initOverrides?: RequestInit): Promise<string> {
|
|
@@ -435,7 +435,7 @@ export class InfoApi extends runtime.BaseAPI implements InfoApiInterface {
|
|
|
435
435
|
}
|
|
436
436
|
|
|
437
437
|
/**
|
|
438
|
-
* Retrieves total supply of STX tokens including those currently in circulation that have been unlocked.
|
|
438
|
+
* Retrieves total supply of STX tokens including those currently in circulation that have been unlocked. **Note:** this uses the estimated future total supply for the year 2050.
|
|
439
439
|
* Get total and unlocked STX supply (results formatted the same as the legacy 1.0 API)
|
|
440
440
|
*/
|
|
441
441
|
async getTotalStxSupplyLegacyFormatRaw(requestParameters: GetTotalStxSupplyLegacyFormatRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<GetStxSupplyLegacyFormatResponse>> {
|
|
@@ -458,7 +458,7 @@ export class InfoApi extends runtime.BaseAPI implements InfoApiInterface {
|
|
|
458
458
|
}
|
|
459
459
|
|
|
460
460
|
/**
|
|
461
|
-
* Retrieves total supply of STX tokens including those currently in circulation that have been unlocked.
|
|
461
|
+
* Retrieves total supply of STX tokens including those currently in circulation that have been unlocked. **Note:** this uses the estimated future total supply for the year 2050.
|
|
462
462
|
* Get total and unlocked STX supply (results formatted the same as the legacy 1.0 API)
|
|
463
463
|
*/
|
|
464
464
|
async getTotalStxSupplyLegacyFormat(requestParameters: GetTotalStxSupplyLegacyFormatRequest, initOverrides?: RequestInit): Promise<GetStxSupplyLegacyFormatResponse> {
|