@xchainjs/xchain-thornode 0.1.0-alpha4 → 0.1.0

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.
@@ -2,7 +2,7 @@
2
2
  * Thornode API
3
3
  * Thornode REST API.
4
4
  *
5
- * The version of the OpenAPI document: 1.89.0
5
+ * The version of the OpenAPI document: 1.97.2
6
6
  * Contact: devs@thorchain.org
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -37,6 +37,44 @@ export interface BanResponse {
37
37
  */
38
38
  'signers'?: Array<string>;
39
39
  }
40
+ /**
41
+ *
42
+ * @export
43
+ * @interface Bucket
44
+ */
45
+ export interface Bucket {
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof Bucket
50
+ */
51
+ 'balance_asset': string;
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof Bucket
56
+ */
57
+ 'asset': string;
58
+ /**
59
+ * the total pool liquidity provider units
60
+ * @type {string}
61
+ * @memberof Bucket
62
+ */
63
+ 'LP_units': string;
64
+ /**
65
+ *
66
+ * @type {string}
67
+ * @memberof Bucket
68
+ */
69
+ 'status': string;
70
+ }
71
+ /**
72
+ *
73
+ * @export
74
+ * @interface BucketsResponse
75
+ */
76
+ export interface BucketsResponse extends Array<Bucket> {
77
+ }
40
78
  /**
41
79
  *
42
80
  * @export
@@ -112,6 +150,100 @@ export interface ConstantsResponse {
112
150
  [key: string]: string;
113
151
  };
114
152
  }
153
+ /**
154
+ *
155
+ * @export
156
+ * @interface InboundAddress
157
+ */
158
+ export interface InboundAddress {
159
+ /**
160
+ *
161
+ * @type {string}
162
+ * @memberof InboundAddress
163
+ */
164
+ 'chain'?: string;
165
+ /**
166
+ *
167
+ * @type {string}
168
+ * @memberof InboundAddress
169
+ */
170
+ 'pub_key'?: string;
171
+ /**
172
+ *
173
+ * @type {string}
174
+ * @memberof InboundAddress
175
+ */
176
+ 'address'?: string;
177
+ /**
178
+ *
179
+ * @type {string}
180
+ * @memberof InboundAddress
181
+ */
182
+ 'router'?: string;
183
+ /**
184
+ *
185
+ * @type {boolean}
186
+ * @memberof InboundAddress
187
+ */
188
+ 'halted': boolean;
189
+ /**
190
+ * The minimum fee rate used by vaults to send outbound TXs. The actual fee rate may be higher.
191
+ * @type {string}
192
+ * @memberof InboundAddress
193
+ */
194
+ 'gas_rate'?: string;
195
+ /**
196
+ * Units of the gas_rate.
197
+ * @type {string}
198
+ * @memberof InboundAddress
199
+ */
200
+ 'gas_rate_units'?: string;
201
+ /**
202
+ * Avg size of outbound TXs on each chain. For UTXO chains it may be larger than average, as it takes into account vault consolidation txs, which can have many vouts
203
+ * @type {string}
204
+ * @memberof InboundAddress
205
+ */
206
+ 'outbound_tx_size'?: string;
207
+ /**
208
+ * The total outbound fee charged to the user for outbound txs on each chain
209
+ * @type {string}
210
+ * @memberof InboundAddress
211
+ */
212
+ 'outbound_fee'?: string;
213
+ }
214
+ /**
215
+ *
216
+ * @export
217
+ * @interface InboundAddressesResponse
218
+ */
219
+ export interface InboundAddressesResponse extends Array<InboundAddress> {
220
+ }
221
+ /**
222
+ *
223
+ * @export
224
+ * @interface KeygenMetric
225
+ */
226
+ export interface KeygenMetric {
227
+ /**
228
+ *
229
+ * @type {string}
230
+ * @memberof KeygenMetric
231
+ */
232
+ 'pub_key'?: string;
233
+ /**
234
+ *
235
+ * @type {Array<NodeKeygenMetric>}
236
+ * @memberof KeygenMetric
237
+ */
238
+ 'node_tss_times': Array<NodeKeygenMetric>;
239
+ }
240
+ /**
241
+ *
242
+ * @export
243
+ * @interface KeygenMetricsResponse
244
+ */
245
+ export interface KeygenMetricsResponse extends Array<KeygenMetric> {
246
+ }
115
247
  /**
116
248
  *
117
249
  * @export
@@ -200,6 +332,13 @@ export interface LastBlock {
200
332
  */
201
333
  'thorchain': number;
202
334
  }
335
+ /**
336
+ *
337
+ * @export
338
+ * @interface LastBlockResponse
339
+ */
340
+ export interface LastBlockResponse extends Array<LastBlock> {
341
+ }
203
342
  /**
204
343
  *
205
344
  * @export
@@ -273,6 +412,13 @@ export interface LiquidityProvider {
273
412
  */
274
413
  'asset_deposit_value': string;
275
414
  }
