@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.
Files changed (40) hide show
  1. package/lib/generated/apis/FeesApi.d.ts +36 -9
  2. package/lib/generated/apis/FeesApi.js +29 -4
  3. package/lib/generated/apis/FeesApi.js.map +1 -1
  4. package/lib/generated/apis/NamesApi.d.ts +27 -0
  5. package/lib/generated/apis/NamesApi.js +26 -0
  6. package/lib/generated/apis/NamesApi.js.map +1 -1
  7. package/lib/generated/apis/TransactionsApi.d.ts +47 -1
  8. package/lib/generated/apis/TransactionsApi.js +51 -1
  9. package/lib/generated/apis/TransactionsApi.js.map +1 -1
  10. package/lib/generated/models/TransactionEventsResponse.d.ts +39 -0
  11. package/lib/generated/models/TransactionEventsResponse.js +46 -0
  12. package/lib/generated/models/TransactionEventsResponse.js.map +1 -0
  13. package/lib/generated/models/TransactionFeeEstimateRequest.d.ts +33 -0
  14. package/lib/generated/models/TransactionFeeEstimateRequest.js +45 -0
  15. package/lib/generated/models/TransactionFeeEstimateRequest.js.map +1 -0
  16. package/lib/generated/models/TransactionFeeEstimateResponse.d.ts +46 -0
  17. package/lib/generated/models/TransactionFeeEstimateResponse.js +50 -0
  18. package/lib/generated/models/TransactionFeeEstimateResponse.js.map +1 -0
  19. package/lib/generated/models/TransactionFeeEstimateResponseEstimatedCost.d.ts +51 -0
  20. package/lib/generated/models/TransactionFeeEstimateResponseEstimatedCost.js +50 -0
  21. package/lib/generated/models/TransactionFeeEstimateResponseEstimatedCost.js.map +1 -0
  22. package/lib/generated/models/TransactionFeeEstimateResponseEstimations.d.ts +33 -0
  23. package/lib/generated/models/TransactionFeeEstimateResponseEstimations.js +45 -0
  24. package/lib/generated/models/TransactionFeeEstimateResponseEstimations.js.map +1 -0
  25. package/lib/generated/models/index.d.ts +5 -0
  26. package/lib/generated/models/index.js +5 -0
  27. package/lib/generated/models/index.js.map +1 -1
  28. package/lib/index.umd.js +445 -76
  29. package/lib/index.umd.js.map +1 -1
  30. package/package.json +1 -1
  31. package/src/generated/.openapi-generator/FILES +5 -0
  32. package/src/generated/apis/FeesApi.ts +65 -8
  33. package/src/generated/apis/NamesApi.ts +52 -0
  34. package/src/generated/apis/TransactionsApi.ts +90 -0
  35. package/src/generated/models/TransactionEventsResponse.ts +72 -0
  36. package/src/generated/models/TransactionFeeEstimateRequest.ts +64 -0
  37. package/src/generated/models/TransactionFeeEstimateResponse.ts +91 -0
  38. package/src/generated/models/TransactionFeeEstimateResponseEstimatedCost.ts +88 -0
  39. package/src/generated/models/TransactionFeeEstimateResponseEstimations.ts +64 -0
  40. package/src/generated/models/index.ts +5 -0
