@stacks/blockchain-api-client 7.0.0-stacks-2.1.2 → 7.1.0-beta.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.
|
@@ -94,16 +94,16 @@ 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
|
-
* @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.
|
|
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. Note that the `block height` is referred to the stacks blockchain.
|
|
100
100
|
* @param {*} [options] Override http request option.
|
|
101
101
|
* @throws {RequiredError}
|
|
102
102
|
* @memberof 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
|
@@ -7881,7 +7881,7 @@
|
|
|
7881
7881
|
}
|
|
7882
7882
|
}
|
|
7883
7883
|
/**
|
|
7884
|
-
* Retrieves the total and unlocked STX supply. More information on Stacking can be found [here] (https://docs.stacks.co/understand-stacks/stacking).
|
|
7884
|
+
* 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.
|
|
7885
7885
|
* Get total and unlocked STX supply
|
|
7886
7886
|
*/
|
|
7887
7887
|
;
|
|
@@ -7912,7 +7912,7 @@
|
|
|
7912
7912
|
}
|
|
7913
7913
|
}
|
|
7914
7914
|
/**
|
|
7915
|
-
* Retrieves the total and unlocked STX supply. More information on Stacking can be found [here] (https://docs.stacks.co/understand-stacks/stacking).
|
|
7915
|
+
* 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.
|
|
7916
7916
|
* Get total and unlocked STX supply
|
|
7917
7917
|
*/
|
|
7918
7918
|
;
|
|
@@ -7970,7 +7970,7 @@
|
|
|
7970
7970
|
}
|
|
7971
7971
|
}
|
|
7972
7972
|
/**
|
|
7973
|
-
* Retrieves the total supply for STX tokens as plain text.
|
|
7973
|
+
* Retrieves the total supply for STX tokens as plain text. **Note:** this uses the estimated future total supply for the year 2050.
|
|
7974
7974
|
* Get total STX supply in plain text format
|
|
7975
7975
|
*/
|
|
7976
7976
|
;
|
|
@@ -7994,7 +7994,7 @@
|
|
|
7994
7994
|
}
|
|
7995
7995
|
}
|
|
7996
7996
|
/**
|
|
7997
|
-
* Retrieves the total supply for STX tokens as plain text.
|
|
7997
|
+
* Retrieves the total supply for STX tokens as plain text. **Note:** this uses the estimated future total supply for the year 2050.
|
|
7998
7998
|
* Get total STX supply in plain text format
|
|
7999
7999
|
*/
|
|
8000
8000
|
;
|
|
@@ -8011,7 +8011,7 @@
|
|
|
8011
8011
|
}
|
|
8012
8012
|
}
|
|
8013
8013
|
/**
|
|
8014
|
-
* Retrieves total supply of STX tokens including those currently in circulation that have been unlocked.
|
|
8014
|
+
* 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.
|
|
8015
8015
|
* Get total and unlocked STX supply (results formatted the same as the legacy 1.0 API)
|
|
8016
8016
|
*/
|
|
8017
8017
|
;
|
|
@@ -8042,7 +8042,7 @@
|
|
|
8042
8042
|
}
|
|
8043
8043
|
}
|
|
8044
8044
|
/**
|
|
8045
|
-
* Retrieves total supply of STX tokens including those currently in circulation that have been unlocked.
|
|
8045
|
+
* 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.
|
|
8046
8046
|
* Get total and unlocked STX supply (results formatted the same as the legacy 1.0 API)
|
|
8047
8047
|
*/
|
|
8048
8048
|
;
|