415
+ /**
416
+ *
417
+ * @export
418
+ * @interface LiquidityProviderResponse
419
+ */
420
+ export interface LiquidityProviderResponse extends Array<LiquidityProvider> {
421
+ }
276
422
  /**
277
423
  *
278
424
  * @export
@@ -281,10 +427,10 @@ export interface LiquidityProvider {
281
427
  export interface MetricsResponse {
282
428
  /**
283
429
  *
284
- * @type {Array<object>}
430
+ * @type {KeygenMetricsResponse}
285
431
  * @memberof MetricsResponse
286
432
  */
287
- 'keygen'?: Array<object>;
433
+ 'keygen'?: KeygenMetricsResponse;
288
434
  /**
289
435
  *
290
436
  * @type {KeysignMetrics}
@@ -305,6 +451,14 @@ export interface MimirNodesResponse {
305
451
  */
306
452
  'mimirs'?: Array<MimirVote>;
307
453
  }
454
+ /**
455
+ *
456
+ * @export
457
+ * @interface MimirResponse
458
+ */
459
+ export interface MimirResponse {
460
+ [key: string]: string;
461
+ }
308
462
  /**
309
463
  *
310
464
  * @export
@@ -570,6 +724,25 @@ export interface NodeJail {
570
724
  */
571
725
  'reason'?: string;
572
726
  }
727
+ /**
728
+ *
729
+ * @export
730
+ * @interface NodeKeygenMetric
731
+ */
732
+ export interface NodeKeygenMetric {
733
+ /**
734
+ *
735
+ * @type {string}
736
+ * @memberof NodeKeygenMetric
737
+ */
738
+ 'address'?: string;
739
+ /**
740
+ *
741
+ * @type {string}
742
+ * @memberof NodeKeygenMetric
743
+ */
744
+ 'tss_time'?: string;
745
+ }
573
746
  /**
574
747
  *
575
748
  * @export
@@ -614,6 +787,13 @@ export interface NodePubKeySet {
614
787
  */
615
788
  'ed25519'?: string;
616
789
  }
790
+ /**
791
+ *
792
+ * @export
793
+ * @interface NodesResponse
794
+ */
795
+ export interface NodesResponse extends Array<Node> {
796
+ }
617
797
  /**
618
798
  *
619
799
  * @export
@@ -692,6 +872,13 @@ export declare const ObservedTxStatusEnum: {
692
872
  readonly Incomplete: "incomplete";
693
873
  };
694
874
  export declare type ObservedTxStatusEnum = typeof ObservedTxStatusEnum[keyof typeof ObservedTxStatusEnum];
875
+ /**
876
+ *
877
+ * @export
878
+ * @interface OutboundResponse
879
+ */
880
+ export interface OutboundResponse extends Array<TxOutItem> {
881
+ }
695
882
  /**
696
883
  *
697
884
  * @export
@@ -815,6 +1002,13 @@ export interface Pool {
815
1002
  */
816
1003
  'pending_inbound_asset': string;
817
1004
  }
1005
+ /**
1006
+ *
1007
+ * @export
1008
+ * @interface PoolsResponse
1009
+ */
1010
+ export interface PoolsResponse extends Array<Pool> {
1011
+ }
818
1012
  /**
819
1013
  *
820
1014
  * @export
@@ -846,6 +1040,51 @@ export interface QueueResponse {
846
1040
  */
847
1041
  'scheduled_outbound_value': string;
848
1042
  }
1043
+ /**
1044
+ *
1045
+ * @export
1046
+ * @interface ScheduledResponse
1047
+ */
1048
+ export interface ScheduledResponse extends Array<TxOutItem> {
1049
+ }
1050
+ /**
1051
+ *
1052
+ * @export
1053
+ * @interface Thorname
1054
+ */
1055
+ export interface Thorname {
1056
+ /**
1057
+ *
1058
+ * @type {string}
1059
+ * @memberof Thorname
1060
+ */
1061
+ 'name'?: string;
1062
+ /**
1063
+ *
1064
+ * @type {string}
1065
+ * @memberof Thorname
1066
+ */
1067
+ 'chain'?: string;
1068
+ /**
1069
+ *
1070
+ * @type {string}
1071
+ * @memberof Thorname
1072
+ */
1073
+ 'address'?: string;
1074
+ /**
1075
+ *
1076
+ * @type {number}
1077
+ * @memberof Thorname
1078
+ */
1079
+ 'expire_block_height'?: number;
1080
+ }
1081
+ /**
1082
+ *
1083
+ * @export
1084
+ * @interface ThornameResponse
1085
+ */
1086
+ export interface ThornameResponse extends Array<Thorname> {
1087
+ }
849
1088
  /**
850
1089
  *
851
1090
  * @export
@@ -1252,6 +1491,13 @@ export interface VaultRouter {
1252
1491
  */
1253
1492
  'router'?: string;
1254
1493
  }
1494
+ /**
1495
+ *
1496
+ * @export
1497
+ * @interface VaultsResponse
1498
+ */
1499
+ export interface VaultsResponse extends Array<Vault> {
1500
+ }
1255
1501
  /**
1256
1502
  *
1257
1503
  * @export
@@ -1277,6 +1523,94 @@ export interface VersionResponse {
1277
1523
  */