@@ -0,0 +1,33 @@
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
+ * POST request for estimated fee
14
+ * @export
15
+ * @interface TransactionFeeEstimateRequest
16
+ */
17
+ export interface TransactionFeeEstimateRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof TransactionFeeEstimateRequest
22
+ */
23
+ transaction_payload: string;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof TransactionFeeEstimateRequest
28
+ */
29
+ estimated_len?: number;
30
+ }
31
+ export declare function TransactionFeeEstimateRequestFromJSON(json: any): TransactionFeeEstimateRequest;
32
+ export declare function TransactionFeeEstimateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransactionFeeEstimateRequest;
33
+ export declare function TransactionFeeEstimateRequestToJSON(value?: TransactionFeeEstimateRequest | null): any;
@@ -0,0 +1,45 @@
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.TransactionFeeEstimateRequestToJSON = exports.TransactionFeeEstimateRequestFromJSONTyped = exports.TransactionFeeEstimateRequestFromJSON = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ function TransactionFeeEstimateRequestFromJSON(json) {
19
+ return TransactionFeeEstimateRequestFromJSONTyped(json, false);
20
+ }
21
+ exports.TransactionFeeEstimateRequestFromJSON = TransactionFeeEstimateRequestFromJSON;
22
+ function TransactionFeeEstimateRequestFromJSONTyped(json, ignoreDiscriminator) {
23
+ if ((json === undefined) || (json === null)) {
24
+ return json;
25
+ }
26
+ return {
27
+ 'transaction_payload': json['transaction_payload'],
28
+ 'estimated_len': !runtime_1.exists(json, 'estimated_len') ? undefined : json['estimated_len'],
29
+ };
30
+ }
31
+ exports.TransactionFeeEstimateRequestFromJSONTyped = TransactionFeeEstimateRequestFromJSONTyped;
32
+ function TransactionFeeEstimateRequestToJSON(value) {
33
+ if (value === undefined) {
34
+ return undefined;
35
+ }
36
+ if (value === null) {
37
+ return null;
38
+ }
39
+ return {
40
+ 'transaction_payload': value.transaction_payload,
41
+ 'estimated_len': value.estimated_len,
42
+ };
43
+ }
44
+ exports.TransactionFeeEstimateRequestToJSON = TransactionFeeEstimateRequestToJSON;
45
+ //# sourceMappingURL=TransactionFeeEstimateRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TransactionFeeEstimateRequest.js","sourceRoot":"","sources":["../../../src/generated/models/TransactionFeeEstimateRequest.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,wCAA+C;AAqB/C,SAAgB,qCAAqC,CAAC,IAAS;IAC3D,OAAO,0CAA0C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACnE,CAAC;AAFD,sFAEC;AAED,SAAgB,0CAA0C,CAAC,IAAS,EAAE,mBAA4B;IAC9F,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE;QACzC,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,qBAAqB,EAAE,IAAI,CAAC,qBAAqB,CAAC;QAClD,eAAe,EAAE,CAAC,gBAAM,CAAC,IAAI,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC;KACtF,CAAC;AACN,CAAC;AATD,gGASC;AAED,SAAgB,mCAAmC,CAAC,KAA4C;IAC5F,IAAI,KAAK,KAAK,SAAS,EAAE;QACrB,OAAO,SAAS,CAAC;KACpB;IACD,IAAI,KAAK,KAAK,IAAI,EAAE;QAChB,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,qBAAqB,EAAE,KAAK,CAAC,mBAAmB;QAChD,eAAe,EAAE,KAAK,CAAC,aAAa;KACvC,CAAC;AACN,CAAC;AAZD,kFAYC"}
@@ -0,0 +1,46 @@
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
+ import { TransactionFeeEstimateResponseEstimatedCost, TransactionFeeEstimateResponseEstimations } from './';
13
+ /**
14
+ * POST response for estimated fee
15
+ * @export
16
+ * @interface TransactionFeeEstimateResponse
17
+ */
18
+ export interface TransactionFeeEstimateResponse {
19
+ /**
20
+ *
21
+ * @type {number}
22
+ * @memberof TransactionFeeEstimateResponse
23
+ */
24
+ estimated_cost_scalar: number;
25
+ /**
26
+ *
27
+ * @type {number}
28
+ * @memberof TransactionFeeEstimateResponse
29
+ */
30
+ cost_scalar_change_by_byte?: number;
31
+ /**
32
+ *
33
+ * @type {TransactionFeeEstimateResponseEstimatedCost}
34
+ * @memberof TransactionFeeEstimateResponse
35
+ */
36
+ estimated_cost: TransactionFeeEstimateResponseEstimatedCost;
37
+ /**
38
+ *
39
+ * @type {Array<TransactionFeeEstimateResponseEstimations>}
40
+ * @memberof TransactionFeeEstimateResponse
41
+ */
42
+ estimations?: Array<TransactionFeeEstimateResponseEstimations>;
43
+ }
44
+ export declare function TransactionFeeEstimateResponseFromJSON(json: any): TransactionFeeEstimateResponse;
45
+ export declare function TransactionFeeEstimateResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransactionFeeEstimateResponse;
46
+ export declare function TransactionFeeEstimateResponseToJSON(value?: TransactionFeeEstimateResponse | null): any;
@@ -0,0 +1,50 @@
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.TransactionFeeEstimateResponseToJSON = exports.TransactionFeeEstimateResponseFromJSONTyped = exports.TransactionFeeEstimateResponseFromJSON = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ const _1 = require("./");
19
+ function TransactionFeeEstimateResponseFromJSON(json) {
20
+ return TransactionFeeEstimateResponseFromJSONTyped(json, false);
21
+ }
22
+ exports.TransactionFeeEstimateResponseFromJSON = TransactionFeeEstimateResponseFromJSON;
23
+ function TransactionFeeEstimateResponseFromJSONTyped(json, ignoreDiscriminator) {
24
+ if ((json === undefined) || (json === null)) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'estimated_cost_scalar': json['estimated_cost_scalar'],
29
+ 'cost_scalar_change_by_byte': !runtime_1.exists(json, 'cost_scalar_change_by_byte') ? undefined : json['cost_scalar_change_by_byte'],
30
+ 'estimated_cost': _1.TransactionFeeEstimateResponseEstimatedCostFromJSON(json['estimated_cost']),
31
+ 'estimations': !runtime_1.exists(json, 'estimations') ? undefined : (json['estimations'].map(_1.TransactionFeeEstimateResponseEstimationsFromJSON)),
32
+ };
33
+ }
34
+ exports.TransactionFeeEstimateResponseFromJSONTyped = TransactionFeeEstimateResponseFromJSONTyped;
35
+ function TransactionFeeEstimateResponseToJSON(value) {
36
+ if (value === undefined) {
37
+ return undefined;
38
+ }
39
+ if (value === null) {
40
+ return null;
41
+ }
42
+ return {
43
+ 'estimated_cost_scalar': value.estimated_cost_scalar,
44
+ 'cost_scalar_change_by_byte': value.cost_scalar_change_by_byte,
45
+ 'estimated_cost': _1.TransactionFeeEstimateResponseEstimatedCostToJSON(value.estimated_cost),
46
+ 'estimations': value.estimations === undefined ? undefined : (value.estimations.map(_1.TransactionFeeEstimateResponseEstimationsToJSON)),
47
+ };
48
+ }
49
+ exports.TransactionFeeEstimateResponseToJSON = TransactionFeeEstimateResponseToJSON;
50
+ //# sourceMappingURL=TransactionFeeEstimateResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TransactionFeeEstimateResponse.js","sourceRoot":"","sources":["../../../src/generated/models/TransactionFeeEstimateResponse.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,wCAA+C;AAC/C,yBASY;AAkCZ,SAAgB,sCAAsC,CAAC,IAAS;IAC5D,OAAO,2CAA2C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACpE,CAAC;AAFD,wFAEC;AAED,SAAgB,2CAA2C,CAAC,IAAS,EAAE,mBAA4B;IAC/F,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE;QACzC,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,uBAAuB,EAAE,IAAI,CAAC,uBAAuB,CAAC;QACtD,4BAA4B,EAAE,CAAC,gBAAM,CAAC,IAAI,EAAE,4BAA4B,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,4BAA4B,CAAC;QAC1H,gBAAgB,EAAE,sDAAmD,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAC7F,aAAa,EAAE,CAAC,gBAAM,CAAC,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,IAAI,CAAC,aAAa,CAAgB,CAAC,GAAG,CAAC,oDAAiD,CAAC,CAAC;KACzJ,CAAC;AACN,CAAC;AAXD,kGAWC;AAED,SAAgB,oCAAoC,CAAC,KAA6C;IAC9F,IAAI,KAAK,KAAK,SAAS,EAAE;QACrB,OAAO,SAAS,CAAC;KACpB;IACD,IAAI,KAAK,KAAK,IAAI,EAAE;QAChB,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,uBAAuB,EAAE,KAAK,CAAC,qBAAqB;QACpD,4BAA4B,EAAE,KAAK,CAAC,0BAA0B;QAC9D,gBAAgB,EAAE,oDAAiD,CAAC,KAAK,CAAC,cAAc,CAAC;QACzF,aAAa,EAAE,KAAK,CAAC,WAAW,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,KAAK,CAAC,WAA0B,CAAC,GAAG,CAAC,kDAA+C,CAAC,CAAC;KACxJ,CAAC;AACN,CAAC;AAdD,oFAcC"}
@@ -0,0 +1,51 @@
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
+ *
14
+ * @export
15
+ * @interface TransactionFeeEstimateResponseEstimatedCost
16
+ */
17
+ export interface TransactionFeeEstimateResponseEstimatedCost {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof TransactionFeeEstimateResponseEstimatedCost
22
+ */
23
+ read_count: number;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof TransactionFeeEstimateResponseEstimatedCost
28
+ */
29
+ read_length: number;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof TransactionFeeEstimateResponseEstimatedCost
34
+ */
35
+ runtime: number;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof TransactionFeeEstimateResponseEstimatedCost
40
+ */
41
+ write_count: number;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof TransactionFeeEstimateResponseEstimatedCost
46
+ */
47
+ write_length: number;
48
+ }
49
+ export declare function TransactionFeeEstimateResponseEstimatedCostFromJSON(json: any): TransactionFeeEstimateResponseEstimatedCost;
50
+ export declare function TransactionFeeEstimateResponseEstimatedCostFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransactionFeeEstimateResponseEstimatedCost;
51
+ export declare function TransactionFeeEstimateResponseEstimatedCostToJSON(value?: TransactionFeeEstimateResponseEstimatedCost | null): any;
@@ -0,0 +1,50 @@
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.TransactionFeeEstimateResponseEstimatedCostToJSON = exports.TransactionFeeEstimateResponseEstimatedCostFromJSONTyped = exports.TransactionFeeEstimateResponseEstimatedCostFromJSON = void 0;
17
+ function TransactionFeeEstimateResponseEstimatedCostFromJSON(json) {
18
+ return TransactionFeeEstimateResponseEstimatedCostFromJSONTyped(json, false);
19
+ }
20
+ exports.TransactionFeeEstimateResponseEstimatedCostFromJSON = TransactionFeeEstimateResponseEstimatedCostFromJSON;
21
+ function TransactionFeeEstimateResponseEstimatedCostFromJSONTyped(json, ignoreDiscriminator) {
22
+ if ((json === undefined) || (json === null)) {
23
+ return json;
24
+ }
25
+ return {
26
+ 'read_count': json['read_count'],
27
+ 'read_length': json['read_length'],
28
+ 'runtime': json['runtime'],
29
+ 'write_count': json['write_count'],
30
+ 'write_length': json['write_length'],
31
+ };
32
+ }
33
+ exports.TransactionFeeEstimateResponseEstimatedCostFromJSONTyped = TransactionFeeEstimateResponseEstimatedCostFromJSONTyped;
34
+ function TransactionFeeEstimateResponseEstimatedCostToJSON(value) {
35
+ if (value === undefined) {
36
+ return undefined;
37
+ }
38
+ if (value === null) {
39
+ return null;
40
+ }
41
+ return {
42
+ 'read_count': value.read_count,
43
+ 'read_length': value.read_length,
44
+ 'runtime': value.runtime,
45
+ 'write_count': value.write_count,
46
+ 'write_length': value.write_length,
47
+ };
48
+ }
49
+ exports.TransactionFeeEstimateResponseEstimatedCostToJSON = TransactionFeeEstimateResponseEstimatedCostToJSON;
50
+ //# sourceMappingURL=TransactionFeeEstimateResponseEstimatedCost.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TransactionFeeEstimateResponseEstimatedCost.js","sourceRoot":"","sources":["../../../src/generated/models/TransactionFeeEstimateResponseEstimatedCost.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAyCH,SAAgB,mDAAmD,CAAC,IAAS;IACzE,OAAO,wDAAwD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACjF,CAAC;AAFD,kHAEC;AAED,SAAgB,wDAAwD,CAAC,IAAS,EAAE,mBAA4B;IAC5G,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE;QACzC,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC;QAChC,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC;QAClC,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC;QAC1B,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC;QAClC,cAAc,EAAE,IAAI,CAAC,cAAc,CAAC;KACvC,CAAC;AACN,CAAC;AAZD,4HAYC;AAED,SAAgB,iDAAiD,CAAC,KAA0D;IACxH,IAAI,KAAK,KAAK,SAAS,EAAE;QACrB,OAAO,SAAS,CAAC;KACpB;IACD,IAAI,KAAK,KAAK,IAAI,EAAE;QAChB,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,YAAY,EAAE,KAAK,CAAC,UAAU;QAC9B,aAAa,EAAE,KAAK,CAAC,WAAW;QAChC,SAAS,EAAE,KAAK,CAAC,OAAO;QACxB,aAAa,EAAE,KAAK,CAAC,WAAW;QAChC,cAAc,EAAE,KAAK,CAAC,YAAY;KACrC,CAAC;AACN,CAAC;AAfD,8GAeC"}
@@ -0,0 +1,33 @@
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
+ *
14
+ * @export
15
+ * @interface TransactionFeeEstimateResponseEstimations
16
+ */
17
+ export interface TransactionFeeEstimateResponseEstimations {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof TransactionFeeEstimateResponseEstimations
22
+ */
23
+ fee_rate?: number;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof TransactionFeeEstimateResponseEstimations
28
+ */
29
+ fee?: number;
30
+ }
31
+ export declare function TransactionFeeEstimateResponseEstimationsFromJSON(json: any): TransactionFeeEstimateResponseEstimations;
32
+ export declare function TransactionFeeEstimateResponseEstimationsFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransactionFeeEstimateResponseEstimations;
33
+ export declare function TransactionFeeEstimateResponseEstimationsToJSON(value?: TransactionFeeEstimateResponseEstimations | null): any;
@@ -0,0 +1,45 @@
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.TransactionFeeEstimateResponseEstimationsToJSON = exports.TransactionFeeEstimateResponseEstimationsFromJSONTyped = exports.TransactionFeeEstimateResponseEstimationsFromJSON = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ function TransactionFeeEstimateResponseEstimationsFromJSON(json) {
19
+ return TransactionFeeEstimateResponseEstimationsFromJSONTyped(json, false);
20
+ }
21
+ exports.TransactionFeeEstimateResponseEstimationsFromJSON = TransactionFeeEstimateResponseEstimationsFromJSON;
22
+ function TransactionFeeEstimateResponseEstimationsFromJSONTyped(json, ignoreDiscriminator) {
23
+ if ((json === undefined) || (json === null)) {
24
+ return json;
25
+ }
26
+ return {
27
+ 'fee_rate': !runtime_1.exists(json, 'fee_rate') ? undefined : json['fee_rate'],
28
+ 'fee': !runtime_1.exists(json, 'fee') ? undefined : json['fee'],
29
+ };
30
+ }
31
+ exports.TransactionFeeEstimateResponseEstimationsFromJSONTyped = TransactionFeeEstimateResponseEstimationsFromJSONTyped;
32
+ function TransactionFeeEstimateResponseEstimationsToJSON(value) {
33
+ if (value === undefined) {
34
+ return undefined;
35
+ }
36
+ if (value === null) {
37
+ return null;
38
+ }
39
+ return {
40
+ 'fee_rate': value.fee_rate,
41
+ 'fee': value.fee,
42
+ };
43
+ }
44
+ exports.TransactionFeeEstimateResponseEstimationsToJSON = TransactionFeeEstimateResponseEstimationsToJSON;
45
+ //# sourceMappingURL=TransactionFeeEstimateResponseEstimations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TransactionFeeEstimateResponseEstimations.js","sourceRoot":"","sources":["../../../src/generated/models/TransactionFeeEstimateResponseEstimations.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,wCAA+C;AAqB/C,SAAgB,iDAAiD,CAAC,IAAS;IACvE,OAAO,sDAAsD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC/E,CAAC;AAFD,8GAEC;AAED,SAAgB,sDAAsD,CAAC,IAAS,EAAE,mBAA4B;IAC1G,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE;QACzC,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,UAAU,EAAE,CAAC,gBAAM,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC;QACpE,KAAK,EAAE,CAAC,gBAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC;KACxD,CAAC;AACN,CAAC;AATD,wHASC;AAED,SAAgB,+CAA+C,CAAC,KAAwD;IACpH,IAAI,KAAK,KAAK,SAAS,EAAE;QACrB,OAAO,SAAS,CAAC;KACpB;IACD,IAAI,KAAK,KAAK,IAAI,EAAE;QAChB,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,UAAU,EAAE,KAAK,CAAC,QAAQ;QAC1B,KAAK,EAAE,KAAK,CAAC,GAAG;KACnB,CAAC;AACN,CAAC;AAZD,0GAYC"}
@@ -126,6 +126,11 @@ export * from './RunFaucetResponse';
126
126
  export * from './ServerStatusResponse';
