@stacks/blockchain-api-client 7.4.0-beta.1 → 7.4.0-beta.2
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/MempoolApi.d.ts +5 -5
- package/lib/generated/apis/MempoolApi.js +1 -1
- package/lib/generated/apis/MempoolApi.js.map +1 -1
- package/lib/generated/models/MempoolFeePriorities.d.ts +46 -0
- package/lib/generated/models/MempoolFeePriorities.js +50 -0
- package/lib/generated/models/MempoolFeePriorities.js.map +1 -0
- package/lib/generated/models/MempoolFeePrioritiesAll.d.ts +45 -0
- package/lib/generated/models/MempoolFeePrioritiesAll.js +48 -0
- package/lib/generated/models/MempoolFeePrioritiesAll.js.map +1 -0
- package/lib/generated/models/index.d.ts +2 -0
- package/lib/generated/models/index.js +2 -0
- package/lib/generated/models/index.js.map +1 -1
- package/lib/index.umd.js +87 -1
- package/lib/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/.openapi-generator/FILES +2 -0
- package/src/generated/apis/MempoolApi.ts +8 -8
- package/src/generated/models/MempoolFeePriorities.ts +87 -0
- package/src/generated/models/MempoolFeePrioritiesAll.ts +80 -0
- package/src/generated/models/index.ts +2 -0
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import {
|
|
13
|
+
import { MempoolFeePriorities } from '../models';
|
|
14
14
|
/**
|
|
15
15
|
* MempoolApi - interface
|
|
16
16
|
*
|
|
@@ -25,12 +25,12 @@ export interface MempoolApiInterface {
|
|
|
25
25
|
* @throws {RequiredError}
|
|
26
26
|
* @memberof MempoolApiInterface
|
|
27
27
|
*/
|
|
28
|
-
getMempoolFeePrioritiesRaw(initOverrides?: RequestInit): Promise<runtime.ApiResponse<
|
|
28
|
+
getMempoolFeePrioritiesRaw(initOverrides?: RequestInit): Promise<runtime.ApiResponse<MempoolFeePriorities>>;
|
|
29
29
|
/**
|
|
30
30
|
* Returns estimated fee priorities (in micro-STX) for all transactions that are currently in the mempool. Also returns priorities separated by transaction type.
|
|
31
31
|
* Get mempool transaction fee priorities
|
|
32
32
|
*/
|
|
33
|
-
getMempoolFeePriorities(initOverrides?: RequestInit): Promise<
|
|
33
|
+
getMempoolFeePriorities(initOverrides?: RequestInit): Promise<MempoolFeePriorities>;
|
|
34
34
|
}
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
@@ -40,10 +40,10 @@ export declare class MempoolApi extends runtime.BaseAPI implements MempoolApiInt
|
|
|
40
40
|
* Returns estimated fee priorities (in micro-STX) for all transactions that are currently in the mempool. Also returns priorities separated by transaction type.
|
|
41
41
|
* Get mempool transaction fee priorities
|
|
42
42
|
*/
|
|
43
|
-
getMempoolFeePrioritiesRaw(initOverrides?: RequestInit): Promise<runtime.ApiResponse<
|
|
43
|
+
getMempoolFeePrioritiesRaw(initOverrides?: RequestInit): Promise<runtime.ApiResponse<MempoolFeePriorities>>;
|
|
44
44
|
/**
|
|
45
45
|
* Returns estimated fee priorities (in micro-STX) for all transactions that are currently in the mempool. Also returns priorities separated by transaction type.
|
|
46
46
|
* Get mempool transaction fee priorities
|
|
47
47
|
*/
|
|
48
|
-
getMempoolFeePriorities(initOverrides?: RequestInit): Promise<
|
|
48
|
+
getMempoolFeePriorities(initOverrides?: RequestInit): Promise<MempoolFeePriorities>;
|
|
49
49
|
}
|
|
@@ -33,7 +33,7 @@ class MempoolApi extends runtime.BaseAPI {
|
|
|
33
33
|
headers: headerParameters,
|
|
34
34
|
query: queryParameters,
|
|
35
35
|
}, initOverrides);
|
|
36
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.
|
|
36
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.MempoolFeePrioritiesFromJSON)(jsonValue));
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
39
|
* Returns estimated fee priorities (in micro-STX) for all transactions that are currently in the mempool. Also returns priorities separated by transaction type.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MempoolApi.js","sourceRoot":"","sources":["../../../src/generated/apis/MempoolApi.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAGH,sCAAsC;AACtC,sCAImB;AA0BnB;;GAEG;AACH,MAAa,UAAW,SAAQ,OAAO,CAAC,OAAO;IAE3C;;;OAGG;IACH,KAAK,CAAC,0BAA0B,CAAC,aAA2B;QACxD,MAAM,eAAe,GAAQ,EAAE,CAAC;QAEhC,MAAM,gBAAgB,GAAwB,EAAE,CAAC;QAEjD,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC;YAChC,IAAI,EAAE,2BAA2B;YACjC,MAAM,EAAE,KAAK;YACb,OAAO,EAAE,gBAAgB;YACzB,KAAK,EAAE,eAAe;SACzB,EAAE,aAAa,CAAC,CAAC;QAElB,OAAO,IAAI,OAAO,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,IAAA
|
|
1
|
+
{"version":3,"file":"MempoolApi.js","sourceRoot":"","sources":["../../../src/generated/apis/MempoolApi.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAGH,sCAAsC;AACtC,sCAImB;AA0BnB;;GAEG;AACH,MAAa,UAAW,SAAQ,OAAO,CAAC,OAAO;IAE3C;;;OAGG;IACH,KAAK,CAAC,0BAA0B,CAAC,aAA2B;QACxD,MAAM,eAAe,GAAQ,EAAE,CAAC;QAEhC,MAAM,gBAAgB,GAAwB,EAAE,CAAC;QAEjD,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC;YAChC,IAAI,EAAE,2BAA2B;YACjC,MAAM,EAAE,KAAK;YACb,OAAO,EAAE,gBAAgB;YACzB,KAAK,EAAE,eAAe;SACzB,EAAE,aAAa,CAAC,CAAC;QAElB,OAAO,IAAI,OAAO,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,IAAA,qCAA4B,EAAC,SAAS,CAAC,CAAC,CAAC;IACzG,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,uBAAuB,CAAC,aAA2B;QACrD,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,0BAA0B,CAAC,aAAa,CAAC,CAAC;QACtE,OAAO,MAAM,QAAQ,CAAC,KAAK,EAAE,CAAC;IAClC,CAAC;CAEJ;AA9BD,gCA8BC"}
|
|
@@ -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 { MempoolFeePrioritiesAll } from './';
|
|
13
|
+
/**
|
|
14
|
+
* GET request that returns fee priorities from mempool transactions
|
|
15
|
+
* @export
|
|
16
|
+
* @interface MempoolFeePriorities
|
|
17
|
+
*/
|
|
18
|
+
export interface MempoolFeePriorities {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {MempoolFeePrioritiesAll}
|
|
22
|
+
* @memberof MempoolFeePriorities
|
|
23
|
+
*/
|
|
24
|
+
all: MempoolFeePrioritiesAll;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {MempoolFeePrioritiesAll}
|
|
28
|
+
* @memberof MempoolFeePriorities
|
|
29
|
+
*/
|
|
30
|
+
token_transfer?: MempoolFeePrioritiesAll;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {MempoolFeePrioritiesAll}
|
|
34
|
+
* @memberof MempoolFeePriorities
|
|
35
|
+
*/
|
|
36
|
+
smart_contract?: MempoolFeePrioritiesAll;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {MempoolFeePrioritiesAll}
|
|
40
|
+
* @memberof MempoolFeePriorities
|
|
41
|
+
*/
|
|
42
|
+
contract_call?: MempoolFeePrioritiesAll;
|
|
43
|
+
}
|
|
44
|
+
export declare function MempoolFeePrioritiesFromJSON(json: any): MempoolFeePriorities;
|
|
45
|
+
export declare function MempoolFeePrioritiesFromJSONTyped(json: any, ignoreDiscriminator: boolean): MempoolFeePriorities;
|
|
46
|
+
export declare function MempoolFeePrioritiesToJSON(value?: MempoolFeePriorities | 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.MempoolFeePrioritiesToJSON = exports.MempoolFeePrioritiesFromJSONTyped = exports.MempoolFeePrioritiesFromJSON = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
const _1 = require("./");
|
|
19
|
+
function MempoolFeePrioritiesFromJSON(json) {
|
|
20
|
+
return MempoolFeePrioritiesFromJSONTyped(json, false);
|
|
21
|
+
}
|
|
22
|
+
exports.MempoolFeePrioritiesFromJSON = MempoolFeePrioritiesFromJSON;
|
|
23
|
+
function MempoolFeePrioritiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if ((json === undefined) || (json === null)) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'all': (0, _1.MempoolFeePrioritiesAllFromJSON)(json['all']),
|
|
29
|
+
'token_transfer': !(0, runtime_1.exists)(json, 'token_transfer') ? undefined : (0, _1.MempoolFeePrioritiesAllFromJSON)(json['token_transfer']),
|
|
30
|
+
'smart_contract': !(0, runtime_1.exists)(json, 'smart_contract') ? undefined : (0, _1.MempoolFeePrioritiesAllFromJSON)(json['smart_contract']),
|
|
31
|
+
'contract_call': !(0, runtime_1.exists)(json, 'contract_call') ? undefined : (0, _1.MempoolFeePrioritiesAllFromJSON)(json['contract_call']),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
exports.MempoolFeePrioritiesFromJSONTyped = MempoolFeePrioritiesFromJSONTyped;
|
|
35
|
+
function MempoolFeePrioritiesToJSON(value) {
|
|
36
|
+
if (value === undefined) {
|
|
37
|
+
return undefined;
|
|
38
|
+
}
|
|
39
|
+
if (value === null) {
|
|
40
|
+
return null;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'all': (0, _1.MempoolFeePrioritiesAllToJSON)(value.all),
|
|
44
|
+
'token_transfer': (0, _1.MempoolFeePrioritiesAllToJSON)(value.token_transfer),
|
|
45
|
+
'smart_contract': (0, _1.MempoolFeePrioritiesAllToJSON)(value.smart_contract),
|
|
46
|
+
'contract_call': (0, _1.MempoolFeePrioritiesAllToJSON)(value.contract_call),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
exports.MempoolFeePrioritiesToJSON = MempoolFeePrioritiesToJSON;
|
|
50
|
+
//# sourceMappingURL=MempoolFeePriorities.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MempoolFeePriorities.js","sourceRoot":"","sources":["../../../src/generated/models/MempoolFeePriorities.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,wCAA+C;AAC/C,yBAKY;AAkCZ,SAAgB,4BAA4B,CAAC,IAAS;IAClD,OAAO,iCAAiC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC1D,CAAC;AAFD,oEAEC;AAED,SAAgB,iCAAiC,CAAC,IAAS,EAAE,mBAA4B;IACrF,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE;QACzC,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,KAAK,EAAE,IAAA,kCAA+B,EAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACnD,gBAAgB,EAAE,CAAC,IAAA,gBAAM,EAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,kCAA+B,EAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QACvH,gBAAgB,EAAE,CAAC,IAAA,gBAAM,EAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,kCAA+B,EAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QACvH,eAAe,EAAE,CAAC,IAAA,gBAAM,EAAC,IAAI,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,kCAA+B,EAAC,IAAI,CAAC,eAAe,CAAC,CAAC;KACvH,CAAC;AACN,CAAC;AAXD,8EAWC;AAED,SAAgB,0BAA0B,CAAC,KAAmC;IAC1E,IAAI,KAAK,KAAK,SAAS,EAAE;QACrB,OAAO,SAAS,CAAC;KACpB;IACD,IAAI,KAAK,KAAK,IAAI,EAAE;QAChB,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,KAAK,EAAE,IAAA,gCAA6B,EAAC,KAAK,CAAC,GAAG,CAAC;QAC/C,gBAAgB,EAAE,IAAA,gCAA6B,EAAC,KAAK,CAAC,cAAc,CAAC;QACrE,gBAAgB,EAAE,IAAA,gCAA6B,EAAC,KAAK,CAAC,cAAc,CAAC;QACrE,eAAe,EAAE,IAAA,gCAA6B,EAAC,KAAK,CAAC,aAAa,CAAC;KACtE,CAAC;AACN,CAAC;AAdD,gEAcC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 MempoolFeePrioritiesAll
|
|
16
|
+
*/
|
|
17
|
+
export interface MempoolFeePrioritiesAll {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof MempoolFeePrioritiesAll
|
|
22
|
+
*/
|
|
23
|
+
no_priority: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof MempoolFeePrioritiesAll
|
|
28
|
+
*/
|
|
29
|
+
low_priority: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof MempoolFeePrioritiesAll
|
|
34
|
+
*/
|
|
35
|
+
medium_priority: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof MempoolFeePrioritiesAll
|
|
40
|
+
*/
|
|
41
|
+
high_priority: number;
|
|
42
|
+
}
|
|
43
|
+
export declare function MempoolFeePrioritiesAllFromJSON(json: any): MempoolFeePrioritiesAll;
|
|
44
|
+
export declare function MempoolFeePrioritiesAllFromJSONTyped(json: any, ignoreDiscriminator: boolean): MempoolFeePrioritiesAll;
|
|
45
|
+
export declare function MempoolFeePrioritiesAllToJSON(value?: MempoolFeePrioritiesAll | null): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
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.MempoolFeePrioritiesAllToJSON = exports.MempoolFeePrioritiesAllFromJSONTyped = exports.MempoolFeePrioritiesAllFromJSON = void 0;
|
|
17
|
+
function MempoolFeePrioritiesAllFromJSON(json) {
|
|
18
|
+
return MempoolFeePrioritiesAllFromJSONTyped(json, false);
|
|
19
|
+
}
|
|
20
|
+
exports.MempoolFeePrioritiesAllFromJSON = MempoolFeePrioritiesAllFromJSON;
|
|
21
|
+
function MempoolFeePrioritiesAllFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'no_priority': json['no_priority'],
|
|
27
|
+
'low_priority': json['low_priority'],
|
|
28
|
+
'medium_priority': json['medium_priority'],
|
|
29
|
+
'high_priority': json['high_priority'],
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
exports.MempoolFeePrioritiesAllFromJSONTyped = MempoolFeePrioritiesAllFromJSONTyped;
|
|
33
|
+
function MempoolFeePrioritiesAllToJSON(value) {
|
|
34
|
+
if (value === undefined) {
|
|
35
|
+
return undefined;
|
|
36
|
+
}
|
|
37
|
+
if (value === null) {
|
|
38
|
+
return null;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'no_priority': value.no_priority,
|
|
42
|
+
'low_priority': value.low_priority,
|
|
43
|
+
'medium_priority': value.medium_priority,
|
|
44
|
+
'high_priority': value.high_priority,
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
exports.MempoolFeePrioritiesAllToJSON = MempoolFeePrioritiesAllToJSON;
|
|
48
|
+
//# sourceMappingURL=MempoolFeePrioritiesAll.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MempoolFeePrioritiesAll.js","sourceRoot":"","sources":["../../../src/generated/models/MempoolFeePrioritiesAll.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAmCH,SAAgB,+BAA+B,CAAC,IAAS;IACrD,OAAO,oCAAoC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC7D,CAAC;AAFD,0EAEC;AAED,SAAgB,oCAAoC,CAAC,IAAS,EAAE,mBAA4B;IACxF,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE;QACzC,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC;QAClC,cAAc,EAAE,IAAI,CAAC,cAAc,CAAC;QACpC,iBAAiB,EAAE,IAAI,CAAC,iBAAiB,CAAC;QAC1C,eAAe,EAAE,IAAI,CAAC,eAAe,CAAC;KACzC,CAAC;AACN,CAAC;AAXD,oFAWC;AAED,SAAgB,6BAA6B,CAAC,KAAsC;IAChF,IAAI,KAAK,KAAK,SAAS,EAAE;QACrB,OAAO,SAAS,CAAC;KACpB;IACD,IAAI,KAAK,KAAK,IAAI,EAAE;QAChB,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,aAAa,EAAE,KAAK,CAAC,WAAW;QAChC,cAAc,EAAE,KAAK,CAAC,YAAY;QAClC,iBAAiB,EAAE,KAAK,CAAC,eAAe;QACxC,eAAe,EAAE,KAAK,CAAC,aAAa;KACvC,CAAC;AACN,CAAC;AAdD,sEAcC"}
|
|
@@ -44,6 +44,8 @@ export * from './InboundStxTransfer';
|
|
|
44
44
|
export * from './InlineObject';
|
|
45
45
|
export * from './InlineResponse403';
|
|
46
46
|
export * from './MapEntryResponse';
|
|
47
|
+
export * from './MempoolFeePriorities';
|
|
48
|
+
export * from './MempoolFeePrioritiesAll';
|
|
47
49
|
export * from './MempoolTransactionListResponse';
|
|
48
50
|
export * from './MempoolTransactionStatsResponse';
|
|
49
51
|
export * from './MempoolTransactionStatsResponseTxAges';
|
|
@@ -62,6 +62,8 @@ __exportStar(require("./InboundStxTransfer"), exports);
|
|
|
62
62
|
__exportStar(require("./InlineObject"), exports);
|
|
63
63
|
__exportStar(require("./InlineResponse403"), exports);
|
|
64
64
|
__exportStar(require("./MapEntryResponse"), exports);
|
|
65
|
+
__exportStar(require("./MempoolFeePriorities"), exports);
|
|
66
|
+
__exportStar(require("./MempoolFeePrioritiesAll"), exports);
|
|
65
67
|
__exportStar(require("./MempoolTransactionListResponse"), exports);
|
|
66
68
|
__exportStar(require("./MempoolTransactionStatsResponse"), exports);
|
|
67
69
|
__exportStar(require("./MempoolTransactionStatsResponseTxAges"), 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,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,sDAAoC;AACpC,qDAAmC;AACnC,mEAAiD;AACjD,oEAAkD;AAClD,0EAAwD;AACxD,+EAA6D;AAC7D,uFAAqE;AACrE,oGAAkF;AAClF,gFAA8D;AAC9D,+CAA6B;AAC7B,2DAAyC;AACzC,6DAA2C;AAC3C,8DAA4C;AAC5C,sDAAoC;AACpC,6CAA2B;AAC3B,qEAAmD;AACnD,iEAA+C;AAC/C,6DAA2C;AAC3C,6DAA2C;AAC3C,k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xC,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,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,sDAAoC;AACpC,qDAAmC;AACnC,yDAAuC;AACvC,4DAA0C;AAC1C,mEAAiD;AACjD,oEAAkD;AAClD,0EAAwD;AACxD,+EAA6D;AAC7D,uFAAqE;AACrE,oGAAkF;AAClF,gFAA8D;AAC9D,+CAA6B;AAC7B,2DAAyC;AACzC,6DAA2C;AAC3C,8DAA4C;AAC5C,sDAAoC;AACpC,6CAA2B;AAC3B,qEAAmD;AACnD,iEAA+C;AAC/C,6DAA2C;AAC3C,6DAA2C;AAC3C,kEAAgD;AAChD,+DAA6C;AAC7C,mDAAiC;AACjC,4DAA0C;AAC1C,kEAAgD;AAChD,yDAAuC;AACvC,oEAAkD;A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
|
2692
2692
|
}
|
|
2693
2693
|
|
|
2694
|
+
/* tslint:disable */
|
|
2695
|
+
function MempoolFeePrioritiesFromJSON(json) {
|
|
2696
|
+
return MempoolFeePrioritiesFromJSONTyped(json);
|
|
2697
|
+
}
|
|
2698
|
+
function MempoolFeePrioritiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
2699
|
+
if (json === undefined || json === null) {
|
|
2700
|
+
return json;
|
|
2701
|
+
}
|
|
2702
|
+
|
|
2703
|
+
return {
|
|
2704
|
+
'all': MempoolFeePrioritiesAllFromJSON(json['all']),
|
|
2705
|
+
'token_transfer': !exists(json, 'token_transfer') ? undefined : MempoolFeePrioritiesAllFromJSON(json['token_transfer']),
|
|
2706
|
+
'smart_contract': !exists(json, 'smart_contract') ? undefined : MempoolFeePrioritiesAllFromJSON(json['smart_contract']),
|
|
2707
|
+
'contract_call': !exists(json, 'contract_call') ? undefined : MempoolFeePrioritiesAllFromJSON(json['contract_call'])
|
|
2708
|
+
};
|
|
2709
|
+
}
|
|
2710
|
+
function MempoolFeePrioritiesToJSON(value) {
|
|
2711
|
+
if (value === undefined) {
|
|
2712
|
+
return undefined;
|
|
2713
|
+
}
|
|
2714
|
+
|
|
2715
|
+
if (value === null) {
|
|
2716
|
+
return null;
|
|
2717
|
+
}
|
|
2718
|
+
|
|
2719
|
+
return {
|
|
2720
|
+
'all': MempoolFeePrioritiesAllToJSON(value.all),
|
|
2721
|
+
'token_transfer': MempoolFeePrioritiesAllToJSON(value.token_transfer),
|
|
2722
|
+
'smart_contract': MempoolFeePrioritiesAllToJSON(value.smart_contract),
|
|
2723
|
+
'contract_call': MempoolFeePrioritiesAllToJSON(value.contract_call)
|
|
2724
|
+
};
|
|
2725
|
+
}
|
|
2726
|
+
|
|
2727
|
+
/* tslint:disable */
|
|
2728
|
+
|
|
2729
|
+
/* eslint-disable */
|
|
2730
|
+
|
|
2731
|
+
/**
|
|
2732
|
+
* Stacks Blockchain API
|
|
2733
|
+
* 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>
|
|
2734
|
+
*
|
|
2735
|
+
* The version of the OpenAPI document: STACKS_API_VERSION
|
|
2736
|
+
*
|
|
2737
|
+
*
|
|
2738
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2739
|
+
* https://openapi-generator.tech
|
|
2740
|
+
* Do not edit the class manually.
|
|
2741
|
+
*/
|
|
2742
|
+
function MempoolFeePrioritiesAllFromJSON(json) {
|
|
2743
|
+
return MempoolFeePrioritiesAllFromJSONTyped(json);
|
|
2744
|
+
}
|
|
2745
|
+
function MempoolFeePrioritiesAllFromJSONTyped(json, ignoreDiscriminator) {
|
|
2746
|
+
if (json === undefined || json === null) {
|
|
2747
|
+
return json;
|
|
2748
|
+
}
|
|
2749
|
+
|
|
2750
|
+
return {
|
|
2751
|
+
'no_priority': json['no_priority'],
|
|
2752
|
+
'low_priority': json['low_priority'],
|
|
2753
|
+
'medium_priority': json['medium_priority'],
|
|
2754
|
+
'high_priority': json['high_priority']
|
|
2755
|
+
};
|
|
2756
|
+
}
|
|
2757
|
+
function MempoolFeePrioritiesAllToJSON(value) {
|
|
2758
|
+
if (value === undefined) {
|
|
2759
|
+
return undefined;
|
|
2760
|
+
}
|
|
2761
|
+
|
|
2762
|
+
if (value === null) {
|
|
2763
|
+
return null;
|
|
2764
|
+
}
|
|
2765
|
+
|
|
2766
|
+
return {
|
|
2767
|
+
'no_priority': value.no_priority,
|
|
2768
|
+
'low_priority': value.low_priority,
|
|
2769
|
+
'medium_priority': value.medium_priority,
|
|
2770
|
+
'high_priority': value.high_priority
|
|
2771
|
+
};
|
|
2772
|
+
}
|
|
2773
|
+
|
|
2694
2774
|
/* tslint:disable */
|
|
2695
2775
|
|
|
2696
2776
|
/* eslint-disable */
|
|
@@ -8161,7 +8241,7 @@
|
|
|
8161
8241
|
query: queryParameters
|
|
8162
8242
|
}, initOverrides)).then(function (response) {
|
|
8163
8243
|
return new JSONApiResponse(response, function (jsonValue) {
|
|
8164
|
-
return
|
|
8244
|
+
return MempoolFeePrioritiesFromJSON(jsonValue);
|
|
8165
8245
|
});
|
|
8166
8246
|
});
|
|
8167
8247
|
} catch (e) {
|
|
@@ -16529,6 +16609,12 @@
|
|
|
16529
16609
|
exports.MapEntryResponseFromJSONTyped = MapEntryResponseFromJSONTyped;
|
|
16530
16610
|
exports.MapEntryResponseToJSON = MapEntryResponseToJSON;
|
|
16531
16611
|
exports.MempoolApi = MempoolApi;
|
|
16612
|
+
exports.MempoolFeePrioritiesAllFromJSON = MempoolFeePrioritiesAllFromJSON;
|
|
16613
|
+
exports.MempoolFeePrioritiesAllFromJSONTyped = MempoolFeePrioritiesAllFromJSONTyped;
|
|
16614
|
+
exports.MempoolFeePrioritiesAllToJSON = MempoolFeePrioritiesAllToJSON;
|
|
16615
|
+
exports.MempoolFeePrioritiesFromJSON = MempoolFeePrioritiesFromJSON;
|
|
16616
|
+
exports.MempoolFeePrioritiesFromJSONTyped = MempoolFeePrioritiesFromJSONTyped;
|
|
16617
|
+
exports.MempoolFeePrioritiesToJSON = MempoolFeePrioritiesToJSON;
|
|
16532
16618
|
exports.MempoolTransactionListResponseFromJSON = MempoolTransactionListResponseFromJSON;
|
|
16533
16619
|
exports.MempoolTransactionListResponseFromJSONTyped = MempoolTransactionListResponseFromJSONTyped;
|
|
16534
16620
|
exports.MempoolTransactionListResponseToJSON = MempoolTransactionListResponseToJSON;
|