@stacks/blockchain-api-client 3.0.3 → 4.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/FeesApi.d.ts +36 -9
- package/lib/generated/apis/FeesApi.js +29 -4
- package/lib/generated/apis/FeesApi.js.map +1 -1
- package/lib/generated/apis/NamesApi.d.ts +27 -0
- package/lib/generated/apis/NamesApi.js +26 -0
- package/lib/generated/apis/NamesApi.js.map +1 -1
- package/lib/generated/apis/TransactionsApi.d.ts +47 -1
- package/lib/generated/apis/TransactionsApi.js +51 -1
- package/lib/generated/apis/TransactionsApi.js.map +1 -1
- package/lib/generated/models/TransactionEventsResponse.d.ts +39 -0
- package/lib/generated/models/TransactionEventsResponse.js +46 -0
- package/lib/generated/models/TransactionEventsResponse.js.map +1 -0
- package/lib/generated/models/TransactionFeeEstimateRequest.d.ts +33 -0
- package/lib/generated/models/TransactionFeeEstimateRequest.js +45 -0
- package/lib/generated/models/TransactionFeeEstimateRequest.js.map +1 -0
- package/lib/generated/models/TransactionFeeEstimateResponse.d.ts +46 -0
- package/lib/generated/models/TransactionFeeEstimateResponse.js +50 -0
- package/lib/generated/models/TransactionFeeEstimateResponse.js.map +1 -0
- package/lib/generated/models/TransactionFeeEstimateResponseEstimatedCost.d.ts +51 -0
- package/lib/generated/models/TransactionFeeEstimateResponseEstimatedCost.js +50 -0
- package/lib/generated/models/TransactionFeeEstimateResponseEstimatedCost.js.map +1 -0
- package/lib/generated/models/TransactionFeeEstimateResponseEstimations.d.ts +33 -0
- package/lib/generated/models/TransactionFeeEstimateResponseEstimations.js +45 -0
- package/lib/generated/models/TransactionFeeEstimateResponseEstimations.js.map +1 -0
- package/lib/generated/models/index.d.ts +5 -0
- package/lib/generated/models/index.js +5 -0
- package/lib/generated/models/index.js.map +1 -1
- package/lib/index.umd.js +445 -76
- package/lib/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/.openapi-generator/FILES +5 -0
- package/src/generated/apis/FeesApi.ts +65 -8
- package/src/generated/apis/NamesApi.ts +52 -0
- package/src/generated/apis/TransactionsApi.ts +90 -0
- package/src/generated/models/TransactionEventsResponse.ts +72 -0
- package/src/generated/models/TransactionFeeEstimateRequest.ts +64 -0
- package/src/generated/models/TransactionFeeEstimateResponse.ts +91 -0
- package/src/generated/models/TransactionFeeEstimateResponseEstimatedCost.ts +88 -0
- package/src/generated/models/TransactionFeeEstimateResponseEstimations.ts +64 -0
- package/src/generated/models/index.ts +5 -0
|
@@ -10,10 +10,13 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import { FeeRate, FeeRateRequest } from '../models';
|
|
13
|
+
import { FeeRate, FeeRateRequest, TransactionFeeEstimateRequest, TransactionFeeEstimateResponse } from '../models';
|
|
14
14
|
export interface FetchFeeRateRequest {
|
|
15
15
|
feeRateRequest: FeeRateRequest;
|
|
16
16
|
}
|
|
17
|
+
export interface PostFeeTransactionRequest {
|
|
18
|
+
transactionFeeEstimateRequest?: TransactionFeeEstimateRequest;
|
|
19
|
+
}
|
|
17
20
|
/**
|
|
18
21
|
* FeesApi - interface
|
|
19
22
|
*
|
|
@@ -22,8 +25,8 @@ export interface FetchFeeRateRequest {
|
|
|
22
25
|
*/
|
|
23
26
|
export interface FeesApiInterface {
|
|
24
27
|
/**
|
|
25
|
-
* Retrieves estimated fee rate.
|
|
26
|
-
* @summary
|
|
28
|
+
* **NOTE:** This endpoint is deprecated in favor of [Get approximate fees for the given transaction](#operation/post_fee_transaction). Retrieves estimated fee rate.
|
|
29
|
+
* @summary Fetch fee rate
|
|
27
30
|
* @param {FeeRateRequest} feeRateRequest
|
|
28
31
|
* @param {*} [options] Override http request option.
|
|
29
32
|
* @throws {RequiredError}
|
|
@@ -31,8 +34,8 @@ export interface FeesApiInterface {
|
|
|
31
34
|
*/
|
|
32
35
|
fetchFeeRateRaw(requestParameters: FetchFeeRateRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<FeeRate>>;
|
|
33
36
|
/**
|
|
34
|
-
* Retrieves estimated fee rate.
|
|
35
|
-
*
|
|
37
|
+
* **NOTE:** This endpoint is deprecated in favor of [Get approximate fees for the given transaction](#operation/post_fee_transaction). Retrieves estimated fee rate.
|
|
38
|
+
* Fetch fee rate
|
|
36
39
|
*/
|
|
37
40
|
fetchFeeRate(requestParameters: FetchFeeRateRequest, initOverrides?: RequestInit): Promise<FeeRate>;
|
|
38
41
|
/**
|
|
@@ -48,19 +51,33 @@ export interface FeesApiInterface {
|
|
|
48
51
|
* Get estimated fee
|
|
49
52
|
*/
|
|
50
53
|
getFeeTransfer(initOverrides?: RequestInit): Promise<object>;
|
|
54
|
+
/**
|
|
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
|
|
57
|
+
* @param {TransactionFeeEstimateRequest} [transactionFeeEstimateRequest]
|
|
58
|
+
* @param {*} [options] Override http request option.
|
|
59
|
+
* @throws {RequiredError}
|
|
60
|
+
* @memberof FeesApiInterface
|
|
61
|
+
*/
|
|
62
|
+
postFeeTransactionRaw(requestParameters: PostFeeTransactionRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<TransactionFeeEstimateResponse>>;
|
|
63
|
+
/**
|
|
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
|
|
66
|
+
*/
|
|
67
|
+
postFeeTransaction(requestParameters: PostFeeTransactionRequest, initOverrides?: RequestInit): Promise<TransactionFeeEstimateResponse>;
|
|
51
68
|
}
|
|
52
69
|
/**
|
|
53
70
|
*
|
|
54
71
|
*/
|
|
55
72
|
export declare class FeesApi extends runtime.BaseAPI implements FeesApiInterface {
|
|
56
73
|
/**
|
|
57
|
-
* Retrieves estimated fee rate.
|
|
58
|
-
*
|
|
74
|
+
* **NOTE:** This endpoint is deprecated in favor of [Get approximate fees for the given transaction](#operation/post_fee_transaction). Retrieves estimated fee rate.
|
|
75
|
+
* Fetch fee rate
|
|
59
76
|
*/
|
|
60
77
|
fetchFeeRateRaw(requestParameters: FetchFeeRateRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<FeeRate>>;
|
|
61
78
|
/**
|
|
62
|
-
* Retrieves estimated fee rate.
|
|
63
|
-
*
|
|
79
|
+
* **NOTE:** This endpoint is deprecated in favor of [Get approximate fees for the given transaction](#operation/post_fee_transaction). Retrieves estimated fee rate.
|
|
80
|
+
* Fetch fee rate
|
|
64
81
|
*/
|
|
65
82
|
fetchFeeRate(requestParameters: FetchFeeRateRequest, initOverrides?: RequestInit): Promise<FeeRate>;
|
|
66
83
|
/**
|
|
@@ -73,4 +90,14 @@ export declare class FeesApi extends runtime.BaseAPI implements FeesApiInterface
|
|
|
73
90
|
* Get estimated fee
|
|
74
91
|
*/
|
|
75
92
|
getFeeTransfer(initOverrides?: RequestInit): Promise<object>;
|
|
93
|
+
/**
|
|
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
|
|
96
|
+
*/
|
|
97
|
+
postFeeTransactionRaw(requestParameters: PostFeeTransactionRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<TransactionFeeEstimateResponse>>;
|
|
98
|
+
/**
|
|
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
|
|
101
|
+
*/
|
|
102
|
+
postFeeTransaction(requestParameters: PostFeeTransactionRequest, initOverrides?: RequestInit): Promise<TransactionFeeEstimateResponse>;
|
|
76
103
|
}
|
|
@@ -21,8 +21,8 @@ const models_1 = require("../models");
|
|
|
21
21
|
*/
|
|
22
22
|
class FeesApi extends runtime.BaseAPI {
|
|
23
23
|
/**
|
|
24
|
-
* Retrieves estimated fee rate.
|
|
25
|
-
*
|
|
24
|
+
* **NOTE:** This endpoint is deprecated in favor of [Get approximate fees for the given transaction](#operation/post_fee_transaction). Retrieves estimated fee rate.
|
|
25
|
+
* Fetch fee rate
|
|
26
26
|
*/
|
|
27
27
|
async fetchFeeRateRaw(requestParameters, initOverrides) {
|
|
28
28
|
if (requestParameters.feeRateRequest === null || requestParameters.feeRateRequest === undefined) {
|
|
@@ -41,8 +41,8 @@ class FeesApi extends runtime.BaseAPI {
|
|
|
41
41
|
return new runtime.JSONApiResponse(response, (jsonValue) => models_1.FeeRateFromJSON(jsonValue));
|
|
42
42
|
}
|
|
43
43
|
/**
|
|
44
|
-
* Retrieves estimated fee rate.
|
|
45
|
-
*
|
|
44
|
+
* **NOTE:** This endpoint is deprecated in favor of [Get approximate fees for the given transaction](#operation/post_fee_transaction). Retrieves estimated fee rate.
|
|
45
|
+
* Fetch fee rate
|
|
46
46
|
*/
|
|
47
47
|
async fetchFeeRate(requestParameters, initOverrides) {
|
|
48
48
|
const response = await this.fetchFeeRateRaw(requestParameters, initOverrides);
|
|
@@ -71,6 +71,31 @@ class FeesApi extends runtime.BaseAPI {
|
|
|
71
71
|
const response = await this.getFeeTransferRaw(initOverrides);
|
|
72
72
|
return await response.value();
|
|
73
73
|
}
|
|
74
|
+
/**
|
|
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
|
|
77
|
+
*/
|
|
78
|
+
async postFeeTransactionRaw(requestParameters, initOverrides) {
|
|
79
|
+
const queryParameters = {};
|
|
80
|
+
const headerParameters = {};
|
|
81
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
82
|
+
const response = await this.request({
|
|
83
|
+
path: `/v2/fees/transaction`,
|
|
84
|
+
method: 'POST',
|
|
85
|
+
headers: headerParameters,
|
|
86
|
+
query: queryParameters,
|
|
87
|
+
body: models_1.TransactionFeeEstimateRequestToJSON(requestParameters.transactionFeeEstimateRequest),
|
|
88
|
+
}, initOverrides);
|
|
89
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => models_1.TransactionFeeEstimateResponseFromJSON(jsonValue));
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
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
|
|
94
|
+
*/
|
|
95
|
+
async postFeeTransaction(requestParameters, initOverrides) {
|
|
96
|
+
const response = await this.postFeeTransactionRaw(requestParameters, initOverrides);
|
|
97
|
+
return await response.value();
|
|
98
|
+
}
|
|
74
99
|
}
|
|
75
100
|
exports.FeesApi = FeesApi;
|
|
76
101
|
//# sourceMappingURL=FeesApi.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FeesApi.js","sourceRoot":"","sources":["../../../src/generated/apis/FeesApi.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAGH,sCAAsC;AACtC,
|
|
1
|
+
{"version":3,"file":"FeesApi.js","sourceRoot":"","sources":["../../../src/generated/apis/FeesApi.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAGH,sCAAsC;AACtC,sCAamB;AAkEnB;;GAEG;AACH,MAAa,OAAQ,SAAQ,OAAO,CAAC,OAAO;IAExC;;;OAGG;IACH,KAAK,CAAC,eAAe,CAAC,iBAAsC,EAAE,aAA2B;QACrF,IAAI,iBAAiB,CAAC,cAAc,KAAK,IAAI,IAAI,iBAAiB,CAAC,cAAc,KAAK,SAAS,EAAE;YAC7F,MAAM,IAAI,OAAO,CAAC,aAAa,CAAC,gBAAgB,EAAC,sGAAsG,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,iBAAiB,CAAC,aAAa,CAAC,CAAC;QAC7D,OAAO,MAAM,QAAQ,CAAC,KAAK,EAAE,CAAC;IAClC,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,qBAAqB,CAAC,iBAA4C,EAAE,aAA2B;QACjG,MAAM,eAAe,GAAQ,EAAE,CAAC;QAEhC,MAAM,gBAAgB,GAAwB,EAAE,CAAC;QAEjD,gBAAgB,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC;QAEtD,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC;YAChC,IAAI,EAAE,sBAAsB;YAC5B,MAAM,EAAE,MAAM;YACd,OAAO,EAAE,gBAAgB;YACzB,KAAK,EAAE,eAAe;YACtB,IAAI,EAAE,4CAAmC,CAAC,iBAAiB,CAAC,6BAA6B,CAAC;SAC7F,EAAE,aAAa,CAAC,CAAC;QAElB,OAAO,IAAI,OAAO,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,+CAAsC,CAAC,SAAS,CAAC,CAAC,CAAC;IACnH,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,kBAAkB,CAAC,iBAA4C,EAAE,aAA2B;QAC9F,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;QACpF,OAAO,MAAM,QAAQ,CAAC,KAAK,EAAE,CAAC;IAClC,CAAC;CAEJ;AAhGD,0BAgGC"}
|
|
@@ -11,6 +11,9 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
13
|
import { BnsGetAllNamespacesResponse, BnsGetNameInfoResponse, BnsGetNamePriceResponse, BnsGetNamespacePriceResponse, BnsNamesOwnByAddressResponse } from '../models';
|
|
14
|
+
export interface FetchSubdomainsListForNameRequest {
|
|
15
|
+
name: string;
|
|
16
|
+
}
|
|
14
17
|
export interface FetchZoneFileRequest {
|
|
15
18
|
name: string;
|
|
16
19
|
}
|
|
@@ -49,6 +52,20 @@ export interface GetNamespacePriceRequest {
|
|
|
49
52
|
* @interface NamesApiInterface
|
|
50
53
|
*/
|
|
51
54
|
export interface NamesApiInterface {
|
|
55
|
+
/**
|
|
56
|
+
* Retrieves the list of subdomains for a specific name
|
|
57
|
+
* @summary Get Name Subdomains
|
|
58
|
+
* @param {string} name fully-qualified name
|
|
59
|
+
* @param {*} [options] Override http request option.
|
|
60
|
+
* @throws {RequiredError}
|
|
61
|
+
* @memberof NamesApiInterface
|
|
62
|
+
*/
|
|
63
|
+
fetchSubdomainsListForNameRaw(requestParameters: FetchSubdomainsListForNameRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Array<string>>>;
|
|
64
|
+
/**
|
|
65
|
+
* Retrieves the list of subdomains for a specific name
|
|
66
|
+
* Get Name Subdomains
|
|
67
|
+
*/
|
|
68
|
+
fetchSubdomainsListForName(requestParameters: FetchSubdomainsListForNameRequest, initOverrides?: RequestInit): Promise<Array<string>>;
|
|
52
69
|
/**
|
|
53
70
|
* Retrieves a user’s raw zone file. This only works for RFC-compliant zone files. This method returns an error for names that have non-standard zone files.
|
|
54
71
|
* @summary Get Zone File
|
|
@@ -197,6 +214,16 @@ export interface NamesApiInterface {
|
|
|
197
214
|
*
|
|
198
215
|
*/
|
|
199
216
|
export declare class NamesApi extends runtime.BaseAPI implements NamesApiInterface {
|
|
217
|
+
/**
|
|
218
|
+
* Retrieves the list of subdomains for a specific name
|
|
219
|
+
* Get Name Subdomains
|
|
220
|
+
*/
|
|
221
|
+
fetchSubdomainsListForNameRaw(requestParameters: FetchSubdomainsListForNameRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Array<string>>>;
|
|
222
|
+
/**
|
|
223
|
+
* Retrieves the list of subdomains for a specific name
|
|
224
|
+
* Get Name Subdomains
|
|
225
|
+
*/
|
|
226
|
+
fetchSubdomainsListForName(requestParameters: FetchSubdomainsListForNameRequest, initOverrides?: RequestInit): Promise<Array<string>>;
|
|
200
227
|
/**
|
|
201
228
|
* Retrieves a user’s raw zone file. This only works for RFC-compliant zone files. This method returns an error for names that have non-standard zone files.
|
|
202
229
|
* Get Zone File
|
|
@@ -20,6 +20,32 @@ const models_1 = require("../models");
|
|
|
20
20
|
*
|
|
21
21
|
*/
|
|
22
22
|
class NamesApi extends runtime.BaseAPI {
|
|
23
|
+
/**
|
|
24
|
+
* Retrieves the list of subdomains for a specific name
|
|
25
|
+
* Get Name Subdomains
|
|
26
|
+
*/
|
|
27
|
+
async fetchSubdomainsListForNameRaw(requestParameters, initOverrides) {
|
|
28
|
+
if (requestParameters.name === null || requestParameters.name === undefined) {
|
|
29
|
+
throw new runtime.RequiredError('name', 'Required parameter requestParameters.name was null or undefined when calling fetchSubdomainsListForName.');
|
|
30
|
+
}
|
|
31
|
+
const queryParameters = {};
|
|
32
|
+
const headerParameters = {};
|
|
33
|
+
const response = await this.request({
|
|
34
|
+
path: `/v1/names/{name}/subdomains`.replace(`{${"name"}}`, encodeURIComponent(String(requestParameters.name))),
|
|
35
|
+
method: 'GET',
|
|
36
|
+
headers: headerParameters,
|
|
37
|
+
query: queryParameters,
|
|
38
|
+
}, initOverrides);
|
|
39
|
+
return new runtime.JSONApiResponse(response);
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Retrieves the list of subdomains for a specific name
|
|
43
|
+
* Get Name Subdomains
|
|
44
|
+
*/
|
|
45
|
+
async fetchSubdomainsListForName(requestParameters, initOverrides) {
|
|
46
|
+
const response = await this.fetchSubdomainsListForNameRaw(requestParameters, initOverrides);
|
|
47
|
+
return await response.value();
|
|
48
|
+
}
|
|
23
49
|
/**
|
|
24
50
|
* Retrieves a user’s raw zone file. This only works for RFC-compliant zone files. This method returns an error for names that have non-standard zone files.
|
|
25
51
|
* Get Zone File
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NamesApi.js","sourceRoot":"","sources":["../../../src/generated/apis/NamesApi.ts"],"names":[],"mappings":";AAAA,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;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;AA1XD,4BA0XC"}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import { GetRawTransactionResult, MempoolTransactionListResponse, TransactionResults } from '../models';
|
|
13
|
+
import { GetRawTransactionResult, MempoolTransactionListResponse, TransactionEventsResponse, TransactionResults } from '../models';
|
|
14
14
|
export interface GetAddressMempoolTransactionsRequest {
|
|
15
15
|
address: string;
|
|
16
16
|
limit?: number;
|
|
@@ -21,6 +21,13 @@ export interface GetDroppedMempoolTransactionListRequest {
|
|
|
21
21
|
limit?: number;
|
|
22
22
|
offset?: number;
|
|
23
23
|
}
|
|
24
|
+
export interface GetFilteredEventsRequest {
|
|
25
|
+
txId?: string;
|
|
26
|
+
address?: string;
|
|
27
|
+
limit?: number;
|
|
28
|
+
offset?: number;
|
|
29
|
+
type?: Array<GetFilteredEventsTypeEnum>;
|
|
30
|
+
}
|
|
24
31
|
export interface GetMempoolTransactionListRequest {
|
|
25
32
|
senderAddress?: string;
|
|
26
33
|
recipientAddress?: string;
|
|
@@ -103,6 +110,24 @@ export interface TransactionsApiInterface {
|
|
|
103
110
|
* Get dropped mempool transactions
|
|
104
111
|
*/
|
|
105
112
|
getDroppedMempoolTransactionList(requestParameters: GetDroppedMempoolTransactionListRequest, initOverrides?: RequestInit): Promise<MempoolTransactionListResponse>;
|
|
113
|
+
/**
|
|
114
|
+
* Retrieves the list of events filtered by principal (STX address or Smart Contract ID), transaction id or event types. The list of event types is (\'smart_contract_log\', \'stx_lock\', \'stx_asset\', \'fungible_token_asset\', \'non_fungible_token_asset\').
|
|
115
|
+
* @summary Transaction Events
|
|
116
|
+
* @param {string} [txId] Hash of transaction
|
|
117
|
+
* @param {string} [address] Stacks address or a Contract identifier
|
|
118
|
+
* @param {number} [limit] number of items to return
|
|
119
|
+
* @param {number} [offset] number of items to skip
|
|
120
|
+
* @param {Array<'smart_contract_log' | 'stx_lock' | 'stx_asset' | 'fungible_token_asset' | 'non_fungible_token_asset'>} [type] Filter the events on event type
|
|
121
|
+
* @param {*} [options] Override http request option.
|
|
122
|
+
* @throws {RequiredError}
|
|
123
|
+
* @memberof TransactionsApiInterface
|
|
124
|
+
*/
|
|
125
|
+
getFilteredEventsRaw(requestParameters: GetFilteredEventsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<TransactionEventsResponse>>;
|
|
126
|
+
/**
|
|
127
|
+
* Retrieves the list of events filtered by principal (STX address or Smart Contract ID), transaction id or event types. The list of event types is (\'smart_contract_log\', \'stx_lock\', \'stx_asset\', \'fungible_token_asset\', \'non_fungible_token_asset\').
|
|
128
|
+
* Transaction Events
|
|
129
|
+
*/
|
|
130
|
+
getFilteredEvents(requestParameters: GetFilteredEventsRequest, initOverrides?: RequestInit): Promise<TransactionEventsResponse>;
|
|
106
131
|
/**
|
|
107
132
|
* Retrieves all transactions that have been recently broadcast to the mempool. These are pending transactions awaiting confirmation. If you need to monitor new transactions, we highly recommend subscribing to [WebSockets or Socket.io](https://github.com/hirosystems/stacks-blockchain-api/tree/master/client) for real-time updates.
|
|
108
133
|
* @summary Get mempool transactions
|
|
@@ -263,6 +288,16 @@ export declare class TransactionsApi extends runtime.BaseAPI implements Transact
|
|
|
263
288
|
* Get dropped mempool transactions
|
|
264
289
|
*/
|
|
265
290
|
getDroppedMempoolTransactionList(requestParameters: GetDroppedMempoolTransactionListRequest, initOverrides?: RequestInit): Promise<MempoolTransactionListResponse>;
|
|
291
|
+
/**
|
|
292
|
+
* Retrieves the list of events filtered by principal (STX address or Smart Contract ID), transaction id or event types. The list of event types is (\'smart_contract_log\', \'stx_lock\', \'stx_asset\', \'fungible_token_asset\', \'non_fungible_token_asset\').
|
|
293
|
+
* Transaction Events
|
|
294
|
+
*/
|
|
295
|
+
getFilteredEventsRaw(requestParameters: GetFilteredEventsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<TransactionEventsResponse>>;
|
|
296
|
+
/**
|
|
297
|
+
* Retrieves the list of events filtered by principal (STX address or Smart Contract ID), transaction id or event types. The list of event types is (\'smart_contract_log\', \'stx_lock\', \'stx_asset\', \'fungible_token_asset\', \'non_fungible_token_asset\').
|
|
298
|
+
* Transaction Events
|
|
299
|
+
*/
|
|
300
|
+
getFilteredEvents(requestParameters: GetFilteredEventsRequest, initOverrides?: RequestInit): Promise<TransactionEventsResponse>;
|
|
266
301
|
/**
|
|
267
302
|
* Retrieves all transactions that have been recently broadcast to the mempool. These are pending transactions awaiting confirmation. If you need to monitor new transactions, we highly recommend subscribing to [WebSockets or Socket.io](https://github.com/hirosystems/stacks-blockchain-api/tree/master/client) for real-time updates.
|
|
268
303
|
* Get mempool transactions
|
|
@@ -348,6 +383,17 @@ export declare class TransactionsApi extends runtime.BaseAPI implements Transact
|
|
|
348
383
|
*/
|
|
349
384
|
postCoreNodeTransactions(requestParameters: PostCoreNodeTransactionsRequest, initOverrides?: RequestInit): Promise<string>;
|
|
350
385
|
}
|
|
386
|
+
/**
|
|
387
|
+
* @export
|
|
388
|
+
* @enum {string}
|
|
389
|
+
*/
|
|
390
|
+
export declare enum GetFilteredEventsTypeEnum {
|
|
391
|
+
smart_contract_log = "smart_contract_log",
|
|
392
|
+
stx_lock = "stx_lock",
|
|
393
|
+
stx_asset = "stx_asset",
|
|
394
|
+
fungible_token_asset = "fungible_token_asset",
|
|
395
|
+
non_fungible_token_asset = "non_fungible_token_asset"
|
|
396
|
+
}
|
|
351
397
|
/**
|
|
352
398
|
* @export
|
|
353
399
|
* @enum {string}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.GetTransactionListTypeEnum = exports.TransactionsApi = void 0;
|
|
16
|
+
exports.GetTransactionListTypeEnum = exports.GetFilteredEventsTypeEnum = exports.TransactionsApi = void 0;
|
|
17
17
|
const runtime = require("../runtime");
|
|
18
18
|
const models_1 = require("../models");
|
|
19
19
|
/**
|
|
@@ -84,6 +84,44 @@ class TransactionsApi extends runtime.BaseAPI {
|
|
|
84
84
|
const response = await this.getDroppedMempoolTransactionListRaw(requestParameters, initOverrides);
|
|
85
85
|
return await response.value();
|
|
86
86
|
}
|
|
87
|
+
/**
|
|
88
|
+
* Retrieves the list of events filtered by principal (STX address or Smart Contract ID), transaction id or event types. The list of event types is (\'smart_contract_log\', \'stx_lock\', \'stx_asset\', \'fungible_token_asset\', \'non_fungible_token_asset\').
|
|
89
|
+
* Transaction Events
|
|
90
|
+
*/
|
|
91
|
+
async getFilteredEventsRaw(requestParameters, initOverrides) {
|
|
92
|
+
const queryParameters = {};
|
|
93
|
+
if (requestParameters.txId !== undefined) {
|
|
94
|
+
queryParameters['tx_id'] = requestParameters.txId;
|
|
95
|
+
}
|
|
96
|
+
if (requestParameters.address !== undefined) {
|
|
97
|
+
queryParameters['address'] = requestParameters.address;
|
|
98
|
+
}
|
|
99
|
+
if (requestParameters.limit !== undefined) {
|
|
100
|
+
queryParameters['limit'] = requestParameters.limit;
|
|
101
|
+
}
|
|
102
|
+
if (requestParameters.offset !== undefined) {
|
|
103
|
+
queryParameters['offset'] = requestParameters.offset;
|
|
104
|
+
}
|
|
105
|
+
if (requestParameters.type) {
|
|
106
|
+
queryParameters['type'] = requestParameters.type;
|
|
107
|
+
}
|
|
108
|
+
const headerParameters = {};
|
|
109
|
+
const response = await this.request({
|
|
110
|
+
path: `/extended/v1/tx/events`,
|
|
111
|
+
method: 'GET',
|
|
112
|
+
headers: headerParameters,
|
|
113
|
+
query: queryParameters,
|
|
114
|
+
}, initOverrides);
|
|
115
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => models_1.TransactionEventsResponseFromJSON(jsonValue));
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Retrieves the list of events filtered by principal (STX address or Smart Contract ID), transaction id or event types. The list of event types is (\'smart_contract_log\', \'stx_lock\', \'stx_asset\', \'fungible_token_asset\', \'non_fungible_token_asset\').
|
|
119
|
+
* Transaction Events
|
|
120
|
+
*/
|
|
121
|
+
async getFilteredEvents(requestParameters, initOverrides) {
|
|
122
|
+
const response = await this.getFilteredEventsRaw(requestParameters, initOverrides);
|
|
123
|
+
return await response.value();
|
|
124
|
+
}
|
|
87
125
|
/**
|
|
88
126
|
* Retrieves all transactions that have been recently broadcast to the mempool. These are pending transactions awaiting confirmation. If you need to monitor new transactions, we highly recommend subscribing to [WebSockets or Socket.io](https://github.com/hirosystems/stacks-blockchain-api/tree/master/client) for real-time updates.
|
|
89
127
|
* Get mempool transactions
|
|
@@ -353,6 +391,18 @@ class TransactionsApi extends runtime.BaseAPI {
|
|
|
353
391
|
}
|
|
354
392
|
}
|
|
355
393
|
exports.TransactionsApi = TransactionsApi;
|
|
394
|
+
/**
|
|
395
|
+
* @export
|
|
396
|
+
* @enum {string}
|
|
397
|
+
*/
|
|
398
|
+
var GetFilteredEventsTypeEnum;
|
|
399
|
+
(function (GetFilteredEventsTypeEnum) {
|
|
400
|
+
GetFilteredEventsTypeEnum["smart_contract_log"] = "smart_contract_log";
|
|
401
|
+
GetFilteredEventsTypeEnum["stx_lock"] = "stx_lock";
|
|
402
|
+
GetFilteredEventsTypeEnum["stx_asset"] = "stx_asset";
|
|
403
|
+
GetFilteredEventsTypeEnum["fungible_token_asset"] = "fungible_token_asset";
|
|
404
|
+
GetFilteredEventsTypeEnum["non_fungible_token_asset"] = "non_fungible_token_asset";
|
|
405
|
+
})(GetFilteredEventsTypeEnum = exports.GetFilteredEventsTypeEnum || (exports.GetFilteredEventsTypeEnum = {}));
|
|
356
406
|
/**
|
|
357
407
|
* @export
|
|
358
408
|
* @enum {string}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionsApi.js","sourceRoot":"","sources":["../../../src/generated/apis/TransactionsApi.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAGH,sCAAsC;AACtC,sCAamB;AAiQnB;;GAEG;AACH,MAAa,eAAgB,SAAQ,OAAO,CAAC,OAAO;IAEhD;;;OAGG;IACH,KAAK,CAAC,gCAAgC,CAAC,iBAAuD,EAAE,aAA2B;QACvH,IAAI,iBAAiB,CAAC,OAAO,KAAK,IAAI,IAAI,iBAAiB,CAAC,OAAO,KAAK,SAAS,EAAE;YAC/E,MAAM,IAAI,OAAO,CAAC,aAAa,CAAC,SAAS,EAAC,gHAAgH,CAAC,CAAC;SAC/J;QAED,MAAM,eAAe,GAAQ,EAAE,CAAC;QAEhC,IAAI,iBAAiB,CAAC,KAAK,KAAK,SAAS,EAAE;YACvC,eAAe,CAAC,OAAO,CAAC,GAAG,iBAAiB,CAAC,KAAK,CAAC;SACtD;QAED,IAAI,iBAAiB,CAAC,MAAM,KAAK,SAAS,EAAE;YACxC,eAAe,CAAC,QAAQ,CAAC,GAAG,iBAAiB,CAAC,MAAM,CAAC;SACxD;QAED,IAAI,iBAAiB,CAAC,UAAU,KAAK,SAAS,EAAE;YAC5C,eAAe,CAAC,YAAY,CAAC,GAAG,iBAAiB,CAAC,UAAU,CAAC;SAChE;QAED,MAAM,gBAAgB,GAAwB,EAAE,CAAC;QAEjD,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC;YAChC,IAAI,EAAE,wCAAwC,CAAC,OAAO,CAAC,IAAI,SAAS,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC,CAAC;YAC/H,MAAM,EAAE,KAAK;YACb,OAAO,EAAE,gBAAgB;YACzB,KAA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,OAAO,CAAC;YAChC,IAAI,EAAE,kBAAkB;YACxB,MAAM,EAAE,MAAM;YACd,OAAO,EAAE,gBAAgB;YACzB,KAAK,EAAE,eAAe;YACtB,IAAI,EAAE,iBAAiB,CAAC,IAAW;SACtC,EAAE,aAAa,CAAC,CAAC;QAElB,OAAO,IAAI,OAAO,CAAC,eAAe,CAAC,QAAQ,CAAQ,CAAC;IACxD,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,wBAAwB,CAAC,iBAAkD,EAAE,aAA2B;QAC1G,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,2BAA2B,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;QAC1F,OAAO,MAAM,QAAQ,CAAC,KAAK,EAAE,CAAC;IAClC,CAAC;CAEJ;AAjdD,0CAidC;AAED;;;MAGM;AACN,IAAY,yBAMX;AAND,WAAY,yBAAyB;IACjC,sEAAyC,CAAA;IACzC,kDAAqB,CAAA;IACrB,oDAAuB,CAAA;IACvB,0EAA6C,CAAA;IAC7C,kFAAqD,CAAA;AACzD,CAAC,EANW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAMpC;AACD;;;MAGM;AACN,IAAY,0BAMX;AAND,WAAY,0BAA0B;IAClC,mDAAqB,CAAA;IACrB,+DAAiC,CAAA;IACjC,+DAAiC,CAAA;IACjC,6DAA+B,CAAA;IAC/B,qEAAuC,CAAA;AAC3C,CAAC,EANW,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAMrC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Stacks Blockchain API
|
|
3
|
+
* Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"https://hirosystems.github.io/stacks-blockchain-api/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: STACKS_API_VERSION
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* GET event for the given transaction
|
|
14
|
+
* @export
|
|
15
|
+
* @interface TransactionEventsResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface TransactionEventsResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof TransactionEventsResponse
|
|
22
|
+
*/
|
|
23
|
+
limit: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof TransactionEventsResponse
|
|
28
|
+
*/
|
|
29
|
+
offset: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<object>}
|
|
33
|
+
* @memberof TransactionEventsResponse
|
|
34
|
+
*/
|
|
35
|
+
results: Array<object>;
|
|
36
|
+
}
|
|
37
|
+
export declare function TransactionEventsResponseFromJSON(json: any): TransactionEventsResponse;
|
|
38
|
+
export declare function TransactionEventsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransactionEventsResponse;
|
|
39
|
+
export declare function TransactionEventsResponseToJSON(value?: TransactionEventsResponse | null): any;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Stacks Blockchain API
|
|
6
|
+
* Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"https://hirosystems.github.io/stacks-blockchain-api/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: STACKS_API_VERSION
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.TransactionEventsResponseToJSON = exports.TransactionEventsResponseFromJSONTyped = exports.TransactionEventsResponseFromJSON = void 0;
|
|
17
|
+
function TransactionEventsResponseFromJSON(json) {
|
|
18
|
+
return TransactionEventsResponseFromJSONTyped(json, false);
|
|
19
|
+
}
|
|
20
|
+
exports.TransactionEventsResponseFromJSON = TransactionEventsResponseFromJSON;
|
|
21
|
+
function TransactionEventsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'limit': json['limit'],
|
|
27
|
+
'offset': json['offset'],
|
|
28
|
+
'results': json['results'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
exports.TransactionEventsResponseFromJSONTyped = TransactionEventsResponseFromJSONTyped;
|
|
32
|
+
function TransactionEventsResponseToJSON(value) {
|
|
33
|
+
if (value === undefined) {
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
if (value === null) {
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'limit': value.limit,
|
|
41
|
+
'offset': value.offset,
|
|
42
|
+
'results': value.results,
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
exports.TransactionEventsResponseToJSON = TransactionEventsResponseToJSON;
|
|
46
|
+
//# sourceMappingURL=TransactionEventsResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TransactionEventsResponse.js","sourceRoot":"","sources":["../../../src/generated/models/TransactionEventsResponse.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AA6BH,SAAgB,iCAAiC,CAAC,IAAS;IACvD,OAAO,sCAAsC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC/D,CAAC;AAFD,8EAEC;AAED,SAAgB,sCAAsC,CAAC,IAAS,EAAE,mBAA4B;IAC1F,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE;QACzC,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;QACtB,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;QACxB,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC;KAC7B,CAAC;AACN,CAAC;AAVD,wFAUC;AAED,SAAgB,+BAA+B,CAAC,KAAwC;IACpF,IAAI,KAAK,KAAK,SAAS,EAAE;QACrB,OAAO,SAAS,CAAC;KACpB;IACD,IAAI,KAAK,KAAK,IAAI,EAAE;QAChB,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,OAAO,EAAE,KAAK,CAAC,KAAK;QACpB,QAAQ,EAAE,KAAK,CAAC,MAAM;QACtB,SAAS,EAAE,KAAK,CAAC,OAAO;KAC3B,CAAC;AACN,CAAC;AAbD,0EAaC"}
|