127
127
  export * from './SigningPayload';
128
128
  export * from './SmartContract';
129
+ export * from './TransactionEventsResponse';
130
+ export * from './TransactionFeeEstimateRequest';
131
+ export * from './TransactionFeeEstimateResponse';
132
+ export * from './TransactionFeeEstimateResponseEstimatedCost';
133
+ export * from './TransactionFeeEstimateResponseEstimations';
129
134
  export * from './TransactionIdentifier';
130
135
  export * from './TransactionResults';
131
136
  export * from './UnanchoredTransactionListResponse';
@@ -140,6 +140,11 @@ __exportStar(require("./RunFaucetResponse"), exports);
140
140
  __exportStar(require("./ServerStatusResponse"), exports);
141
141
  __exportStar(require("./SigningPayload"), exports);
142
142
  __exportStar(require("./SmartContract"), exports);
143
+ __exportStar(require("./TransactionEventsResponse"), exports);
144
+ __exportStar(require("./TransactionFeeEstimateRequest"), exports);
145
+ __exportStar(require("./TransactionFeeEstimateResponse"), exports);
146
+ __exportStar(require("./TransactionFeeEstimateResponseEstimatedCost"), exports);
147
+ __exportStar(require("./TransactionFeeEstimateResponseEstimations"), exports);
143
148
  __exportStar(require("./TransactionIdentifier"), exports);
