@stacks/blockchain-api-client 4.1.0 → 5.0.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.
- package/lib/generated/apis/AccountsApi.d.ts +17 -17
- package/lib/generated/apis/BlocksApi.d.ts +4 -4
- package/lib/generated/apis/BlocksApi.js +2 -2
- package/lib/generated/apis/FeesApi.d.ts +8 -8
- package/lib/generated/apis/FeesApi.js +4 -4
- package/lib/generated/apis/FungibleTokensApi.d.ts +1 -1
- package/lib/generated/apis/InfoApi.d.ts +3 -3
- package/lib/generated/apis/NamesApi.d.ts +5 -5
- package/lib/generated/apis/NamesApi.js +0 -6
- package/lib/generated/apis/NamesApi.js.map +1 -1
- package/lib/generated/apis/NonFungibleTokensApi.d.ts +4 -4
- package/lib/generated/apis/NonFungibleTokensApi.js +2 -2
- package/lib/generated/apis/RosettaApi.d.ts +12 -12
- package/lib/generated/apis/RosettaApi.js +6 -6
- package/lib/generated/models/Block.d.ts +6 -0
- package/lib/generated/models/Block.js +2 -0
- package/lib/generated/models/Block.js.map +1 -1
- package/lib/index.umd.js +16 -22
- package/lib/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/apis/AccountsApi.ts +17 -17
- package/src/generated/apis/BlocksApi.ts +4 -4
- package/src/generated/apis/FeesApi.ts +8 -8
- package/src/generated/apis/FungibleTokensApi.ts +1 -1
- package/src/generated/apis/InfoApi.ts +3 -3
- package/src/generated/apis/NamesApi.ts +5 -13
- package/src/generated/apis/NonFungibleTokensApi.ts +4 -4
- package/src/generated/apis/RosettaApi.ts +12 -12
- package/src/generated/models/Block.ts +8 -0
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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]
|
|
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]
|
|
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
|
|
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
|
|
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
|
|
82
|
+
* @param {number} [page] names are defaulted to page 1 with 100 results. You can query specific page results by using the \'page\' 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
|
|
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 \'page\' 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,MAAM,IAAI,CAAC,OAAO,CAAC;YAChC,IAAI,EAAE,6BAA6B,CAAC,OAAO,CAAC,IAAI,MAAM,GAAG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,CAAC;QACnF,OAAO,MAAM,QAAQ,CAAC,KAAK,EAAE,CAAC;IAClC,CAAC;CAEJ;AA1UD,4BA0UC"}
|
|
@@ -50,7 +50,7 @@ export interface GetNftMintsRequest {
|
|
|
50
50
|
export interface NonFungibleTokensApiInterface {
|
|
51
51
|
/**
|
|
52
52
|
* Retrieves metadata for non fungible tokens for a given contract id. More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#non-fungible-tokens-nfts).
|
|
53
|
-
* @summary Non fungible tokens metadata for contract
|
|
53
|
+
* @summary Non fungible tokens metadata for contract ID
|
|
54
54
|
* @param {string} contractId token\'s contract id
|
|
55
55
|
* @param {*} [options] Override http request option.
|
|
56
56
|
* @throws {RequiredError}
|
|
@@ -59,7 +59,7 @@ export interface NonFungibleTokensApiInterface {
|
|
|
59
59
|
getContractNftMetadataRaw(requestParameters: GetContractNftMetadataRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<NonFungibleTokenMetadata>>;
|
|
60
60
|
/**
|
|
61
61
|
* Retrieves metadata for non fungible tokens for a given contract id. More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#non-fungible-tokens-nfts).
|
|
62
|
-
* Non fungible tokens metadata for contract
|
|
62
|
+
* Non fungible tokens metadata for contract ID
|
|
63
63
|
*/
|
|
64
64
|
getContractNftMetadata(requestParameters: GetContractNftMetadataRequest, initOverrides?: RequestInit): Promise<NonFungibleTokenMetadata>;
|
|
65
65
|
/**
|
|
@@ -140,12 +140,12 @@ export interface NonFungibleTokensApiInterface {
|
|
|
140
140
|
export declare class NonFungibleTokensApi extends runtime.BaseAPI implements NonFungibleTokensApiInterface {
|
|
141
141
|
/**
|
|
142
142
|
* Retrieves metadata for non fungible tokens for a given contract id. More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#non-fungible-tokens-nfts).
|
|
143
|
-
* Non fungible tokens metadata for contract
|
|
143
|
+
* Non fungible tokens metadata for contract ID
|
|
144
144
|
*/
|
|
145
145
|
getContractNftMetadataRaw(requestParameters: GetContractNftMetadataRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<NonFungibleTokenMetadata>>;
|
|
146
146
|
/**
|
|
147
147
|
* Retrieves metadata for non fungible tokens for a given contract id. More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#non-fungible-tokens-nfts).
|
|
148
|
-
* Non fungible tokens metadata for contract
|
|
148
|
+
* Non fungible tokens metadata for contract ID
|
|
149
149
|
*/
|
|
150
150
|
getContractNftMetadata(requestParameters: GetContractNftMetadataRequest, initOverrides?: RequestInit): Promise<NonFungibleTokenMetadata>;
|
|
151
151
|
/**
|
|
@@ -22,7 +22,7 @@ const models_1 = require("../models");
|
|
|
22
22
|
class NonFungibleTokensApi extends runtime.BaseAPI {
|
|
23
23
|
/**
|
|
24
24
|
* Retrieves metadata for non fungible tokens for a given contract id. More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#non-fungible-tokens-nfts).
|
|
25
|
-
* Non fungible tokens metadata for contract
|
|
25
|
+
* Non fungible tokens metadata for contract ID
|
|
26
26
|
*/
|
|
27
27
|
async getContractNftMetadataRaw(requestParameters, initOverrides) {
|
|
28
28
|
if (requestParameters.contractId === null || requestParameters.contractId === undefined) {
|
|
@@ -40,7 +40,7 @@ class NonFungibleTokensApi extends runtime.BaseAPI {
|
|
|
40
40
|
}
|
|
41
41
|
/**
|
|
42
42
|
* Retrieves metadata for non fungible tokens for a given contract id. More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#non-fungible-tokens-nfts).
|
|
43
|
-
* Non fungible tokens metadata for contract
|
|
43
|
+
* Non fungible tokens metadata for contract ID
|
|
44
44
|
*/
|
|
45
45
|
async getContractNftMetadata(requestParameters, initOverrides) {
|
|
46
46
|
const response = await this.getContractNftMetadataRaw(requestParameters, initOverrides);
|
|
@@ -106,7 +106,7 @@ export interface RosettaApiInterface {
|
|
|
106
106
|
*/
|
|
107
107
|
rosettaBlockTransaction(requestParameters: RosettaBlockTransactionOperationRequest, initOverrides?: RequestInit): Promise<RosettaBlockTransactionResponse>;
|
|
108
108
|
/**
|
|
109
|
-
* Take unsigned transaction and signature, combine both and return signed transaction
|
|
109
|
+
* Take unsigned transaction and signature, combine both and return signed transaction. The examples below are illustrative only. You\'ll need to use your wallet to generate actual values to use them in the request payload.
|
|
110
110
|
* @summary Create Network Transaction from Signatures
|
|
111
111
|
* @param {RosettaConstructionCombineRequest} rosettaConstructionCombineRequest
|
|
112
112
|
* @param {*} [options] Override http request option.
|
|
@@ -115,7 +115,7 @@ export interface RosettaApiInterface {
|
|
|
115
115
|
*/
|
|
116
116
|
rosettaConstructionCombineRaw(requestParameters: RosettaConstructionCombineOperationRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RosettaConstructionCombineResponse>>;
|
|
117
117
|
/**
|
|
118
|
-
* Take unsigned transaction and signature, combine both and return signed transaction
|
|
118
|
+
* Take unsigned transaction and signature, combine both and return signed transaction. The examples below are illustrative only. You\'ll need to use your wallet to generate actual values to use them in the request payload.
|
|
119
119
|
* Create Network Transaction from Signatures
|
|
120
120
|
*/
|
|
121
121
|
rosettaConstructionCombine(requestParameters: RosettaConstructionCombineOperationRequest, initOverrides?: RequestInit): Promise<RosettaConstructionCombineResponse>;
|
|
@@ -176,7 +176,7 @@ export interface RosettaApiInterface {
|
|
|
176
176
|
*/
|
|
177
177
|
rosettaConstructionParse(requestParameters: RosettaConstructionParseOperationRequest, initOverrides?: RequestInit): Promise<RosettaConstructionParseResponse>;
|
|
178
178
|
/**
|
|
179
|
-
* Generate
|
|
179
|
+
* Generate an unsigned transaction from operations and metadata. The examples below are illustrative only. You\'ll need to use your wallet to generate actual values to use them in the request payload.
|
|
180
180
|
* @summary Generate an Unsigned Transaction and Signing Payloads
|
|
181
181
|
* @param {RosettaConstructionPayloadsRequest} rosettaConstructionPayloadsRequest
|
|
182
182
|
* @param {*} [options] Override http request option.
|
|
@@ -185,7 +185,7 @@ export interface RosettaApiInterface {
|
|
|
185
185
|
*/
|
|
186
186
|
rosettaConstructionPayloadsRaw(requestParameters: RosettaConstructionPayloadsOperationRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RosettaConstructionPayloadResponse>>;
|
|
187
187
|
/**
|
|
188
|
-
* Generate
|
|
188
|
+
* Generate an unsigned transaction from operations and metadata. The examples below are illustrative only. You\'ll need to use your wallet to generate actual values to use them in the request payload.
|
|
189
189
|
* Generate an Unsigned Transaction and Signing Payloads
|
|
190
190
|
*/
|
|
191
191
|
rosettaConstructionPayloads(requestParameters: RosettaConstructionPayloadsOperationRequest, initOverrides?: RequestInit): Promise<RosettaConstructionPayloadResponse>;
|
|
@@ -204,7 +204,7 @@ export interface RosettaApiInterface {
|
|
|
204
204
|
*/
|
|
205
205
|
rosettaConstructionPreprocess(requestParameters: RosettaConstructionPreprocessOperationRequest, initOverrides?: RequestInit): Promise<RosettaConstructionPreprocessResponse>;
|
|
206
206
|
/**
|
|
207
|
-
* Submit a pre-signed transaction to the node.
|
|
207
|
+
* Submit a pre-signed transaction to the node. The examples below are illustrative only. You\'ll need to use your wallet to generate actual values to use them in the request payload.
|
|
208
208
|
* @summary Submit a Signed Transaction
|
|
209
209
|
* @param {RosettaConstructionSubmitRequest} rosettaConstructionSubmitRequest
|
|
210
210
|
* @param {*} [options] Override http request option.
|
|
@@ -213,7 +213,7 @@ export interface RosettaApiInterface {
|
|
|
213
213
|
*/
|
|
214
214
|
rosettaConstructionSubmitRaw(requestParameters: RosettaConstructionSubmitOperationRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RosettaConstructionSubmitResponse>>;
|
|
215
215
|
/**
|
|
216
|
-
* Submit a pre-signed transaction to the node.
|
|
216
|
+
* Submit a pre-signed transaction to the node. The examples below are illustrative only. You\'ll need to use your wallet to generate actual values to use them in the request payload.
|
|
217
217
|
* Submit a Signed Transaction
|
|
218
218
|
*/
|
|
219
219
|
rosettaConstructionSubmit(requestParameters: RosettaConstructionSubmitOperationRequest, initOverrides?: RequestInit): Promise<RosettaConstructionSubmitResponse>;
|
|
@@ -322,12 +322,12 @@ export declare class RosettaApi extends runtime.BaseAPI implements RosettaApiInt
|
|
|
322
322
|
*/
|
|
323
323
|
rosettaBlockTransaction(requestParameters: RosettaBlockTransactionOperationRequest, initOverrides?: RequestInit): Promise<RosettaBlockTransactionResponse>;
|
|
324
324
|
/**
|
|
325
|
-
* Take unsigned transaction and signature, combine both and return signed transaction
|
|
325
|
+
* Take unsigned transaction and signature, combine both and return signed transaction. The examples below are illustrative only. You\'ll need to use your wallet to generate actual values to use them in the request payload.
|
|
326
326
|
* Create Network Transaction from Signatures
|
|
327
327
|
*/
|
|
328
328
|
rosettaConstructionCombineRaw(requestParameters: RosettaConstructionCombineOperationRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RosettaConstructionCombineResponse>>;
|
|
329
329
|
/**
|
|
330
|
-
* Take unsigned transaction and signature, combine both and return signed transaction
|
|
330
|
+
* Take unsigned transaction and signature, combine both and return signed transaction. The examples below are illustrative only. You\'ll need to use your wallet to generate actual values to use them in the request payload.
|
|
331
331
|
* Create Network Transaction from Signatures
|
|
332
332
|
*/
|
|
333
333
|
rosettaConstructionCombine(requestParameters: RosettaConstructionCombineOperationRequest, initOverrides?: RequestInit): Promise<RosettaConstructionCombineResponse>;
|
|
@@ -372,12 +372,12 @@ export declare class RosettaApi extends runtime.BaseAPI implements RosettaApiInt
|
|
|
372
372
|
*/
|
|
373
373
|
rosettaConstructionParse(requestParameters: RosettaConstructionParseOperationRequest, initOverrides?: RequestInit): Promise<RosettaConstructionParseResponse>;
|
|
374
374
|
/**
|
|
375
|
-
* Generate
|
|
375
|
+
* Generate an unsigned transaction from operations and metadata. The examples below are illustrative only. You\'ll need to use your wallet to generate actual values to use them in the request payload.
|
|
376
376
|
* Generate an Unsigned Transaction and Signing Payloads
|
|
377
377
|
*/
|
|
378
378
|
rosettaConstructionPayloadsRaw(requestParameters: RosettaConstructionPayloadsOperationRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RosettaConstructionPayloadResponse>>;
|
|
379
379
|
/**
|
|
380
|
-
* Generate
|
|
380
|
+
* Generate an unsigned transaction from operations and metadata. The examples below are illustrative only. You\'ll need to use your wallet to generate actual values to use them in the request payload.
|
|
381
381
|
* Generate an Unsigned Transaction and Signing Payloads
|
|
382
382
|
*/
|
|
383
383
|
rosettaConstructionPayloads(requestParameters: RosettaConstructionPayloadsOperationRequest, initOverrides?: RequestInit): Promise<RosettaConstructionPayloadResponse>;
|
|
@@ -392,12 +392,12 @@ export declare class RosettaApi extends runtime.BaseAPI implements RosettaApiInt
|
|
|
392
392
|
*/
|
|
393
393
|
rosettaConstructionPreprocess(requestParameters: RosettaConstructionPreprocessOperationRequest, initOverrides?: RequestInit): Promise<RosettaConstructionPreprocessResponse>;
|
|
394
394
|
/**
|
|
395
|
-
* Submit a pre-signed transaction to the node.
|
|
395
|
+
* Submit a pre-signed transaction to the node. The examples below are illustrative only. You\'ll need to use your wallet to generate actual values to use them in the request payload.
|
|
396
396
|
* Submit a Signed Transaction
|
|
397
397
|
*/
|
|
398
398
|
rosettaConstructionSubmitRaw(requestParameters: RosettaConstructionSubmitOperationRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RosettaConstructionSubmitResponse>>;
|
|
399
399
|
/**
|
|
400
|
-
* Submit a pre-signed transaction to the node.
|
|
400
|
+
* Submit a pre-signed transaction to the node. The examples below are illustrative only. You\'ll need to use your wallet to generate actual values to use them in the request payload.
|
|
401
401
|
* Submit a Signed Transaction
|
|
402
402
|
*/
|
|
403
403
|
rosettaConstructionSubmit(requestParameters: RosettaConstructionSubmitOperationRequest, initOverrides?: RequestInit): Promise<RosettaConstructionSubmitResponse>;
|