@xchainjs/xchain-thornode 0.1.0-alpha3 → 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.
- package/README.md +2 -2
- package/lib/generated/thornodeApi/api.d.ts +477 -69
- package/lib/generated/thornodeApi/base.d.ts +1 -1
- package/lib/generated/thornodeApi/common.d.ts +1 -1
- package/lib/generated/thornodeApi/configuration.d.ts +1 -1
- package/lib/generated/thornodeApi/index.d.ts +1 -1
- package/lib/index.esm.js +273 -15
- package/lib/index.js +280 -14
- package/package.json +3 -6
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Thornode API
|
|
3
3
|
* Thornode REST API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
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 {
|
|
430
|
+
* @type {KeygenMetricsResponse}
|
|
285
431
|
* @memberof MetricsResponse
|
|
286
432
|
*/
|
|
287
|
-
'keygen'?:
|
|
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,50 @@ 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
|
+
}
|
|
882
|
+
/**
|
|
883
|
+
*
|
|
884
|
+
* @export
|
|
885
|
+
* @interface POLResponse
|
|
886
|
+
*/
|
|
887
|
+
export interface POLResponse {
|
|
888
|
+
/**
|
|
889
|
+
* total amount of RUNE deposited into the pools
|
|
890
|
+
* @type {string}
|
|
891
|
+
* @memberof POLResponse
|
|
892
|
+
*/
|
|
893
|
+
'rune_deposited': string;
|
|
894
|
+
/**
|
|
895
|
+
* total amount of RUNE withdrawn from the pools
|
|
896
|
+
* @type {string}
|
|
897
|
+
* @memberof POLResponse
|
|
898
|
+
*/
|
|
899
|
+
'rune_withdrawn': string;
|
|
900
|
+
/**
|
|
901
|
+
* total value of protocol\'s LP position in RUNE value
|
|
902
|
+
* @type {string}
|
|
903
|
+
* @memberof POLResponse
|
|
904
|
+
*/
|
|
905
|
+
'value': string;
|
|
906
|
+
/**
|
|
907
|
+
* profit and loss of protocol owned liquidity
|
|
908
|
+
* @type {string}
|
|
909
|
+
* @memberof POLResponse
|
|
910
|
+
*/
|
|
911
|
+
'pnl': string;
|
|
912
|
+
/**
|
|
913
|
+
* current amount of rune deposited
|
|
914
|
+
* @type {string}
|
|
915
|
+
* @memberof POLResponse
|
|
916
|
+
*/
|
|
917
|
+
'current_deposit': string;
|
|
918
|
+
}
|
|
695
919
|
/**
|
|
696
920
|
*
|
|
697
921
|
* @export
|
|
@@ -778,6 +1002,13 @@ export interface Pool {
|
|
|
778
1002
|
*/
|
|
779
1003
|
'pending_inbound_asset': string;
|
|
780
1004
|
}
|
|
1005
|
+
/**
|
|
1006
|
+
*
|
|
1007
|
+
* @export
|
|
1008
|
+
* @interface PoolsResponse
|
|
1009
|
+
*/
|
|
1010
|
+
export interface PoolsResponse extends Array<Pool> {
|
|
1011
|
+
}
|
|
781
1012
|
/**
|
|
782
1013
|
*
|
|
783
1014
|
* @export
|
|
@@ -809,6 +1040,51 @@ export interface QueueResponse {
|
|
|
809
1040
|
*/
|
|
810
1041
|
'scheduled_outbound_value': string;
|
|
811
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
|
+
}
|
|
812
1088
|
/**
|
|
813
1089
|
*
|
|
814
1090
|
* @export
|
|
@@ -1215,6 +1491,13 @@ export interface VaultRouter {
|
|
|
1215
1491
|
*/
|
|
1216
1492
|
'router'?: string;
|
|
1217
1493
|
}
|
|
1494
|
+
/**
|
|
1495
|
+
*
|
|
1496
|
+
* @export
|
|
1497
|
+
* @interface VaultsResponse
|
|
1498
|
+
*/
|
|
1499
|
+
export interface VaultsResponse extends Array<Vault> {
|
|
1500
|
+
}
|
|
1218
1501
|
/**
|
|
1219
1502
|
*
|
|
1220
1503
|
* @export
|
|
@@ -1240,6 +1523,94 @@ export interface VersionResponse {
|
|
|
1240
1523
|
*/
|
|
1241
1524
|
'querier': string;
|
|
1242
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
|
+
}
|
|
1243
1614
|
/**
|
|
1244
1615
|
* HealthApi - axios parameter creator
|
|
1245
1616
|
* @export
|
|
@@ -1327,7 +1698,7 @@ export declare const LiquidityProvidersApiFp: (configuration?: Configuration | u
|
|
|
1327
1698
|
* @param {*} [options] Override http request option.
|
|
1328
1699
|
* @throws {RequiredError}
|
|
1329
1700
|
*/
|
|
1330
|
-
liquidityProvider(asset: string, address: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
1701
|
+
liquidityProvider(asset: string, address: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<LiquidityProviderResponse>>;
|
|
1331
1702
|
/**
|
|
1332
1703
|
* Returns all liquidity provider information for an asset.
|
|
1333
1704
|
* @param {string} asset
|
|
@@ -1335,7 +1706,7 @@ export declare const LiquidityProvidersApiFp: (configuration?: Configuration | u
|
|
|
1335
1706
|
* @param {*} [options] Override http request option.
|
|
1336
1707
|
* @throws {RequiredError}
|
|
1337
1708
|
*/
|
|
1338
|
-
liquidityProviders(asset: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
1709
|
+
liquidityProviders(asset: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<LiquidityProviderResponse>>;
|
|
1339
1710
|
};
|
|
1340
1711
|
/**
|
|
1341
1712
|
* LiquidityProvidersApi - factory interface
|
|
@@ -1350,7 +1721,7 @@ export declare const LiquidityProvidersApiFactory: (configuration?: Configuratio
|
|
|
1350
1721
|
* @param {*} [options] Override http request option.
|
|
1351
1722
|
* @throws {RequiredError}
|
|
1352
1723
|
*/
|
|
1353
|
-
liquidityProvider(asset: string, address: string, height?: number | undefined, options?: any): AxiosPromise<
|
|
1724
|
+
liquidityProvider(asset: string, address: string, height?: number | undefined, options?: any): AxiosPromise<LiquidityProviderResponse>;
|
|
1354
1725
|
/**
|
|
1355
1726
|
* Returns all liquidity provider information for an asset.
|
|
1356
1727
|
* @param {string} asset
|
|
@@ -1358,7 +1729,7 @@ export declare const LiquidityProvidersApiFactory: (configuration?: Configuratio
|
|
|
1358
1729
|
* @param {*} [options] Override http request option.
|
|
1359
1730
|
* @throws {RequiredError}
|
|
1360
1731
|
*/
|
|
1361
|
-
liquidityProviders(asset: string, height?: number | undefined, options?: any): AxiosPromise<
|
|
1732
|
+
liquidityProviders(asset: string, height?: number | undefined, options?: any): AxiosPromise<LiquidityProviderResponse>;
|
|
1362
1733
|
};
|
|
1363
1734
|
/**
|
|
1364
1735
|
* LiquidityProvidersApi - object-oriented interface
|
|
@@ -1376,7 +1747,7 @@ export declare class LiquidityProvidersApi extends BaseAPI {
|
|
|
1376
1747
|
* @throws {RequiredError}
|
|
1377
1748
|
* @memberof LiquidityProvidersApi
|
|
1378
1749
|
*/
|
|
1379
|
-
liquidityProvider(asset: string, address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
1750
|
+
liquidityProvider(asset: string, address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LiquidityProviderResponse, any>>;
|
|
1380
1751
|
/**
|
|
1381
1752
|
* Returns all liquidity provider information for an asset.
|
|
1382
1753
|
* @param {string} asset
|
|
@@ -1385,7 +1756,7 @@ export declare class LiquidityProvidersApi extends BaseAPI {
|
|
|
1385
1756
|
* @throws {RequiredError}
|
|
1386
1757
|
* @memberof LiquidityProvidersApi
|
|
1387
1758
|
*/
|
|
1388
|
-
liquidityProviders(asset: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
1759
|
+
liquidityProviders(asset: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LiquidityProviderResponse, any>>;
|
|
1389
1760
|
}
|
|
1390
1761
|
/**
|
|
1391
1762
|
* MimirApi - axios parameter creator
|
|
@@ -1441,18 +1812,14 @@ export declare const MimirApiFp: (configuration?: Configuration | undefined) =>
|
|
|
1441
1812
|
* @param {*} [options] Override http request option.
|
|
1442
1813
|
* @throws {RequiredError}
|
|
1443
1814
|
*/
|
|
1444
|
-
mimir(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
1445
|
-
[key: string]: string;
|
|
1446
|
-
}>>;
|
|
1815
|
+
mimir(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<MimirResponse>>;
|
|
1447
1816
|
/**
|
|
1448
1817
|
* Returns current admin mimir configuration.
|
|
1449
1818
|
* @param {number} [height] optional block height, defaults to current tip
|
|
1450
1819
|
* @param {*} [options] Override http request option.
|
|
1451
1820
|
* @throws {RequiredError}
|
|
1452
1821
|
*/
|
|
1453
|
-
mimirAdmin(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
1454
|
-
[key: string]: string;
|
|
1455
|
-
}>>;
|
|
1822
|
+
mimirAdmin(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<MimirResponse>>;
|
|
1456
1823
|
/**
|
|
1457
1824
|
* Returns current active mimir configuration for the provided key.
|
|
1458
1825
|
* @param {string} key the mimir key to lookup
|
|
@@ -1468,9 +1835,7 @@ export declare const MimirApiFp: (configuration?: Configuration | undefined) =>
|
|
|
1468
1835
|
* @param {*} [options] Override http request option.
|
|
1469
1836
|
* @throws {RequiredError}
|
|
1470
1837
|
*/
|
|
1471
|
-
mimirNode(address: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
1472
|
-
[key: string]: string;
|
|
1473
|
-
}>>;
|
|
1838
|
+
mimirNode(address: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<MimirResponse>>;
|
|
1474
1839
|
/**
|
|
1475
1840
|
* Returns current node mimir votes.
|
|
1476
1841
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -1490,18 +1855,14 @@ export declare const MimirApiFactory: (configuration?: Configuration | undefined
|
|
|
1490
1855
|
* @param {*} [options] Override http request option.
|
|
1491
1856
|
* @throws {RequiredError}
|
|
1492
1857
|
*/
|
|
1493
|
-
mimir(height?: number | undefined, options?: any): AxiosPromise<
|
|
1494
|
-
[key: string]: string;
|
|
1495
|
-
}>;
|
|
1858
|
+
mimir(height?: number | undefined, options?: any): AxiosPromise<MimirResponse>;
|
|
1496
1859
|
/**
|
|
1497
1860
|
* Returns current admin mimir configuration.
|
|
1498
1861
|
* @param {number} [height] optional block height, defaults to current tip
|
|
1499
1862
|
* @param {*} [options] Override http request option.
|
|
1500
1863
|
* @throws {RequiredError}
|
|
1501
1864
|
*/
|
|
1502
|
-
mimirAdmin(height?: number | undefined, options?: any): AxiosPromise<
|
|
1503
|
-
[key: string]: string;
|
|
1504
|
-
}>;
|
|
1865
|
+
mimirAdmin(height?: number | undefined, options?: any): AxiosPromise<MimirResponse>;
|
|
1505
1866
|
/**
|
|
1506
1867
|
* Returns current active mimir configuration for the provided key.
|
|
1507
1868
|
* @param {string} key the mimir key to lookup
|
|
@@ -1517,9 +1878,7 @@ export declare const MimirApiFactory: (configuration?: Configuration | undefined
|
|
|
1517
1878
|
* @param {*} [options] Override http request option.
|
|
1518
1879
|
* @throws {RequiredError}
|
|
1519
1880
|
*/
|
|
1520
|
-
mimirNode(address: string, height?: number | undefined, options?: any): AxiosPromise<
|
|
1521
|
-
[key: string]: string;
|
|
1522
|
-
}>;
|
|
1881
|
+
mimirNode(address: string, height?: number | undefined, options?: any): AxiosPromise<MimirResponse>;
|
|
1523
1882
|
/**
|
|
1524
1883
|
* Returns current node mimir votes.
|
|
1525
1884
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -1542,9 +1901,7 @@ export declare class MimirApi extends BaseAPI {
|
|
|
1542
1901
|
* @throws {RequiredError}
|
|
1543
1902
|
* @memberof MimirApi
|
|
1544
1903
|
*/
|
|
1545
|
-
mimir(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
1546
|
-
[key: string]: string;
|
|
1547
|
-
}, any>>;
|
|
1904
|
+
mimir(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MimirResponse, any>>;
|
|
1548
1905
|
/**
|
|
1549
1906
|
* Returns current admin mimir configuration.
|
|
1550
1907
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -1552,9 +1909,7 @@ export declare class MimirApi extends BaseAPI {
|
|
|
1552
1909
|
* @throws {RequiredError}
|
|
1553
1910
|
* @memberof MimirApi
|
|
1554
1911
|
*/
|
|
1555
|
-
mimirAdmin(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
1556
|
-
[key: string]: string;
|
|
1557
|
-
}, any>>;
|
|
1912
|
+
mimirAdmin(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MimirResponse, any>>;
|
|
1558
1913
|
/**
|
|
1559
1914
|
* Returns current active mimir configuration for the provided key.
|
|
1560
1915
|
* @param {string} key the mimir key to lookup
|
|
@@ -1572,9 +1927,7 @@ export declare class MimirApi extends BaseAPI {
|
|
|
1572
1927
|
* @throws {RequiredError}
|
|
1573
1928
|
* @memberof MimirApi
|
|
1574
1929
|
*/
|
|
1575
|
-
mimirNode(address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
1576
|
-
[key: string]: string;
|
|
1577
|
-
}, any>>;
|
|
1930
|
+
mimirNode(address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MimirResponse, any>>;
|
|
1578
1931
|
/**
|
|
1579
1932
|
* Returns current node mimir votes.
|
|
1580
1933
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -1674,14 +2027,14 @@ export declare const NetworkApiFp: (configuration?: Configuration | undefined) =
|
|
|
1674
2027
|
* @param {*} [options] Override http request option.
|
|
1675
2028
|
* @throws {RequiredError}
|
|
1676
2029
|
*/
|
|
1677
|
-
inboundAddresses(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
2030
|
+
inboundAddresses(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<InboundAddressesResponse>>;
|
|
1678
2031
|
/**
|
|
1679
2032
|
* Returns the last block information for all chains.
|
|
1680
2033
|
* @param {number} [height] optional block height, defaults to current tip
|
|
1681
2034
|
* @param {*} [options] Override http request option.
|
|
1682
2035
|
* @throws {RequiredError}
|
|
1683
2036
|
*/
|
|
1684
|
-
lastblock(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
2037
|
+
lastblock(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<LastBlockResponse>>;
|
|
1685
2038
|
/**
|
|
1686
2039
|
* Returns the last block information for the provided chain.
|
|
1687
2040
|
* @param {string} chain
|
|
@@ -1689,7 +2042,7 @@ export declare const NetworkApiFp: (configuration?: Configuration | undefined) =
|
|
|
1689
2042
|
* @param {*} [options] Override http request option.
|
|
1690
2043
|
* @throws {RequiredError}
|
|
1691
2044
|
*/
|
|
1692
|
-
lastblockChain(chain: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
2045
|
+
lastblockChain(chain: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<LastBlockResponse>>;
|
|
1693
2046
|
/**
|
|
1694
2047
|
* Returns network overview statistics.
|
|
1695
2048
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -1738,14 +2091,14 @@ export declare const NetworkApiFactory: (configuration?: Configuration | undefin
|
|
|
1738
2091
|
* @param {*} [options] Override http request option.
|
|
1739
2092
|
* @throws {RequiredError}
|
|
1740
2093
|
*/
|
|
1741
|
-
inboundAddresses(height?: number | undefined, options?: any): AxiosPromise<
|
|
2094
|
+
inboundAddresses(height?: number | undefined, options?: any): AxiosPromise<InboundAddressesResponse>;
|
|
1742
2095
|
/**
|
|
1743
2096
|
* Returns the last block information for all chains.
|
|
1744
2097
|
* @param {number} [height] optional block height, defaults to current tip
|
|
1745
2098
|
* @param {*} [options] Override http request option.
|
|
1746
2099
|
* @throws {RequiredError}
|
|
1747
2100
|
*/
|
|
1748
|
-
lastblock(height?: number | undefined, options?: any): AxiosPromise<
|
|
2101
|
+
lastblock(height?: number | undefined, options?: any): AxiosPromise<LastBlockResponse>;
|
|
1749
2102
|
/**
|
|
1750
2103
|
* Returns the last block information for the provided chain.
|
|
1751
2104
|
* @param {string} chain
|
|
@@ -1753,7 +2106,7 @@ export declare const NetworkApiFactory: (configuration?: Configuration | undefin
|
|
|
1753
2106
|
* @param {*} [options] Override http request option.
|
|
1754
2107
|
* @throws {RequiredError}
|
|
1755
2108
|
*/
|
|
1756
|
-
lastblockChain(chain: string, height?: number | undefined, options?: any): AxiosPromise<
|
|
2109
|
+
lastblockChain(chain: string, height?: number | undefined, options?: any): AxiosPromise<LastBlockResponse>;
|
|
1757
2110
|
/**
|
|
1758
2111
|
* Returns network overview statistics.
|
|
1759
2112
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -1807,7 +2160,7 @@ export declare class NetworkApi extends BaseAPI {
|
|
|
1807
2160
|
* @throws {RequiredError}
|
|
1808
2161
|
* @memberof NetworkApi
|
|
1809
2162
|
*/
|
|
1810
|
-
inboundAddresses(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2163
|
+
inboundAddresses(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InboundAddressesResponse, any>>;
|
|
1811
2164
|
/**
|
|
1812
2165
|
* Returns the last block information for all chains.
|
|
1813
2166
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -1815,7 +2168,7 @@ export declare class NetworkApi extends BaseAPI {
|
|
|
1815
2168
|
* @throws {RequiredError}
|
|
1816
2169
|
* @memberof NetworkApi
|
|
1817
2170
|
*/
|
|
1818
|
-
lastblock(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2171
|
+
lastblock(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LastBlockResponse, any>>;
|
|
1819
2172
|
/**
|
|
1820
2173
|
* Returns the last block information for the provided chain.
|
|
1821
2174
|
* @param {string} chain
|
|
@@ -1824,7 +2177,7 @@ export declare class NetworkApi extends BaseAPI {
|
|
|
1824
2177
|
* @throws {RequiredError}
|
|
1825
2178
|
* @memberof NetworkApi
|
|
1826
2179
|
*/
|
|
1827
|
-
lastblockChain(chain: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2180
|
+
lastblockChain(chain: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LastBlockResponse, any>>;
|
|
1828
2181
|
/**
|
|
1829
2182
|
* Returns network overview statistics.
|
|
1830
2183
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -1890,7 +2243,7 @@ export declare const NodesApiFp: (configuration?: Configuration | undefined) =>
|
|
|
1890
2243
|
* @param {*} [options] Override http request option.
|
|
1891
2244
|
* @throws {RequiredError}
|
|
1892
2245
|
*/
|
|
1893
|
-
nodes(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
2246
|
+
nodes(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<NodesResponse>>;
|
|
1894
2247
|
};
|
|
1895
2248
|
/**
|
|
1896
2249
|
* NodesApi - factory interface
|
|
@@ -1911,7 +2264,7 @@ export declare const NodesApiFactory: (configuration?: Configuration | undefined
|
|
|
1911
2264
|
* @param {*} [options] Override http request option.
|
|
1912
2265
|
* @throws {RequiredError}
|
|
1913
2266
|
*/
|
|
1914
|
-
nodes(height?: number | undefined, options?: any): AxiosPromise<
|
|
2267
|
+
nodes(height?: number | undefined, options?: any): AxiosPromise<NodesResponse>;
|
|
1915
2268
|
};
|
|
1916
2269
|
/**
|
|
1917
2270
|
* NodesApi - object-oriented interface
|
|
@@ -1936,7 +2289,62 @@ export declare class NodesApi extends BaseAPI {
|
|
|
1936
2289
|
* @throws {RequiredError}
|
|
1937
2290
|
* @memberof NodesApi
|
|
1938
2291
|
*/
|
|
1939
|
-
nodes(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2292
|
+
nodes(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<NodesResponse, any>>;
|
|
2293
|
+
}
|
|
2294
|
+
/**
|
|
2295
|
+
* POLApi - axios parameter creator
|
|
2296
|
+
* @export
|
|
2297
|
+
*/
|
|
2298
|
+
export declare const POLApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
|
|
2299
|
+
/**
|
|
2300
|
+
* Returns protocol owned liquidity overview statistics.
|
|
2301
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
2302
|
+
* @param {*} [options] Override http request option.
|
|
2303
|
+
* @throws {RequiredError}
|
|
2304
|
+
*/
|
|
2305
|
+
pol: (height?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2306
|
+
};
|
|
2307
|
+
/**
|
|
2308
|
+
* POLApi - functional programming interface
|
|
2309
|
+
* @export
|
|
2310
|
+
*/
|
|
2311
|
+
export declare const POLApiFp: (configuration?: Configuration | undefined) => {
|
|
2312
|
+
/**
|
|
2313
|
+
* Returns protocol owned liquidity overview statistics.
|
|
2314
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
2315
|
+
* @param {*} [options] Override http request option.
|
|
2316
|
+
* @throws {RequiredError}
|
|
2317
|
+
*/
|
|
2318
|
+
pol(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<POLResponse>>;
|
|
2319
|
+
};
|
|
2320
|
+
/**
|
|
2321
|
+
* POLApi - factory interface
|
|
2322
|
+
* @export
|
|
2323
|
+
*/
|
|
2324
|
+
export declare const POLApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
|
|
2325
|
+
/**
|
|
2326
|
+
* Returns protocol owned liquidity overview statistics.
|
|
2327
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
2328
|
+
* @param {*} [options] Override http request option.
|
|
2329
|
+
* @throws {RequiredError}
|
|
2330
|
+
*/
|
|
2331
|
+
pol(height?: number | undefined, options?: any): AxiosPromise<POLResponse>;
|
|
2332
|
+
};
|
|
2333
|
+
/**
|
|
2334
|
+
* POLApi - object-oriented interface
|
|
2335
|
+
* @export
|
|
2336
|
+
* @class POLApi
|
|
2337
|
+
* @extends {BaseAPI}
|
|
2338
|
+
*/
|
|
2339
|
+
export declare class POLApi extends BaseAPI {
|
|
2340
|
+
/**
|
|
2341
|
+
* Returns protocol owned liquidity overview statistics.
|
|
2342
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
2343
|
+
* @param {*} [options] Override http request option.
|
|
2344
|
+
* @throws {RequiredError}
|
|
2345
|
+
* @memberof POLApi
|
|
2346
|
+
*/
|
|
2347
|
+
pol(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<POLResponse, any>>;
|
|
1940
2348
|
}
|
|
1941
2349
|
/**
|
|
1942
2350
|
* PoolsApi - axios parameter creator
|
|
@@ -1978,7 +2386,7 @@ export declare const PoolsApiFp: (configuration?: Configuration | undefined) =>
|
|
|
1978
2386
|
* @param {*} [options] Override http request option.
|
|
1979
2387
|
* @throws {RequiredError}
|
|
1980
2388
|
*/
|
|
1981
|
-
pools(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
2389
|
+
pools(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<PoolsResponse>>;
|
|
1982
2390
|
};
|
|
1983
2391
|
/**
|
|
1984
2392
|
* PoolsApi - factory interface
|
|
@@ -1999,7 +2407,7 @@ export declare const PoolsApiFactory: (configuration?: Configuration | undefined
|
|
|
1999
2407
|
* @param {*} [options] Override http request option.
|
|
2000
2408
|
* @throws {RequiredError}
|
|
2001
2409
|
*/
|
|
2002
|
-
pools(height?: number | undefined, options?: any): AxiosPromise<
|
|
2410
|
+
pools(height?: number | undefined, options?: any): AxiosPromise<PoolsResponse>;
|
|
2003
2411
|
};
|
|
2004
2412
|
/**
|
|
2005
2413
|
* PoolsApi - object-oriented interface
|
|
@@ -2024,7 +2432,7 @@ export declare class PoolsApi extends BaseAPI {
|
|
|
2024
2432
|
* @throws {RequiredError}
|
|
2025
2433
|
* @memberof PoolsApi
|
|
2026
2434
|
*/
|
|
2027
|
-
pools(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2435
|
+
pools(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PoolsResponse, any>>;
|
|
2028
2436
|
}
|
|
2029
2437
|
/**
|
|
2030
2438
|
* QueueApi - axios parameter creator
|
|
@@ -2071,14 +2479,14 @@ export declare const QueueApiFp: (configuration?: Configuration | undefined) =>
|
|
|
2071
2479
|
* @param {*} [options] Override http request option.
|
|
2072
2480
|
* @throws {RequiredError}
|
|
2073
2481
|
*/
|
|
2074
|
-
queueOutbound(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
2482
|
+
queueOutbound(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<OutboundResponse>>;
|
|
2075
2483
|
/**
|
|
2076
2484
|
* Returns the scheduled queue.
|
|
2077
2485
|
* @param {number} [height] optional block height, defaults to current tip
|
|
2078
2486
|
* @param {*} [options] Override http request option.
|
|
2079
2487
|
* @throws {RequiredError}
|
|
2080
2488
|
*/
|
|
2081
|
-
queueScheduled(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
2489
|
+
queueScheduled(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ScheduledResponse>>;
|
|
2082
2490
|
};
|
|
2083
2491
|
/**
|
|
2084
2492
|
* QueueApi - factory interface
|
|
@@ -2098,14 +2506,14 @@ export declare const QueueApiFactory: (configuration?: Configuration | undefined
|
|
|
2098
2506
|
* @param {*} [options] Override http request option.
|
|
2099
2507
|
* @throws {RequiredError}
|
|
2100
2508
|
*/
|
|
2101
|
-
queueOutbound(height?: number | undefined, options?: any): AxiosPromise<
|
|
2509
|
+
queueOutbound(height?: number | undefined, options?: any): AxiosPromise<OutboundResponse>;
|
|
2102
2510
|
/**
|
|
2103
2511
|
* Returns the scheduled queue.
|
|
2104
2512
|
* @param {number} [height] optional block height, defaults to current tip
|
|
2105
2513
|
* @param {*} [options] Override http request option.
|
|
2106
2514
|
* @throws {RequiredError}
|
|
2107
2515
|
*/
|
|
2108
|
-
queueScheduled(height?: number | undefined, options?: any): AxiosPromise<
|
|
2516
|
+
queueScheduled(height?: number | undefined, options?: any): AxiosPromise<ScheduledResponse>;
|
|
2109
2517
|
};
|
|
2110
2518
|
/**
|
|
2111
2519
|
* QueueApi - object-oriented interface
|
|
@@ -2129,7 +2537,7 @@ export declare class QueueApi extends BaseAPI {
|
|
|
2129
2537
|
* @throws {RequiredError}
|
|
2130
2538
|
* @memberof QueueApi
|
|
2131
2539
|
*/
|
|
2132
|
-
queueOutbound(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2540
|
+
queueOutbound(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OutboundResponse, any>>;
|
|
2133
2541
|
/**
|
|
2134
2542
|
* Returns the scheduled queue.
|
|
2135
2543
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -2137,7 +2545,7 @@ export declare class QueueApi extends BaseAPI {
|
|
|
2137
2545
|
* @throws {RequiredError}
|
|
2138
2546
|
* @memberof QueueApi
|
|
2139
2547
|
*/
|
|
2140
|
-
queueScheduled(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2548
|
+
queueScheduled(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ScheduledResponse, any>>;
|
|
2141
2549
|
}
|
|
2142
2550
|
/**
|
|
2143
2551
|
* TSSApi - axios parameter creator
|
|
@@ -2209,7 +2617,7 @@ export declare const TSSApiFp: (configuration?: Configuration | undefined) => {
|
|
|
2209
2617
|
* @param {*} [options] Override http request option.
|
|
2210
2618
|
* @throws {RequiredError}
|
|
2211
2619
|
*/
|
|
2212
|
-
metricsKeygen(pubkey: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
2620
|
+
metricsKeygen(pubkey: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<KeygenMetricsResponse>>;
|
|
2213
2621
|
};
|
|
2214
2622
|
/**
|
|
2215
2623
|
* TSSApi - factory interface
|
|
@@ -2245,7 +2653,7 @@ export declare const TSSApiFactory: (configuration?: Configuration | undefined,
|
|
|
2245
2653
|
* @param {*} [options] Override http request option.
|
|
2246
2654
|
* @throws {RequiredError}
|
|
2247
2655
|
*/
|
|
2248
|
-
metricsKeygen(pubkey: string, height?: number | undefined, options?: any): AxiosPromise<
|
|
2656
|
+
metricsKeygen(pubkey: string, height?: number | undefined, options?: any): AxiosPromise<KeygenMetricsResponse>;
|
|
2249
2657
|
};
|
|
2250
2658
|
/**
|
|
2251
2659
|
* TSSApi - object-oriented interface
|
|
@@ -2287,7 +2695,7 @@ export declare class TSSApi extends BaseAPI {
|
|
|
2287
2695
|
* @throws {RequiredError}
|
|
2288
2696
|
* @memberof TSSApi
|
|
2289
2697
|
*/
|
|
2290
|
-
metricsKeygen(pubkey: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2698
|
+
metricsKeygen(pubkey: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KeygenMetricsResponse, any>>;
|
|
2291
2699
|
}
|
|
2292
2700
|
/**
|
|
2293
2701
|
* ThornamesApi - axios parameter creator
|
|
@@ -2315,7 +2723,7 @@ export declare const ThornamesApiFp: (configuration?: Configuration | undefined)
|
|
|
2315
2723
|
* @param {*} [options] Override http request option.
|
|
2316
2724
|
* @throws {RequiredError}
|
|
2317
2725
|
*/
|
|
2318
|
-
thorname(name: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
2726
|
+
thorname(name: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ThornameResponse>>;
|
|
2319
2727
|
};
|
|
2320
2728
|
/**
|
|
2321
2729
|
* ThornamesApi - factory interface
|
|
@@ -2329,7 +2737,7 @@ export declare const ThornamesApiFactory: (configuration?: Configuration | undef
|
|
|
2329
2737
|
* @param {*} [options] Override http request option.
|
|
2330
2738
|
* @throws {RequiredError}
|
|
2331
2739
|
*/
|
|
2332
|
-
thorname(name: string, height?: number | undefined, options?: any): AxiosPromise<
|
|
2740
|
+
thorname(name: string, height?: number | undefined, options?: any): AxiosPromise<ThornameResponse>;
|
|
2333
2741
|
};
|
|
2334
2742
|
/**
|
|
2335
2743
|
* ThornamesApi - object-oriented interface
|
|
@@ -2346,7 +2754,7 @@ export declare class ThornamesApi extends BaseAPI {
|
|
|
2346
2754
|
* @throws {RequiredError}
|
|
2347
2755
|
* @memberof ThornamesApi
|
|
2348
2756
|
*/
|
|
2349
|
-
thorname(name: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2757
|
+
thorname(name: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ThornameResponse, any>>;
|
|
2350
2758
|
}
|
|
2351
2759
|
/**
|
|
2352
2760
|
* TransactionsApi - axios parameter creator
|
|
@@ -2486,7 +2894,7 @@ export declare const VaultsApiFp: (configuration?: Configuration | undefined) =>
|
|
|
2486
2894
|
* @param {*} [options] Override http request option.
|
|
2487
2895
|
* @throws {RequiredError}
|
|
2488
2896
|
*/
|
|
2489
|
-
asgard(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
2897
|
+
asgard(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<VaultsResponse>>;
|
|
2490
2898
|
/**
|
|
2491
2899
|
* Returns the vault for the provided pubkey.
|
|
2492
2900
|
* @param {string} pubkey
|
|
@@ -2508,7 +2916,7 @@ export declare const VaultsApiFp: (configuration?: Configuration | undefined) =>
|
|
|
2508
2916
|
* @param {*} [options] Override http request option.
|
|
2509
2917
|
* @throws {RequiredError}
|
|
2510
2918
|
*/
|
|
2511
|
-
yggdrasil(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
2919
|
+
yggdrasil(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<VaultsResponse>>;
|
|
2512
2920
|
};
|
|
2513
2921
|
/**
|
|
2514
2922
|
* VaultsApi - factory interface
|
|
@@ -2521,7 +2929,7 @@ export declare const VaultsApiFactory: (configuration?: Configuration | undefine
|
|
|
2521
2929
|
* @param {*} [options] Override http request option.
|
|
2522
2930
|
* @throws {RequiredError}
|
|
2523
2931
|
*/
|
|
2524
|
-
asgard(height?: number | undefined, options?: any): AxiosPromise<
|
|
2932
|
+
asgard(height?: number | undefined, options?: any): AxiosPromise<VaultsResponse>;
|
|
2525
2933
|
/**
|
|
2526
2934
|
* Returns the vault for the provided pubkey.
|
|
2527
2935
|
* @param {string} pubkey
|
|
@@ -2543,7 +2951,7 @@ export declare const VaultsApiFactory: (configuration?: Configuration | undefine
|
|
|
2543
2951
|
* @param {*} [options] Override http request option.
|
|
2544
2952
|
* @throws {RequiredError}
|
|
2545
2953
|
*/
|
|
2546
|
-
yggdrasil(height?: number | undefined, options?: any): AxiosPromise<
|
|
2954
|
+
yggdrasil(height?: number | undefined, options?: any): AxiosPromise<VaultsResponse>;
|
|
2547
2955
|
};
|
|
2548
2956
|
/**
|
|
2549
2957
|
* VaultsApi - object-oriented interface
|
|
@@ -2559,7 +2967,7 @@ export declare class VaultsApi extends BaseAPI {
|
|
|
2559
2967
|
* @throws {RequiredError}
|
|
2560
2968
|
* @memberof VaultsApi
|
|
2561
2969
|
*/
|
|
2562
|
-
asgard(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2970
|
+
asgard(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VaultsResponse, any>>;
|
|
2563
2971
|
/**
|
|
2564
2972
|
* Returns the vault for the provided pubkey.
|
|
2565
2973
|
* @param {string} pubkey
|
|
@@ -2584,5 +2992,5 @@ export declare class VaultsApi extends BaseAPI {
|
|
|
2584
2992
|
* @throws {RequiredError}
|
|
2585
2993
|
* @memberof VaultsApi
|
|
2586
2994
|
*/
|
|
2587
|
-
yggdrasil(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2995
|
+
yggdrasil(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VaultsResponse, any>>;
|
|
2588
2996
|
}
|