144
149
  __exportStar(require("./TransactionResults"), exports);
145
150
  __exportStar(require("./UnanchoredTransactionListResponse"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/generated/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,wDAAsC;AACtC,8DAA4C;AAC5C,2DAAyC;AACzC,8DAA4C;AAC5C,2DAAyC;AACzC,gEAA8C;AAC9C,kDAAgC;AAChC,kEAAgD;AAChD,+DAA6C;AAC7C,oEAAkD;AAClD,+EAA6D;AAC7D,gFAA8D;AAC9D,gFAA8D;AAC9D,yEAAuD;AACvD,oEAAkD;AAClD,iFAA+D;AAC/D,0DAAwC;AACxC,0CAAwB;AACxB,sDAAoC;AACpC,6CAA2B;AAC3B,gEAA8C;AAC9C,2DAAyC;AACzC,4DAA0C;AAC1C,iEAA+C;AAC/C,iEAA+C;AAC/C,oDAAkC;AAClC,gEAA8C;AAC9C,8DAA4C;AAC5C,0EAAwD;AACxD,0DAAwC;AACxC,6CAA2B;AAC3B,8DAA4C;AAC5C,yDAA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,0DAAwC;AACxC,iEAA+C;AAC/C,qDAAmC;AACnC,4DAA0C;AAC1C,qDAAmC;AACnC,yDAAuC;AACvC,sDAAoC;AACpC,uDAAqC;AACrC,sDAAoC;AACpC,yDAAuC;AACvC,mDAAiC;AACjC,kDAAgC;AAChC,0DAAwC;AACxC,uDAAqC;AACrC,sEAAoD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/generated/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,wDAAsC;AACtC,8DAA4C;AAC5C,2DAAyC;AACzC,8DAA4C;AAC5C,2DAAyC;AACzC,gEAA8C;AAC9C,kDAAgC;AAChC,kEAAgD;AAChD,+DAA6C;AAC7C,oEAAkD;AAClD,+EAA6D;AAC7D,gFAA8D;AAC9D,gFAA8D;AAC9D,yEAAuD;AACvD,oEAAkD;AAClD,iFAA+D;AAC/D,0DAAwC;AACxC,0CAAwB;AACxB,sDAAoC;AACpC,6CAA2B;AAC3B,gEAA8C;AAC9C,2DAAyC;AACzC,4DAA0C;AAC1C,iEAA+C;AAC/C,iEAA+C;AAC/C,oDAAkC;AAClC,gEAA8C;AAC9C,8DAA4C;AAC5C,0EAAwD;AACxD,0DAAwC;AACxC,6CAA2B;AAC3B,8DAA4C;AAC5C,yDAAuC;AACvC,2DAAyC;AACzC,yDAAuC;AACvC,wDAAsC;AACtC,4CAA0B;AAC1B,mDAAiC;AACjC,0DAAwC;AACxC,+DAA6C;AAC7C,4DAA0C;AAC1C,qEAAmD;AACnD,yDAAuC;AACvC,uDAAqC;AACrC,iDAA+B;AAC/B,kDAAgC;AAChC,qDAAmC;AACnC,mEAAiD;AACjD,+CAA6B;AAC7B,2DAAyC;AACzC,6DAA2C;AAC3C,8DAA4C;AAC5C,qEAAmD;AACnD,sDAAoC;AACpC,6CAA2B;AAC3B,qEAAmD;AACnD,iEAA+C;AAC/C,6DAA2C;AAC3C,6DAA2C;AAC3C,kEAAgD;AACh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