@stacks/blockchain-api-client 6.3.2 → 6.3.3
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.
|
@@ -94,7 +94,7 @@ export interface InfoApiInterface {
|
|
|
94
94
|
*/
|
|
95
95
|
getStatus(initOverrides?: RequestInit): Promise<ServerStatusResponse>;
|
|
96
96
|
/**
|
|
97
|
-
* Retrieves the total and unlocked STX supply. More information on Stacking can be found [here] (https://docs.stacks.co/understand-stacks/stacking).
|
|
97
|
+
* 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.
|
|
98
98
|
* @summary Get total and unlocked STX supply
|
|
99
99
|
* @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.
|
|
100
100
|
* @param {*} [options] Override http request option.
|
|
@@ -103,7 +103,7 @@ export interface InfoApiInterface {
|
|
|
103
103
|
*/
|
|
104
104
|
getStxSupplyRaw(requestParameters: GetStxSupplyRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<GetStxSupplyResponse>>;
|
|
105
105
|
/**
|
|
106
|
-
* Retrieves the total and unlocked STX supply. More information on Stacking can be found [here] (https://docs.stacks.co/understand-stacks/stacking).
|
|
106
|
+
* 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.
|
|
107
107
|
* Get total and unlocked STX supply
|
|
108
108
|
*/
|
|
109
109
|
getStxSupply(requestParameters: GetStxSupplyRequest, initOverrides?: RequestInit): Promise<GetStxSupplyResponse>;
|
|
@@ -121,7 +121,7 @@ export interface InfoApiInterface {
|
|
|
121
121
|
*/
|
|
122
122
|
getStxSupplyCirculatingPlain(initOverrides?: RequestInit): Promise<string>;
|
|
123
123
|
/**
|
|
124
|
-
* Retrieves the total supply for STX tokens as plain text.
|
|
124
|
+
* Retrieves the total supply for STX tokens as plain text. **Note:** this uses the estimated future total supply for the year 2050.
|
|
125
125
|
* @summary Get total STX supply in plain text format
|
|
126
126
|
* @param {*} [options] Override http request option.
|
|
127
127
|
* @throws {RequiredError}
|
|
@@ -129,12 +129,12 @@ export interface InfoApiInterface {
|
|
|
129
129
|
*/
|
|
130
130
|
getStxSupplyTotalSupplyPlainRaw(initOverrides?: RequestInit): Promise<runtime.ApiResponse<string>>;
|
|
131
131
|
/**
|
|
132
|
-
* Retrieves the total supply for STX tokens as plain text.
|
|
132
|
+
* Retrieves the total supply for STX tokens as plain text. **Note:** this uses the estimated future total supply for the year 2050.
|
|
133
133
|
* Get total STX supply in plain text format
|
|
134
134
|
*/
|
|
135
135
|
getStxSupplyTotalSupplyPlain(initOverrides?: RequestInit): Promise<string>;
|
|
136
136
|
/**
|
|
137
|
-
* Retrieves total supply of STX tokens including those currently in circulation that have been unlocked.
|
|
137
|
+
* 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.
|
|
138
138
|
* @summary Get total and unlocked STX supply (results formatted the same as the legacy 1.0 API)
|
|
139
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.
|
|
140
140
|
* @param {*} [options] Override http request option.
|
|
@@ -143,7 +143,7 @@ export interface InfoApiInterface {
|
|
|
143
143
|
*/
|
|
144
144
|
getTotalStxSupplyLegacyFormatRaw(requestParameters: GetTotalStxSupplyLegacyFormatRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<GetStxSupplyLegacyFormatResponse>>;
|
|
145
145
|
/**
|
|
146
|
-
* Retrieves total supply of STX tokens including those currently in circulation that have been unlocked.
|
|
146
|
+
* 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.
|
|
147
147
|
* Get total and unlocked STX supply (results formatted the same as the legacy 1.0 API)
|
|
148
148
|
*/
|
|
149
149
|
getTotalStxSupplyLegacyFormat(requestParameters: GetTotalStxSupplyLegacyFormatRequest, initOverrides?: RequestInit): Promise<GetStxSupplyLegacyFormatResponse>;
|
|
@@ -203,12 +203,12 @@ export declare class InfoApi extends runtime.BaseAPI implements InfoApiInterface
|
|
|
203
203
|
*/
|
|
204
204
|
getStatus(initOverrides?: RequestInit): Promise<ServerStatusResponse>;
|
|
205
205
|
/**
|
|
206
|
-
* Retrieves the total and unlocked STX supply. More information on Stacking can be found [here] (https://docs.stacks.co/understand-stacks/stacking).
|
|
206
|
+
* 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.
|
|
207
207
|
* Get total and unlocked STX supply
|
|
208
208
|
*/
|
|
209
209
|
getStxSupplyRaw(requestParameters: GetStxSupplyRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<GetStxSupplyResponse>>;
|
|
210
210
|
/**
|
|
211
|
-
* Retrieves the total and unlocked STX supply. More information on Stacking can be found [here] (https://docs.stacks.co/understand-stacks/stacking).
|
|
211
|
+
* 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.
|
|
212
212
|
* Get total and unlocked STX supply
|
|
213
213
|
*/
|
|
214
214
|
getStxSupply(requestParameters: GetStxSupplyRequest, initOverrides?: RequestInit): Promise<GetStxSupplyResponse>;
|
|
@@ -223,22 +223,22 @@ export declare class InfoApi extends runtime.BaseAPI implements InfoApiInterface
|
|
|
223
223
|
*/
|
|
224
224
|
getStxSupplyCirculatingPlain(initOverrides?: RequestInit): Promise<string>;
|
|
225
225
|
/**
|
|
226
|
-
* Retrieves the total supply for STX tokens as plain text.
|
|
226
|
+
* Retrieves the total supply for STX tokens as plain text. **Note:** this uses the estimated future total supply for the year 2050.
|
|
227
227
|
* Get total STX supply in plain text format
|
|
228
228
|
*/
|
|
229
229
|
getStxSupplyTotalSupplyPlainRaw(initOverrides?: RequestInit): Promise<runtime.ApiResponse<string>>;
|
|
230
230
|
/**
|
|
231
|
-
* Retrieves the total supply for STX tokens as plain text.
|
|
231
|
+
* Retrieves the total supply for STX tokens as plain text. **Note:** this uses the estimated future total supply for the year 2050.
|
|
232
232
|
* Get total STX supply in plain text format
|
|
233
233
|
*/
|
|
234
234
|
getStxSupplyTotalSupplyPlain(initOverrides?: RequestInit): Promise<string>;
|
|
235
235
|
/**
|
|
236
|
-
* Retrieves total supply of STX tokens including those currently in circulation that have been unlocked.
|
|
236
|
+
* 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.
|
|
237
237
|
* Get total and unlocked STX supply (results formatted the same as the legacy 1.0 API)
|
|
238
238
|
*/
|
|
239
239
|
getTotalStxSupplyLegacyFormatRaw(requestParameters: GetTotalStxSupplyLegacyFormatRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<GetStxSupplyLegacyFormatResponse>>;
|
|
240
240
|
/**
|
|
241
|
-
* Retrieves total supply of STX tokens including those currently in circulation that have been unlocked.
|
|
241
|
+
* 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.
|
|
242
242
|
* Get total and unlocked STX supply (results formatted the same as the legacy 1.0 API)
|
|
243
243
|
*/
|
|
244
244
|
getTotalStxSupplyLegacyFormat(requestParameters: GetTotalStxSupplyLegacyFormatRequest, initOverrides?: RequestInit): Promise<GetStxSupplyLegacyFormatResponse>;
|
|
@@ -139,7 +139,7 @@ class InfoApi extends runtime.BaseAPI {
|
|
|
139
139
|
return await response.value();
|
|
140
140
|
}
|
|
141
141
|
/**
|
|
142
|
-
* Retrieves the total and unlocked STX supply. More information on Stacking can be found [here] (https://docs.stacks.co/understand-stacks/stacking).
|
|
142
|
+
* 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.
|
|
143
143
|
* Get total and unlocked STX supply
|
|
144
144
|
*/
|
|
145
145
|
async getStxSupplyRaw(requestParameters, initOverrides) {
|
|
@@ -157,7 +157,7 @@ class InfoApi extends runtime.BaseAPI {
|
|
|
157
157
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.GetStxSupplyResponseFromJSON)(jsonValue));
|
|
158
158
|
}
|
|
159
159
|
/**
|
|
160
|
-
* Retrieves the total and unlocked STX supply. More information on Stacking can be found [here] (https://docs.stacks.co/understand-stacks/stacking).
|
|
160
|
+
* 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.
|
|
161
161
|
* Get total and unlocked STX supply
|
|
162
162
|
*/
|
|
163
163
|
async getStxSupply(requestParameters, initOverrides) {
|
|
@@ -188,7 +188,7 @@ class InfoApi extends runtime.BaseAPI {
|
|
|
188
188
|
return await response.value();
|
|
189
189
|
}
|
|
190
190
|
/**
|
|
191
|
-
* Retrieves the total supply for STX tokens as plain text.
|
|
191
|
+
* Retrieves the total supply for STX tokens as plain text. **Note:** this uses the estimated future total supply for the year 2050.
|
|
192
192
|
* Get total STX supply in plain text format
|
|
193
193
|
*/
|
|
194
194
|
async getStxSupplyTotalSupplyPlainRaw(initOverrides) {
|
|
@@ -203,7 +203,7 @@ class InfoApi extends runtime.BaseAPI {
|
|
|
203
203
|
return new runtime.TextApiResponse(response);
|
|
204
204
|
}
|
|
205
205
|
/**
|
|
206
|
-
* Retrieves the total supply for STX tokens as plain text.
|
|
206
|
+
* Retrieves the total supply for STX tokens as plain text. **Note:** this uses the estimated future total supply for the year 2050.
|
|
207
207
|
* Get total STX supply in plain text format
|
|
208
208
|
*/
|
|
209
209
|
async getStxSupplyTotalSupplyPlain(initOverrides) {
|
|
@@ -211,7 +211,7 @@ class InfoApi extends runtime.BaseAPI {
|
|
|
211
211
|
return await response.value();
|
|
212
212
|
}
|
|
213
213
|
/**
|
|
214
|
-
* Retrieves total supply of STX tokens including those currently in circulation that have been unlocked.
|
|
214
|
+
* 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.
|
|
215
215
|
* Get total and unlocked STX supply (results formatted the same as the legacy 1.0 API)
|
|
216
216
|
*/
|
|
217
217
|
async getTotalStxSupplyLegacyFormatRaw(requestParameters, initOverrides) {
|
|
@@ -229,7 +229,7 @@ class InfoApi extends runtime.BaseAPI {
|
|
|
229
229
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.GetStxSupplyLegacyFormatResponseFromJSON)(jsonValue));
|
|
230
230
|
}
|
|
231
231
|
/**
|
|
232
|
-
* Retrieves total supply of STX tokens including those currently in circulation that have been unlocked.
|
|
232
|
+
* 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.
|
|
233
233
|
* Get total and unlocked STX supply (results formatted the same as the legacy 1.0 API)
|
|
234
234
|
*/
|
|
235
235
|
async getTotalStxSupplyLegacyFormat(requestParameters, initOverrides) {
|
package/lib/index.umd.js
CHANGED
|
@@ -7876,7 +7876,7 @@
|
|
|
7876
7876
|
}
|
|
7877
7877
|
}
|
|
7878
7878
|
/**
|
|
7879
|
-
* Retrieves the total and unlocked STX supply. More information on Stacking can be found [here] (https://docs.stacks.co/understand-stacks/stacking).
|
|
7879
|
+
* 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.
|
|
7880
7880
|
* Get total and unlocked STX supply
|
|
7881
7881
|
*/
|
|
7882
7882
|
;
|
|
@@ -7907,7 +7907,7 @@
|
|
|
7907
7907
|
}
|
|
7908
7908
|
}
|
|
7909
7909
|
/**
|
|
7910
|
-
* Retrieves the total and unlocked STX supply. More information on Stacking can be found [here] (https://docs.stacks.co/understand-stacks/stacking).
|
|
7910
|
+
* 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.
|
|
7911
7911
|
* Get total and unlocked STX supply
|
|
7912
7912
|
*/
|
|
7913
7913
|
;
|
|
@@ -7965,7 +7965,7 @@
|
|
|
7965
7965
|
}
|
|
7966
7966
|
}
|
|
7967
7967
|
/**
|
|
7968
|
-
* Retrieves the total supply for STX tokens as plain text.
|
|
7968
|
+
* Retrieves the total supply for STX tokens as plain text. **Note:** this uses the estimated future total supply for the year 2050.
|
|
7969
7969
|
* Get total STX supply in plain text format
|
|
7970
7970
|
*/
|
|
7971
7971
|
;
|
|
@@ -7989,7 +7989,7 @@
|
|
|
7989
7989
|
}
|
|
7990
7990
|
}
|
|
7991
7991
|
/**
|
|
7992
|
-
* Retrieves the total supply for STX tokens as plain text.
|
|
7992
|
+
* Retrieves the total supply for STX tokens as plain text. **Note:** this uses the estimated future total supply for the year 2050.
|
|
7993
7993
|
* Get total STX supply in plain text format
|
|
7994
7994
|
*/
|
|
7995
7995
|
;
|
|
@@ -8006,7 +8006,7 @@
|
|
|
8006
8006
|
}
|
|
8007
8007
|
}
|
|
8008
8008
|
/**
|
|
8009
|
-
* Retrieves total supply of STX tokens including those currently in circulation that have been unlocked.
|
|
8009
|
+
* 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.
|
|
8010
8010
|
* Get total and unlocked STX supply (results formatted the same as the legacy 1.0 API)
|
|
8011
8011
|
*/
|
|
8012
8012
|
;
|
|
@@ -8037,7 +8037,7 @@
|
|
|
8037
8037
|
}
|
|
8038
8038
|
}
|
|
8039
8039
|
/**
|
|
8040
|
-
* Retrieves total supply of STX tokens including those currently in circulation that have been unlocked.
|
|
8040
|
+
* 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.
|
|
8041
8041
|
* Get total and unlocked STX supply (results formatted the same as the legacy 1.0 API)
|
|
8042
8042
|
*/
|
|
8043
8043
|
;
|