@stacks/blockchain-api-client 4.0.3 → 4.1.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.
@@ -83,11 +83,11 @@ export interface AccountsApiInterface {
83
83
  /**
84
84
  * Retrieves a list of all assets events associated with an account or a Contract Identifier. This includes Transfers, Mints.
85
85
  * @summary Get account assets
86
- * @param {string} principal Stacks address or a Contract identifier (e.g. `SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0.get-info`)
86
+ * @param {string} principal Stacks address or a Contract identifier
87
87
  * @param {number} [limit] max number of account assets to fetch
88
88
  * @param {number} [offset] index of first account assets to fetch
89
89
  * @param {boolean} [unanchored] Include transaction data from unanchored (i.e. unconfirmed) microblocks
90
- * @param {string} [untilBlock] returned data representing the state at that point in time, rather than the current block.
90
+ * @param {string} [untilBlock] returned data representing the state at that point in time, rather than the current block. Note - Use either of the query parameters but not both at a time.
91
91
  * @param {*} [options] Override http request option.
92
92
  * @throws {RequiredError}
93
93
  * @memberof AccountsApiInterface
@@ -101,7 +101,7 @@ export interface AccountsApiInterface {
101
101
  /**
102
102
  * Retrieves total account balance information for a given Address or Contract Identifier. This includes the balances of STX Tokens, Fungible Tokens and Non-Fungible Tokens for the account.
103
103
  * @summary Get account balances
104
- * @param {string} principal Stacks address or a Contract identifier (e.g. `SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0.get-info`)
104
+ * @param {string} principal Stacks address or a Contract identifier
105
105
  * @param {boolean} [unanchored] Include transaction data from unanchored (i.e. unconfirmed) microblocks
106
106
  * @param {string} [untilBlock] returned data representing the state up until that point in time, rather than the current block.
107
107
  * @param {*} [options] Override http request option.
@@ -117,12 +117,12 @@ export interface AccountsApiInterface {
117
117
  /**
118
118
  * Retrieves a list of STX transfers with memos to the given principal. This includes regular transfers from a stx-transfer transaction type, and transfers from contract-call transactions a the `send-many-memo` bulk sending contract.
119
119
  * @summary Get inbound STX transfers
120
- * @param {string} principal Stacks address or a Contract identifier (e.g. `SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0.get-info`)
120
+ * @param {string} principal Stacks address or a Contract identifier
121
121
  * @param {number} [limit] number of items to return
122
122
  * @param {number} [offset] number of items to skip
123
123
  * @param {number} [height] Filter for transfers only at this given block height
124
124
  * @param {boolean} [unanchored] Include transaction data from unanchored (i.e. unconfirmed) microblocks
125
- * @param {string} [untilBlock] returned data representing the state up until that point in time, rather than the current block.
125
+ * @param {string} [untilBlock] returned data representing the state up until that point in time, rather than the current block. Note - Use either of the query parameters but not both at a time.
126
126
  * @param {*} [options] Override http request option.
127
127
  * @throws {RequiredError}
128
128
  * @memberof AccountsApiInterface
@@ -136,7 +136,7 @@ export interface AccountsApiInterface {
136
136
  /**
137
137
  * Retrieves the account data for a given Account or a Contract Identifier Where balance is the hex encoding of a unsigned 128-bit integer (big-endian), nonce is an unsigned 64-bit integer, and the proofs are provided as hex strings. For non-existent accounts, this does not return a 404 error, rather it returns an object with balance and nonce of 0.
138
138
  * @summary Get account info
139
- * @param {string} principal Stacks address or a Contract identifier (e.g. `SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0.get-info`)
139
+ * @param {string} principal Stacks address or a Contract identifier
140
140
  * @param {number} [proof] Returns object without the proof field if set to 0
141
141
  * @param {string} [tip] The Stacks chain tip to query from
142
142
  * @param {*} [options] Override http request option.
@@ -152,11 +152,11 @@ export interface AccountsApiInterface {
152
152
  /**
153
153
  * **NOTE:** This endpoint is deprecated in favor of [Non-Fungible Token holdings](#operation/get_nft_holdings). Retrieves a list of all nfts owned by an address, contains the clarity value of the identifier of the nft.
154
154
  * @summary Get nft events
155
- * @param {string} principal Stacks address or a Contract identifier (e.g. `SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0.get-info`)
155
+ * @param {string} principal Stacks address or a Contract identifier
156
156
  * @param {number} [limit] number of items to return
157
157
  * @param {number} [offset] number of items to skip
158
158
  * @param {boolean} [unanchored] Include transaction data from unanchored (i.e. unconfirmed) microblocks
159
- * @param {string} [untilBlock] returned data representing the state up until that point in time, rather than the current block.
159
+ * @param {string} [untilBlock] returned data representing the state up until that point in time, rather than the current block. Note - Use either of the query parameters but not both at a time.
160
160
  * @param {*} [options] Override http request option.
161
161
  * @throws {RequiredError}
162
162
  * @memberof AccountsApiInterface
@@ -170,9 +170,9 @@ export interface AccountsApiInterface {
170
170
  /**
171
171
  * Retrieves the latest nonce values used by an account by inspecting the mempool, microblock transactions, and anchored transactions.
172
172
  * @summary Get the latest nonce used by an account
173
- * @param {string} principal Stacks address (e.g. `SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0`)
174
- * @param {number} [blockHeight] Optionally get the nonce at a given block height
175
- * @param {string} [blockHash] Optionally get the nonce at a given block hash
173
+ * @param {string} principal Stacks address
174
+ * @param {number} [blockHeight] Optionally get the nonce at a given block height.
175
+ * @param {string} [blockHash] Optionally get the nonce at a given block hash. Note - Use either of the query parameters but not both at a time.
176
176
  * @param {*} [options] Override http request option.
177
177
  * @throws {RequiredError}
178
178
  * @memberof AccountsApiInterface
@@ -186,9 +186,9 @@ export interface AccountsApiInterface {
186
186
  /**
187
187
  * Retrieves STX token balance for a given Address or Contract Identifier.
188
188
  * @summary Get account STX balance
189
- * @param {string} principal Stacks address or a Contract identifier (e.g. `SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0.get-info`)
190
- * @param {boolean} [unanchored] Include transaction data from unanchored (i.e. unconfirmed) microblocks
191
- * @param {string} [untilBlock] returned data representing the state up until that point in time, rather than the current block.
189
+ * @param {string} principal Stacks address or a Contract identifier.
190
+ * @param {boolean} [unanchored] Include transaction data from unanchored (i.e. unconfirmed) microblocks.
191
+ * @param {string} [untilBlock] returned data representing the state up until that point in time, rather than the current block. Note - Use either of the query parameters but not both at a time.
192
192
  * @param {*} [options] Override http request option.
193
193
  * @throws {RequiredError}
194
194
  * @memberof AccountsApiInterface
@@ -202,12 +202,12 @@ export interface AccountsApiInterface {
202
202
  /**
203
203
  * Retrieves a list of all Transactions for a given Address or Contract Identifier. More information on Transaction types can be found [here](https://docs.stacks.co/understand-stacks/transactions#types). If you need to actively monitor new transactions for an address or contract id, we highly recommend subscribing to [WebSockets or Socket.io](https://github.com/hirosystems/stacks-blockchain-api/tree/master/client) for real-time updates.
204
204
  * @summary Get account transactions
205
- * @param {string} principal Stacks address or a Contract identifier (e.g. `SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0.get-info`)
205
+ * @param {string} principal Stacks address or a Contract identifier
206
206
  * @param {number} [limit] max number of account transactions to fetch
207
207
  * @param {number} [offset] index of first account transaction to fetch
208
208
  * @param {number} [height] Filter for transactions only at this given block height
209
209
  * @param {boolean} [unanchored] Include transaction data from unanchored (i.e. unconfirmed) microblocks
210
- * @param {string} [untilBlock] returned data representing the state up until that point in time, rather than the current block.
210
+ * @param {string} [untilBlock] returned data representing the state up until that point in time, rather than the current block. Note - Use either of the query parameters but not both at a time.
211
211
  * @param {*} [options] Override http request option.
212
212
  * @throws {RequiredError}
213
213
  * @memberof AccountsApiInterface
@@ -221,7 +221,7 @@ export interface AccountsApiInterface {
221
221
  /**
222
222
  * Retrieve all transactions for an account or contract identifier including STX transfers for each transaction.
223
223
  * @summary Get account transactions including STX transfers for each transaction.
224
- * @param {string} principal Stacks address or a Contract identifier (e.g. `SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0.get-info`)
224
+ * @param {string} principal Stacks address or a Contract identifier
225
225
  * @param {number} [limit] max number of account transactions to fetch
226
226
  * @param {number} [offset] index of first account transaction to fetch
227
227
  * @param {number} [height] Filter for transactions only at this given block height
@@ -63,7 +63,7 @@ export interface BlocksApiInterface {
63
63
  */
64
64
  getBlockByBurnBlockHeight(requestParameters: GetBlockByBurnBlockHeightRequest, initOverrides?: RequestInit): Promise<Block>;
65
65
  /**
66
- * Retrieves block details of a specific block for a given chain height
66
+ * Retrieves block details of a specific block for a given chain height. You can use the hash from your latest block (\'get_block_list\' API) to get your block details.
67
67
  * @summary Get block by hash
68
68
  * @param {string} hash Hash of the block
69
69
  * @param {*} [options] Override http request option.
@@ -72,7 +72,7 @@ export interface BlocksApiInterface {
72
72
  */
73
73
  getBlockByHashRaw(requestParameters: GetBlockByHashRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Block>>;
74
74
  /**
75
- * Retrieves block details of a specific block for a given chain height
75
+ * Retrieves block details of a specific block for a given chain height. You can use the hash from your latest block (\'get_block_list\' API) to get your block details.
76
76
  * Get block by hash
77
77
  */
78
78
  getBlockByHash(requestParameters: GetBlockByHashRequest, initOverrides?: RequestInit): Promise<Block>;
@@ -131,12 +131,12 @@ export declare class BlocksApi extends runtime.BaseAPI implements BlocksApiInter
131
131
  */
132
132
  getBlockByBurnBlockHeight(requestParameters: GetBlockByBurnBlockHeightRequest, initOverrides?: RequestInit): Promise<Block>;
133
133
  /**
134
- * Retrieves block details of a specific block for a given chain height
134
+ * Retrieves block details of a specific block for a given chain height. You can use the hash from your latest block (\'get_block_list\' API) to get your block details.
135
135
  * Get block by hash
136
136
  */
137
137
  getBlockByHashRaw(requestParameters: GetBlockByHashRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Block>>;
138
138
  /**
139
- * Retrieves block details of a specific block for a given chain height
139
+ * Retrieves block details of a specific block for a given chain height. You can use the hash from your latest block (\'get_block_list\' API) to get your block details.
140
140
  * Get block by hash
141
141
  */
142
142
  getBlockByHash(requestParameters: GetBlockByHashRequest, initOverrides?: RequestInit): Promise<Block>;
@@ -73,7 +73,7 @@ class BlocksApi extends runtime.BaseAPI {
73
73
  return await response.value();
74
74
  }
75
75
  /**
76
- * Retrieves block details of a specific block for a given chain height
76
+ * Retrieves block details of a specific block for a given chain height. You can use the hash from your latest block (\'get_block_list\' API) to get your block details.
77
77
  * Get block by hash
78
78
  */
79
79
  async getBlockByHashRaw(requestParameters, initOverrides) {
@@ -91,7 +91,7 @@ class BlocksApi extends runtime.BaseAPI {
91
91
  return new runtime.JSONApiResponse(response, (jsonValue) => models_1.BlockFromJSON(jsonValue));
92
92
  }
93
93
  /**
94
- * Retrieves block details of a specific block for a given chain height
94
+ * Retrieves block details of a specific block for a given chain height. You can use the hash from your latest block (\'get_block_list\' API) to get your block details.
95
95
  * Get block by hash
96
96
  */
97
97
  async getBlockByHash(requestParameters, initOverrides) {
@@ -25,7 +25,7 @@ export interface PostFeeTransactionRequest {
25
25
  */
26
26
  export interface FeesApiInterface {
27
27
  /**
28
- * **NOTE:** This endpoint is deprecated in favor of [Get approximate fees for the given transaction](#operation/post_fee_transaction). Retrieves estimated fee rate.
28
+ * **NOTE:** This endpoint is deprecated in favor of [Get approximate fees for a given transaction](#operation/post_fee_transaction). Retrieves estimated fee rate.
29
29
  * @summary Fetch fee rate
30
30
  * @param {FeeRateRequest} feeRateRequest
31
31
  * @param {*} [options] Override http request option.
@@ -34,7 +34,7 @@ export interface FeesApiInterface {
34
34
  */
35
35
  fetchFeeRateRaw(requestParameters: FetchFeeRateRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<FeeRate>>;
36
36
  /**
37
- * **NOTE:** This endpoint is deprecated in favor of [Get approximate fees for the given transaction](#operation/post_fee_transaction). Retrieves estimated fee rate.
37
+ * **NOTE:** This endpoint is deprecated in favor of [Get approximate fees for a given transaction](#operation/post_fee_transaction). Retrieves estimated fee rate.
38
38
  * Fetch fee rate
39
39
  */
40
40
  fetchFeeRate(requestParameters: FetchFeeRateRequest, initOverrides?: RequestInit): Promise<FeeRate>;
@@ -53,7 +53,7 @@ export interface FeesApiInterface {
53
53
  getFeeTransfer(initOverrides?: RequestInit): Promise<object>;
54
54
  /**
55
55
  * Get an estimated fee for the supplied transaction. This estimates the execution cost of the transaction, the current fee rate of the network, and returns estimates for fee amounts. * `transaction_payload` is a hex-encoded serialization of the TransactionPayload for the transaction. * `estimated_len` is an optional argument that provides the endpoint with an estimation of the final length (in bytes) of the transaction, including any post-conditions and signatures If the node cannot provide an estimate for the transaction (e.g., if the node has never seen a contract-call for the given contract and function) or if estimation is not configured on this node, a 400 response is returned. The 400 response will be a JSON error containing a `reason` field which can be one of the following: * `DatabaseError` - this Stacks node has had an internal database error while trying to estimate the costs of the supplied transaction. * `NoEstimateAvailable` - this Stacks node has not seen this kind of contract-call before, and it cannot provide an estimate yet. * `CostEstimationDisabled` - this Stacks node does not perform fee or cost estimation, and it cannot respond on this endpoint. The 200 response contains the following data: * `estimated_cost` - the estimated multi-dimensional cost of executing the Clarity VM on the provided transaction. * `estimated_cost_scalar` - a unitless integer that the Stacks node uses to compare how much of the block limit is consumed by different transactions. This value incorporates the estimated length of the transaction and the estimated execution cost of the transaction. The range of this integer may vary between different Stacks nodes. In order to compute an estimate of total fee amount for the transaction, this value is multiplied by the same Stacks node\'s estimated fee rate. * `cost_scalar_change_by_byte` - a float value that indicates how much the `estimated_cost_scalar` value would increase for every additional byte in the final transaction. * `estimations` - an array of estimated fee rates and total fees to pay in microSTX for the transaction. This array provides a range of estimates (default: 3) that may be used. Each element of the array contains the following fields: * `fee_rate` - the estimated value for the current fee rates in the network * `fee` - the estimated value for the total fee in microSTX that the given transaction should pay. These values are the result of computing: `fee_rate` x `estimated_cost_scalar`. If the estimated fees are less than the minimum relay fee `(1 ustx x estimated_len)`, then that minimum relay fee will be returned here instead. Note: If the final transaction\'s byte size is larger than supplied to `estimated_len`, then applications should increase this fee amount by: `fee_rate` x `cost_scalar_change_by_byte` x (`final_size` - `estimated_size`)
56
- * @summary Get approximate fees for the given transaction
56
+ * @summary Get approximate fees for a given transaction
57
57
  * @param {TransactionFeeEstimateRequest} [transactionFeeEstimateRequest]
58
58
  * @param {*} [options] Override http request option.
59
59
  * @throws {RequiredError}
@@ -62,7 +62,7 @@ export interface FeesApiInterface {
62
62
  postFeeTransactionRaw(requestParameters: PostFeeTransactionRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<TransactionFeeEstimateResponse>>;
63
63
  /**
64
64
  * Get an estimated fee for the supplied transaction. This estimates the execution cost of the transaction, the current fee rate of the network, and returns estimates for fee amounts. * `transaction_payload` is a hex-encoded serialization of the TransactionPayload for the transaction. * `estimated_len` is an optional argument that provides the endpoint with an estimation of the final length (in bytes) of the transaction, including any post-conditions and signatures If the node cannot provide an estimate for the transaction (e.g., if the node has never seen a contract-call for the given contract and function) or if estimation is not configured on this node, a 400 response is returned. The 400 response will be a JSON error containing a `reason` field which can be one of the following: * `DatabaseError` - this Stacks node has had an internal database error while trying to estimate the costs of the supplied transaction. * `NoEstimateAvailable` - this Stacks node has not seen this kind of contract-call before, and it cannot provide an estimate yet. * `CostEstimationDisabled` - this Stacks node does not perform fee or cost estimation, and it cannot respond on this endpoint. The 200 response contains the following data: * `estimated_cost` - the estimated multi-dimensional cost of executing the Clarity VM on the provided transaction. * `estimated_cost_scalar` - a unitless integer that the Stacks node uses to compare how much of the block limit is consumed by different transactions. This value incorporates the estimated length of the transaction and the estimated execution cost of the transaction. The range of this integer may vary between different Stacks nodes. In order to compute an estimate of total fee amount for the transaction, this value is multiplied by the same Stacks node\'s estimated fee rate. * `cost_scalar_change_by_byte` - a float value that indicates how much the `estimated_cost_scalar` value would increase for every additional byte in the final transaction. * `estimations` - an array of estimated fee rates and total fees to pay in microSTX for the transaction. This array provides a range of estimates (default: 3) that may be used. Each element of the array contains the following fields: * `fee_rate` - the estimated value for the current fee rates in the network * `fee` - the estimated value for the total fee in microSTX that the given transaction should pay. These values are the result of computing: `fee_rate` x `estimated_cost_scalar`. If the estimated fees are less than the minimum relay fee `(1 ustx x estimated_len)`, then that minimum relay fee will be returned here instead. Note: If the final transaction\'s byte size is larger than supplied to `estimated_len`, then applications should increase this fee amount by: `fee_rate` x `cost_scalar_change_by_byte` x (`final_size` - `estimated_size`)
65
- * Get approximate fees for the given transaction
65
+ * Get approximate fees for a given transaction
66
66
  */
67
67
  postFeeTransaction(requestParameters: PostFeeTransactionRequest, initOverrides?: RequestInit): Promise<TransactionFeeEstimateResponse>;
68
68
  }
@@ -71,12 +71,12 @@ export interface FeesApiInterface {
71
71
  */
72
72
  export declare class FeesApi extends runtime.BaseAPI implements FeesApiInterface {
73
73
  /**
74
- * **NOTE:** This endpoint is deprecated in favor of [Get approximate fees for the given transaction](#operation/post_fee_transaction). Retrieves estimated fee rate.
74
+ * **NOTE:** This endpoint is deprecated in favor of [Get approximate fees for a given transaction](#operation/post_fee_transaction). Retrieves estimated fee rate.
75
75
  * Fetch fee rate
76
76
  */
77
77
  fetchFeeRateRaw(requestParameters: FetchFeeRateRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<FeeRate>>;
78
78
  /**
79
- * **NOTE:** This endpoint is deprecated in favor of [Get approximate fees for the given transaction](#operation/post_fee_transaction). Retrieves estimated fee rate.
79
+ * **NOTE:** This endpoint is deprecated in favor of [Get approximate fees for a given transaction](#operation/post_fee_transaction). Retrieves estimated fee rate.
80
80
  * Fetch fee rate
81
81
  */
82
82
  fetchFeeRate(requestParameters: FetchFeeRateRequest, initOverrides?: RequestInit): Promise<FeeRate>;
@@ -92,12 +92,12 @@ export declare class FeesApi extends runtime.BaseAPI implements FeesApiInterface
92
92
  getFeeTransfer(initOverrides?: RequestInit): Promise<object>;
93
93
  /**
94
94
  * Get an estimated fee for the supplied transaction. This estimates the execution cost of the transaction, the current fee rate of the network, and returns estimates for fee amounts. * `transaction_payload` is a hex-encoded serialization of the TransactionPayload for the transaction. * `estimated_len` is an optional argument that provides the endpoint with an estimation of the final length (in bytes) of the transaction, including any post-conditions and signatures If the node cannot provide an estimate for the transaction (e.g., if the node has never seen a contract-call for the given contract and function) or if estimation is not configured on this node, a 400 response is returned. The 400 response will be a JSON error containing a `reason` field which can be one of the following: * `DatabaseError` - this Stacks node has had an internal database error while trying to estimate the costs of the supplied transaction. * `NoEstimateAvailable` - this Stacks node has not seen this kind of contract-call before, and it cannot provide an estimate yet. * `CostEstimationDisabled` - this Stacks node does not perform fee or cost estimation, and it cannot respond on this endpoint. The 200 response contains the following data: * `estimated_cost` - the estimated multi-dimensional cost of executing the Clarity VM on the provided transaction. * `estimated_cost_scalar` - a unitless integer that the Stacks node uses to compare how much of the block limit is consumed by different transactions. This value incorporates the estimated length of the transaction and the estimated execution cost of the transaction. The range of this integer may vary between different Stacks nodes. In order to compute an estimate of total fee amount for the transaction, this value is multiplied by the same Stacks node\'s estimated fee rate. * `cost_scalar_change_by_byte` - a float value that indicates how much the `estimated_cost_scalar` value would increase for every additional byte in the final transaction. * `estimations` - an array of estimated fee rates and total fees to pay in microSTX for the transaction. This array provides a range of estimates (default: 3) that may be used. Each element of the array contains the following fields: * `fee_rate` - the estimated value for the current fee rates in the network * `fee` - the estimated value for the total fee in microSTX that the given transaction should pay. These values are the result of computing: `fee_rate` x `estimated_cost_scalar`. If the estimated fees are less than the minimum relay fee `(1 ustx x estimated_len)`, then that minimum relay fee will be returned here instead. Note: If the final transaction\'s byte size is larger than supplied to `estimated_len`, then applications should increase this fee amount by: `fee_rate` x `cost_scalar_change_by_byte` x (`final_size` - `estimated_size`)
95
- * Get approximate fees for the given transaction
95
+ * Get approximate fees for a given transaction
96
96
  */
97
97
  postFeeTransactionRaw(requestParameters: PostFeeTransactionRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<TransactionFeeEstimateResponse>>;
98
98
  /**
99
99
  * Get an estimated fee for the supplied transaction. This estimates the execution cost of the transaction, the current fee rate of the network, and returns estimates for fee amounts. * `transaction_payload` is a hex-encoded serialization of the TransactionPayload for the transaction. * `estimated_len` is an optional argument that provides the endpoint with an estimation of the final length (in bytes) of the transaction, including any post-conditions and signatures If the node cannot provide an estimate for the transaction (e.g., if the node has never seen a contract-call for the given contract and function) or if estimation is not configured on this node, a 400 response is returned. The 400 response will be a JSON error containing a `reason` field which can be one of the following: * `DatabaseError` - this Stacks node has had an internal database error while trying to estimate the costs of the supplied transaction. * `NoEstimateAvailable` - this Stacks node has not seen this kind of contract-call before, and it cannot provide an estimate yet. * `CostEstimationDisabled` - this Stacks node does not perform fee or cost estimation, and it cannot respond on this endpoint. The 200 response contains the following data: * `estimated_cost` - the estimated multi-dimensional cost of executing the Clarity VM on the provided transaction. * `estimated_cost_scalar` - a unitless integer that the Stacks node uses to compare how much of the block limit is consumed by different transactions. This value incorporates the estimated length of the transaction and the estimated execution cost of the transaction. The range of this integer may vary between different Stacks nodes. In order to compute an estimate of total fee amount for the transaction, this value is multiplied by the same Stacks node\'s estimated fee rate. * `cost_scalar_change_by_byte` - a float value that indicates how much the `estimated_cost_scalar` value would increase for every additional byte in the final transaction. * `estimations` - an array of estimated fee rates and total fees to pay in microSTX for the transaction. This array provides a range of estimates (default: 3) that may be used. Each element of the array contains the following fields: * `fee_rate` - the estimated value for the current fee rates in the network * `fee` - the estimated value for the total fee in microSTX that the given transaction should pay. These values are the result of computing: `fee_rate` x `estimated_cost_scalar`. If the estimated fees are less than the minimum relay fee `(1 ustx x estimated_len)`, then that minimum relay fee will be returned here instead. Note: If the final transaction\'s byte size is larger than supplied to `estimated_len`, then applications should increase this fee amount by: `fee_rate` x `cost_scalar_change_by_byte` x (`final_size` - `estimated_size`)
100
- * Get approximate fees for the given transaction
100
+ * Get approximate fees for a given transaction
101
101
  */
102
102
  postFeeTransaction(requestParameters: PostFeeTransactionRequest, initOverrides?: RequestInit): Promise<TransactionFeeEstimateResponse>;
103
103
  }
@@ -21,7 +21,7 @@ const models_1 = require("../models");
21
21
  */
22
22
  class FeesApi extends runtime.BaseAPI {
23
23
  /**
24
- * **NOTE:** This endpoint is deprecated in favor of [Get approximate fees for the given transaction](#operation/post_fee_transaction). Retrieves estimated fee rate.
24
+ * **NOTE:** This endpoint is deprecated in favor of [Get approximate fees for a given transaction](#operation/post_fee_transaction). Retrieves estimated fee rate.
25
25
  * Fetch fee rate
26
26
  */
27
27
  async fetchFeeRateRaw(requestParameters, initOverrides) {
@@ -41,7 +41,7 @@ class FeesApi extends runtime.BaseAPI {
41
41
  return new runtime.JSONApiResponse(response, (jsonValue) => models_1.FeeRateFromJSON(jsonValue));
42
42
  }
43
43
  /**
44
- * **NOTE:** This endpoint is deprecated in favor of [Get approximate fees for the given transaction](#operation/post_fee_transaction). Retrieves estimated fee rate.
44
+ * **NOTE:** This endpoint is deprecated in favor of [Get approximate fees for a given transaction](#operation/post_fee_transaction). Retrieves estimated fee rate.
45
45
  * Fetch fee rate
46
46
  */
47
47
  async fetchFeeRate(requestParameters, initOverrides) {
@@ -73,7 +73,7 @@ class FeesApi extends runtime.BaseAPI {
73
73
  }
74
74
  /**
75
75
  * Get an estimated fee for the supplied transaction. This estimates the execution cost of the transaction, the current fee rate of the network, and returns estimates for fee amounts. * `transaction_payload` is a hex-encoded serialization of the TransactionPayload for the transaction. * `estimated_len` is an optional argument that provides the endpoint with an estimation of the final length (in bytes) of the transaction, including any post-conditions and signatures If the node cannot provide an estimate for the transaction (e.g., if the node has never seen a contract-call for the given contract and function) or if estimation is not configured on this node, a 400 response is returned. The 400 response will be a JSON error containing a `reason` field which can be one of the following: * `DatabaseError` - this Stacks node has had an internal database error while trying to estimate the costs of the supplied transaction. * `NoEstimateAvailable` - this Stacks node has not seen this kind of contract-call before, and it cannot provide an estimate yet. * `CostEstimationDisabled` - this Stacks node does not perform fee or cost estimation, and it cannot respond on this endpoint. The 200 response contains the following data: * `estimated_cost` - the estimated multi-dimensional cost of executing the Clarity VM on the provided transaction. * `estimated_cost_scalar` - a unitless integer that the Stacks node uses to compare how much of the block limit is consumed by different transactions. This value incorporates the estimated length of the transaction and the estimated execution cost of the transaction. The range of this integer may vary between different Stacks nodes. In order to compute an estimate of total fee amount for the transaction, this value is multiplied by the same Stacks node\'s estimated fee rate. * `cost_scalar_change_by_byte` - a float value that indicates how much the `estimated_cost_scalar` value would increase for every additional byte in the final transaction. * `estimations` - an array of estimated fee rates and total fees to pay in microSTX for the transaction. This array provides a range of estimates (default: 3) that may be used. Each element of the array contains the following fields: * `fee_rate` - the estimated value for the current fee rates in the network * `fee` - the estimated value for the total fee in microSTX that the given transaction should pay. These values are the result of computing: `fee_rate` x `estimated_cost_scalar`. If the estimated fees are less than the minimum relay fee `(1 ustx x estimated_len)`, then that minimum relay fee will be returned here instead. Note: If the final transaction\'s byte size is larger than supplied to `estimated_len`, then applications should increase this fee amount by: `fee_rate` x `cost_scalar_change_by_byte` x (`final_size` - `estimated_size`)
76
- * Get approximate fees for the given transaction
76
+ * Get approximate fees for a given transaction
77
77
  */
78
78
  async postFeeTransactionRaw(requestParameters, initOverrides) {
79
79
  const queryParameters = {};
@@ -90,7 +90,7 @@ class FeesApi extends runtime.BaseAPI {
90
90
  }
91
91
  /**
92
92
  * Get an estimated fee for the supplied transaction. This estimates the execution cost of the transaction, the current fee rate of the network, and returns estimates for fee amounts. * `transaction_payload` is a hex-encoded serialization of the TransactionPayload for the transaction. * `estimated_len` is an optional argument that provides the endpoint with an estimation of the final length (in bytes) of the transaction, including any post-conditions and signatures If the node cannot provide an estimate for the transaction (e.g., if the node has never seen a contract-call for the given contract and function) or if estimation is not configured on this node, a 400 response is returned. The 400 response will be a JSON error containing a `reason` field which can be one of the following: * `DatabaseError` - this Stacks node has had an internal database error while trying to estimate the costs of the supplied transaction. * `NoEstimateAvailable` - this Stacks node has not seen this kind of contract-call before, and it cannot provide an estimate yet. * `CostEstimationDisabled` - this Stacks node does not perform fee or cost estimation, and it cannot respond on this endpoint. The 200 response contains the following data: * `estimated_cost` - the estimated multi-dimensional cost of executing the Clarity VM on the provided transaction. * `estimated_cost_scalar` - a unitless integer that the Stacks node uses to compare how much of the block limit is consumed by different transactions. This value incorporates the estimated length of the transaction and the estimated execution cost of the transaction. The range of this integer may vary between different Stacks nodes. In order to compute an estimate of total fee amount for the transaction, this value is multiplied by the same Stacks node\'s estimated fee rate. * `cost_scalar_change_by_byte` - a float value that indicates how much the `estimated_cost_scalar` value would increase for every additional byte in the final transaction. * `estimations` - an array of estimated fee rates and total fees to pay in microSTX for the transaction. This array provides a range of estimates (default: 3) that may be used. Each element of the array contains the following fields: * `fee_rate` - the estimated value for the current fee rates in the network * `fee` - the estimated value for the total fee in microSTX that the given transaction should pay. These values are the result of computing: `fee_rate` x `estimated_cost_scalar`. If the estimated fees are less than the minimum relay fee `(1 ustx x estimated_len)`, then that minimum relay fee will be returned here instead. Note: If the final transaction\'s byte size is larger than supplied to `estimated_len`, then applications should increase this fee amount by: `fee_rate` x `cost_scalar_change_by_byte` x (`final_size` - `estimated_size`)
93
- * Get approximate fees for the given transaction
93
+ * Get approximate fees for a given transaction
94
94
  */
95
95
  async postFeeTransaction(requestParameters, initOverrides) {
96
96
  const response = await this.postFeeTransactionRaw(requestParameters, initOverrides);
@@ -42,7 +42,7 @@ export interface FungibleTokensApiInterface {
42
42
  /**
43
43
  * Retrieves list of fungible tokens with their metadata. More information on Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#fungible-tokens).
44
44
  * @summary Fungible tokens metadata list
45
- * @param {number} [limit] max number of tokens to fetch
45
+ * @param {number} [limit] max number of tokens to fetch.
46
46
  * @param {number} [offset] index of first tokens to fetch
47
47
  * @param {*} [options] Override http request option.
48
48
  * @throws {RequiredError}
@@ -43,7 +43,7 @@ export interface InfoApiInterface {
43
43
  /**
44
44
  * Retrieves the target block time for a given network. The network can be mainnet or testnet. The block time is hardcoded and will change throughout the implementation phases of the testnet.
45
45
  * @summary Get a given network\'s target block time
46
- * @param {'testnet' | 'mainnet'} network Which network to retrieve the target block time of
46
+ * @param {'testnet' | 'mainnet'} network the target block time for a given network (testnet, mainnet).
47
47
  * @param {*} [options] Override http request option.
48
48
  * @throws {RequiredError}
49
49
  * @memberof InfoApiInterface
@@ -96,7 +96,7 @@ export interface InfoApiInterface {
96
96
  /**
97
97
  * Retrieves the total and unlocked STX supply. More information on Stacking can be found [here] (https://docs.stacks.co/understand-stacks/stacking).
98
98
  * @summary Get total and unlocked STX supply
99
- * @param {number} [height] The block height at which to query supply details from, if not provided then the latest block height is used
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.
101
101
  * @throws {RequiredError}
102
102
  * @memberof InfoApiInterface
@@ -136,7 +136,7 @@ export interface InfoApiInterface {
136
136
  /**
137
137
  * Retrieves total supply of STX tokens including those currently in circulation that have been unlocked.
138
138
  * @summary Get total and unlocked STX supply (results formatted the same as the legacy 1.0 API)
139
- * @param {number} [height] The block height at which to query supply details from, if not provided then the latest block height is used
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.
141
141
  * @throws {RequiredError}
142
142
  * @memberof InfoApiInterface
@@ -18,7 +18,7 @@ export interface FetchZoneFileRequest {
18
18
  name: string;
19
19
  }
20
20
  export interface GetAllNamesRequest {
21
- page: number;
21
+ page?: number;
22
22
  }
23
23
  export interface GetHistoricalZoneFileRequest {
24
24
  name: string;
@@ -36,7 +36,7 @@ export interface GetNamesOwnedByAddressRequest {
36
36
  }
37
37
  export interface GetNamespaceNamesRequest {
38
38
  tld: string;
39
- page: number;
39
+ page?: number;
40
40
  }
41
41
  export interface GetNamespacePriceRequest {
42
42
  tld: string;
@@ -79,7 +79,7 @@ export interface NamesApiInterface {
79
79
  /**
80
80
  * Retrieves a list of all names known to the node.
81
81
  * @summary Get All Names
82
- * @param {number} page names are returned in pages of size 100, so specify the page number.
82
+ * @param {number} [page] names are defaulted to page 1 with 100 results. You can query specific page results by using the \&#39;page\&#39; query parameter.
83
83
  * @param {*} [options] Override http request option.
84
84
  * @throws {RequiredError}
85
85
  * @memberof NamesApiInterface
@@ -164,8 +164,8 @@ export interface NamesApiInterface {
164
164
  /**
165
165
  * Retrieves a list of names within a given namespace.
166
166
  * @summary Get Namespace Names
167
- * @param {string} tld the namespace to fetch names from
168
- * @param {number} page names are returned in pages of size 100, so specify the page number.
167
+ * @param {string} tld the namespace to fetch names from.
168
+ * @param {number} [page] namespace values are defaulted to page 1 with 100 results. You can query specific page results by using the \&#39;page\&#39; query parameter.
169
169
  * @param {*} [options] Override http request option.
170
170
  * @throws {RequiredError}
171
171
  * @memberof NamesApiInterface
@@ -77,9 +77,6 @@ class NamesApi extends runtime.BaseAPI {
77
77
  * Get All Names
78
78
  */
79
79
  async getAllNamesRaw(requestParameters, initOverrides) {
80
- if (requestParameters.page === null || requestParameters.page === undefined) {
81
- throw new runtime.RequiredError('page', 'Required parameter requestParameters.page was null or undefined when calling getAllNames.');
82
- }
83
80
  const queryParameters = {};
84
81
  if (requestParameters.page !== undefined) {
85
82
  queryParameters['page'] = requestParameters.page;
@@ -242,9 +239,6 @@ class NamesApi extends runtime.BaseAPI {
242
239
  if (requestParameters.tld === null || requestParameters.tld === undefined) {
243
240
  throw new runtime.RequiredError('tld', 'Required parameter requestParameters.tld was null or undefined when calling getNamespaceNames.');
244
241
  }
245
- if (requestParameters.page === null || requestParameters.page === undefined) {
246
- throw new runtime.RequiredError('page', 'Required parameter requestParameters.page was null or undefined when calling getNamespaceNames.');
247
- }
248
242
  const queryParameters = {};
249
243
  if (requestParameters.page !== undefined) {
250
244
  queryParameters['page'] = requestParameters.page;
@@ -1 +1 @@
1
- {"version":3,"file":"NamesApi.js","sourceRoot":"","sources":["../../../src/generated/apis/NamesApi.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAGH,sCAAsC;AACtC,sCAmBmB;AAoNnB;;GAEG;AACH,MAAa,QAAS,SAAQ,OAAO,CAAC,OAAO;IAEzC;;;OAGG;IACH,KAAK,CAAC,6BAA6B,CAAC,iBAAoD,EAAE,aAA2B;QACjH,IAAI,iBAAiB,CAAC,IAAI,KAAK,IAAI,IAAI,iBAAiB,CAAC,IAAI,KAAK,SAAS,EAAE;YACzE,MAAM,IAAI,OAAO,CAAC,aAAa,CAAC,MAAM,EAAC,0GAA0G,CAAC,CAAC;SACtJ;QAED,MAAM,eAAe,GAAQ,EAAE,CAAC;QAEhC,MAAM,gBAAgB,GAAwB,EAAE,CAAC;QAEjD,MAAM,QAAQ,GAAG,M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AC;SAC3I;QAED,MAAM,eAAe,GAAQ,EAAE,CAAC;QAEhC,MAAM,gBAAgB,GAAwB,EAAE,CAAC;QAEjD,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC;YAChC,IAAI,EAAE,6BAA6B,CAAC,OAAO,CAAC,IAAI,KAAK,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC,CAAC;YAC5G,MAAM,EAAE,KAAK;YACb,OAAO,EAAE,gBAAgB;YACzB,KAAK,EAAE,eAAe;SACzB,EAAE,aAAa,CAAC,CAAC;QAElB,OAAO,IAAI,OAAO,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,6CAAoC,CAAC,SAAS,CAAC,CAAC,CAAC;IACjH,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,iBAAiB,CAAC,iBAA2C,EAAE,aAA2B;QAC5F,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;QACnF,OAAO,MAAM,QAAQ,CAAC,KAAK,EAAE,CAAC;IAClC,CAAC;CAEJ;AA1UD,4BA0UC"}
@@ -33,6 +33,12 @@ export interface Block {
33
33
  * @memberof Block
34
34
  */
35
35
  hash: string;
36
+ /**
37
+ * The only hash that can uniquely identify an anchored block or an unconfirmed state trie
38
+ * @type {string}
39
+ * @memberof Block
40
+ */
41
+ index_block_hash: string;
36
42
  /**
37
43
  * Hash of the parent block
38
44
  * @type {string}
@@ -26,6 +26,7 @@ function BlockFromJSONTyped(json, ignoreDiscriminator) {
26
26
  'canonical': json['canonical'],
27
27
  'height': json['height'],
28
28
  'hash': json['hash'],
29
+ 'index_block_hash': json['index_block_hash'],
29
30
  'parent_block_hash': json['parent_block_hash'],
30
31
  'burn_block_time': json['burn_block_time'],
31
32
  'burn_block_time_iso': json['burn_block_time_iso'],
@@ -56,6 +57,7 @@ function BlockToJSON(value) {
56
57
  'canonical': value.canonical,
57
58
  'height': value.height,
58
59
  'hash': value.hash,
60
+ 'index_block_hash': value.index_block_hash,
59
61
  'parent_block_hash': value.parent_block_hash,
60
62
  'burn_block_time': value.burn_block_time,
61
63
  'burn_block_time_iso': value.burn_block_time_iso,
@@ -1 +1 @@
1
- {"version":3,"file":"Block.js","sourceRoot":"","sources":["../../../src/generated/models/Block.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AA6HH,SAAgB,aAAa,CAAC,IAAS;IACnC,OAAO,kBAAkB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC3C,CAAC;AAFD,sCAEC;AAED,SAAgB,kBAAkB,CAAC,IAAS,EAAE,mBAA4B;IACtE,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE;QACzC,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC;QAC9B,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;QACxB,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;QACpB,mBAAmB,EAAE,IAAI,CAAC,mBAAmB,CAAC;QAC9C,iBAAiB,EAAE,IAAI,CAAC,iBAAiB,CAAC;QAC1C,qBAAqB,EAAE,IAAI,CAAC,qBAAqB,CAAC;QAClD,iBAAiB,EAAE,IAAI,CAAC,iBAAiB,CAAC;QAC1C,mBAAmB,EAAE,IAAI,CAAC,mBAAmB,CAAC;QAC9C,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC;QAChC,wBAAwB,EAAE,IAAI,CAAC,wBAAwB,CAAC;QACxD,4BAA4B,EAAE,IAAI,CAAC,4BAA4B,CAAC;QAChE,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC;QAClB,sBAAsB,EAAE,IAAI,CAAC,sBAAsB,CAAC;QACpD,sBAAsB,EAAE,IAAI,C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 @@
1415
1415
  'canonical': json['canonical'],
1416
1416
  'height': json['height'],
1417
1417
  'hash': json['hash'],
1418
+ 'index_block_hash': json['index_block_hash'],
1418
1419
  'parent_block_hash': json['parent_block_hash'],
1419
1420
  'burn_block_time': json['burn_block_time'],
1420
1421
  'burn_block_time_iso': json['burn_block_time_iso'],
@@ -1446,6 +1447,7 @@
1446
1447
  'canonical': value.canonical,
1447
1448
  'height': value.height,
1448
1449
  'hash': value.hash,
1450
+ 'index_block_hash': value.index_block_hash,
1449
1451
  'parent_block_hash': value.parent_block_hash,
1450
1452
  'burn_block_time': value.burn_block_time,
1451
1453
  'burn_block_time_iso': value.burn_block_time_iso,
@@ -6859,7 +6861,7 @@
6859
6861
  }
6860
6862
  }
6861
6863
  /**
6862
- * Retrieves block details of a specific block for a given chain height
6864
+ * Retrieves block details of a specific block for a given chain height. You can use the hash from your latest block (\'get_block_list\' API) to get your block details.
6863
6865
  * Get block by hash
6864
6866
  */
6865
6867
  ;
@@ -6889,7 +6891,7 @@
6889
6891
  }
6890
6892
  }
6891
6893
  /**
6892
- * Retrieves block details of a specific block for a given chain height
6894
+ * Retrieves block details of a specific block for a given chain height. You can use the hash from your latest block (\'get_block_list\' API) to get your block details.
6893
6895
  * Get block by hash
6894
6896
  */
6895
6897
  ;
@@ -7149,7 +7151,7 @@
7149
7151
  var _proto = FeesApi.prototype;
7150
7152
 
7151
7153
  /**
7152
- * **NOTE:** This endpoint is deprecated in favor of [Get approximate fees for the given transaction](#operation/post_fee_transaction). Retrieves estimated fee rate.
7154
+ * **NOTE:** This endpoint is deprecated in favor of [Get approximate fees for a given transaction](#operation/post_fee_transaction). Retrieves estimated fee rate.
7153
7155
  * Fetch fee rate
7154
7156
  */
7155
7157
  _proto.fetchFeeRateRaw = function fetchFeeRateRaw(requestParameters, initOverrides) {
@@ -7179,7 +7181,7 @@
7179
7181
  }
7180
7182
  }
7181
7183
  /**
7182
- * **NOTE:** This endpoint is deprecated in favor of [Get approximate fees for the given transaction](#operation/post_fee_transaction). Retrieves estimated fee rate.
7184
+ * **NOTE:** This endpoint is deprecated in favor of [Get approximate fees for a given transaction](#operation/post_fee_transaction). Retrieves estimated fee rate.
7183
7185
  * Fetch fee rate
7184
7186
  */
7185
7187
  ;
@@ -7238,7 +7240,7 @@
7238
7240
  }
7239
7241
  /**
7240
7242
  * Get an estimated fee for the supplied transaction. This estimates the execution cost of the transaction, the current fee rate of the network, and returns estimates for fee amounts. * `transaction_payload` is a hex-encoded serialization of the TransactionPayload for the transaction. * `estimated_len` is an optional argument that provides the endpoint with an estimation of the final length (in bytes) of the transaction, including any post-conditions and signatures If the node cannot provide an estimate for the transaction (e.g., if the node has never seen a contract-call for the given contract and function) or if estimation is not configured on this node, a 400 response is returned. The 400 response will be a JSON error containing a `reason` field which can be one of the following: * `DatabaseError` - this Stacks node has had an internal database error while trying to estimate the costs of the supplied transaction. * `NoEstimateAvailable` - this Stacks node has not seen this kind of contract-call before, and it cannot provide an estimate yet. * `CostEstimationDisabled` - this Stacks node does not perform fee or cost estimation, and it cannot respond on this endpoint. The 200 response contains the following data: * `estimated_cost` - the estimated multi-dimensional cost of executing the Clarity VM on the provided transaction. * `estimated_cost_scalar` - a unitless integer that the Stacks node uses to compare how much of the block limit is consumed by different transactions. This value incorporates the estimated length of the transaction and the estimated execution cost of the transaction. The range of this integer may vary between different Stacks nodes. In order to compute an estimate of total fee amount for the transaction, this value is multiplied by the same Stacks node\'s estimated fee rate. * `cost_scalar_change_by_byte` - a float value that indicates how much the `estimated_cost_scalar` value would increase for every additional byte in the final transaction. * `estimations` - an array of estimated fee rates and total fees to pay in microSTX for the transaction. This array provides a range of estimates (default: 3) that may be used. Each element of the array contains the following fields: * `fee_rate` - the estimated value for the current fee rates in the network * `fee` - the estimated value for the total fee in microSTX that the given transaction should pay. These values are the result of computing: `fee_rate` x `estimated_cost_scalar`. If the estimated fees are less than the minimum relay fee `(1 ustx x estimated_len)`, then that minimum relay fee will be returned here instead. Note: If the final transaction\'s byte size is larger than supplied to `estimated_len`, then applications should increase this fee amount by: `fee_rate` x `cost_scalar_change_by_byte` x (`final_size` - `estimated_size`)
7241
- * Get approximate fees for the given transaction
7243
+ * Get approximate fees for a given transaction
7242
7244
  */
7243
7245
  ;
7244
7246
 
@@ -7266,7 +7268,7 @@
7266
7268
  }
7267
7269
  /**
7268
7270
  * Get an estimated fee for the supplied transaction. This estimates the execution cost of the transaction, the current fee rate of the network, and returns estimates for fee amounts. * `transaction_payload` is a hex-encoded serialization of the TransactionPayload for the transaction. * `estimated_len` is an optional argument that provides the endpoint with an estimation of the final length (in bytes) of the transaction, including any post-conditions and signatures If the node cannot provide an estimate for the transaction (e.g., if the node has never seen a contract-call for the given contract and function) or if estimation is not configured on this node, a 400 response is returned. The 400 response will be a JSON error containing a `reason` field which can be one of the following: * `DatabaseError` - this Stacks node has had an internal database error while trying to estimate the costs of the supplied transaction. * `NoEstimateAvailable` - this Stacks node has not seen this kind of contract-call before, and it cannot provide an estimate yet. * `CostEstimationDisabled` - this Stacks node does not perform fee or cost estimation, and it cannot respond on this endpoint. The 200 response contains the following data: * `estimated_cost` - the estimated multi-dimensional cost of executing the Clarity VM on the provided transaction. * `estimated_cost_scalar` - a unitless integer that the Stacks node uses to compare how much of the block limit is consumed by different transactions. This value incorporates the estimated length of the transaction and the estimated execution cost of the transaction. The range of this integer may vary between different Stacks nodes. In order to compute an estimate of total fee amount for the transaction, this value is multiplied by the same Stacks node\'s estimated fee rate. * `cost_scalar_change_by_byte` - a float value that indicates how much the `estimated_cost_scalar` value would increase for every additional byte in the final transaction. * `estimations` - an array of estimated fee rates and total fees to pay in microSTX for the transaction. This array provides a range of estimates (default: 3) that may be used. Each element of the array contains the following fields: * `fee_rate` - the estimated value for the current fee rates in the network * `fee` - the estimated value for the total fee in microSTX that the given transaction should pay. These values are the result of computing: `fee_rate` x `estimated_cost_scalar`. If the estimated fees are less than the minimum relay fee `(1 ustx x estimated_len)`, then that minimum relay fee will be returned here instead. Note: If the final transaction\'s byte size is larger than supplied to `estimated_len`, then applications should increase this fee amount by: `fee_rate` x `cost_scalar_change_by_byte` x (`final_size` - `estimated_size`)
7269
- * Get approximate fees for the given transaction
7271
+ * Get approximate fees for a given transaction
7270
7272
  */
7271
7273
  ;
7272
7274
 
@@ -8090,10 +8092,6 @@
8090
8092
  try {
8091
8093
  var _this10 = this;
8092
8094
 
8093
- if (requestParameters.page === null || requestParameters.page === undefined) {
8094
- throw new RequiredError('page', 'Required parameter requestParameters.page was null or undefined when calling getAllNames.');
8095
- }
8096
-
8097
8095
  var queryParameters = {};
8098
8096
 
8099
8097
  if (requestParameters.page !== undefined) {
@@ -8381,10 +8379,6 @@
8381
8379
  throw new RequiredError('tld', 'Required parameter requestParameters.tld was null or undefined when calling getNamespaceNames.');
8382
8380
  }
8383
8381
 
8384
- if (requestParameters.page === null || requestParameters.page === undefined) {
8385
- throw new RequiredError('page', 'Required parameter requestParameters.page was null or undefined when calling getNamespaceNames.');
8386
- }
8387
-
8388
8382
  var queryParameters = {};
8389
8383
 
8390
8384
  if (requestParameters.page !== undefined) {