1278
1524
  'querier': string;
1279
1525
  }
1526
+ /**
1527
+ * BucketsApi - axios parameter creator
1528
+ * @export
1529
+ */
1530
+ export declare const BucketsApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
1531
+ /**
1532
+ * Returns the bucket information for the provided asset.
1533
+ * @param {string} asset
1534
+ * @param {number} [height] optional block height, defaults to current tip
1535
+ * @param {*} [options] Override http request option.
1536
+ * @throws {RequiredError}
1537
+ */
1538
+ bucket: (asset: string, height?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1539
+ /**
1540
+ * Returns the bucket information for all assets.
1541
+ * @param {number} [height] optional block height, defaults to current tip
1542
+ * @param {*} [options] Override http request option.
1543
+ * @throws {RequiredError}
1544
+ */
1545
+ buckets: (height?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1546
+ };
1547
+ /**
1548
+ * BucketsApi - functional programming interface
1549
+ * @export
1550
+ */
1551
+ export declare const BucketsApiFp: (configuration?: Configuration | undefined) => {
1552
+ /**
1553
+ * Returns the bucket information for the provided asset.
1554
+ * @param {string} asset
1555
+ * @param {number} [height] optional block height, defaults to current tip
1556
+ * @param {*} [options] Override http request option.
1557
+ * @throws {RequiredError}
1558
+ */
1559
+ bucket(asset: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Bucket>>;
1560
+ /**
1561
+ * Returns the bucket information for all assets.
1562
+ * @param {number} [height] optional block height, defaults to current tip
1563
+ * @param {*} [options] Override http request option.
1564
+ * @throws {RequiredError}
1565
+ */
1566
+ buckets(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<BucketsResponse>>;
1567
+ };
1568
+ /**
1569
+ * BucketsApi - factory interface
1570
+ * @export
1571
+ */
1572
+ export declare const BucketsApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
1573
+ /**
1574
+ * Returns the bucket information for the provided asset.
1575
+ * @param {string} asset
1576
+ * @param {number} [height] optional block height, defaults to current tip
1577
+ * @param {*} [options] Override http request option.
1578
+ * @throws {RequiredError}
1579
+ */
1580
+ bucket(asset: string, height?: number | undefined, options?: any): AxiosPromise<Bucket>;
1581
+ /**
1582
+ * Returns the bucket information for all assets.
1583
+ * @param {number} [height] optional block height, defaults to current tip
1584
+ * @param {*} [options] Override http request option.
1585
+ * @throws {RequiredError}
1586
+ */
1587
+ buckets(height?: number | undefined, options?: any): AxiosPromise<BucketsResponse>;
1588
+ };
1589
+ /**
1590
+ * BucketsApi - object-oriented interface
1591
+ * @export
1592
+ * @class BucketsApi
1593
+ * @extends {BaseAPI}
1594
+ */
1595
+ export declare class BucketsApi extends BaseAPI {
1596
+ /**
1597
+ * Returns the bucket information for the provided asset.
1598
+ * @param {string} asset
1599
+ * @param {number} [height] optional block height, defaults to current tip
1600
+ * @param {*} [options] Override http request option.
1601
+ * @throws {RequiredError}
1602
+ * @memberof BucketsApi
1603
+ */
1604
+ bucket(asset: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Bucket, any>>;
1605
+ /**
1606
+ * Returns the bucket information for all assets.
1607
+ * @param {number} [height] optional block height, defaults to current tip
1608
+ * @param {*} [options] Override http request option.
1609
+ * @throws {RequiredError}
1610
+ * @memberof BucketsApi
1611
+ */
1612
+ buckets(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BucketsResponse, any>>;
1613
+ }
1280
1614
  /**
1281
1615
  * HealthApi - axios parameter creator
1282
1616
  * @export
@@ -1364,7 +1698,7 @@ export declare const LiquidityProvidersApiFp: (configuration?: Configuration | u
1364
1698
  * @param {*} [options] Override http request option.
1365
1699
  * @throws {RequiredError}
1366
1700
  */
1367
- liquidityProvider(asset: string, address: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<LiquidityProvider>>>;
1701
+ liquidityProvider(asset: string, address: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<LiquidityProviderResponse>>;
1368
1702
  /**
1369
1703
  * Returns all liquidity provider information for an asset.
1370
1704
  * @param {string} asset
@@ -1372,7 +1706,7 @@ export declare const LiquidityProvidersApiFp: (configuration?: Configuration | u
1372
1706
  * @param {*} [options] Override http request option.
1373
1707
  * @throws {RequiredError}
1374
1708
  */
1375
- liquidityProviders(asset: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<LiquidityProvider>>>;
1709
+ liquidityProviders(asset: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<LiquidityProviderResponse>>;
1376
1710
  };
1377
1711
  /**
1378
1712
  * LiquidityProvidersApi - factory interface
@@ -1387,7 +1721,7 @@ export declare const LiquidityProvidersApiFactory: (configuration?: Configuratio
1387
1721
  * @param {*} [options] Override http request option.
1388
1722
  * @throws {RequiredError}
1389
1723
  */
1390
- liquidityProvider(asset: string, address: string, height?: number | undefined, options?: any): AxiosPromise<Array<LiquidityProvider>>;
1724
+ liquidityProvider(asset: string, address: string, height?: number | undefined, options?: any): AxiosPromise<LiquidityProviderResponse>;
1391
1725
  /**
1392
1726
  * Returns all liquidity provider information for an asset.
1393
1727
  * @param {string} asset
@@ -1395,7 +1729,7 @@ export declare const LiquidityProvidersApiFactory: (configuration?: Configuratio
1395
1729
  * @param {*} [options] Override http request option.
1396
1730
  * @throws {RequiredError}
1397
1731
  */
1398
- liquidityProviders(asset: string, height?: number | undefined, options?: any): AxiosPromise<Array<LiquidityProvider>>;
1732
+ liquidityProviders(asset: string, height?: number | undefined, options?: any): AxiosPromise<LiquidityProviderResponse>;
1399
1733
  };
1400
1734
  /**
1401
1735
  * LiquidityProvidersApi - object-oriented interface
@@ -1413,7 +1747,7 @@ export declare class LiquidityProvidersApi extends BaseAPI {
1413
1747
  * @throws {RequiredError}
1414
1748
  * @memberof LiquidityProvidersApi
1415
1749
  */
1416
- liquidityProvider(asset: string, address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LiquidityProvider[], any>>;
1750
+ liquidityProvider(asset: string, address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LiquidityProviderResponse, any>>;
1417
1751
  /**
1418
1752
  * Returns all liquidity provider information for an asset.
1419
1753
  * @param {string} asset
@@ -1422,7 +1756,7 @@ export declare class LiquidityProvidersApi extends BaseAPI {
1422
1756
  * @throws {RequiredError}
1423
1757
  * @memberof LiquidityProvidersApi
1424
1758
  */
1425
- liquidityProviders(asset: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LiquidityProvider[], any>>;
1759
+ liquidityProviders(asset: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LiquidityProviderResponse, any>>;
1426
1760
  }
1427
1761
  /**
1428
1762
  * MimirApi - axios parameter creator
@@ -1478,18 +1812,14 @@ export declare const MimirApiFp: (configuration?: Configuration | undefined) =>
1478
1812
  * @param {*} [options] Override http request option.
1479
1813
  * @throws {RequiredError}
1480
1814
  */
1481
- mimir(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<{
1482
- [key: string]: string;
1483
- }>>;
1815
+ mimir(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<MimirResponse>>;
1484
1816
  /**
1485
1817
  * Returns current admin mimir configuration.
1486
1818
  * @param {number} [height] optional block height, defaults to current tip
1487
1819
  * @param {*} [options] Override http request option.
1488
1820
  * @throws {RequiredError}
1489
1821
  */
1490
- mimirAdmin(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<{
1491
- [key: string]: string;
1492
- }>>;
1822
+ mimirAdmin(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<MimirResponse>>;
1493
1823
  /**
1494
1824
  * Returns current active mimir configuration for the provided key.
1495
1825
  * @param {string} key the mimir key to lookup
@@ -1505,9 +1835,7 @@ export declare const MimirApiFp: (configuration?: Configuration | undefined) =>
1505
1835
  * @param {*} [options] Override http request option.
1506
1836
  * @throws {RequiredError}
1507
1837
  */
1508
- mimirNode(address: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<{
1509
- [key: string]: string;
1510
- }>>;
1838
+ mimirNode(address: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<MimirResponse>>;
1511
1839
  /**
1512
1840
  * Returns current node mimir votes.
1513
1841
  * @param {number} [height] optional block height, defaults to current tip
@@ -1527,18 +1855,14 @@ export declare const MimirApiFactory: (configuration?: Configuration | undefined
1527
1855
  * @param {*} [options] Override http request option.
1528
1856
  * @throws {RequiredError}
1529
1857
  */
1530
- mimir(height?: number | undefined, options?: any): AxiosPromise<{
1531
- [key: string]: string;
1532
- }>;
1858
+ mimir(height?: number | undefined, options?: any): AxiosPromise<MimirResponse>;
1533
1859
  /**
1534
1860
  * Returns current admin mimir configuration.
1535
1861
  * @param {number} [height] optional block height, defaults to current tip
1536
1862
  * @param {*} [options] Override http request option.
1537
1863
  * @throws {RequiredError}
1538
1864
  */
1539
- mimirAdmin(height?: number | undefined, options?: any): AxiosPromise<{
1540
- [key: string]: string;
1541
- }>;
1865
+ mimirAdmin(height?: number | undefined, options?: any): AxiosPromise<MimirResponse>;
1542
1866
  /**
1543
1867
  * Returns current active mimir configuration for the provided key.
1544
1868
  * @param {string} key the mimir key to lookup
@@ -1554,9 +1878,7 @@ export declare const MimirApiFactory: (configuration?: Configuration | undefined
1554
1878
  * @param {*} [options] Override http request option.
1555
1879
  * @throws {RequiredError}
1556
1880
  */
1557
- mimirNode(address: string, height?: number | undefined, options?: any): AxiosPromise<{
1558
- [key: string]: string;
1559
- }>;
1881
+ mimirNode(address: string, height?: number | undefined, options?: any): AxiosPromise<MimirResponse>;
1560
1882
  /**
1561
1883
  * Returns current node mimir votes.
1562
1884
  * @param {number} [height] optional block height, defaults to current tip
@@ -1579,9 +1901,7 @@ export declare class MimirApi extends BaseAPI {
1579
1901
  * @throws {RequiredError}
1580
1902
  * @memberof MimirApi
1581
1903
  */
1582
- mimir(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{
1583
- [key: string]: string;
1584
- }, any>>;
1904
+ mimir(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MimirResponse, any>>;
1585
1905
  /**
1586
1906
  * Returns current admin mimir configuration.
1587
1907
  * @param {number} [height] optional block height, defaults to current tip
@@ -1589,9 +1909,7 @@ export declare class MimirApi extends BaseAPI {
1589
1909
  * @throws {RequiredError}
1590
1910
  * @memberof MimirApi
1591
1911
  */
1592
- mimirAdmin(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{
1593
- [key: string]: string;
1594
- }, any>>;
1912
+ mimirAdmin(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MimirResponse, any>>;
1595
1913
  /**
1596
1914
  * Returns current active mimir configuration for the provided key.
1597
1915
  * @param {string} key the mimir key to lookup
@@ -1609,9 +1927,7 @@ export declare class MimirApi extends BaseAPI {
1609
1927
  * @throws {RequiredError}
1610
1928
  * @memberof MimirApi
1611
1929
  */
1612
- mimirNode(address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{
1613
- [key: string]: string;
1614
- }, any>>;
1930
+ mimirNode(address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MimirResponse, any>>;
1615
1931
  /**
1616
1932
  * Returns current node mimir votes.
1617
1933
  * @param {number} [height] optional block height, defaults to current tip
@@ -1711,14 +2027,14 @@ export declare const NetworkApiFp: (configuration?: Configuration | undefined) =
1711
2027
  * @param {*} [options] Override http request option.
1712
2028
  * @throws {RequiredError}
1713
2029
  */
1714
- inboundAddresses(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<object>>>;
2030
+ inboundAddresses(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<InboundAddressesResponse>>;
1715
2031
  /**
1716
2032
  * Returns the last block information for all chains.
1717
2033
  * @param {number} [height] optional block height, defaults to current tip
1718
2034
  * @param {*} [options] Override http request option.
1719
2035
  * @throws {RequiredError}
1720
2036
  */
1721
- lastblock(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<LastBlock>>>;
2037
+ lastblock(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<LastBlockResponse>>;
1722
2038
  /**
1723
2039
  * Returns the last block information for the provided chain.
1724
2040
  * @param {string} chain
@@ -1726,7 +2042,7 @@ export declare const NetworkApiFp: (configuration?: Configuration | undefined) =
1726
2042
  * @param {*} [options] Override http request option.
1727
2043
  * @throws {RequiredError}
1728
2044
  */
1729
- lastblockChain(chain: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<LastBlock>>>;
2045
+ lastblockChain(chain: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<LastBlockResponse>>;
1730
2046
  /**
1731
2047
  * Returns network overview statistics.
1732
2048
  * @param {number} [height] optional block height, defaults to current tip
@@ -1775,14 +2091,14 @@ export declare const NetworkApiFactory: (configuration?: Configuration | undefin
1775
2091
  * @param {*} [options] Override http request option.
1776
2092
  * @throws {RequiredError}
1777
2093
  */
1778
- inboundAddresses(height?: number | undefined, options?: any): AxiosPromise<Array<object>>;
2094
+ inboundAddresses(height?: number | undefined, options?: any): AxiosPromise<InboundAddressesResponse>;
1779
2095
  /**
1780
2096
  * Returns the last block information for all chains.
1781
2097
  * @param {number} [height] optional block height, defaults to current tip
1782
2098
  * @param {*} [options] Override http request option.
1783
2099
  * @throws {RequiredError}
1784
2100
  */
1785
- lastblock(height?: number | undefined, options?: any): AxiosPromise<Array<LastBlock>>;
2101
+ lastblock(height?: number | undefined, options?: any): AxiosPromise<LastBlockResponse>;
1786
2102
  /**
1787
2103
  * Returns the last block information for the provided chain.
1788
2104
  * @param {string} chain
@@ -1790,7 +2106,7 @@ export declare const NetworkApiFactory: (configuration?: Configuration | undefin
1790
2106
  * @param {*} [options] Override http request option.
1791
2107
  * @throws {RequiredError}
1792
2108
  */
1793
- lastblockChain(chain: string, height?: number | undefined, options?: any): AxiosPromise<Array<LastBlock>>;
2109
+ lastblockChain(chain: string, height?: number | undefined, options?: any): AxiosPromise<LastBlockResponse>;
1794
2110
  /**
1795
2111
  * Returns network overview statistics.
1796
2112
  * @param {number} [height] optional block height, defaults to current tip
@@ -1844,7 +2160,7 @@ export declare class NetworkApi extends BaseAPI {
1844
2160
  * @throws {RequiredError}
1845
2161
  * @memberof NetworkApi
1846
2162
  */
1847
- inboundAddresses(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object[], any>>;
2163
+ inboundAddresses(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InboundAddressesResponse, any>>;
1848
2164
  /**
1849
2165
  * Returns the last block information for all chains.
1850
2166
  * @param {number} [height] optional block height, defaults to current tip
@@ -1852,7 +2168,7 @@ export declare class NetworkApi extends BaseAPI {
1852
2168
  * @throws {RequiredError}
1853
2169
  * @memberof NetworkApi
1854
2170
  */
1855
- lastblock(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LastBlock[], any>>;
2171
+ lastblock(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LastBlockResponse, any>>;
1856
2172
  /**
1857
2173
  * Returns the last block information for the provided chain.
1858
2174
  * @param {string} chain
@@ -1861,7 +2177,7 @@ export declare class NetworkApi extends BaseAPI {
1861
2177
  * @throws {RequiredError}
1862
2178
  * @memberof NetworkApi
1863
2179
  */
1864
- lastblockChain(chain: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LastBlock[], any>>;
2180
+ lastblockChain(chain: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LastBlockResponse, any>>;
1865
2181
  /**
1866
2182
  * Returns network overview statistics.
1867
2183
  * @param {number} [height] optional block height, defaults to current tip
@@ -1927,7 +2243,7 @@ export declare const NodesApiFp: (configuration?: Configuration | undefined) =>
1927
2243
  * @param {*} [options] Override http request option.
1928
2244
  * @throws {RequiredError}
1929
2245
  */
1930
- nodes(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<Node>>>;
2246
+ nodes(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<NodesResponse>>;
1931
2247
  };
1932
2248
  /**
1933
2249
  * NodesApi - factory interface
@@ -1948,7 +2264,7 @@ export declare const NodesApiFactory: (configuration?: Configuration | undefined
1948
2264
  * @param {*} [options] Override http request option.
1949
2265
  * @throws {RequiredError}
1950
2266
  */
1951
- nodes(height?: number | undefined, options?: any): AxiosPromise<Array<Node>>;
2267
+ nodes(height?: number | undefined, options?: any): AxiosPromise<NodesResponse>;
1952
2268
  };
1953
2269
  /**
1954
2270
  * NodesApi - object-oriented interface
@@ -1973,7 +2289,7 @@ export declare class NodesApi extends BaseAPI {
1973
2289
  * @throws {RequiredError}
1974
2290
  * @memberof NodesApi
1975
2291
  */
1976
- nodes(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Node[], any>>;
2292
+ nodes(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<NodesResponse, any>>;
1977
2293
  }
1978
2294
  /**
1979
2295
  * POLApi - axios parameter creator
@@ -2070,7 +2386,7 @@ export declare const PoolsApiFp: (configuration?: Configuration | undefined) =>
2070
2386
  * @param {*} [options] Override http request option.
2071
2387
  * @throws {RequiredError}
2072
2388
  */
2073
- pools(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<Pool>>>;
2389
+ pools(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<PoolsResponse>>;
2074
2390
  };
2075
2391
  /**
2076
2392
  * PoolsApi - factory interface
@@ -2091,7 +2407,7 @@ export declare const PoolsApiFactory: (configuration?: Configuration | undefined
2091
2407
  * @param {*} [options] Override http request option.
2092
2408
  * @throws {RequiredError}
2093
2409
  */
2094
- pools(height?: number | undefined, options?: any): AxiosPromise<Array<Pool>>;
2410
+ pools(height?: number | undefined, options?: any): AxiosPromise<PoolsResponse>;
2095
2411
  };
2096
2412
  /**
2097
2413
  * PoolsApi - object-oriented interface
@@ -2116,7 +2432,7 @@ export declare class PoolsApi extends BaseAPI {
2116
2432
  * @throws {RequiredError}
2117
2433
  * @memberof PoolsApi
2118
2434
  */
2119
- pools(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Pool[], any>>;
2435
+ pools(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PoolsResponse, any>>;
2120
2436
  }
2121
2437
  /**
2122
2438
  * QueueApi - axios parameter creator
@@ -2163,14 +2479,14 @@ export declare const QueueApiFp: (configuration?: Configuration | undefined) =>
2163
2479
  * @param {*} [options] Override http request option.
2164
2480
  * @throws {RequiredError}
2165
2481
  */
2166
- queueOutbound(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<TxOutItem>>>;
2482
+ queueOutbound(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<OutboundResponse>>;
2167
2483
  /**
2168
2484
  * Returns the scheduled queue.
2169
2485
  * @param {number} [height] optional block height, defaults to current tip
2170
2486
  * @param {*} [options] Override http request option.
2171
2487
  * @throws {RequiredError}
2172
2488
  */
2173
- queueScheduled(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<TxOutItem>>>;
2489
+ queueScheduled(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ScheduledResponse>>;
2174
2490
  };
2175
2491
  /**
2176
2492
  * QueueApi - factory interface
@@ -2190,14 +2506,14 @@ export declare const QueueApiFactory: (configuration?: Configuration | undefined
2190
2506
  * @param {*} [options] Override http request option.
2191
2507
  * @throws {RequiredError}
2192
2508
  */
2193
- queueOutbound(height?: number | undefined, options?: any): AxiosPromise<Array<TxOutItem>>;
2509
+ queueOutbound(height?: number | undefined, options?: any): AxiosPromise<OutboundResponse>;
2194
2510
  /**
2195
2511
  * Returns the scheduled queue.
2196
2512
  * @param {number} [height] optional block height, defaults to current tip
2197
2513
  * @param {*} [options] Override http request option.
2198
2514
  * @throws {RequiredError}
2199
2515
  */
2200
- queueScheduled(height?: number | undefined, options?: any): AxiosPromise<Array<TxOutItem>>;
2516
+ queueScheduled(height?: number | undefined, options?: any): AxiosPromise<ScheduledResponse>;
2201
2517
  };
2202
2518
  /**
2203
2519
  * QueueApi - object-oriented interface
@@ -2221,7 +2537,7 @@ export declare class QueueApi extends BaseAPI {
2221
2537
  * @throws {RequiredError}
2222
2538
  * @memberof QueueApi
2223
2539
  */
2224
- queueOutbound(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TxOutItem[], any>>;
2540
+ queueOutbound(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OutboundResponse, any>>;
2225
2541
  /**
2226
2542
  * Returns the scheduled queue.
2227
2543
  * @param {number} [height] optional block height, defaults to current tip
@@ -2229,7 +2545,7 @@ export declare class QueueApi extends BaseAPI {
2229
2545
  * @throws {RequiredError}
2230
2546
  * @memberof QueueApi
2231
2547
  */
2232
- queueScheduled(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TxOutItem[], any>>;
2548
+ queueScheduled(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ScheduledResponse, any>>;
2233
2549
  }
2234
2550
  /**
2235
2551
  * TSSApi - axios parameter creator
@@ -2286,7 +2602,7 @@ export declare const TSSApiFp: (configuration?: Configuration | undefined) => {
2286
2602
  * @param {*} [options] Override http request option.
2287
2603
  * @throws {RequiredError}
2288
2604
  */
2289
- keysignPubkey(height: number, pubkey: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<void>>;
2605
+ keysignPubkey(height: number, pubkey: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<KeysignResponse>>;
2290
2606
  /**
2291
2607
  * Returns keygen and keysign metrics for current vaults.
2292
2608
  * @param {number} [height] optional block height, defaults to current tip
@@ -2301,7 +2617,7 @@ export declare const TSSApiFp: (configuration?: Configuration | undefined) => {
2301
2617
  * @param {*} [options] Override http request option.
2302
2618
  * @throws {RequiredError}
2303
2619
  */
2304
- metricsKeygen(pubkey: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<object>>>;
2620
+ metricsKeygen(pubkey: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<KeygenMetricsResponse>>;
2305
2621
  };
2306
2622
  /**
2307
2623
  * TSSApi - factory interface
@@ -2322,7 +2638,7 @@ export declare const TSSApiFactory: (configuration?: Configuration | undefined,
2322
2638
  * @param {*} [options] Override http request option.
2323
2639
  * @throws {RequiredError}
2324
2640
  */
2325
- keysignPubkey(height: number, pubkey: string, options?: any): AxiosPromise<void>;
2641
+ keysignPubkey(height: number, pubkey: string, options?: any): AxiosPromise<KeysignResponse>;
2326
2642
  /**
2327
2643
  * Returns keygen and keysign metrics for current vaults.
2328
2644
  * @param {number} [height] optional block height, defaults to current tip
@@ -2337,7 +2653,7 @@ export declare const TSSApiFactory: (configuration?: Configuration | undefined,
2337
2653
  * @param {*} [options] Override http request option.
2338
2654
  * @throws {RequiredError}
2339
2655
  */
2340
- metricsKeygen(pubkey: string, height?: number | undefined, options?: any): AxiosPromise<Array<object>>;
2656
+ metricsKeygen(pubkey: string, height?: number | undefined, options?: any): AxiosPromise<KeygenMetricsResponse>;
2341
2657
  };
2342
2658
  /**
2343
2659
  * TSSApi - object-oriented interface
@@ -2362,7 +2678,7 @@ export declare class TSSApi extends BaseAPI {
2362
2678
  * @throws {RequiredError}
2363
2679
  * @memberof TSSApi
2364
2680
  */
2365
- keysignPubkey(height: number, pubkey: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
2681
+ keysignPubkey(height: number, pubkey: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KeysignResponse, any>>;
2366
2682
  /**
2367
2683
  * Returns keygen and keysign metrics for current vaults.
2368
2684
  * @param {number} [height] optional block height, defaults to current tip
@@ -2379,7 +2695,7 @@ export declare class TSSApi extends BaseAPI {
2379
2695
  * @throws {RequiredError}
2380
2696
  * @memberof TSSApi
2381
2697
  */
2382
- metricsKeygen(pubkey: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object[], any>>;
2698
+ metricsKeygen(pubkey: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KeygenMetricsResponse, any>>;
2383
2699
  }
2384
2700
  /**
2385
2701
  * ThornamesApi - axios parameter creator
@@ -2407,7 +2723,7 @@ export declare const ThornamesApiFp: (configuration?: Configuration | undefined)
2407
2723
  * @param {*} [options] Override http request option.
2408
2724
  * @throws {RequiredError}
2409
2725
  */
2410
- thorname(name: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<object>>>;
2726
+ thorname(name: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ThornameResponse>>;
2411
2727
  };
2412
2728
  /**
2413
2729
  * ThornamesApi - factory interface
@@ -2421,7 +2737,7 @@ export declare const ThornamesApiFactory: (configuration?: Configuration | undef
2421
2737
  * @param {*} [options] Override http request option.
2422
2738
  * @throws {RequiredError}
2423
2739
  */
2424
- thorname(name: string, height?: number | undefined, options?: any): AxiosPromise<Array<object>>;
2740
+ thorname(name: string, height?: number | undefined, options?: any): AxiosPromise<ThornameResponse>;
2425
2741
  };
2426
2742
  /**
2427
2743
  * ThornamesApi - object-oriented interface
@@ -2438,7 +2754,7 @@ export declare class ThornamesApi extends BaseAPI {
2438
2754
  * @throws {RequiredError}
2439
2755
  * @memberof ThornamesApi
2440
2756
  */
2441
- thorname(name: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object[], any>>;
2757
+ thorname(name: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ThornameResponse, any>>;
2442
2758
  }
2443
2759
  /**
2444
2760
  * TransactionsApi - axios parameter creator
@@ -2578,7 +2894,7 @@ export declare const VaultsApiFp: (configuration?: Configuration | undefined) =>
2578
2894
  * @param {*} [options] Override http request option.
2579
2895
  * @throws {RequiredError}
2580
2896
  */
2581
- asgard(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<Vault>>>;
2897
+ asgard(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<VaultsResponse>>;
2582
2898
  /**
2583
2899
  * Returns the vault for the provided pubkey.
2584
2900
  * @param {string} pubkey
@@ -2600,7 +2916,7 @@ export declare const VaultsApiFp: (configuration?: Configuration | undefined) =>
2600
2916
  * @param {*} [options] Override http request option.
2601
2917
  * @throws {RequiredError}
2602
2918
  */
2603
- yggdrasil(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<Vault>>>;
2919
+ yggdrasil(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<VaultsResponse>>;
2604
2920
  };
2605
2921
  /**
2606
2922
  * VaultsApi - factory interface
@@ -2613,7 +2929,7 @@ export declare const VaultsApiFactory: (configuration?: Configuration | undefine
2613
2929
  * @param {*} [options] Override http request option.
2614
2930
  * @throws {RequiredError}
2615
2931
  */
2616
- asgard(height?: number | undefined, options?: any): AxiosPromise<Array<Vault>>;
2932
+ asgard(height?: number | undefined, options?: any): AxiosPromise<VaultsResponse>;
2617
2933
  /**
2618
2934
  * Returns the vault for the provided pubkey.
2619
2935
  * @param {string} pubkey
@@ -2635,7 +2951,7 @@ export declare const VaultsApiFactory: (configuration?: Configuration | undefine
2635
2951
  * @param {*} [options] Override http request option.
2636
2952
  * @throws {RequiredError}
2637
2953
  */
2638
- yggdrasil(height?: number | undefined, options?: any): AxiosPromise<Array<Vault>>;
2954
+ yggdrasil(height?: number | undefined, options?: any): AxiosPromise<VaultsResponse>;
2639
2955
  };
2640
2956
  /**
2641
2957
  * VaultsApi - object-oriented interface
@@ -2651,7 +2967,7 @@ export declare class VaultsApi extends BaseAPI {
2651
2967
  * @throws {RequiredError}
2652
2968
  * @memberof VaultsApi
2653
2969
  */
2654
- asgard(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Vault[], any>>;
2970
+ asgard(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VaultsResponse, any>>;
2655
2971
  /**
2656
2972
  * Returns the vault for the provided pubkey.
2657
2973
  * @param {string} pubkey
@@ -2676,5 +2992,5 @@ export declare class VaultsApi extends BaseAPI {
2676
2992
  * @throws {RequiredError}
2677
2993
  * @memberof VaultsApi
2678
2994
  */
2679
- yggdrasil(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Vault[], any>>;
2995
+ yggdrasil(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VaultsResponse, any>>;
2680
2996
  }