@xchainjs/xchain-thornode 0.1.0-alpha2 → 0.1.0-alpha3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/generated/thornodeApi/api.d.ts +499 -517
- package/lib/index.esm.js +160 -126
- package/lib/index.js +163 -125
- package/package.json +2 -2
|
@@ -15,28 +15,47 @@ import { RequestArgs, BaseAPI } from './base';
|
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
* @export
|
|
18
|
-
* @interface
|
|
18
|
+
* @interface BanResponse
|
|
19
19
|
*/
|
|
20
|
-
export interface
|
|
20
|
+
export interface BanResponse {
|
|
21
21
|
/**
|
|
22
22
|
*
|
|
23
23
|
* @type {string}
|
|
24
|
-
* @memberof
|
|
24
|
+
* @memberof BanResponse
|
|
25
25
|
*/
|
|
26
26
|
'node_address'?: string;
|
|
27
27
|
/**
|
|
28
28
|
*
|
|
29
29
|
* @type {number}
|
|
30
|
-
* @memberof
|
|
30
|
+
* @memberof BanResponse
|
|
31
31
|
*/
|
|
32
32
|
'block_height'?: number;
|
|
33
33
|
/**
|
|
34
34
|
*
|
|
35
35
|
* @type {Array<string>}
|
|
36
|
-
* @memberof
|
|
36
|
+
* @memberof BanResponse
|
|
37
37
|
*/
|
|
38
38
|
'signers'?: Array<string>;
|
|
39
39
|
}
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @export
|
|
43
|
+
* @interface ChainHeight
|
|
44
|
+
*/
|
|
45
|
+
export interface ChainHeight {
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof ChainHeight
|
|
50
|
+
*/
|
|
51
|
+
'chain': string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof ChainHeight
|
|
56
|
+
*/
|
|
57
|
+
'height': number;
|
|
58
|
+
}
|
|
40
59
|
/**
|
|
41
60
|
*
|
|
42
61
|
* @export
|
|
@@ -48,24 +67,30 @@ export interface Coin {
|
|
|
48
67
|
* @type {string}
|
|
49
68
|
* @memberof Coin
|
|
50
69
|
*/
|
|
51
|
-
'asset'
|
|
70
|
+
'asset': string;
|
|
52
71
|
/**
|
|
53
72
|
*
|
|
54
73
|
* @type {string}
|
|
55
74
|
* @memberof Coin
|
|
56
75
|
*/
|
|
57
|
-
'amount'
|
|
76
|
+
'amount': string;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {number}
|
|
80
|
+
* @memberof Coin
|
|
81
|
+
*/
|
|
82
|
+
'decimals'?: number;
|
|
58
83
|
}
|
|
59
84
|
/**
|
|
60
85
|
*
|
|
61
86
|
* @export
|
|
62
|
-
* @interface
|
|
87
|
+
* @interface ConstantsResponse
|
|
63
88
|
*/
|
|
64
|
-
export interface
|
|
89
|
+
export interface ConstantsResponse {
|
|
65
90
|
/**
|
|
66
91
|
*
|
|
67
92
|
* @type {{ [key: string]: string; }}
|
|
68
|
-
* @memberof
|
|
93
|
+
* @memberof ConstantsResponse
|
|
69
94
|
*/
|
|
70
95
|
'int64_values'?: {
|
|
71
96
|
[key: string]: string;
|
|
@@ -73,7 +98,7 @@ export interface Constants {
|
|
|
73
98
|
/**
|
|
74
99
|
*
|
|
75
100
|
* @type {{ [key: string]: string; }}
|
|
76
|
-
* @memberof
|
|
101
|
+
* @memberof ConstantsResponse
|
|
77
102
|
*/
|
|
78
103
|
'bool_values'?: {
|
|
79
104
|
[key: string]: string;
|
|
@@ -81,87 +106,12 @@ export interface Constants {
|
|
|
81
106
|
/**
|
|
82
107
|
*
|
|
83
108
|
* @type {{ [key: string]: string; }}
|
|
84
|
-
* @memberof
|
|
109
|
+
* @memberof ConstantsResponse
|
|
85
110
|
*/
|
|
86
111
|
'string_values'?: {
|
|
87
112
|
[key: string]: string;
|
|
88
113
|
};
|
|
89
114
|
}
|
|
90
|
-
/**
|
|
91
|
-
*
|
|
92
|
-
* @export
|
|
93
|
-
* @interface InboundAddress
|
|
94
|
-
*/
|
|
95
|
-
export interface InboundAddress {
|
|
96
|
-
/**
|
|
97
|
-
*
|
|
98
|
-
* @type {string}
|
|
99
|
-
* @memberof InboundAddress
|
|
100
|
-
*/
|
|
101
|
-
'chain'?: string;
|
|
102
|
-
/**
|
|
103
|
-
*
|
|
104
|
-
* @type {string}
|
|
105
|
-
* @memberof InboundAddress
|
|
106
|
-
*/
|
|
107
|
-
'pub_key'?: string;
|
|
108
|
-
/**
|
|
109
|
-
*
|
|
110
|
-
* @type {string}
|
|
111
|
-
* @memberof InboundAddress
|
|
112
|
-
*/
|
|
113
|
-
'address'?: string;
|
|
114
|
-
/**
|
|
115
|
-
*
|
|
116
|
-
* @type {string}
|
|
117
|
-
* @memberof InboundAddress
|
|
118
|
-
*/
|
|
119
|
-
'gas_rate'?: string;
|
|
120
|
-
/**
|
|
121
|
-
*
|
|
122
|
-
* @type {boolean}
|
|
123
|
-
* @memberof InboundAddress
|
|
124
|
-
*/
|
|
125
|
-
'halted'?: boolean;
|
|
126
|
-
}
|
|
127
|
-
/**
|
|
128
|
-
*
|
|
129
|
-
* @export
|
|
130
|
-
* @interface KeygenMetric
|
|
131
|
-
*/
|
|
132
|
-
export interface KeygenMetric {
|
|
133
|
-
/**
|
|
134
|
-
*
|
|
135
|
-
* @type {string}
|
|
136
|
-
* @memberof KeygenMetric
|
|
137
|
-
*/
|
|
138
|
-
'pub_key'?: string;
|
|
139
|
-
/**
|
|
140
|
-
*
|
|
141
|
-
* @type {Array<NodeKeygenMetric>}
|
|
142
|
-
* @memberof KeygenMetric
|
|
143
|
-
*/
|
|
144
|
-
'node_tss_times'?: Array<NodeKeygenMetric>;
|
|
145
|
-
}
|
|
146
|
-
/**
|
|
147
|
-
*
|
|
148
|
-
* @export
|
|
149
|
-
* @interface Keysign
|
|
150
|
-
*/
|
|
151
|
-
export interface Keysign {
|
|
152
|
-
/**
|
|
153
|
-
*
|
|
154
|
-
* @type {KeysignInfo}
|
|
155
|
-
* @memberof Keysign
|
|
156
|
-
*/
|
|
157
|
-
'keysign'?: KeysignInfo;
|
|
158
|
-
/**
|
|
159
|
-
*
|
|
160
|
-
* @type {string}
|
|
161
|
-
* @memberof Keysign
|
|
162
|
-
*/
|
|
163
|
-
'signature'?: string;
|
|
164
|
-
}
|
|
165
115
|
/**
|
|
166
116
|
*
|
|
167
117
|
* @export
|
|
@@ -176,48 +126,48 @@ export interface KeysignInfo {
|
|
|
176
126
|
'height'?: number;
|
|
177
127
|
/**
|
|
178
128
|
*
|
|
179
|
-
* @type {Array<
|
|
129
|
+
* @type {Array<TxOutItem>}
|
|
180
130
|
* @memberof KeysignInfo
|
|
181
131
|
*/
|
|
182
|
-
'tx_array'
|
|
132
|
+
'tx_array': Array<TxOutItem>;
|
|
183
133
|
}
|
|
184
134
|
/**
|
|
185
135
|
*
|
|
186
136
|
* @export
|
|
187
|
-
* @interface
|
|
137
|
+
* @interface KeysignMetrics
|
|
188
138
|
*/
|
|
189
|
-
export interface
|
|
139
|
+
export interface KeysignMetrics {
|
|
190
140
|
/**
|
|
191
141
|
*
|
|
192
142
|
* @type {string}
|
|
193
|
-
* @memberof
|
|
143
|
+
* @memberof KeysignMetrics
|
|
194
144
|
*/
|
|
195
|
-
'
|
|
145
|
+
'tx_id'?: string;
|
|
196
146
|
/**
|
|
197
147
|
*
|
|
198
|
-
* @type {
|
|
199
|
-
* @memberof
|
|
148
|
+
* @type {Array<TssMetric>}
|
|
149
|
+
* @memberof KeysignMetrics
|
|
200
150
|
*/
|
|
201
|
-
'
|
|
151
|
+
'node_tss_times'?: Array<TssMetric>;
|
|
202
152
|
}
|
|
203
153
|
/**
|
|
204
154
|
*
|
|
205
155
|
* @export
|
|
206
|
-
* @interface
|
|
156
|
+
* @interface KeysignResponse
|
|
207
157
|
*/
|
|
208
|
-
export interface
|
|
158
|
+
export interface KeysignResponse {
|
|
209
159
|
/**
|
|
210
160
|
*
|
|
211
|
-
* @type {
|
|
212
|
-
* @memberof
|
|
161
|
+
* @type {KeysignInfo}
|
|
162
|
+
* @memberof KeysignResponse
|
|
213
163
|
*/
|
|
214
|
-
'
|
|
164
|
+
'keysign'?: KeysignInfo;
|
|
215
165
|
/**
|
|
216
166
|
*
|
|
217
|
-
* @type {
|
|
218
|
-
* @memberof
|
|
167
|
+
* @type {string}
|
|
168
|
+
* @memberof KeysignResponse
|
|
219
169
|
*/
|
|
220
|
-
'
|
|
170
|
+
'signature'?: string;
|
|
221
171
|
}
|
|
222
172
|
/**
|
|
223
173
|
*
|
|
@@ -230,25 +180,25 @@ export interface LastBlock {
|
|
|
230
180
|
* @type {string}
|
|
231
181
|
* @memberof LastBlock
|
|
232
182
|
*/
|
|
233
|
-
'chain'
|
|
183
|
+
'chain': string;
|
|
234
184
|
/**
|
|
235
185
|
*
|
|
236
186
|
* @type {number}
|
|
237
187
|
* @memberof LastBlock
|
|
238
188
|
*/
|
|
239
|
-
'last_observed_in'
|
|
189
|
+
'last_observed_in': number;
|
|
240
190
|
/**
|
|
241
191
|
*
|
|
242
192
|
* @type {number}
|
|
243
193
|
* @memberof LastBlock
|
|
244
194
|
*/
|
|
245
|
-
'
|
|
195
|
+
'last_signed_out': number;
|
|
246
196
|
/**
|
|
247
197
|
*
|
|
248
198
|
* @type {number}
|
|
249
199
|
* @memberof LastBlock
|
|
250
200
|
*/
|
|
251
|
-
'thorchain'
|
|
201
|
+
'thorchain': number;
|
|
252
202
|
}
|
|
253
203
|
/**
|
|
254
204
|
*
|
|
@@ -261,7 +211,7 @@ export interface LiquidityProvider {
|
|
|
261
211
|
* @type {string}
|
|
262
212
|
* @memberof LiquidityProvider
|
|
263
213
|
*/
|
|
264
|
-
'asset'
|
|
214
|
+
'asset': string;
|
|
265
215
|
/**
|
|
266
216
|
*
|
|
267
217
|
* @type {string}
|
|
@@ -280,62 +230,81 @@ export interface LiquidityProvider {
|
|
|
280
230
|
* @memberof LiquidityProvider
|
|
281
231
|
*/
|
|
282
232
|
'last_add_height'?: number;
|
|
233
|
+
/**
|
|
234
|
+
*
|
|
235
|
+
* @type {number}
|
|
236
|
+
* @memberof LiquidityProvider
|
|
237
|
+
*/
|
|
238
|
+
'last_withdraw_height'?: number;
|
|
283
239
|
/**
|
|
284
240
|
*
|
|
285
241
|
* @type {string}
|
|
286
242
|
* @memberof LiquidityProvider
|
|
287
243
|
*/
|
|
288
|
-
'units'
|
|
244
|
+
'units': string;
|
|
289
245
|
/**
|
|
290
246
|
*
|
|
291
247
|
* @type {string}
|
|
292
248
|
* @memberof LiquidityProvider
|
|
293
249
|
*/
|
|
294
|
-
'pending_rune'
|
|
250
|
+
'pending_rune': string;
|
|
295
251
|
/**
|
|
296
252
|
*
|
|
297
253
|
* @type {string}
|
|
298
254
|
* @memberof LiquidityProvider
|
|
299
255
|
*/
|
|
300
|
-
'pending_asset'
|
|
256
|
+
'pending_asset': string;
|
|
301
257
|
/**
|
|
302
258
|
*
|
|
303
259
|
* @type {string}
|
|
304
260
|
* @memberof LiquidityProvider
|
|
305
261
|
*/
|
|
306
|
-
'
|
|
262
|
+
'pending_tx_Id'?: string;
|
|
307
263
|
/**
|
|
308
264
|
*
|
|
309
265
|
* @type {string}
|
|
310
266
|
* @memberof LiquidityProvider
|
|
311
267
|
*/
|
|
312
|
-
'rune_deposit_value'
|
|
268
|
+
'rune_deposit_value': string;
|
|
313
269
|
/**
|
|
314
270
|
*
|
|
315
271
|
* @type {string}
|
|
316
272
|
* @memberof LiquidityProvider
|
|
317
273
|
*/
|
|
318
|
-
'asset_deposit_value'
|
|
274
|
+
'asset_deposit_value': string;
|
|
319
275
|
}
|
|
320
276
|
/**
|
|
321
277
|
*
|
|
322
278
|
* @export
|
|
323
|
-
* @interface
|
|
279
|
+
* @interface MetricsResponse
|
|
324
280
|
*/
|
|
325
|
-
export interface
|
|
281
|
+
export interface MetricsResponse {
|
|
326
282
|
/**
|
|
327
283
|
*
|
|
328
|
-
* @type {Array<
|
|
329
|
-
* @memberof
|
|
284
|
+
* @type {Array<object>}
|
|
285
|
+
* @memberof MetricsResponse
|
|
330
286
|
*/
|
|
331
|
-
'keygen'?: Array<
|
|
287
|
+
'keygen'?: Array<object>;
|
|
332
288
|
/**
|
|
333
289
|
*
|
|
334
290
|
* @type {KeysignMetrics}
|
|
335
|
-
* @memberof
|
|
291
|
+
* @memberof MetricsResponse
|
|
336
292
|
*/
|
|
337
293
|
'keysign'?: KeysignMetrics;
|
|
338
294
|
}
|
|
295
|
+
/**
|
|
296
|
+
*
|
|
297
|
+
* @export
|
|
298
|
+
* @interface MimirNodesResponse
|
|
299
|
+
*/
|
|
300
|
+
export interface MimirNodesResponse {
|
|
301
|
+
/**
|
|
302
|
+
*
|
|
303
|
+
* @type {Array<MimirVote>}
|
|
304
|
+
* @memberof MimirNodesResponse
|
|
305
|
+
*/
|
|
306
|
+
'mimirs'?: Array<MimirVote>;
|
|
307
|
+
}
|
|
339
308
|
/**
|
|
340
309
|
*
|
|
341
310
|
* @export
|
|
@@ -364,52 +333,39 @@ export interface MimirVote {
|
|
|
364
333
|
/**
|
|
365
334
|
*
|
|
366
335
|
* @export
|
|
367
|
-
* @interface
|
|
336
|
+
* @interface NetworkResponse
|
|
368
337
|
*/
|
|
369
|
-
export interface
|
|
370
|
-
/**
|
|
371
|
-
*
|
|
372
|
-
* @type {Array<MimirVote>}
|
|
373
|
-
* @memberof MimirVotes
|
|
374
|
-
*/
|
|
375
|
-
'mimirs'?: Array<MimirVote>;
|
|
376
|
-
}
|
|
377
|
-
/**
|
|
378
|
-
*
|
|
379
|
-
* @export
|
|
380
|
-
* @interface Network
|
|
381
|
-
*/
|
|
382
|
-
export interface Network {
|
|
338
|
+
export interface NetworkResponse {
|
|
383
339
|
/**
|
|
384
340
|
* total amount of RUNE awarded to node operators
|
|
385
341
|
* @type {string}
|
|
386
|
-
* @memberof
|
|
342
|
+
* @memberof NetworkResponse
|
|
387
343
|
*/
|
|
388
|
-
'bond_reward_rune'
|
|
344
|
+
'bond_reward_rune': string;
|
|
389
345
|
/**
|
|
390
346
|
* total bonded RUNE
|
|
391
347
|
* @type {string}
|
|
392
|
-
* @memberof
|
|
348
|
+
* @memberof NetworkResponse
|
|
393
349
|
*/
|
|
394
|
-
'total_bond_units'
|
|
350
|
+
'total_bond_units': string;
|
|
395
351
|
/**
|
|
396
352
|
* total reserve RUNE
|
|
397
353
|
* @type {string}
|
|
398
|
-
* @memberof
|
|
354
|
+
* @memberof NetworkResponse
|
|
399
355
|
*/
|
|
400
|
-
'total_reserve'
|
|
356
|
+
'total_reserve': string;
|
|
401
357
|
/**
|
|
402
358
|
* total of burned BEP2 RUNE
|
|
403
359
|
* @type {string}
|
|
404
|
-
* @memberof
|
|
360
|
+
* @memberof NetworkResponse
|
|
405
361
|
*/
|
|
406
|
-
'burned_bep_2_rune'
|
|
362
|
+
'burned_bep_2_rune': string;
|
|
407
363
|
/**
|
|
408
364
|
* total of burned ERC20 RUNE
|
|
409
365
|
* @type {string}
|
|
410
|
-
* @memberof
|
|
366
|
+
* @memberof NetworkResponse
|
|
411
367
|
*/
|
|
412
|
-
'burned_erc_20_rune'
|
|
368
|
+
'burned_erc_20_rune': string;
|
|
413
369
|
}
|
|
414
370
|
/**
|
|
415
371
|
*
|
|
@@ -422,115 +378,121 @@ export interface Node {
|
|
|
422
378
|
* @type {string}
|
|
423
379
|
* @memberof Node
|
|
424
380
|
*/
|
|
425
|
-
'node_address'
|
|
381
|
+
'node_address': string;
|
|
426
382
|
/**
|
|
427
383
|
*
|
|
428
384
|
* @type {string}
|
|
429
385
|
* @memberof Node
|
|
430
386
|
*/
|
|
431
|
-
'status'
|
|
387
|
+
'status': NodeStatusEnum;
|
|
432
388
|
/**
|
|
433
389
|
*
|
|
434
390
|
* @type {NodePubKeySet}
|
|
435
391
|
* @memberof Node
|
|
436
392
|
*/
|
|
437
|
-
'pub_key_set'
|
|
393
|
+
'pub_key_set': NodePubKeySet;
|
|
438
394
|
/**
|
|
439
395
|
* the consensus pub key for the node
|
|
440
396
|
* @type {string}
|
|
441
397
|
* @memberof Node
|
|
442
398
|
*/
|
|
443
|
-
'validator_cons_pub_key'
|
|
399
|
+
'validator_cons_pub_key': string;
|
|
444
400
|
/**
|
|
445
401
|
* current node bond
|
|
446
402
|
* @type {string}
|
|
447
403
|
* @memberof Node
|
|
448
404
|
*/
|
|
449
|
-
'bond'
|
|
405
|
+
'bond': string;
|
|
450
406
|
/**
|
|
451
407
|
* the block height at which the node became active
|
|
452
408
|
* @type {number}
|
|
453
409
|
* @memberof Node
|
|
454
410
|
*/
|
|
455
|
-
'active_block_height'
|
|
411
|
+
'active_block_height': number;
|
|
456
412
|
/**
|
|
457
413
|
*
|
|
458
414
|
* @type {string}
|
|
459
415
|
* @memberof Node
|
|
460
416
|
*/
|
|
461
|
-
'bond_address'
|
|
417
|
+
'bond_address': string;
|
|
462
418
|
/**
|
|
463
419
|
* the block height of the current provided information for the node
|
|
464
420
|
* @type {number}
|
|
465
421
|
* @memberof Node
|
|
466
422
|
*/
|
|
467
|
-
'status_since'
|
|
423
|
+
'status_since': number;
|
|
468
424
|
/**
|
|
469
425
|
* the set of vault public keys of which the node is a member
|
|
470
426
|
* @type {Array<string>}
|
|
471
427
|
* @memberof Node
|
|
472
428
|
*/
|
|
473
|
-
'signer_membership'
|
|
429
|
+
'signer_membership': Array<string>;
|
|
474
430
|
/**
|
|
475
431
|
*
|
|
476
432
|
* @type {boolean}
|
|
477
433
|
* @memberof Node
|
|
478
434
|
*/
|
|
479
|
-
'requested_to_leave'
|
|
435
|
+
'requested_to_leave': boolean;
|
|
480
436
|
/**
|
|
481
437
|
* indicates whether the node has been forced to leave by the network, typically via ban
|
|
482
438
|
* @type {boolean}
|
|
483
439
|
* @memberof Node
|
|
484
440
|
*/
|
|
485
|
-
'forced_to_leave'
|
|
441
|
+
'forced_to_leave': boolean;
|
|
486
442
|
/**
|
|
487
443
|
*
|
|
488
444
|
* @type {number}
|
|
489
445
|
* @memberof Node
|
|
490
446
|
*/
|
|
491
|
-
'leave_height'
|
|
447
|
+
'leave_height': number;
|
|
492
448
|
/**
|
|
493
449
|
*
|
|
494
450
|
* @type {string}
|
|
495
451
|
* @memberof Node
|
|
496
452
|
*/
|
|
497
|
-
'ip_address'
|
|
453
|
+
'ip_address': string;
|
|
498
454
|
/**
|
|
499
455
|
* the currently set version of the node
|
|
500
456
|
* @type {string}
|
|
501
457
|
* @memberof Node
|
|
502
458
|
*/
|
|
503
|
-
'version'
|
|
459
|
+
'version': string;
|
|
504
460
|
/**
|
|
505
461
|
* the accumlated slash points, reset at churn but excessive slash points may carry over
|
|
506
462
|
* @type {number}
|
|
507
463
|
* @memberof Node
|
|
508
464
|
*/
|
|
509
|
-
'slash_points'
|
|
465
|
+
'slash_points': number;
|
|
510
466
|
/**
|
|
511
467
|
*
|
|
512
468
|
* @type {NodeJail}
|
|
513
469
|
* @memberof Node
|
|
514
470
|
*/
|
|
515
|
-
'jail'
|
|
471
|
+
'jail': NodeJail;
|
|
516
472
|
/**
|
|
517
473
|
*
|
|
518
474
|
* @type {string}
|
|
519
475
|
* @memberof Node
|
|
520
476
|
*/
|
|
521
|
-
'current_award'
|
|
477
|
+
'current_award': string;
|
|
522
478
|
/**
|
|
523
479
|
* the last observed heights for all chain by the node
|
|
524
|
-
* @type {Array<
|
|
480
|
+
* @type {Array<ChainHeight>}
|
|
525
481
|
* @memberof Node
|
|
526
482
|
*/
|
|
527
|
-
'observe_chains'
|
|
483
|
+
'observe_chains': Array<ChainHeight>;
|
|
528
484
|
/**
|
|
529
485
|
*
|
|
530
486
|
* @type {NodePreflightStatus}
|
|
531
487
|
* @memberof Node
|
|
532
488
|
*/
|
|
533
|
-
'preflight_status'
|
|
489
|
+
'preflight_status': NodePreflightStatus;
|
|
490
|
+
/**
|
|
491
|
+
*
|
|
492
|
+
* @type {NodeBondProviders}
|
|
493
|
+
* @memberof Node
|
|
494
|
+
*/
|
|
495
|
+
'bond_providers': NodeBondProviders;
|
|
534
496
|
}
|
|
535
497
|
export declare const NodeStatusEnum: {
|
|
536
498
|
readonly Active: "Active";
|
|
@@ -542,53 +504,71 @@ export declare type NodeStatusEnum = typeof NodeStatusEnum[keyof typeof NodeStat
|
|
|
542
504
|
/**
|
|
543
505
|
*
|
|
544
506
|
* @export
|
|
545
|
-
* @interface
|
|
507
|
+
* @interface NodeBondProvider
|
|
546
508
|
*/
|
|
547
|
-
export interface
|
|
509
|
+
export interface NodeBondProvider {
|
|
548
510
|
/**
|
|
549
511
|
*
|
|
550
512
|
* @type {string}
|
|
551
|
-
* @memberof
|
|
513
|
+
* @memberof NodeBondProvider
|
|
552
514
|
*/
|
|
553
|
-
'
|
|
515
|
+
'bond_address'?: string;
|
|
516
|
+
/**
|
|
517
|
+
*
|
|
518
|
+
* @type {string}
|
|
519
|
+
* @memberof NodeBondProvider
|
|
520
|
+
*/
|
|
521
|
+
'bond'?: string;
|
|
554
522
|
}
|
|
555
523
|
/**
|
|
556
524
|
*
|
|
557
525
|
* @export
|
|
558
|
-
* @interface
|
|
526
|
+
* @interface NodeBondProviders
|
|
559
527
|
*/
|
|
560
|
-
export interface
|
|
528
|
+
export interface NodeBondProviders {
|
|
561
529
|
/**
|
|
562
530
|
*
|
|
563
531
|
* @type {string}
|
|
564
|
-
* @memberof
|
|
532
|
+
* @memberof NodeBondProviders
|
|
565
533
|
*/
|
|
566
|
-
'
|
|
534
|
+
'node_address'?: string;
|
|
567
535
|
/**
|
|
568
536
|
*
|
|
569
537
|
* @type {string}
|
|
570
|
-
* @memberof
|
|
538
|
+
* @memberof NodeBondProviders
|
|
539
|
+
*/
|
|
540
|
+
'node_operator_fee'?: string;
|
|
541
|
+
/**
|
|
542
|
+
*
|
|
543
|
+
* @type {NodeBondProvider}
|
|
544
|
+
* @memberof NodeBondProviders
|
|
571
545
|
*/
|
|
572
|
-
'
|
|
546
|
+
'providers'?: NodeBondProvider;
|
|
573
547
|
}
|
|
574
548
|
/**
|
|
575
549
|
*
|
|
576
550
|
* @export
|
|
577
|
-
* @interface
|
|
551
|
+
* @interface NodeJail
|
|
578
552
|
*/
|
|
579
|
-
export interface
|
|
553
|
+
export interface NodeJail {
|
|
580
554
|
/**
|
|
581
555
|
*
|
|
582
556
|
* @type {string}
|
|
583
|
-
* @memberof
|
|
557
|
+
* @memberof NodeJail
|
|
584
558
|
*/
|
|
585
|
-
'
|
|
559
|
+
'node_address'?: string;
|
|
586
560
|
/**
|
|
587
561
|
*
|
|
588
562
|
* @type {number}
|
|
589
|
-
* @memberof
|
|
563
|
+
* @memberof NodeJail
|
|
590
564
|
*/
|
|
591
|
-
'
|
|
565
|
+
'release_height'?: number;
|
|
566
|
+
/**
|
|
567
|
+
*
|
|
568
|
+
* @type {string}
|
|
569
|
+
* @memberof NodeJail
|
|
570
|
+
*/
|
|
571
|
+
'reason'?: string;
|
|
592
572
|
}
|
|
593
573
|
/**
|
|
594
574
|
*
|
|
@@ -601,19 +581,19 @@ export interface NodePreflightStatus {
|
|
|
601
581
|
* @type {string}
|
|
602
582
|
* @memberof NodePreflightStatus
|
|
603
583
|
*/
|
|
604
|
-
'status'
|
|
584
|
+
'status': string;
|
|
605
585
|
/**
|
|
606
586
|
* the reason for the transition to the next status
|
|
607
587
|
* @type {string}
|
|
608
588
|
* @memberof NodePreflightStatus
|
|
609
589
|
*/
|
|
610
|
-
'reason'
|
|
590
|
+
'reason': string;
|
|
611
591
|
/**
|
|
612
592
|
*
|
|
613
593
|
* @type {number}
|
|
614
594
|
* @memberof NodePreflightStatus
|
|
615
595
|
*/
|
|
616
|
-
'code'
|
|
596
|
+
'code': number;
|
|
617
597
|
}
|
|
618
598
|
/**
|
|
619
599
|
*
|
|
@@ -645,7 +625,7 @@ export interface ObservedTx {
|
|
|
645
625
|
* @type {Tx}
|
|
646
626
|
* @memberof ObservedTx
|
|
647
627
|
*/
|
|
648
|
-
'tx'
|
|
628
|
+
'tx': Tx;
|
|
649
629
|
/**
|
|
650
630
|
*
|
|
651
631
|
* @type {string}
|
|
@@ -659,17 +639,11 @@ export interface ObservedTx {
|
|
|
659
639
|
*/
|
|
660
640
|
'out_hashes'?: Array<string>;
|
|
661
641
|
/**
|
|
662
|
-
*
|
|
642
|
+
* the block height of the observed transaction on the source chain, not provided if chain is THOR
|
|
663
643
|
* @type {number}
|
|
664
644
|
* @memberof ObservedTx
|
|
665
645
|
*/
|
|
666
646
|
'block_height'?: number;
|
|
667
|
-
/**
|
|
668
|
-
*
|
|
669
|
-
* @type {number}
|
|
670
|
-
* @memberof ObservedTx
|
|
671
|
-
*/
|
|
672
|
-
'finalise_height'?: number;
|
|
673
647
|
/**
|
|
674
648
|
*
|
|
675
649
|
* @type {Array<string>}
|
|
@@ -682,67 +656,42 @@ export interface ObservedTx {
|
|
|
682
656
|
* @memberof ObservedTx
|
|
683
657
|
*/
|
|
684
658
|
'observed_pub_key'?: string;
|
|
685
|
-
}
|
|
686
|
-
export declare const ObservedTxStatusEnum: {
|
|
687
|
-
readonly Done: "done";
|
|
688
|
-
readonly Incomplete: "incomplete";
|
|
689
|
-
};
|
|
690
|
-
export declare type ObservedTxStatusEnum = typeof ObservedTxStatusEnum[keyof typeof ObservedTxStatusEnum];
|
|
691
|
-
/**
|
|
692
|
-
*
|
|
693
|
-
* @export
|
|
694
|
-
* @interface Outbound
|
|
695
|
-
*/
|
|
696
|
-
export interface Outbound {
|
|
697
659
|
/**
|
|
698
660
|
*
|
|
699
|
-
* @type {
|
|
700
|
-
* @memberof
|
|
661
|
+
* @type {number}
|
|
662
|
+
* @memberof ObservedTx
|
|
701
663
|
*/
|
|
702
|
-
'
|
|
664
|
+
'keysign_ms'?: number;
|
|
703
665
|
/**
|
|
704
|
-
*
|
|
705
|
-
* @type {
|
|
706
|
-
* @memberof
|
|
666
|
+
* the finalised height of the observed transaction on the source chain, not provided if chain is THOR
|
|
667
|
+
* @type {number}
|
|
668
|
+
* @memberof ObservedTx
|
|
707
669
|
*/
|
|
708
|
-
'
|
|
670
|
+
'finalise_height'?: number;
|
|
709
671
|
/**
|
|
710
|
-
*
|
|
672
|
+
* the outbound aggregator to use, will also match a suffix
|
|
711
673
|
* @type {string}
|
|
712
|
-
* @memberof
|
|
713
|
-
*/
|
|
714
|
-
'vault_pub_key'?: string;
|
|
715
|
-
/**
|
|
716
|
-
*
|
|
717
|
-
* @type {Coin}
|
|
718
|
-
* @memberof Outbound
|
|
674
|
+
* @memberof ObservedTx
|
|
719
675
|
*/
|
|
720
|
-
'
|
|
676
|
+
'aggregator'?: string;
|
|
721
677
|
/**
|
|
722
|
-
*
|
|
678
|
+
* the aggregator target asset provided to transferOutAndCall
|
|
723
679
|
* @type {string}
|
|
724
|
-
* @memberof
|
|
725
|
-
*/
|
|
726
|
-
'memo'?: string;
|
|
727
|
-
/**
|
|
728
|
-
*
|
|
729
|
-
* @type {Array<Coin>}
|
|
730
|
-
* @memberof Outbound
|
|
731
|
-
*/
|
|
732
|
-
'max_gas'?: Array<Coin>;
|
|
733
|
-
/**
|
|
734
|
-
*
|
|
735
|
-
* @type {number}
|
|
736
|
-
* @memberof Outbound
|
|
680
|
+
* @memberof ObservedTx
|
|
737
681
|
*/
|
|
738
|
-
'
|
|
682
|
+
'aggregator_target'?: string;
|
|
739
683
|
/**
|
|
740
|
-
*
|
|
684
|
+
* the aggregator target asset limit provided to transferOutAndCall
|
|
741
685
|
* @type {string}
|
|
742
|
-
* @memberof
|
|
686
|
+
* @memberof ObservedTx
|
|
743
687
|
*/
|
|
744
|
-
'
|
|
688
|
+
'aggregator_target_limit'?: string;
|
|
745
689
|
}
|
|
690
|
+
export declare const ObservedTxStatusEnum: {
|
|
691
|
+
readonly Done: "done";
|
|
692
|
+
readonly Incomplete: "incomplete";
|
|
693
|
+
};
|
|
694
|
+
export declare type ObservedTxStatusEnum = typeof ObservedTxStatusEnum[keyof typeof ObservedTxStatusEnum];
|
|
746
695
|
/**
|
|
747
696
|
*
|
|
748
697
|
* @export
|
|
@@ -767,337 +716,338 @@ export interface Pool {
|
|
|
767
716
|
* @type {string}
|
|
768
717
|
* @memberof Pool
|
|
769
718
|
*/
|
|
770
|
-
'balance_rune'
|
|
719
|
+
'balance_rune': string;
|
|
771
720
|
/**
|
|
772
721
|
*
|
|
773
722
|
* @type {string}
|
|
774
723
|
* @memberof Pool
|
|
775
724
|
*/
|
|
776
|
-
'balance_asset'
|
|
725
|
+
'balance_asset': string;
|
|
777
726
|
/**
|
|
778
727
|
*
|
|
779
728
|
* @type {string}
|
|
780
729
|
* @memberof Pool
|
|
781
730
|
*/
|
|
782
|
-
'asset'
|
|
731
|
+
'asset': string;
|
|
783
732
|
/**
|
|
784
733
|
* the total pool liquidity provider units
|
|
785
734
|
* @type {string}
|
|
786
735
|
* @memberof Pool
|
|
787
736
|
*/
|
|
788
|
-
'LP_units'
|
|
737
|
+
'LP_units': string;
|
|
789
738
|
/**
|
|
790
739
|
* the total pool units, this is the sum of LP and synth units
|
|
791
740
|
* @type {string}
|
|
792
741
|
* @memberof Pool
|
|
793
742
|
*/
|
|
794
|
-
'pool_units'
|
|
743
|
+
'pool_units': string;
|
|
795
744
|
/**
|
|
796
745
|
*
|
|
797
746
|
* @type {string}
|
|
798
747
|
* @memberof Pool
|
|
799
748
|
*/
|
|
800
|
-
'status'
|
|
749
|
+
'status': string;
|
|
750
|
+
/**
|
|
751
|
+
*
|
|
752
|
+
* @type {number}
|
|
753
|
+
* @memberof Pool
|
|
754
|
+
*/
|
|
755
|
+
'decimals'?: number;
|
|
801
756
|
/**
|
|
802
757
|
* the total synth units in the pool
|
|
803
758
|
* @type {string}
|
|
804
759
|
* @memberof Pool
|
|
805
760
|
*/
|
|
806
|
-
'synth_units'
|
|
761
|
+
'synth_units': string;
|
|
807
762
|
/**
|
|
808
763
|
* the total supply of synths for the asset
|
|
809
764
|
* @type {string}
|
|
810
765
|
* @memberof Pool
|
|
811
766
|
*/
|
|
812
|
-
'synth_supply'
|
|
767
|
+
'synth_supply': string;
|
|
813
768
|
/**
|
|
814
769
|
*
|
|
815
770
|
* @type {string}
|
|
816
771
|
* @memberof Pool
|
|
817
772
|
*/
|
|
818
|
-
'pending_inbound_rune'
|
|
773
|
+
'pending_inbound_rune': string;
|
|
819
774
|
/**
|
|
820
775
|
*
|
|
821
776
|
* @type {string}
|
|
822
777
|
* @memberof Pool
|
|
823
778
|
*/
|
|
824
|
-
'pending_inbound_asset'
|
|
779
|
+
'pending_inbound_asset': string;
|
|
825
780
|
}
|
|
826
781
|
/**
|
|
827
782
|
*
|
|
828
783
|
* @export
|
|
829
|
-
* @interface
|
|
784
|
+
* @interface QueueResponse
|
|
830
785
|
*/
|
|
831
|
-
export interface
|
|
832
|
-
/**
|
|
833
|
-
*
|
|
834
|
-
* @type {string}
|
|
835
|
-
* @memberof ProcessedOutbound
|
|
836
|
-
*/
|
|
837
|
-
'chain'?: string;
|
|
786
|
+
export interface QueueResponse {
|
|
838
787
|
/**
|
|
839
788
|
*
|
|
840
|
-
* @type {
|
|
841
|
-
* @memberof
|
|
789
|
+
* @type {number}
|
|
790
|
+
* @memberof QueueResponse
|
|
842
791
|
*/
|
|
843
|
-
'
|
|
792
|
+
'swap': number;
|
|
844
793
|
/**
|
|
845
|
-
*
|
|
846
|
-
* @type {
|
|
847
|
-
* @memberof
|
|
794
|
+
* number of signed outbound tx in the queue
|
|
795
|
+
* @type {number}
|
|
796
|
+
* @memberof QueueResponse
|
|
848
797
|
*/
|
|
849
|
-
'
|
|
798
|
+
'outbound': number;
|
|
850
799
|
/**
|
|
851
800
|
*
|
|
852
|
-
* @type {
|
|
853
|
-
* @memberof
|
|
801
|
+
* @type {number}
|
|
802
|
+
* @memberof QueueResponse
|
|
854
803
|
*/
|
|
855
|
-
'
|
|
804
|
+
'internal': number;
|
|
856
805
|
/**
|
|
857
|
-
*
|
|
806
|
+
* scheduled outbound value in RUNE
|
|
858
807
|
* @type {string}
|
|
859
|
-
* @memberof
|
|
808
|
+
* @memberof QueueResponse
|
|
860
809
|
*/
|
|
861
|
-
'
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
*
|
|
870
|
-
* @type {number}
|
|
871
|
-
* @memberof ProcessedOutbound
|
|
872
|
-
*/
|
|
873
|
-
'gas_rate'?: number;
|
|
810
|
+
'scheduled_outbound_value': string;
|
|
811
|
+
}
|
|
812
|
+
/**
|
|
813
|
+
*
|
|
814
|
+
* @export
|
|
815
|
+
* @interface TssKeysignMetric
|
|
816
|
+
*/
|
|
817
|
+
export interface TssKeysignMetric {
|
|
874
818
|
/**
|
|
875
819
|
*
|
|
876
820
|
* @type {string}
|
|
877
|
-
* @memberof
|
|
821
|
+
* @memberof TssKeysignMetric
|
|
878
822
|
*/
|
|
879
|
-
'
|
|
823
|
+
'tx_id'?: string;
|
|
880
824
|
/**
|
|
881
825
|
*
|
|
882
|
-
* @type {
|
|
883
|
-
* @memberof
|
|
826
|
+
* @type {Array<TssMetric>}
|
|
827
|
+
* @memberof TssKeysignMetric
|
|
884
828
|
*/
|
|
885
|
-
'
|
|
829
|
+
'node_tss_times': Array<TssMetric>;
|
|
886
830
|
}
|
|
887
831
|
/**
|
|
888
832
|
*
|
|
889
833
|
* @export
|
|
890
|
-
* @interface
|
|
834
|
+
* @interface TssMetric
|
|
891
835
|
*/
|
|
892
|
-
export interface
|
|
836
|
+
export interface TssMetric {
|
|
893
837
|
/**
|
|
894
838
|
*
|
|
895
|
-
* @type {
|
|
896
|
-
* @memberof
|
|
897
|
-
*/
|
|
898
|
-
'swap'?: number;
|
|
899
|
-
/**
|
|
900
|
-
* number of signed outbound tx in the queue
|
|
901
|
-
* @type {number}
|
|
902
|
-
* @memberof Queue
|
|
839
|
+
* @type {string}
|
|
840
|
+
* @memberof TssMetric
|
|
903
841
|
*/
|
|
904
|
-
'
|
|
842
|
+
'address'?: string;
|
|
905
843
|
/**
|
|
906
844
|
*
|
|
907
845
|
* @type {number}
|
|
908
|
-
* @memberof
|
|
909
|
-
*/
|
|
910
|
-
'internal'?: number;
|
|
911
|
-
/**
|
|
912
|
-
* scheduled outbound value in RUNE
|
|
913
|
-
* @type {string}
|
|
914
|
-
* @memberof Queue
|
|
846
|
+
* @memberof TssMetric
|
|
915
847
|
*/
|
|
916
|
-
'
|
|
848
|
+
'tss_time'?: number;
|
|
917
849
|
}
|
|
918
850
|
/**
|
|
919
851
|
*
|
|
920
852
|
* @export
|
|
921
|
-
* @interface
|
|
853
|
+
* @interface Tx
|
|
922
854
|
*/
|
|
923
|
-
export interface
|
|
855
|
+
export interface Tx {
|
|
924
856
|
/**
|
|
925
857
|
*
|
|
926
858
|
* @type {string}
|
|
927
|
-
* @memberof
|
|
859
|
+
* @memberof Tx
|
|
928
860
|
*/
|
|
929
|
-
'
|
|
861
|
+
'id'?: string;
|
|
930
862
|
/**
|
|
931
863
|
*
|
|
932
864
|
* @type {string}
|
|
933
|
-
* @memberof
|
|
865
|
+
* @memberof Tx
|
|
934
866
|
*/
|
|
935
|
-
'
|
|
867
|
+
'chain'?: string;
|
|
936
868
|
/**
|
|
937
869
|
*
|
|
938
870
|
* @type {string}
|
|
939
|
-
* @memberof
|
|
940
|
-
*/
|
|
941
|
-
'vault_pub_key'?: string;
|
|
942
|
-
/**
|
|
943
|
-
*
|
|
944
|
-
* @type {Coin}
|
|
945
|
-
* @memberof ScheduledOutbound
|
|
871
|
+
* @memberof Tx
|
|
946
872
|
*/
|
|
947
|
-
'
|
|
873
|
+
'from_address'?: string;
|
|
948
874
|
/**
|
|
949
875
|
*
|
|
950
876
|
* @type {string}
|
|
951
|
-
* @memberof
|
|
877
|
+
* @memberof Tx
|
|
952
878
|
*/
|
|
953
|
-
'
|
|
879
|
+
'to_address'?: string;
|
|
954
880
|
/**
|
|
955
881
|
*
|
|
956
882
|
* @type {Array<Coin>}
|
|
957
|
-
* @memberof
|
|
883
|
+
* @memberof Tx
|
|
958
884
|
*/
|
|
959
|
-
'
|
|
885
|
+
'coins': Array<Coin>;
|
|
960
886
|
/**
|
|
961
887
|
*
|
|
962
|
-
* @type {
|
|
963
|
-
* @memberof
|
|
888
|
+
* @type {Array<Coin>}
|
|
889
|
+
* @memberof Tx
|
|
964
890
|
*/
|
|
965
|
-
'
|
|
891
|
+
'gas': Array<Coin>;
|
|
966
892
|
/**
|
|
967
893
|
*
|
|
968
894
|
* @type {string}
|
|
969
|
-
* @memberof
|
|
970
|
-
*/
|
|
971
|
-
'in_hash'?: string;
|
|
972
|
-
/**
|
|
973
|
-
*
|
|
974
|
-
* @type {number}
|
|
975
|
-
* @memberof ScheduledOutbound
|
|
895
|
+
* @memberof Tx
|
|
976
896
|
*/
|
|
977
|
-
'
|
|
897
|
+
'memo'?: string;
|
|
978
898
|
}
|
|
979
899
|
/**
|
|
980
900
|
*
|
|
981
901
|
* @export
|
|
982
|
-
* @interface
|
|
902
|
+
* @interface TxOutItem
|
|
983
903
|
*/
|
|
984
|
-
export interface
|
|
904
|
+
export interface TxOutItem {
|
|
985
905
|
/**
|
|
986
906
|
*
|
|
987
907
|
* @type {string}
|
|
988
|
-
* @memberof
|
|
908
|
+
* @memberof TxOutItem
|
|
989
909
|
*/
|
|
990
|
-
'
|
|
910
|
+
'chain': string;
|
|
991
911
|
/**
|
|
992
912
|
*
|
|
993
913
|
* @type {string}
|
|
994
|
-
* @memberof
|
|
914
|
+
* @memberof TxOutItem
|
|
995
915
|
*/
|
|
996
|
-
'
|
|
916
|
+
'to_address': string;
|
|
997
917
|
/**
|
|
998
918
|
*
|
|
999
919
|
* @type {string}
|
|
1000
|
-
* @memberof
|
|
920
|
+
* @memberof TxOutItem
|
|
1001
921
|
*/
|
|
1002
|
-
'
|
|
922
|
+
'vault_pub_key'?: string;
|
|
1003
923
|
/**
|
|
1004
924
|
*
|
|
1005
|
-
* @type {
|
|
1006
|
-
* @memberof
|
|
925
|
+
* @type {Coin}
|
|
926
|
+
* @memberof TxOutItem
|
|
1007
927
|
*/
|
|
1008
|
-
'
|
|
1009
|
-
}
|
|
1010
|
-
/**
|
|
1011
|
-
*
|
|
1012
|
-
* @export
|
|
1013
|
-
* @interface Tx
|
|
1014
|
-
*/
|
|
1015
|
-
export interface Tx {
|
|
928
|
+
'coin': Coin;
|
|
1016
929
|
/**
|
|
1017
930
|
*
|
|
1018
931
|
* @type {string}
|
|
1019
|
-
* @memberof
|
|
932
|
+
* @memberof TxOutItem
|
|
1020
933
|
*/
|
|
1021
|
-
'
|
|
934
|
+
'memo'?: string;
|
|
1022
935
|
/**
|
|
1023
936
|
*
|
|
1024
|
-
* @type {
|
|
1025
|
-
* @memberof
|
|
937
|
+
* @type {Array<Coin>}
|
|
938
|
+
* @memberof TxOutItem
|
|
1026
939
|
*/
|
|
1027
|
-
'
|
|
940
|
+
'max_gas': Array<Coin>;
|
|
941
|
+
/**
|
|
942
|
+
*
|
|
943
|
+
* @type {number}
|
|
944
|
+
* @memberof TxOutItem
|
|
945
|
+
*/
|
|
946
|
+
'gas_rate'?: number;
|
|
1028
947
|
/**
|
|
1029
948
|
*
|
|
1030
949
|
* @type {string}
|
|
1031
|
-
* @memberof
|
|
950
|
+
* @memberof TxOutItem
|
|
1032
951
|
*/
|
|
1033
|
-
'
|
|
952
|
+
'in_hash'?: string;
|
|
1034
953
|
/**
|
|
1035
954
|
*
|
|
1036
955
|
* @type {string}
|
|
1037
|
-
* @memberof
|
|
956
|
+
* @memberof TxOutItem
|
|
1038
957
|
*/
|
|
1039
|
-
'
|
|
958
|
+
'out_hash'?: string;
|
|
1040
959
|
/**
|
|
1041
960
|
*
|
|
1042
|
-
* @type {
|
|
1043
|
-
* @memberof
|
|
961
|
+
* @type {number}
|
|
962
|
+
* @memberof TxOutItem
|
|
1044
963
|
*/
|
|
1045
|
-
'
|
|
964
|
+
'height': number;
|
|
965
|
+
}
|
|
966
|
+
/**
|
|
967
|
+
*
|
|
968
|
+
* @export
|
|
969
|
+
* @interface TxResponse
|
|
970
|
+
*/
|
|
971
|
+
export interface TxResponse {
|
|
1046
972
|
/**
|
|
1047
973
|
*
|
|
1048
|
-
* @type {
|
|
1049
|
-
* @memberof
|
|
974
|
+
* @type {ObservedTx}
|
|
975
|
+
* @memberof TxResponse
|
|
1050
976
|
*/
|
|
1051
|
-
'
|
|
977
|
+
'observed_tx'?: ObservedTx;
|
|
1052
978
|
/**
|
|
1053
979
|
*
|
|
1054
|
-
* @type {
|
|
1055
|
-
* @memberof
|
|
980
|
+
* @type {TssKeysignMetric}
|
|
981
|
+
* @memberof TxResponse
|
|
1056
982
|
*/
|
|
1057
|
-
'
|
|
983
|
+
'keysign_metric'?: TssKeysignMetric;
|
|
1058
984
|
}
|
|
1059
985
|
/**
|
|
1060
986
|
*
|
|
1061
987
|
* @export
|
|
1062
|
-
* @interface
|
|
988
|
+
* @interface TxSignersResponse
|
|
1063
989
|
*/
|
|
1064
|
-
export interface
|
|
990
|
+
export interface TxSignersResponse {
|
|
1065
991
|
/**
|
|
1066
992
|
*
|
|
1067
993
|
* @type {string}
|
|
1068
|
-
* @memberof
|
|
994
|
+
* @memberof TxSignersResponse
|
|
1069
995
|
*/
|
|
1070
996
|
'tx_id'?: string;
|
|
1071
997
|
/**
|
|
1072
998
|
*
|
|
1073
999
|
* @type {ObservedTx}
|
|
1074
|
-
* @memberof
|
|
1000
|
+
* @memberof TxSignersResponse
|
|
1075
1001
|
*/
|
|
1076
|
-
'tx'
|
|
1002
|
+
'tx': ObservedTx;
|
|
1077
1003
|
/**
|
|
1078
1004
|
*
|
|
1079
|
-
* @type {
|
|
1080
|
-
* @memberof
|
|
1005
|
+
* @type {number}
|
|
1006
|
+
* @memberof TxSignersResponse
|
|
1081
1007
|
*/
|
|
1082
|
-
'
|
|
1008
|
+
'height'?: number;
|
|
1083
1009
|
/**
|
|
1084
1010
|
*
|
|
1085
|
-
* @type {Array<
|
|
1086
|
-
* @memberof
|
|
1011
|
+
* @type {Array<ObservedTx>}
|
|
1012
|
+
* @memberof TxSignersResponse
|
|
1087
1013
|
*/
|
|
1088
|
-
'
|
|
1014
|
+
'txs': Array<ObservedTx>;
|
|
1089
1015
|
/**
|
|
1090
1016
|
*
|
|
1091
1017
|
* @type {Array<ObservedTx>}
|
|
1092
|
-
* @memberof
|
|
1018
|
+
* @memberof TxSignersResponse
|
|
1093
1019
|
*/
|
|
1094
|
-
'actions'
|
|
1020
|
+
'actions': Array<ObservedTx>;
|
|
1095
1021
|
/**
|
|
1096
1022
|
*
|
|
1023
|
+
* @type {Array<string>}
|
|
1024
|
+
* @memberof TxSignersResponse
|
|
1025
|
+
*/
|
|
1026
|
+
'out_txs': Array<string>;
|
|
1027
|
+
/**
|
|
1028
|
+
* the thorchain height at which the outbound was finalised
|
|
1097
1029
|
* @type {number}
|
|
1098
|
-
* @memberof
|
|
1030
|
+
* @memberof TxSignersResponse
|
|
1099
1031
|
*/
|
|
1100
1032
|
'finalised_height'?: number;
|
|
1033
|
+
/**
|
|
1034
|
+
*
|
|
1035
|
+
* @type {boolean}
|
|
1036
|
+
* @memberof TxSignersResponse
|
|
1037
|
+
*/
|
|
1038
|
+
'updated_vault'?: boolean;
|
|
1039
|
+
/**
|
|
1040
|
+
*
|
|
1041
|
+
* @type {boolean}
|
|
1042
|
+
* @memberof TxSignersResponse
|
|
1043
|
+
*/
|
|
1044
|
+
'reverted'?: boolean;
|
|
1045
|
+
/**
|
|
1046
|
+
*
|
|
1047
|
+
* @type {number}
|
|
1048
|
+
* @memberof TxSignersResponse
|
|
1049
|
+
*/
|
|
1050
|
+
'outbound_height'?: number;
|
|
1101
1051
|
}
|
|
1102
1052
|
/**
|
|
1103
1053
|
*
|
|
@@ -1122,7 +1072,7 @@ export interface Vault {
|
|
|
1122
1072
|
* @type {Array<Coin>}
|
|
1123
1073
|
* @memberof Vault
|
|
1124
1074
|
*/
|
|
1125
|
-
'coins'
|
|
1075
|
+
'coins': Array<Coin>;
|
|
1126
1076
|
/**
|
|
1127
1077
|
*
|
|
1128
1078
|
* @type {string}
|
|
@@ -1165,18 +1115,24 @@ export interface Vault {
|
|
|
1165
1115
|
* @memberof Vault
|
|
1166
1116
|
*/
|
|
1167
1117
|
'outbound_tx_count'?: number;
|
|
1118
|
+
/**
|
|
1119
|
+
*
|
|
1120
|
+
* @type {Array<number>}
|
|
1121
|
+
* @memberof Vault
|
|
1122
|
+
*/
|
|
1123
|
+
'pending_tx_block_heights'?: Array<number>;
|
|
1168
1124
|
/**
|
|
1169
1125
|
*
|
|
1170
1126
|
* @type {Array<VaultRouter>}
|
|
1171
1127
|
* @memberof Vault
|
|
1172
1128
|
*/
|
|
1173
|
-
'routers'
|
|
1129
|
+
'routers': Array<VaultRouter>;
|
|
1174
1130
|
/**
|
|
1175
1131
|
*
|
|
1176
1132
|
* @type {Array<VaultAddress>}
|
|
1177
1133
|
* @memberof Vault
|
|
1178
1134
|
*/
|
|
1179
|
-
'addresses'
|
|
1135
|
+
'addresses': Array<VaultAddress>;
|
|
1180
1136
|
}
|
|
1181
1137
|
export declare const VaultTypeEnum: {
|
|
1182
1138
|
readonly AsgardVault: "AsgardVault";
|
|
@@ -1213,32 +1169,32 @@ export interface VaultInfo {
|
|
|
1213
1169
|
* @type {string}
|
|
1214
1170
|
* @memberof VaultInfo
|
|
1215
1171
|
*/
|
|
1216
|
-
'pub_key'
|
|
1172
|
+
'pub_key': string;
|
|
1217
1173
|
/**
|
|
1218
1174
|
*
|
|
1219
1175
|
* @type {Array<VaultRouter>}
|
|
1220
1176
|
* @memberof VaultInfo
|
|
1221
1177
|
*/
|
|
1222
|
-
'routers'
|
|
1178
|
+
'routers': Array<VaultRouter>;
|
|
1223
1179
|
}
|
|
1224
1180
|
/**
|
|
1225
1181
|
*
|
|
1226
1182
|
* @export
|
|
1227
|
-
* @interface
|
|
1183
|
+
* @interface VaultPubkeysResponse
|
|
1228
1184
|
*/
|
|
1229
|
-
export interface
|
|
1185
|
+
export interface VaultPubkeysResponse {
|
|
1230
1186
|
/**
|
|
1231
1187
|
*
|
|
1232
1188
|
* @type {Array<VaultInfo>}
|
|
1233
|
-
* @memberof
|
|
1189
|
+
* @memberof VaultPubkeysResponse
|
|
1234
1190
|
*/
|
|
1235
|
-
'asgard'
|
|
1191
|
+
'asgard': Array<VaultInfo>;
|
|
1236
1192
|
/**
|
|
1237
1193
|
*
|
|
1238
1194
|
* @type {Array<VaultInfo>}
|
|
1239
|
-
* @memberof
|
|
1195
|
+
* @memberof VaultPubkeysResponse
|
|
1240
1196
|
*/
|
|
1241
|
-
'yggdrasil'
|
|
1197
|
+
'yggdrasil': Array<VaultInfo>;
|
|
1242
1198
|
}
|
|
1243
1199
|
/**
|
|
1244
1200
|
*
|
|
@@ -1262,27 +1218,27 @@ export interface VaultRouter {
|
|
|
1262
1218
|
/**
|
|
1263
1219
|
*
|
|
1264
1220
|
* @export
|
|
1265
|
-
* @interface
|
|
1221
|
+
* @interface VersionResponse
|
|
1266
1222
|
*/
|
|
1267
|
-
export interface
|
|
1223
|
+
export interface VersionResponse {
|
|
1268
1224
|
/**
|
|
1269
1225
|
* current version
|
|
1270
1226
|
* @type {string}
|
|
1271
|
-
* @memberof
|
|
1227
|
+
* @memberof VersionResponse
|
|
1272
1228
|
*/
|
|
1273
|
-
'current'
|
|
1229
|
+
'current': string;
|
|
1274
1230
|
/**
|
|
1275
1231
|
* next version
|
|
1276
1232
|
* @type {string}
|
|
1277
|
-
* @memberof
|
|
1233
|
+
* @memberof VersionResponse
|
|
1278
1234
|
*/
|
|
1279
|
-
'next'
|
|
1235
|
+
'next': string;
|
|
1280
1236
|
/**
|
|
1281
1237
|
* querier version
|
|
1282
1238
|
* @type {string}
|
|
1283
|
-
* @memberof
|
|
1239
|
+
* @memberof VersionResponse
|
|
1284
1240
|
*/
|
|
1285
|
-
'querier'
|
|
1241
|
+
'querier': string;
|
|
1286
1242
|
}
|
|
1287
1243
|
/**
|
|
1288
1244
|
* HealthApi - axios parameter creator
|
|
@@ -1521,7 +1477,7 @@ export declare const MimirApiFp: (configuration?: Configuration | undefined) =>
|
|
|
1521
1477
|
* @param {*} [options] Override http request option.
|
|
1522
1478
|
* @throws {RequiredError}
|
|
1523
1479
|
*/
|
|
1524
|
-
mimirNodes(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
1480
|
+
mimirNodes(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<MimirNodesResponse>>;
|
|
1525
1481
|
};
|
|
1526
1482
|
/**
|
|
1527
1483
|
* MimirApi - factory interface
|
|
@@ -1570,7 +1526,7 @@ export declare const MimirApiFactory: (configuration?: Configuration | undefined
|
|
|
1570
1526
|
* @param {*} [options] Override http request option.
|
|
1571
1527
|
* @throws {RequiredError}
|
|
1572
1528
|
*/
|
|
1573
|
-
mimirNodes(height?: number | undefined, options?: any): AxiosPromise<
|
|
1529
|
+
mimirNodes(height?: number | undefined, options?: any): AxiosPromise<MimirNodesResponse>;
|
|
1574
1530
|
};
|
|
1575
1531
|
/**
|
|
1576
1532
|
* MimirApi - object-oriented interface
|
|
@@ -1626,7 +1582,7 @@ export declare class MimirApi extends BaseAPI {
|
|
|
1626
1582
|
* @throws {RequiredError}
|
|
1627
1583
|
* @memberof MimirApi
|
|
1628
1584
|
*/
|
|
1629
|
-
mimirNodes(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
1585
|
+
mimirNodes(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MimirNodesResponse, any>>;
|
|
1630
1586
|
}
|
|
1631
1587
|
/**
|
|
1632
1588
|
* NetworkApi - axios parameter creator
|
|
@@ -1704,21 +1660,21 @@ export declare const NetworkApiFp: (configuration?: Configuration | undefined) =
|
|
|
1704
1660
|
* @param {*} [options] Override http request option.
|
|
1705
1661
|
* @throws {RequiredError}
|
|
1706
1662
|
*/
|
|
1707
|
-
ban(address: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
1663
|
+
ban(address: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<BanResponse>>;
|
|
1708
1664
|
/**
|
|
1709
1665
|
* Returns constant configuration, can be overridden by mimir.
|
|
1710
1666
|
* @param {number} [height] optional block height, defaults to current tip
|
|
1711
1667
|
* @param {*} [options] Override http request option.
|
|
1712
1668
|
* @throws {RequiredError}
|
|
1713
1669
|
*/
|
|
1714
|
-
constants(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
1670
|
+
constants(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ConstantsResponse>>;
|
|
1715
1671
|
/**
|
|
1716
1672
|
* Returns the set of asgard addresses that should be used for inbound transactions.
|
|
1717
1673
|
* @param {number} [height] optional block height, defaults to current tip
|
|
1718
1674
|
* @param {*} [options] Override http request option.
|
|
1719
1675
|
* @throws {RequiredError}
|
|
1720
1676
|
*/
|
|
1721
|
-
inboundAddresses(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<
|
|
1677
|
+
inboundAddresses(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<object>>>;
|
|
1722
1678
|
/**
|
|
1723
1679
|
* Returns the last block information for all chains.
|
|
1724
1680
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -1740,7 +1696,7 @@ export declare const NetworkApiFp: (configuration?: Configuration | undefined) =
|
|
|
1740
1696
|
* @param {*} [options] Override http request option.
|
|
1741
1697
|
* @throws {RequiredError}
|
|
1742
1698
|
*/
|
|
1743
|
-
network(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
1699
|
+
network(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<NetworkResponse>>;
|
|
1744
1700
|
/**
|
|
1745
1701
|
* Returns a boolean indicating whether the chain is in ragnarok.
|
|
1746
1702
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -1754,7 +1710,7 @@ export declare const NetworkApiFp: (configuration?: Configuration | undefined) =
|
|
|
1754
1710
|
* @param {*} [options] Override http request option.
|
|
1755
1711
|
* @throws {RequiredError}
|
|
1756
1712
|
*/
|
|
1757
|
-
version(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
1713
|
+
version(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<VersionResponse>>;
|
|
1758
1714
|
};
|
|
1759
1715
|
/**
|
|
1760
1716
|
* NetworkApi - factory interface
|
|
@@ -1768,21 +1724,21 @@ export declare const NetworkApiFactory: (configuration?: Configuration | undefin
|
|
|
1768
1724
|
* @param {*} [options] Override http request option.
|
|
1769
1725
|
* @throws {RequiredError}
|
|
1770
1726
|
*/
|
|
1771
|
-
ban(address: string, height?: number | undefined, options?: any): AxiosPromise<
|
|
1727
|
+
ban(address: string, height?: number | undefined, options?: any): AxiosPromise<BanResponse>;
|
|
1772
1728
|
/**
|
|
1773
1729
|
* Returns constant configuration, can be overridden by mimir.
|
|
1774
1730
|
* @param {number} [height] optional block height, defaults to current tip
|
|
1775
1731
|
* @param {*} [options] Override http request option.
|
|
1776
1732
|
* @throws {RequiredError}
|
|
1777
1733
|
*/
|
|
1778
|
-
constants(height?: number | undefined, options?: any): AxiosPromise<
|
|
1734
|
+
constants(height?: number | undefined, options?: any): AxiosPromise<ConstantsResponse>;
|
|
1779
1735
|
/**
|
|
1780
1736
|
* Returns the set of asgard addresses that should be used for inbound transactions.
|
|
1781
1737
|
* @param {number} [height] optional block height, defaults to current tip
|
|
1782
1738
|
* @param {*} [options] Override http request option.
|
|
1783
1739
|
* @throws {RequiredError}
|
|
1784
1740
|
*/
|
|
1785
|
-
inboundAddresses(height?: number | undefined, options?: any): AxiosPromise<Array<
|
|
1741
|
+
inboundAddresses(height?: number | undefined, options?: any): AxiosPromise<Array<object>>;
|
|
1786
1742
|
/**
|
|
1787
1743
|
* Returns the last block information for all chains.
|
|
1788
1744
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -1804,7 +1760,7 @@ export declare const NetworkApiFactory: (configuration?: Configuration | undefin
|
|
|
1804
1760
|
* @param {*} [options] Override http request option.
|
|
1805
1761
|
* @throws {RequiredError}
|
|
1806
1762
|
*/
|
|
1807
|
-
network(height?: number | undefined, options?: any): AxiosPromise<
|
|
1763
|
+
network(height?: number | undefined, options?: any): AxiosPromise<NetworkResponse>;
|
|
1808
1764
|
/**
|
|
1809
1765
|
* Returns a boolean indicating whether the chain is in ragnarok.
|
|
1810
1766
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -1818,7 +1774,7 @@ export declare const NetworkApiFactory: (configuration?: Configuration | undefin
|
|
|
1818
1774
|
* @param {*} [options] Override http request option.
|
|
1819
1775
|
* @throws {RequiredError}
|
|
1820
1776
|
*/
|
|
1821
|
-
version(height?: number | undefined, options?: any): AxiosPromise<
|
|
1777
|
+
version(height?: number | undefined, options?: any): AxiosPromise<VersionResponse>;
|
|
1822
1778
|
};
|
|
1823
1779
|
/**
|
|
1824
1780
|
* NetworkApi - object-oriented interface
|
|
@@ -1835,7 +1791,7 @@ export declare class NetworkApi extends BaseAPI {
|
|
|
1835
1791
|
* @throws {RequiredError}
|
|
1836
1792
|
* @memberof NetworkApi
|
|
1837
1793
|
*/
|
|
1838
|
-
ban(address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
1794
|
+
ban(address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BanResponse, any>>;
|
|
1839
1795
|
/**
|
|
1840
1796
|
* Returns constant configuration, can be overridden by mimir.
|
|
1841
1797
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -1843,7 +1799,7 @@ export declare class NetworkApi extends BaseAPI {
|
|
|
1843
1799
|
* @throws {RequiredError}
|
|
1844
1800
|
* @memberof NetworkApi
|
|
1845
1801
|
*/
|
|
1846
|
-
constants(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
1802
|
+
constants(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ConstantsResponse, any>>;
|
|
1847
1803
|
/**
|
|
1848
1804
|
* Returns the set of asgard addresses that should be used for inbound transactions.
|
|
1849
1805
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -1851,7 +1807,7 @@ export declare class NetworkApi extends BaseAPI {
|
|
|
1851
1807
|
* @throws {RequiredError}
|
|
1852
1808
|
* @memberof NetworkApi
|
|
1853
1809
|
*/
|
|
1854
|
-
inboundAddresses(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
1810
|
+
inboundAddresses(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object[], any>>;
|
|
1855
1811
|
/**
|
|
1856
1812
|
* Returns the last block information for all chains.
|
|
1857
1813
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -1876,7 +1832,7 @@ export declare class NetworkApi extends BaseAPI {
|
|
|
1876
1832
|
* @throws {RequiredError}
|
|
1877
1833
|
* @memberof NetworkApi
|
|
1878
1834
|
*/
|
|
1879
|
-
network(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
1835
|
+
network(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<NetworkResponse, any>>;
|
|
1880
1836
|
/**
|
|
1881
1837
|
* Returns a boolean indicating whether the chain is in ragnarok.
|
|
1882
1838
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -1892,7 +1848,95 @@ export declare class NetworkApi extends BaseAPI {
|
|
|
1892
1848
|
* @throws {RequiredError}
|
|
1893
1849
|
* @memberof NetworkApi
|
|
1894
1850
|
*/
|
|
1895
|
-
version(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
1851
|
+
version(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VersionResponse, any>>;
|
|
1852
|
+
}
|
|
1853
|
+
/**
|
|
1854
|
+
* NodesApi - axios parameter creator
|
|
1855
|
+
* @export
|
|
1856
|
+
*/
|
|
1857
|
+
export declare const NodesApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
|
|
1858
|
+
/**
|
|
1859
|
+
* Returns node information for the provided node address.
|
|
1860
|
+
* @param {string} address
|
|
1861
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1862
|
+
* @param {*} [options] Override http request option.
|
|
1863
|
+
* @throws {RequiredError}
|
|
1864
|
+
*/
|
|
1865
|
+
node: (address: string, height?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1866
|
+
/**
|
|
1867
|
+
* Returns node information for all registered validators.
|
|
1868
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1869
|
+
* @param {*} [options] Override http request option.
|
|
1870
|
+
* @throws {RequiredError}
|
|
1871
|
+
*/
|
|
1872
|
+
nodes: (height?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1873
|
+
};
|
|
1874
|
+
/**
|
|
1875
|
+
* NodesApi - functional programming interface
|
|
1876
|
+
* @export
|
|
1877
|
+
*/
|
|
1878
|
+
export declare const NodesApiFp: (configuration?: Configuration | undefined) => {
|
|
1879
|
+
/**
|
|
1880
|
+
* Returns node information for the provided node address.
|
|
1881
|
+
* @param {string} address
|
|
1882
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1883
|
+
* @param {*} [options] Override http request option.
|
|
1884
|
+
* @throws {RequiredError}
|
|
1885
|
+
*/
|
|
1886
|
+
node(address: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Node>>;
|
|
1887
|
+
/**
|
|
1888
|
+
* Returns node information for all registered validators.
|
|
1889
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1890
|
+
* @param {*} [options] Override http request option.
|
|
1891
|
+
* @throws {RequiredError}
|
|
1892
|
+
*/
|
|
1893
|
+
nodes(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<Node>>>;
|
|
1894
|
+
};
|
|
1895
|
+
/**
|
|
1896
|
+
* NodesApi - factory interface
|
|
1897
|
+
* @export
|
|
1898
|
+
*/
|
|
1899
|
+
export declare const NodesApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
|
|
1900
|
+
/**
|
|
1901
|
+
* Returns node information for the provided node address.
|
|
1902
|
+
* @param {string} address
|
|
1903
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1904
|
+
* @param {*} [options] Override http request option.
|
|
1905
|
+
* @throws {RequiredError}
|
|
1906
|
+
*/
|
|
1907
|
+
node(address: string, height?: number | undefined, options?: any): AxiosPromise<Node>;
|
|
1908
|
+
/**
|
|
1909
|
+
* Returns node information for all registered validators.
|
|
1910
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1911
|
+
* @param {*} [options] Override http request option.
|
|
1912
|
+
* @throws {RequiredError}
|
|
1913
|
+
*/
|
|
1914
|
+
nodes(height?: number | undefined, options?: any): AxiosPromise<Array<Node>>;
|
|
1915
|
+
};
|
|
1916
|
+
/**
|
|
1917
|
+
* NodesApi - object-oriented interface
|
|
1918
|
+
* @export
|
|
1919
|
+
* @class NodesApi
|
|
1920
|
+
* @extends {BaseAPI}
|
|
1921
|
+
*/
|
|
1922
|
+
export declare class NodesApi extends BaseAPI {
|
|
1923
|
+
/**
|
|
1924
|
+
* Returns node information for the provided node address.
|
|
1925
|
+
* @param {string} address
|
|
1926
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1927
|
+
* @param {*} [options] Override http request option.
|
|
1928
|
+
* @throws {RequiredError}
|
|
1929
|
+
* @memberof NodesApi
|
|
1930
|
+
*/
|
|
1931
|
+
node(address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Node, any>>;
|
|
1932
|
+
/**
|
|
1933
|
+
* Returns node information for all registered validators.
|
|
1934
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1935
|
+
* @param {*} [options] Override http request option.
|
|
1936
|
+
* @throws {RequiredError}
|
|
1937
|
+
* @memberof NodesApi
|
|
1938
|
+
*/
|
|
1939
|
+
nodes(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Node[], any>>;
|
|
1896
1940
|
}
|
|
1897
1941
|
/**
|
|
1898
1942
|
* PoolsApi - axios parameter creator
|
|
@@ -2020,21 +2064,21 @@ export declare const QueueApiFp: (configuration?: Configuration | undefined) =>
|
|
|
2020
2064
|
* @param {*} [options] Override http request option.
|
|
2021
2065
|
* @throws {RequiredError}
|
|
2022
2066
|
*/
|
|
2023
|
-
queue(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
2067
|
+
queue(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<QueueResponse>>;
|
|
2024
2068
|
/**
|
|
2025
2069
|
* Returns the outbound queue including estimated RUNE values.
|
|
2026
2070
|
* @param {number} [height] optional block height, defaults to current tip
|
|
2027
2071
|
* @param {*} [options] Override http request option.
|
|
2028
2072
|
* @throws {RequiredError}
|
|
2029
2073
|
*/
|
|
2030
|
-
queueOutbound(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<
|
|
2074
|
+
queueOutbound(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<TxOutItem>>>;
|
|
2031
2075
|
/**
|
|
2032
2076
|
* Returns the scheduled queue.
|
|
2033
2077
|
* @param {number} [height] optional block height, defaults to current tip
|
|
2034
2078
|
* @param {*} [options] Override http request option.
|
|
2035
2079
|
* @throws {RequiredError}
|
|
2036
2080
|
*/
|
|
2037
|
-
queueScheduled(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<
|
|
2081
|
+
queueScheduled(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<TxOutItem>>>;
|
|
2038
2082
|
};
|
|
2039
2083
|
/**
|
|
2040
2084
|
* QueueApi - factory interface
|
|
@@ -2047,21 +2091,21 @@ export declare const QueueApiFactory: (configuration?: Configuration | undefined
|
|
|
2047
2091
|
* @param {*} [options] Override http request option.
|
|
2048
2092
|
* @throws {RequiredError}
|
|
2049
2093
|
*/
|
|
2050
|
-
queue(height?: number | undefined, options?: any): AxiosPromise<
|
|
2094
|
+
queue(height?: number | undefined, options?: any): AxiosPromise<QueueResponse>;
|
|
2051
2095
|
/**
|
|
2052
2096
|
* Returns the outbound queue including estimated RUNE values.
|
|
2053
2097
|
* @param {number} [height] optional block height, defaults to current tip
|
|
2054
2098
|
* @param {*} [options] Override http request option.
|
|
2055
2099
|
* @throws {RequiredError}
|
|
2056
2100
|
*/
|
|
2057
|
-
queueOutbound(height?: number | undefined, options?: any): AxiosPromise<Array<
|
|
2101
|
+
queueOutbound(height?: number | undefined, options?: any): AxiosPromise<Array<TxOutItem>>;
|
|
2058
2102
|
/**
|
|
2059
2103
|
* Returns the scheduled queue.
|
|
2060
2104
|
* @param {number} [height] optional block height, defaults to current tip
|
|
2061
2105
|
* @param {*} [options] Override http request option.
|
|
2062
2106
|
* @throws {RequiredError}
|
|
2063
2107
|
*/
|
|
2064
|
-
queueScheduled(height?: number | undefined, options?: any): AxiosPromise<Array<
|
|
2108
|
+
queueScheduled(height?: number | undefined, options?: any): AxiosPromise<Array<TxOutItem>>;
|
|
2065
2109
|
};
|
|
2066
2110
|
/**
|
|
2067
2111
|
* QueueApi - object-oriented interface
|
|
@@ -2077,7 +2121,7 @@ export declare class QueueApi extends BaseAPI {
|
|
|
2077
2121
|
* @throws {RequiredError}
|
|
2078
2122
|
* @memberof QueueApi
|
|
2079
2123
|
*/
|
|
2080
|
-
queue(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2124
|
+
queue(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<QueueResponse, any>>;
|
|
2081
2125
|
/**
|
|
2082
2126
|
* Returns the outbound queue including estimated RUNE values.
|
|
2083
2127
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -2085,7 +2129,7 @@ export declare class QueueApi extends BaseAPI {
|
|
|
2085
2129
|
* @throws {RequiredError}
|
|
2086
2130
|
* @memberof QueueApi
|
|
2087
2131
|
*/
|
|
2088
|
-
queueOutbound(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2132
|
+
queueOutbound(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TxOutItem[], any>>;
|
|
2089
2133
|
/**
|
|
2090
2134
|
* Returns the scheduled queue.
|
|
2091
2135
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -2093,7 +2137,7 @@ export declare class QueueApi extends BaseAPI {
|
|
|
2093
2137
|
* @throws {RequiredError}
|
|
2094
2138
|
* @memberof QueueApi
|
|
2095
2139
|
*/
|
|
2096
|
-
queueScheduled(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2140
|
+
queueScheduled(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TxOutItem[], any>>;
|
|
2097
2141
|
}
|
|
2098
2142
|
/**
|
|
2099
2143
|
* TSSApi - axios parameter creator
|
|
@@ -2142,7 +2186,7 @@ export declare const TSSApiFp: (configuration?: Configuration | undefined) => {
|
|
|
2142
2186
|
* @param {*} [options] Override http request option.
|
|
2143
2187
|
* @throws {RequiredError}
|
|
2144
2188
|
*/
|
|
2145
|
-
keysign(height: number, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
2189
|
+
keysign(height: number, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<KeysignResponse>>;
|
|
2146
2190
|
/**
|
|
2147
2191
|
* Returns keysign information for the provided height and pubkey - the height being the block at which a tx out item is scheduled to be signed and moved from the scheduled outbound queue to the outbound queue.
|
|
2148
2192
|
* @param {number} height
|
|
@@ -2150,14 +2194,14 @@ export declare const TSSApiFp: (configuration?: Configuration | undefined) => {
|
|
|
2150
2194
|
* @param {*} [options] Override http request option.
|
|
2151
2195
|
* @throws {RequiredError}
|
|
2152
2196
|
*/
|
|
2153
|
-
keysignPubkey(height: number, pubkey: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
2197
|
+
keysignPubkey(height: number, pubkey: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<KeysignResponse>>;
|
|
2154
2198
|
/**
|
|
2155
2199
|
* Returns keygen and keysign metrics for current vaults.
|
|
2156
2200
|
* @param {number} [height] optional block height, defaults to current tip
|
|
2157
2201
|
* @param {*} [options] Override http request option.
|
|
2158
2202
|
* @throws {RequiredError}
|
|
2159
2203
|
*/
|
|
2160
|
-
metrics(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
2204
|
+
metrics(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<MetricsResponse>>;
|
|
2161
2205
|
/**
|
|
2162
2206
|
* Returns keygen metrics for the provided vault pubkey.
|
|
2163
2207
|
* @param {string} pubkey
|
|
@@ -2165,7 +2209,7 @@ export declare const TSSApiFp: (configuration?: Configuration | undefined) => {
|
|
|
2165
2209
|
* @param {*} [options] Override http request option.
|
|
2166
2210
|
* @throws {RequiredError}
|
|
2167
2211
|
*/
|
|
2168
|
-
metricsKeygen(pubkey: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<
|
|
2212
|
+
metricsKeygen(pubkey: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<object>>>;
|
|
2169
2213
|
};
|
|
2170
2214
|
/**
|
|
2171
2215
|
* TSSApi - factory interface
|
|
@@ -2178,7 +2222,7 @@ export declare const TSSApiFactory: (configuration?: Configuration | undefined,
|
|
|
2178
2222
|
* @param {*} [options] Override http request option.
|
|
2179
2223
|
* @throws {RequiredError}
|
|
2180
2224
|
*/
|
|
2181
|
-
keysign(height: number, options?: any): AxiosPromise<
|
|
2225
|
+
keysign(height: number, options?: any): AxiosPromise<KeysignResponse>;
|
|
2182
2226
|
/**
|
|
2183
2227
|
* Returns keysign information for the provided height and pubkey - the height being the block at which a tx out item is scheduled to be signed and moved from the scheduled outbound queue to the outbound queue.
|
|
2184
2228
|
* @param {number} height
|
|
@@ -2186,14 +2230,14 @@ export declare const TSSApiFactory: (configuration?: Configuration | undefined,
|
|
|
2186
2230
|
* @param {*} [options] Override http request option.
|
|
2187
2231
|
* @throws {RequiredError}
|
|
2188
2232
|
*/
|
|
2189
|
-
keysignPubkey(height: number, pubkey: string, options?: any): AxiosPromise<
|
|
2233
|
+
keysignPubkey(height: number, pubkey: string, options?: any): AxiosPromise<KeysignResponse>;
|
|
2190
2234
|
/**
|
|
2191
2235
|
* Returns keygen and keysign metrics for current vaults.
|
|
2192
2236
|
* @param {number} [height] optional block height, defaults to current tip
|
|
2193
2237
|
* @param {*} [options] Override http request option.
|
|
2194
2238
|
* @throws {RequiredError}
|
|
2195
2239
|
*/
|
|
2196
|
-
metrics(height?: number | undefined, options?: any): AxiosPromise<
|
|
2240
|
+
metrics(height?: number | undefined, options?: any): AxiosPromise<MetricsResponse>;
|
|
2197
2241
|
/**
|
|
2198
2242
|
* Returns keygen metrics for the provided vault pubkey.
|
|
2199
2243
|
* @param {string} pubkey
|
|
@@ -2201,7 +2245,7 @@ export declare const TSSApiFactory: (configuration?: Configuration | undefined,
|
|
|
2201
2245
|
* @param {*} [options] Override http request option.
|
|
2202
2246
|
* @throws {RequiredError}
|
|
2203
2247
|
*/
|
|
2204
|
-
metricsKeygen(pubkey: string, height?: number | undefined, options?: any): AxiosPromise<Array<
|
|
2248
|
+
metricsKeygen(pubkey: string, height?: number | undefined, options?: any): AxiosPromise<Array<object>>;
|
|
2205
2249
|
};
|
|
2206
2250
|
/**
|
|
2207
2251
|
* TSSApi - object-oriented interface
|
|
@@ -2217,7 +2261,7 @@ export declare class TSSApi extends BaseAPI {
|
|
|
2217
2261
|
* @throws {RequiredError}
|
|
2218
2262
|
* @memberof TSSApi
|
|
2219
2263
|
*/
|
|
2220
|
-
keysign(height: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2264
|
+
keysign(height: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KeysignResponse, any>>;
|
|
2221
2265
|
/**
|
|
2222
2266
|
* Returns keysign information for the provided height and pubkey - the height being the block at which a tx out item is scheduled to be signed and moved from the scheduled outbound queue to the outbound queue.
|
|
2223
2267
|
* @param {number} height
|
|
@@ -2226,7 +2270,7 @@ export declare class TSSApi extends BaseAPI {
|
|
|
2226
2270
|
* @throws {RequiredError}
|
|
2227
2271
|
* @memberof TSSApi
|
|
2228
2272
|
*/
|
|
2229
|
-
keysignPubkey(height: number, pubkey: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2273
|
+
keysignPubkey(height: number, pubkey: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KeysignResponse, any>>;
|
|
2230
2274
|
/**
|
|
2231
2275
|
* Returns keygen and keysign metrics for current vaults.
|
|
2232
2276
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -2234,7 +2278,7 @@ export declare class TSSApi extends BaseAPI {
|
|
|
2234
2278
|
* @throws {RequiredError}
|
|
2235
2279
|
* @memberof TSSApi
|
|
2236
2280
|
*/
|
|
2237
|
-
metrics(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2281
|
+
metrics(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MetricsResponse, any>>;
|
|
2238
2282
|
/**
|
|
2239
2283
|
* Returns keygen metrics for the provided vault pubkey.
|
|
2240
2284
|
* @param {string} pubkey
|
|
@@ -2243,7 +2287,7 @@ export declare class TSSApi extends BaseAPI {
|
|
|
2243
2287
|
* @throws {RequiredError}
|
|
2244
2288
|
* @memberof TSSApi
|
|
2245
2289
|
*/
|
|
2246
|
-
metricsKeygen(pubkey: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2290
|
+
metricsKeygen(pubkey: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object[], any>>;
|
|
2247
2291
|
}
|
|
2248
2292
|
/**
|
|
2249
2293
|
* ThornamesApi - axios parameter creator
|
|
@@ -2271,7 +2315,7 @@ export declare const ThornamesApiFp: (configuration?: Configuration | undefined)
|
|
|
2271
2315
|
* @param {*} [options] Override http request option.
|
|
2272
2316
|
* @throws {RequiredError}
|
|
2273
2317
|
*/
|
|
2274
|
-
thorname(name: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<
|
|
2318
|
+
thorname(name: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<object>>>;
|
|
2275
2319
|
};
|
|
2276
2320
|
/**
|
|
2277
2321
|
* ThornamesApi - factory interface
|
|
@@ -2285,7 +2329,7 @@ export declare const ThornamesApiFactory: (configuration?: Configuration | undef
|
|
|
2285
2329
|
* @param {*} [options] Override http request option.
|
|
2286
2330
|
* @throws {RequiredError}
|
|
2287
2331
|
*/
|
|
2288
|
-
thorname(name: string, height?: number | undefined, options?: any): AxiosPromise<Array<
|
|
2332
|
+
thorname(name: string, height?: number | undefined, options?: any): AxiosPromise<Array<object>>;
|
|
2289
2333
|
};
|
|
2290
2334
|
/**
|
|
2291
2335
|
* ThornamesApi - object-oriented interface
|
|
@@ -2302,28 +2346,13 @@ export declare class ThornamesApi extends BaseAPI {
|
|
|
2302
2346
|
* @throws {RequiredError}
|
|
2303
2347
|
* @memberof ThornamesApi
|
|
2304
2348
|
*/
|
|
2305
|
-
thorname(name: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2349
|
+
thorname(name: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object[], any>>;
|
|
2306
2350
|
}
|
|
2307
2351
|
/**
|
|
2308
2352
|
* TransactionsApi - axios parameter creator
|
|
2309
2353
|
* @export
|
|
2310
2354
|
*/
|
|
2311
2355
|
export declare const TransactionsApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
|
|
2312
|
-
/**
|
|
2313
|
-
* Returns node information for the provided node address.
|
|
2314
|
-
* @param {string} address
|
|
2315
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
2316
|
-
* @param {*} [options] Override http request option.
|
|
2317
|
-
* @throws {RequiredError}
|
|
2318
|
-
*/
|
|
2319
|
-
node: (address: string, height?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2320
|
-
/**
|
|
2321
|
-
* Returns node information for all registered validators.
|
|
2322
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
2323
|
-
* @param {*} [options] Override http request option.
|
|
2324
|
-
* @throws {RequiredError}
|
|
2325
|
-
*/
|
|
2326
|
-
nodes: (height?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2327
2356
|
/**
|
|
2328
2357
|
* Returns the observed transaction for a provided inbound or outbound hash.
|
|
2329
2358
|
* @param {string} hash
|
|
@@ -2346,21 +2375,6 @@ export declare const TransactionsApiAxiosParamCreator: (configuration?: Configur
|
|
|
2346
2375
|
* @export
|
|
2347
2376
|
*/
|
|
2348
2377
|
export declare const TransactionsApiFp: (configuration?: Configuration | undefined) => {
|
|
2349
|
-
/**
|
|
2350
|
-
* Returns node information for the provided node address.
|
|
2351
|
-
* @param {string} address
|
|
2352
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
2353
|
-
* @param {*} [options] Override http request option.
|
|
2354
|
-
* @throws {RequiredError}
|
|
2355
|
-
*/
|
|
2356
|
-
node(address: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Node>>;
|
|
2357
|
-
/**
|
|
2358
|
-
* Returns node information for all registered validators.
|
|
2359
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
2360
|
-
* @param {*} [options] Override http request option.
|
|
2361
|
-
* @throws {RequiredError}
|
|
2362
|
-
*/
|
|
2363
|
-
nodes(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<Node>>>;
|
|
2364
2378
|
/**
|
|
2365
2379
|
* Returns the observed transaction for a provided inbound or outbound hash.
|
|
2366
2380
|
* @param {string} hash
|
|
@@ -2368,7 +2382,7 @@ export declare const TransactionsApiFp: (configuration?: Configuration | undefin
|
|
|
2368
2382
|
* @param {*} [options] Override http request option.
|
|
2369
2383
|
* @throws {RequiredError}
|
|
2370
2384
|
*/
|
|
2371
|
-
tx(hash: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
2385
|
+
tx(hash: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<TxResponse>>;
|
|
2372
2386
|
/**
|
|
2373
2387
|
* Returns the signers for a provided inbound or outbound hash.
|
|
2374
2388
|
* @param {string} hash
|
|
@@ -2376,28 +2390,13 @@ export declare const TransactionsApiFp: (configuration?: Configuration | undefin
|
|
|
2376
2390
|
* @param {*} [options] Override http request option.
|
|
2377
2391
|
* @throws {RequiredError}
|
|
2378
2392
|
*/
|
|
2379
|
-
txSigners(hash: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
2393
|
+
txSigners(hash: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<TxSignersResponse>>;
|
|
2380
2394
|
};
|
|
2381
2395
|
/**
|
|
2382
2396
|
* TransactionsApi - factory interface
|
|
2383
2397
|
* @export
|
|
2384
2398
|
*/
|
|
2385
2399
|
export declare const TransactionsApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
|
|
2386
|
-
/**
|
|
2387
|
-
* Returns node information for the provided node address.
|
|
2388
|
-
* @param {string} address
|
|
2389
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
2390
|
-
* @param {*} [options] Override http request option.
|
|
2391
|
-
* @throws {RequiredError}
|
|
2392
|
-
*/
|
|
2393
|
-
node(address: string, height?: number | undefined, options?: any): AxiosPromise<Node>;
|
|
2394
|
-
/**
|
|
2395
|
-
* Returns node information for all registered validators.
|
|
2396
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
2397
|
-
* @param {*} [options] Override http request option.
|
|
2398
|
-
* @throws {RequiredError}
|
|
2399
|
-
*/
|
|
2400
|
-
nodes(height?: number | undefined, options?: any): AxiosPromise<Array<Node>>;
|
|
2401
2400
|
/**
|
|
2402
2401
|
* Returns the observed transaction for a provided inbound or outbound hash.
|
|
2403
2402
|
* @param {string} hash
|
|
@@ -2405,7 +2404,7 @@ export declare const TransactionsApiFactory: (configuration?: Configuration | un
|
|
|
2405
2404
|
* @param {*} [options] Override http request option.
|
|
2406
2405
|
* @throws {RequiredError}
|
|
2407
2406
|
*/
|
|
2408
|
-
tx(hash: string, height?: number | undefined, options?: any): AxiosPromise<
|
|
2407
|
+
tx(hash: string, height?: number | undefined, options?: any): AxiosPromise<TxResponse>;
|
|
2409
2408
|
/**
|
|
2410
2409
|
* Returns the signers for a provided inbound or outbound hash.
|
|
2411
2410
|
* @param {string} hash
|
|
@@ -2413,7 +2412,7 @@ export declare const TransactionsApiFactory: (configuration?: Configuration | un
|
|
|
2413
2412
|
* @param {*} [options] Override http request option.
|
|
2414
2413
|
* @throws {RequiredError}
|
|
2415
2414
|
*/
|
|
2416
|
-
txSigners(hash: string, height?: number | undefined, options?: any): AxiosPromise<
|
|
2415
|
+
txSigners(hash: string, height?: number | undefined, options?: any): AxiosPromise<TxSignersResponse>;
|
|
2417
2416
|
};
|
|
2418
2417
|
/**
|
|
2419
2418
|
* TransactionsApi - object-oriented interface
|
|
@@ -2422,23 +2421,6 @@ export declare const TransactionsApiFactory: (configuration?: Configuration | un
|
|
|
2422
2421
|
* @extends {BaseAPI}
|
|
2423
2422
|
*/
|
|
2424
2423
|
export declare class TransactionsApi extends BaseAPI {
|
|
2425
|
-
/**
|
|
2426
|
-
* Returns node information for the provided node address.
|
|
2427
|
-
* @param {string} address
|
|
2428
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
2429
|
-
* @param {*} [options] Override http request option.
|
|
2430
|
-
* @throws {RequiredError}
|
|
2431
|
-
* @memberof TransactionsApi
|
|
2432
|
-
*/
|
|
2433
|
-
node(address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Node, any>>;
|
|
2434
|
-
/**
|
|
2435
|
-
* Returns node information for all registered validators.
|
|
2436
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
2437
|
-
* @param {*} [options] Override http request option.
|
|
2438
|
-
* @throws {RequiredError}
|
|
2439
|
-
* @memberof TransactionsApi
|
|
2440
|
-
*/
|
|
2441
|
-
nodes(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Node[], any>>;
|
|
2442
2424
|
/**
|
|
2443
2425
|
* Returns the observed transaction for a provided inbound or outbound hash.
|
|
2444
2426
|
* @param {string} hash
|
|
@@ -2447,7 +2429,7 @@ export declare class TransactionsApi extends BaseAPI {
|
|
|
2447
2429
|
* @throws {RequiredError}
|
|
2448
2430
|
* @memberof TransactionsApi
|
|
2449
2431
|
*/
|
|
2450
|
-
tx(hash: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2432
|
+
tx(hash: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TxResponse, any>>;
|
|
2451
2433
|
/**
|
|
2452
2434
|
* Returns the signers for a provided inbound or outbound hash.
|
|
2453
2435
|
* @param {string} hash
|
|
@@ -2456,7 +2438,7 @@ export declare class TransactionsApi extends BaseAPI {
|
|
|
2456
2438
|
* @throws {RequiredError}
|
|
2457
2439
|
* @memberof TransactionsApi
|
|
2458
2440
|
*/
|
|
2459
|
-
txSigners(hash: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2441
|
+
txSigners(hash: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TxSignersResponse, any>>;
|
|
2460
2442
|
}
|
|
2461
2443
|
/**
|
|
2462
2444
|
* VaultsApi - axios parameter creator
|
|
@@ -2519,7 +2501,7 @@ export declare const VaultsApiFp: (configuration?: Configuration | undefined) =>
|
|
|
2519
2501
|
* @param {*} [options] Override http request option.
|
|
2520
2502
|
* @throws {RequiredError}
|
|
2521
2503
|
*/
|
|
2522
|
-
vaultPubkeys(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
2504
|
+
vaultPubkeys(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<VaultPubkeysResponse>>;
|
|
2523
2505
|
/**
|
|
2524
2506
|
* Returns current yggdrasil vaults.
|
|
2525
2507
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -2554,7 +2536,7 @@ export declare const VaultsApiFactory: (configuration?: Configuration | undefine
|
|
|
2554
2536
|
* @param {*} [options] Override http request option.
|
|
2555
2537
|
* @throws {RequiredError}
|
|
2556
2538
|
*/
|
|
2557
|
-
vaultPubkeys(height?: number | undefined, options?: any): AxiosPromise<
|
|
2539
|
+
vaultPubkeys(height?: number | undefined, options?: any): AxiosPromise<VaultPubkeysResponse>;
|
|
2558
2540
|
/**
|
|
2559
2541
|
* Returns current yggdrasil vaults.
|
|
2560
2542
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -2594,7 +2576,7 @@ export declare class VaultsApi extends BaseAPI {
|
|
|
2594
2576
|
* @throws {RequiredError}
|
|
2595
2577
|
* @memberof VaultsApi
|
|
2596
2578
|
*/
|
|
2597
|
-
vaultPubkeys(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2579
|
+
vaultPubkeys(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VaultPubkeysResponse, any>>;
|
|
2598
2580
|
/**
|
|
2599
2581
|
* Returns current yggdrasil vaults.
|
|
2600
2582
|
* @param {number} [height] optional block height, defaults to current tip
|