@xchainjs/xchain-thornode 0.1.0-alpha → 0.1.0-alpha4
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/CHANGELOG.md +21 -0
- package/README.md +5 -4
- package/lib/generated/thornodeApi/api.d.ts +597 -427
- package/lib/index.esm.js +253 -126
- package/lib/index.js +260 -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
|
|
571
539
|
*/
|
|
572
|
-
'
|
|
540
|
+
'node_operator_fee'?: string;
|
|
541
|
+
/**
|
|
542
|
+
*
|
|
543
|
+
* @type {NodeBondProvider}
|
|
544
|
+
* @memberof NodeBondProviders
|
|
545
|
+
*/
|
|
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,29 +639,53 @@ 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
647
|
/**
|
|
668
648
|
*
|
|
669
|
-
* @type {
|
|
649
|
+
* @type {Array<string>}
|
|
670
650
|
* @memberof ObservedTx
|
|
671
651
|
*/
|
|
672
|
-
'
|
|
652
|
+
'signers'?: Array<string>;
|
|
673
653
|
/**
|
|
674
654
|
*
|
|
675
|
-
* @type {
|
|
655
|
+
* @type {string}
|
|
676
656
|
* @memberof ObservedTx
|
|
677
657
|
*/
|
|
678
|
-
'
|
|
658
|
+
'observed_pub_key'?: string;
|
|
679
659
|
/**
|
|
680
660
|
*
|
|
661
|
+
* @type {number}
|
|
662
|
+
* @memberof ObservedTx
|
|
663
|
+
*/
|
|
664
|
+
'keysign_ms'?: number;
|
|
665
|
+
/**
|
|
666
|
+
* the finalised height of the observed transaction on the source chain, not provided if chain is THOR
|
|
667
|
+
* @type {number}
|
|
668
|
+
* @memberof ObservedTx
|
|
669
|
+
*/
|
|
670
|
+
'finalise_height'?: number;
|
|
671
|
+
/**
|
|
672
|
+
* the outbound aggregator to use, will also match a suffix
|
|
681
673
|
* @type {string}
|
|
682
674
|
* @memberof ObservedTx
|
|
683
675
|
*/
|
|
684
|
-
'
|
|
676
|
+
'aggregator'?: string;
|
|
677
|
+
/**
|
|
678
|
+
* the aggregator target asset provided to transferOutAndCall
|
|
679
|
+
* @type {string}
|
|
680
|
+
* @memberof ObservedTx
|
|
681
|
+
*/
|
|
682
|
+
'aggregator_target'?: string;
|
|
683
|
+
/**
|
|
684
|
+
* the aggregator target asset limit provided to transferOutAndCall
|
|
685
|
+
* @type {string}
|
|
686
|
+
* @memberof ObservedTx
|
|
687
|
+
*/
|
|
688
|
+
'aggregator_target_limit'?: string;
|
|
685
689
|
}
|
|
686
690
|
export declare const ObservedTxStatusEnum: {
|
|
687
691
|
readonly Done: "done";
|
|
@@ -691,57 +695,39 @@ export declare type ObservedTxStatusEnum = typeof ObservedTxStatusEnum[keyof typ
|
|
|
691
695
|
/**
|
|
692
696
|
*
|
|
693
697
|
* @export
|
|
694
|
-
* @interface
|
|
698
|
+
* @interface POLResponse
|
|
695
699
|
*/
|
|
696
|
-
export interface
|
|
700
|
+
export interface POLResponse {
|
|
697
701
|
/**
|
|
698
|
-
*
|
|
702
|
+
* total amount of RUNE deposited into the pools
|
|
699
703
|
* @type {string}
|
|
700
|
-
* @memberof
|
|
704
|
+
* @memberof POLResponse
|
|
701
705
|
*/
|
|
702
|
-
'
|
|
706
|
+
'rune_deposited': string;
|
|
703
707
|
/**
|
|
704
|
-
*
|
|
708
|
+
* total amount of RUNE withdrawn from the pools
|
|
705
709
|
* @type {string}
|
|
706
|
-
* @memberof
|
|
710
|
+
* @memberof POLResponse
|
|
707
711
|
*/
|
|
708
|
-
'
|
|
712
|
+
'rune_withdrawn': string;
|
|
709
713
|
/**
|
|
710
|
-
*
|
|
714
|
+
* total value of protocol\'s LP position in RUNE value
|
|
711
715
|
* @type {string}
|
|
712
|
-
* @memberof
|
|
716
|
+
* @memberof POLResponse
|
|
713
717
|
*/
|
|
714
|
-
'
|
|
718
|
+
'value': string;
|
|
715
719
|
/**
|
|
716
|
-
*
|
|
717
|
-
* @type {Coin}
|
|
718
|
-
* @memberof Outbound
|
|
719
|
-
*/
|
|
720
|
-
'coin'?: Coin;
|
|
721
|
-
/**
|
|
722
|
-
*
|
|
720
|
+
* profit and loss of protocol owned liquidity
|
|
723
721
|
* @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
|
|
722
|
+
* @memberof POLResponse
|
|
737
723
|
*/
|
|
738
|
-
'
|
|
724
|
+
'pnl': string;
|
|
739
725
|
/**
|
|
740
|
-
*
|
|
726
|
+
* current amount of rune deposited
|
|
741
727
|
* @type {string}
|
|
742
|
-
* @memberof
|
|
728
|
+
* @memberof POLResponse
|
|
743
729
|
*/
|
|
744
|
-
'
|
|
730
|
+
'current_deposit': string;
|
|
745
731
|
}
|
|
746
732
|
/**
|
|
747
733
|
*
|
|
@@ -767,149 +753,136 @@ export interface Pool {
|
|
|
767
753
|
* @type {string}
|
|
768
754
|
* @memberof Pool
|
|
769
755
|
*/
|
|
770
|
-
'balance_rune'
|
|
756
|
+
'balance_rune': string;
|
|
771
757
|
/**
|
|
772
758
|
*
|
|
773
759
|
* @type {string}
|
|
774
760
|
* @memberof Pool
|
|
775
761
|
*/
|
|
776
|
-
'balance_asset'
|
|
762
|
+
'balance_asset': string;
|
|
777
763
|
/**
|
|
778
764
|
*
|
|
779
765
|
* @type {string}
|
|
780
766
|
* @memberof Pool
|
|
781
767
|
*/
|
|
782
|
-
'asset'
|
|
768
|
+
'asset': string;
|
|
783
769
|
/**
|
|
784
770
|
* the total pool liquidity provider units
|
|
785
771
|
* @type {string}
|
|
786
772
|
* @memberof Pool
|
|
787
773
|
*/
|
|
788
|
-
'LP_units'
|
|
774
|
+
'LP_units': string;
|
|
789
775
|
/**
|
|
790
776
|
* the total pool units, this is the sum of LP and synth units
|
|
791
777
|
* @type {string}
|
|
792
778
|
* @memberof Pool
|
|
793
779
|
*/
|
|
794
|
-
'pool_units'
|
|
780
|
+
'pool_units': string;
|
|
795
781
|
/**
|
|
796
782
|
*
|
|
797
783
|
* @type {string}
|
|
798
784
|
* @memberof Pool
|
|
799
785
|
*/
|
|
800
|
-
'status'
|
|
786
|
+
'status': string;
|
|
801
787
|
/**
|
|
802
|
-
*
|
|
803
|
-
* @type {
|
|
788
|
+
*
|
|
789
|
+
* @type {number}
|
|
804
790
|
* @memberof Pool
|
|
805
791
|
*/
|
|
806
|
-
'
|
|
792
|
+
'decimals'?: number;
|
|
807
793
|
/**
|
|
808
|
-
* the total
|
|
794
|
+
* the total synth units in the pool
|
|
809
795
|
* @type {string}
|
|
810
796
|
* @memberof Pool
|
|
811
797
|
*/
|
|
812
|
-
'
|
|
798
|
+
'synth_units': string;
|
|
813
799
|
/**
|
|
814
|
-
*
|
|
800
|
+
* the total supply of synths for the asset
|
|
815
801
|
* @type {string}
|
|
816
802
|
* @memberof Pool
|
|
817
803
|
*/
|
|
818
|
-
'
|
|
804
|
+
'synth_supply': string;
|
|
819
805
|
/**
|
|
820
806
|
*
|
|
821
807
|
* @type {string}
|
|
822
808
|
* @memberof Pool
|
|
823
809
|
*/
|
|
824
|
-
'
|
|
825
|
-
}
|
|
826
|
-
/**
|
|
827
|
-
*
|
|
828
|
-
* @export
|
|
829
|
-
* @interface ProcessedOutbound
|
|
830
|
-
*/
|
|
831
|
-
export interface ProcessedOutbound {
|
|
810
|
+
'pending_inbound_rune': string;
|
|
832
811
|
/**
|
|
833
812
|
*
|
|
834
813
|
* @type {string}
|
|
835
|
-
* @memberof
|
|
814
|
+
* @memberof Pool
|
|
836
815
|
*/
|
|
837
|
-
'
|
|
816
|
+
'pending_inbound_asset': string;
|
|
838
817
|
}
|
|
839
818
|
/**
|
|
840
819
|
*
|
|
841
820
|
* @export
|
|
842
|
-
* @interface
|
|
821
|
+
* @interface QueueResponse
|
|
843
822
|
*/
|
|
844
|
-
export interface
|
|
823
|
+
export interface QueueResponse {
|
|
845
824
|
/**
|
|
846
825
|
*
|
|
847
826
|
* @type {number}
|
|
848
|
-
* @memberof
|
|
827
|
+
* @memberof QueueResponse
|
|
849
828
|
*/
|
|
850
|
-
'swap'
|
|
829
|
+
'swap': number;
|
|
851
830
|
/**
|
|
852
831
|
* number of signed outbound tx in the queue
|
|
853
832
|
* @type {number}
|
|
854
|
-
* @memberof
|
|
833
|
+
* @memberof QueueResponse
|
|
855
834
|
*/
|
|
856
|
-
'outbound'
|
|
835
|
+
'outbound': number;
|
|
857
836
|
/**
|
|
858
837
|
*
|
|
859
838
|
* @type {number}
|
|
860
|
-
* @memberof
|
|
839
|
+
* @memberof QueueResponse
|
|
861
840
|
*/
|
|
862
|
-
'internal'
|
|
841
|
+
'internal': number;
|
|
863
842
|
/**
|
|
864
843
|
* scheduled outbound value in RUNE
|
|
865
844
|
* @type {string}
|
|
866
|
-
* @memberof
|
|
845
|
+
* @memberof QueueResponse
|
|
867
846
|
*/
|
|
868
|
-
'scheduled_outbound_value'
|
|
847
|
+
'scheduled_outbound_value': string;
|
|
869
848
|
}
|
|
870
849
|
/**
|
|
871
850
|
*
|
|
872
851
|
* @export
|
|
873
|
-
* @interface
|
|
852
|
+
* @interface TssKeysignMetric
|
|
874
853
|
*/
|
|
875
|
-
export interface
|
|
854
|
+
export interface TssKeysignMetric {
|
|
876
855
|
/**
|
|
877
856
|
*
|
|
878
|
-
* @type {
|
|
879
|
-
* @memberof
|
|
857
|
+
* @type {string}
|
|
858
|
+
* @memberof TssKeysignMetric
|
|
880
859
|
*/
|
|
881
|
-
'
|
|
860
|
+
'tx_id'?: string;
|
|
861
|
+
/**
|
|
862
|
+
*
|
|
863
|
+
* @type {Array<TssMetric>}
|
|
864
|
+
* @memberof TssKeysignMetric
|
|
865
|
+
*/
|
|
866
|
+
'node_tss_times': Array<TssMetric>;
|
|
882
867
|
}
|
|
883
868
|
/**
|
|
884
869
|
*
|
|
885
870
|
* @export
|
|
886
|
-
* @interface
|
|
871
|
+
* @interface TssMetric
|
|
887
872
|
*/
|
|
888
|
-
export interface
|
|
889
|
-
/**
|
|
890
|
-
*
|
|
891
|
-
* @type {string}
|
|
892
|
-
* @memberof Thorname
|
|
893
|
-
*/
|
|
894
|
-
'name'?: string;
|
|
873
|
+
export interface TssMetric {
|
|
895
874
|
/**
|
|
896
875
|
*
|
|
897
876
|
* @type {string}
|
|
898
|
-
* @memberof
|
|
899
|
-
*/
|
|
900
|
-
'chain'?: string;
|
|
901
|
-
/**
|
|
902
|
-
*
|
|
903
|
-
* @type {string}
|
|
904
|
-
* @memberof Thorname
|
|
877
|
+
* @memberof TssMetric
|
|
905
878
|
*/
|
|
906
879
|
'address'?: string;
|
|
907
880
|
/**
|
|
908
881
|
*
|
|
909
882
|
* @type {number}
|
|
910
|
-
* @memberof
|
|
883
|
+
* @memberof TssMetric
|
|
911
884
|
*/
|
|
912
|
-
'
|
|
885
|
+
'tss_time'?: number;
|
|
913
886
|
}
|
|
914
887
|
/**
|
|
915
888
|
*
|
|
@@ -946,13 +919,13 @@ export interface Tx {
|
|
|
946
919
|
* @type {Array<Coin>}
|
|
947
920
|
* @memberof Tx
|
|
948
921
|
*/
|
|
949
|
-
'coins'
|
|
922
|
+
'coins': Array<Coin>;
|
|
950
923
|
/**
|
|
951
924
|
*
|
|
952
925
|
* @type {Array<Coin>}
|
|
953
926
|
* @memberof Tx
|
|
954
927
|
*/
|
|
955
|
-
'gas'
|
|
928
|
+
'gas': Array<Coin>;
|
|
956
929
|
/**
|
|
957
930
|
*
|
|
958
931
|
* @type {string}
|
|
@@ -963,45 +936,155 @@ export interface Tx {
|
|
|
963
936
|
/**
|
|
964
937
|
*
|
|
965
938
|
* @export
|
|
966
|
-
* @interface
|
|
939
|
+
* @interface TxOutItem
|
|
940
|
+
*/
|
|
941
|
+
export interface TxOutItem {
|
|
942
|
+
/**
|
|
943
|
+
*
|
|
944
|
+
* @type {string}
|
|
945
|
+
* @memberof TxOutItem
|
|
946
|
+
*/
|
|
947
|
+
'chain': string;
|
|
948
|
+
/**
|
|
949
|
+
*
|
|
950
|
+
* @type {string}
|
|
951
|
+
* @memberof TxOutItem
|
|
952
|
+
*/
|
|
953
|
+
'to_address': string;
|
|
954
|
+
/**
|
|
955
|
+
*
|
|
956
|
+
* @type {string}
|
|
957
|
+
* @memberof TxOutItem
|
|
958
|
+
*/
|
|
959
|
+
'vault_pub_key'?: string;
|
|
960
|
+
/**
|
|
961
|
+
*
|
|
962
|
+
* @type {Coin}
|
|
963
|
+
* @memberof TxOutItem
|
|
964
|
+
*/
|
|
965
|
+
'coin': Coin;
|
|
966
|
+
/**
|
|
967
|
+
*
|
|
968
|
+
* @type {string}
|
|
969
|
+
* @memberof TxOutItem
|
|
970
|
+
*/
|
|
971
|
+
'memo'?: string;
|
|
972
|
+
/**
|
|
973
|
+
*
|
|
974
|
+
* @type {Array<Coin>}
|
|
975
|
+
* @memberof TxOutItem
|
|
976
|
+
*/
|
|
977
|
+
'max_gas': Array<Coin>;
|
|
978
|
+
/**
|
|
979
|
+
*
|
|
980
|
+
* @type {number}
|
|
981
|
+
* @memberof TxOutItem
|
|
982
|
+
*/
|
|
983
|
+
'gas_rate'?: number;
|
|
984
|
+
/**
|
|
985
|
+
*
|
|
986
|
+
* @type {string}
|
|
987
|
+
* @memberof TxOutItem
|
|
988
|
+
*/
|
|
989
|
+
'in_hash'?: string;
|
|
990
|
+
/**
|
|
991
|
+
*
|
|
992
|
+
* @type {string}
|
|
993
|
+
* @memberof TxOutItem
|
|
994
|
+
*/
|
|
995
|
+
'out_hash'?: string;
|
|
996
|
+
/**
|
|
997
|
+
*
|
|
998
|
+
* @type {number}
|
|
999
|
+
* @memberof TxOutItem
|
|
1000
|
+
*/
|
|
1001
|
+
'height': number;
|
|
1002
|
+
}
|
|
1003
|
+
/**
|
|
1004
|
+
*
|
|
1005
|
+
* @export
|
|
1006
|
+
* @interface TxResponse
|
|
967
1007
|
*/
|
|
968
|
-
export interface
|
|
1008
|
+
export interface TxResponse {
|
|
1009
|
+
/**
|
|
1010
|
+
*
|
|
1011
|
+
* @type {ObservedTx}
|
|
1012
|
+
* @memberof TxResponse
|
|
1013
|
+
*/
|
|
1014
|
+
'observed_tx'?: ObservedTx;
|
|
1015
|
+
/**
|
|
1016
|
+
*
|
|
1017
|
+
* @type {TssKeysignMetric}
|
|
1018
|
+
* @memberof TxResponse
|
|
1019
|
+
*/
|
|
1020
|
+
'keysign_metric'?: TssKeysignMetric;
|
|
1021
|
+
}
|
|
1022
|
+
/**
|
|
1023
|
+
*
|
|
1024
|
+
* @export
|
|
1025
|
+
* @interface TxSignersResponse
|
|
1026
|
+
*/
|
|
1027
|
+
export interface TxSignersResponse {
|
|
969
1028
|
/**
|
|
970
1029
|
*
|
|
971
1030
|
* @type {string}
|
|
972
|
-
* @memberof
|
|
1031
|
+
* @memberof TxSignersResponse
|
|
973
1032
|
*/
|
|
974
1033
|
'tx_id'?: string;
|
|
975
1034
|
/**
|
|
976
1035
|
*
|
|
977
1036
|
* @type {ObservedTx}
|
|
978
|
-
* @memberof
|
|
1037
|
+
* @memberof TxSignersResponse
|
|
979
1038
|
*/
|
|
980
|
-
'tx'
|
|
1039
|
+
'tx': ObservedTx;
|
|
981
1040
|
/**
|
|
982
1041
|
*
|
|
983
|
-
* @type {
|
|
984
|
-
* @memberof
|
|
1042
|
+
* @type {number}
|
|
1043
|
+
* @memberof TxSignersResponse
|
|
985
1044
|
*/
|
|
986
|
-
'
|
|
1045
|
+
'height'?: number;
|
|
987
1046
|
/**
|
|
988
1047
|
*
|
|
989
|
-
* @type {Array<
|
|
990
|
-
* @memberof
|
|
1048
|
+
* @type {Array<ObservedTx>}
|
|
1049
|
+
* @memberof TxSignersResponse
|
|
991
1050
|
*/
|
|
992
|
-
'
|
|
1051
|
+
'txs': Array<ObservedTx>;
|
|
993
1052
|
/**
|
|
994
1053
|
*
|
|
995
1054
|
* @type {Array<ObservedTx>}
|
|
996
|
-
* @memberof
|
|
1055
|
+
* @memberof TxSignersResponse
|
|
997
1056
|
*/
|
|
998
|
-
'actions'
|
|
1057
|
+
'actions': Array<ObservedTx>;
|
|
999
1058
|
/**
|
|
1000
1059
|
*
|
|
1060
|
+
* @type {Array<string>}
|
|
1061
|
+
* @memberof TxSignersResponse
|
|
1062
|
+
*/
|
|
1063
|
+
'out_txs': Array<string>;
|
|
1064
|
+
/**
|
|
1065
|
+
* the thorchain height at which the outbound was finalised
|
|
1001
1066
|
* @type {number}
|
|
1002
|
-
* @memberof
|
|
1067
|
+
* @memberof TxSignersResponse
|
|
1003
1068
|
*/
|
|
1004
1069
|
'finalised_height'?: number;
|
|
1070
|
+
/**
|
|
1071
|
+
*
|
|
1072
|
+
* @type {boolean}
|
|
1073
|
+
* @memberof TxSignersResponse
|
|
1074
|
+
*/
|
|
1075
|
+
'updated_vault'?: boolean;
|
|
1076
|
+
/**
|
|
1077
|
+
*
|
|
1078
|
+
* @type {boolean}
|
|
1079
|
+
* @memberof TxSignersResponse
|
|
1080
|
+
*/
|
|
1081
|
+
'reverted'?: boolean;
|
|
1082
|
+
/**
|
|
1083
|
+
*
|
|
1084
|
+
* @type {number}
|
|
1085
|
+
* @memberof TxSignersResponse
|
|
1086
|
+
*/
|
|
1087
|
+
'outbound_height'?: number;
|
|
1005
1088
|
}
|
|
1006
1089
|
/**
|
|
1007
1090
|
*
|
|
@@ -1026,7 +1109,7 @@ export interface Vault {
|
|
|
1026
1109
|
* @type {Array<Coin>}
|
|
1027
1110
|
* @memberof Vault
|
|
1028
1111
|
*/
|
|
1029
|
-
'coins'
|
|
1112
|
+
'coins': Array<Coin>;
|
|
1030
1113
|
/**
|
|
1031
1114
|
*
|
|
1032
1115
|
* @type {string}
|
|
@@ -1069,18 +1152,24 @@ export interface Vault {
|
|
|
1069
1152
|
* @memberof Vault
|
|
1070
1153
|
*/
|
|
1071
1154
|
'outbound_tx_count'?: number;
|
|
1155
|
+
/**
|
|
1156
|
+
*
|
|
1157
|
+
* @type {Array<number>}
|
|
1158
|
+
* @memberof Vault
|
|
1159
|
+
*/
|
|
1160
|
+
'pending_tx_block_heights'?: Array<number>;
|
|
1072
1161
|
/**
|
|
1073
1162
|
*
|
|
1074
1163
|
* @type {Array<VaultRouter>}
|
|
1075
1164
|
* @memberof Vault
|
|
1076
1165
|
*/
|
|
1077
|
-
'routers'
|
|
1166
|
+
'routers': Array<VaultRouter>;
|
|
1078
1167
|
/**
|
|
1079
1168
|
*
|
|
1080
1169
|
* @type {Array<VaultAddress>}
|
|
1081
1170
|
* @memberof Vault
|
|
1082
1171
|
*/
|
|
1083
|
-
'addresses'
|
|
1172
|
+
'addresses': Array<VaultAddress>;
|
|
1084
1173
|
}
|
|
1085
1174
|
export declare const VaultTypeEnum: {
|
|
1086
1175
|
readonly AsgardVault: "AsgardVault";
|
|
@@ -1117,32 +1206,32 @@ export interface VaultInfo {
|
|
|
1117
1206
|
* @type {string}
|
|
1118
1207
|
* @memberof VaultInfo
|
|
1119
1208
|
*/
|
|
1120
|
-
'pub_key'
|
|
1209
|
+
'pub_key': string;
|
|
1121
1210
|
/**
|
|
1122
1211
|
*
|
|
1123
1212
|
* @type {Array<VaultRouter>}
|
|
1124
1213
|
* @memberof VaultInfo
|
|
1125
1214
|
*/
|
|
1126
|
-
'routers'
|
|
1215
|
+
'routers': Array<VaultRouter>;
|
|
1127
1216
|
}
|
|
1128
1217
|
/**
|
|
1129
1218
|
*
|
|
1130
1219
|
* @export
|
|
1131
|
-
* @interface
|
|
1220
|
+
* @interface VaultPubkeysResponse
|
|
1132
1221
|
*/
|
|
1133
|
-
export interface
|
|
1222
|
+
export interface VaultPubkeysResponse {
|
|
1134
1223
|
/**
|
|
1135
1224
|
*
|
|
1136
1225
|
* @type {Array<VaultInfo>}
|
|
1137
|
-
* @memberof
|
|
1226
|
+
* @memberof VaultPubkeysResponse
|
|
1138
1227
|
*/
|
|
1139
|
-
'asgard'
|
|
1228
|
+
'asgard': Array<VaultInfo>;
|
|
1140
1229
|
/**
|
|
1141
1230
|
*
|
|
1142
1231
|
* @type {Array<VaultInfo>}
|
|
1143
|
-
* @memberof
|
|
1232
|
+
* @memberof VaultPubkeysResponse
|
|
1144
1233
|
*/
|
|
1145
|
-
'yggdrasil'
|
|
1234
|
+
'yggdrasil': Array<VaultInfo>;
|
|
1146
1235
|
}
|
|
1147
1236
|
/**
|
|
1148
1237
|
*
|
|
@@ -1166,27 +1255,27 @@ export interface VaultRouter {
|
|
|
1166
1255
|
/**
|
|
1167
1256
|
*
|
|
1168
1257
|
* @export
|
|
1169
|
-
* @interface
|
|
1258
|
+
* @interface VersionResponse
|
|
1170
1259
|
*/
|
|
1171
|
-
export interface
|
|
1260
|
+
export interface VersionResponse {
|
|
1172
1261
|
/**
|
|
1173
1262
|
* current version
|
|
1174
1263
|
* @type {string}
|
|
1175
|
-
* @memberof
|
|
1264
|
+
* @memberof VersionResponse
|
|
1176
1265
|
*/
|
|
1177
|
-
'current'
|
|
1266
|
+
'current': string;
|
|
1178
1267
|
/**
|
|
1179
1268
|
* next version
|
|
1180
1269
|
* @type {string}
|
|
1181
|
-
* @memberof
|
|
1270
|
+
* @memberof VersionResponse
|
|
1182
1271
|
*/
|
|
1183
|
-
'next'
|
|
1272
|
+
'next': string;
|
|
1184
1273
|
/**
|
|
1185
1274
|
* querier version
|
|
1186
1275
|
* @type {string}
|
|
1187
|
-
* @memberof
|
|
1276
|
+
* @memberof VersionResponse
|
|
1188
1277
|
*/
|
|
1189
|
-
'querier'
|
|
1278
|
+
'querier': string;
|
|
1190
1279
|
}
|
|
1191
1280
|
/**
|
|
1192
1281
|
* HealthApi - axios parameter creator
|
|
@@ -1425,7 +1514,7 @@ export declare const MimirApiFp: (configuration?: Configuration | undefined) =>
|
|
|
1425
1514
|
* @param {*} [options] Override http request option.
|
|
1426
1515
|
* @throws {RequiredError}
|
|
1427
1516
|
*/
|
|
1428
|
-
mimirNodes(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
1517
|
+
mimirNodes(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<MimirNodesResponse>>;
|
|
1429
1518
|
};
|
|
1430
1519
|
/**
|
|
1431
1520
|
* MimirApi - factory interface
|
|
@@ -1474,7 +1563,7 @@ export declare const MimirApiFactory: (configuration?: Configuration | undefined
|
|
|
1474
1563
|
* @param {*} [options] Override http request option.
|
|
1475
1564
|
* @throws {RequiredError}
|
|
1476
1565
|
*/
|
|
1477
|
-
mimirNodes(height?: number | undefined, options?: any): AxiosPromise<
|
|
1566
|
+
mimirNodes(height?: number | undefined, options?: any): AxiosPromise<MimirNodesResponse>;
|
|
1478
1567
|
};
|
|
1479
1568
|
/**
|
|
1480
1569
|
* MimirApi - object-oriented interface
|
|
@@ -1530,7 +1619,7 @@ export declare class MimirApi extends BaseAPI {
|
|
|
1530
1619
|
* @throws {RequiredError}
|
|
1531
1620
|
* @memberof MimirApi
|
|
1532
1621
|
*/
|
|
1533
|
-
mimirNodes(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
1622
|
+
mimirNodes(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MimirNodesResponse, any>>;
|
|
1534
1623
|
}
|
|
1535
1624
|
/**
|
|
1536
1625
|
* NetworkApi - axios parameter creator
|
|
@@ -1608,21 +1697,21 @@ export declare const NetworkApiFp: (configuration?: Configuration | undefined) =
|
|
|
1608
1697
|
* @param {*} [options] Override http request option.
|
|
1609
1698
|
* @throws {RequiredError}
|
|
1610
1699
|
*/
|
|
1611
|
-
ban(address: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
1700
|
+
ban(address: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<BanResponse>>;
|
|
1612
1701
|
/**
|
|
1613
1702
|
* Returns constant configuration, can be overridden by mimir.
|
|
1614
1703
|
* @param {number} [height] optional block height, defaults to current tip
|
|
1615
1704
|
* @param {*} [options] Override http request option.
|
|
1616
1705
|
* @throws {RequiredError}
|
|
1617
1706
|
*/
|
|
1618
|
-
constants(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
1707
|
+
constants(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ConstantsResponse>>;
|
|
1619
1708
|
/**
|
|
1620
1709
|
* Returns the set of asgard addresses that should be used for inbound transactions.
|
|
1621
1710
|
* @param {number} [height] optional block height, defaults to current tip
|
|
1622
1711
|
* @param {*} [options] Override http request option.
|
|
1623
1712
|
* @throws {RequiredError}
|
|
1624
1713
|
*/
|
|
1625
|
-
inboundAddresses(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<
|
|
1714
|
+
inboundAddresses(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<object>>>;
|
|
1626
1715
|
/**
|
|
1627
1716
|
* Returns the last block information for all chains.
|
|
1628
1717
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -1644,7 +1733,7 @@ export declare const NetworkApiFp: (configuration?: Configuration | undefined) =
|
|
|
1644
1733
|
* @param {*} [options] Override http request option.
|
|
1645
1734
|
* @throws {RequiredError}
|
|
1646
1735
|
*/
|
|
1647
|
-
network(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
1736
|
+
network(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<NetworkResponse>>;
|
|
1648
1737
|
/**
|
|
1649
1738
|
* Returns a boolean indicating whether the chain is in ragnarok.
|
|
1650
1739
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -1658,7 +1747,7 @@ export declare const NetworkApiFp: (configuration?: Configuration | undefined) =
|
|
|
1658
1747
|
* @param {*} [options] Override http request option.
|
|
1659
1748
|
* @throws {RequiredError}
|
|
1660
1749
|
*/
|
|
1661
|
-
version(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
1750
|
+
version(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<VersionResponse>>;
|
|
1662
1751
|
};
|
|
1663
1752
|
/**
|
|
1664
1753
|
* NetworkApi - factory interface
|
|
@@ -1672,21 +1761,21 @@ export declare const NetworkApiFactory: (configuration?: Configuration | undefin
|
|
|
1672
1761
|
* @param {*} [options] Override http request option.
|
|
1673
1762
|
* @throws {RequiredError}
|
|
1674
1763
|
*/
|
|
1675
|
-
ban(address: string, height?: number | undefined, options?: any): AxiosPromise<
|
|
1764
|
+
ban(address: string, height?: number | undefined, options?: any): AxiosPromise<BanResponse>;
|
|
1676
1765
|
/**
|
|
1677
1766
|
* Returns constant configuration, can be overridden by mimir.
|
|
1678
1767
|
* @param {number} [height] optional block height, defaults to current tip
|
|
1679
1768
|
* @param {*} [options] Override http request option.
|
|
1680
1769
|
* @throws {RequiredError}
|
|
1681
1770
|
*/
|
|
1682
|
-
constants(height?: number | undefined, options?: any): AxiosPromise<
|
|
1771
|
+
constants(height?: number | undefined, options?: any): AxiosPromise<ConstantsResponse>;
|
|
1683
1772
|
/**
|
|
1684
1773
|
* Returns the set of asgard addresses that should be used for inbound transactions.
|
|
1685
1774
|
* @param {number} [height] optional block height, defaults to current tip
|
|
1686
1775
|
* @param {*} [options] Override http request option.
|
|
1687
1776
|
* @throws {RequiredError}
|
|
1688
1777
|
*/
|
|
1689
|
-
inboundAddresses(height?: number | undefined, options?: any): AxiosPromise<Array<
|
|
1778
|
+
inboundAddresses(height?: number | undefined, options?: any): AxiosPromise<Array<object>>;
|
|
1690
1779
|
/**
|
|
1691
1780
|
* Returns the last block information for all chains.
|
|
1692
1781
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -1708,7 +1797,7 @@ export declare const NetworkApiFactory: (configuration?: Configuration | undefin
|
|
|
1708
1797
|
* @param {*} [options] Override http request option.
|
|
1709
1798
|
* @throws {RequiredError}
|
|
1710
1799
|
*/
|
|
1711
|
-
network(height?: number | undefined, options?: any): AxiosPromise<
|
|
1800
|
+
network(height?: number | undefined, options?: any): AxiosPromise<NetworkResponse>;
|
|
1712
1801
|
/**
|
|
1713
1802
|
* Returns a boolean indicating whether the chain is in ragnarok.
|
|
1714
1803
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -1722,7 +1811,7 @@ export declare const NetworkApiFactory: (configuration?: Configuration | undefin
|
|
|
1722
1811
|
* @param {*} [options] Override http request option.
|
|
1723
1812
|
* @throws {RequiredError}
|
|
1724
1813
|
*/
|
|
1725
|
-
version(height?: number | undefined, options?: any): AxiosPromise<
|
|
1814
|
+
version(height?: number | undefined, options?: any): AxiosPromise<VersionResponse>;
|
|
1726
1815
|
};
|
|
1727
1816
|
/**
|
|
1728
1817
|
* NetworkApi - object-oriented interface
|
|
@@ -1739,7 +1828,7 @@ export declare class NetworkApi extends BaseAPI {
|
|
|
1739
1828
|
* @throws {RequiredError}
|
|
1740
1829
|
* @memberof NetworkApi
|
|
1741
1830
|
*/
|
|
1742
|
-
ban(address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
1831
|
+
ban(address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BanResponse, any>>;
|
|
1743
1832
|
/**
|
|
1744
1833
|
* Returns constant configuration, can be overridden by mimir.
|
|
1745
1834
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -1747,7 +1836,7 @@ export declare class NetworkApi extends BaseAPI {
|
|
|
1747
1836
|
* @throws {RequiredError}
|
|
1748
1837
|
* @memberof NetworkApi
|
|
1749
1838
|
*/
|
|
1750
|
-
constants(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
1839
|
+
constants(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ConstantsResponse, any>>;
|
|
1751
1840
|
/**
|
|
1752
1841
|
* Returns the set of asgard addresses that should be used for inbound transactions.
|
|
1753
1842
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -1755,7 +1844,7 @@ export declare class NetworkApi extends BaseAPI {
|
|
|
1755
1844
|
* @throws {RequiredError}
|
|
1756
1845
|
* @memberof NetworkApi
|
|
1757
1846
|
*/
|
|
1758
|
-
inboundAddresses(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
1847
|
+
inboundAddresses(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object[], any>>;
|
|
1759
1848
|
/**
|
|
1760
1849
|
* Returns the last block information for all chains.
|
|
1761
1850
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -1780,7 +1869,7 @@ export declare class NetworkApi extends BaseAPI {
|
|
|
1780
1869
|
* @throws {RequiredError}
|
|
1781
1870
|
* @memberof NetworkApi
|
|
1782
1871
|
*/
|
|
1783
|
-
network(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
1872
|
+
network(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<NetworkResponse, any>>;
|
|
1784
1873
|
/**
|
|
1785
1874
|
* Returns a boolean indicating whether the chain is in ragnarok.
|
|
1786
1875
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -1796,7 +1885,150 @@ export declare class NetworkApi extends BaseAPI {
|
|
|
1796
1885
|
* @throws {RequiredError}
|
|
1797
1886
|
* @memberof NetworkApi
|
|
1798
1887
|
*/
|
|
1799
|
-
version(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
1888
|
+
version(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VersionResponse, any>>;
|
|
1889
|
+
}
|
|
1890
|
+
/**
|
|
1891
|
+
* NodesApi - axios parameter creator
|
|
1892
|
+
* @export
|
|
1893
|
+
*/
|
|
1894
|
+
export declare const NodesApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
|
|
1895
|
+
/**
|
|
1896
|
+
* Returns node information for the provided node address.
|
|
1897
|
+
* @param {string} address
|
|
1898
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1899
|
+
* @param {*} [options] Override http request option.
|
|
1900
|
+
* @throws {RequiredError}
|
|
1901
|
+
*/
|
|
1902
|
+
node: (address: string, height?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1903
|
+
/**
|
|
1904
|
+
* Returns node information for all registered validators.
|
|
1905
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1906
|
+
* @param {*} [options] Override http request option.
|
|
1907
|
+
* @throws {RequiredError}
|
|
1908
|
+
*/
|
|
1909
|
+
nodes: (height?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1910
|
+
};
|
|
1911
|
+
/**
|
|
1912
|
+
* NodesApi - functional programming interface
|
|
1913
|
+
* @export
|
|
1914
|
+
*/
|
|
1915
|
+
export declare const NodesApiFp: (configuration?: Configuration | undefined) => {
|
|
1916
|
+
/**
|
|
1917
|
+
* Returns node information for the provided node address.
|
|
1918
|
+
* @param {string} address
|
|
1919
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1920
|
+
* @param {*} [options] Override http request option.
|
|
1921
|
+
* @throws {RequiredError}
|
|
1922
|
+
*/
|
|
1923
|
+
node(address: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Node>>;
|
|
1924
|
+
/**
|
|
1925
|
+
* Returns node information for all registered validators.
|
|
1926
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1927
|
+
* @param {*} [options] Override http request option.
|
|
1928
|
+
* @throws {RequiredError}
|
|
1929
|
+
*/
|
|
1930
|
+
nodes(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<Node>>>;
|
|
1931
|
+
};
|
|
1932
|
+
/**
|
|
1933
|
+
* NodesApi - factory interface
|
|
1934
|
+
* @export
|
|
1935
|
+
*/
|
|
1936
|
+
export declare const NodesApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
|
|
1937
|
+
/**
|
|
1938
|
+
* Returns node information for the provided node address.
|
|
1939
|
+
* @param {string} address
|
|
1940
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1941
|
+
* @param {*} [options] Override http request option.
|
|
1942
|
+
* @throws {RequiredError}
|
|
1943
|
+
*/
|
|
1944
|
+
node(address: string, height?: number | undefined, options?: any): AxiosPromise<Node>;
|
|
1945
|
+
/**
|
|
1946
|
+
* Returns node information for all registered validators.
|
|
1947
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1948
|
+
* @param {*} [options] Override http request option.
|
|
1949
|
+
* @throws {RequiredError}
|
|
1950
|
+
*/
|
|
1951
|
+
nodes(height?: number | undefined, options?: any): AxiosPromise<Array<Node>>;
|
|
1952
|
+
};
|
|
1953
|
+
/**
|
|
1954
|
+
* NodesApi - object-oriented interface
|
|
1955
|
+
* @export
|
|
1956
|
+
* @class NodesApi
|
|
1957
|
+
* @extends {BaseAPI}
|
|
1958
|
+
*/
|
|
1959
|
+
export declare class NodesApi extends BaseAPI {
|
|
1960
|
+
/**
|
|
1961
|
+
* Returns node information for the provided node address.
|
|
1962
|
+
* @param {string} address
|
|
1963
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1964
|
+
* @param {*} [options] Override http request option.
|
|
1965
|
+
* @throws {RequiredError}
|
|
1966
|
+
* @memberof NodesApi
|
|
1967
|
+
*/
|
|
1968
|
+
node(address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Node, any>>;
|
|
1969
|
+
/**
|
|
1970
|
+
* Returns node information for all registered validators.
|
|
1971
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1972
|
+
* @param {*} [options] Override http request option.
|
|
1973
|
+
* @throws {RequiredError}
|
|
1974
|
+
* @memberof NodesApi
|
|
1975
|
+
*/
|
|
1976
|
+
nodes(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Node[], any>>;
|
|
1977
|
+
}
|
|
1978
|
+
/**
|
|
1979
|
+
* POLApi - axios parameter creator
|
|
1980
|
+
* @export
|
|
1981
|
+
*/
|
|
1982
|
+
export declare const POLApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
|
|
1983
|
+
/**
|
|
1984
|
+
* Returns protocol owned liquidity overview statistics.
|
|
1985
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1986
|
+
* @param {*} [options] Override http request option.
|
|
1987
|
+
* @throws {RequiredError}
|
|
1988
|
+
*/
|
|
1989
|
+
pol: (height?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1990
|
+
};
|
|
1991
|
+
/**
|
|
1992
|
+
* POLApi - functional programming interface
|
|
1993
|
+
* @export
|
|
1994
|
+
*/
|
|
1995
|
+
export declare const POLApiFp: (configuration?: Configuration | undefined) => {
|
|
1996
|
+
/**
|
|
1997
|
+
* Returns protocol owned liquidity overview statistics.
|
|
1998
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1999
|
+
* @param {*} [options] Override http request option.
|
|
2000
|
+
* @throws {RequiredError}
|
|
2001
|
+
*/
|
|
2002
|
+
pol(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<POLResponse>>;
|
|
2003
|
+
};
|
|
2004
|
+
/**
|
|
2005
|
+
* POLApi - factory interface
|
|
2006
|
+
* @export
|
|
2007
|
+
*/
|
|
2008
|
+
export declare const POLApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
|
|
2009
|
+
/**
|
|
2010
|
+
* Returns protocol owned liquidity overview statistics.
|
|
2011
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
2012
|
+
* @param {*} [options] Override http request option.
|
|
2013
|
+
* @throws {RequiredError}
|
|
2014
|
+
*/
|
|
2015
|
+
pol(height?: number | undefined, options?: any): AxiosPromise<POLResponse>;
|
|
2016
|
+
};
|
|
2017
|
+
/**
|
|
2018
|
+
* POLApi - object-oriented interface
|
|
2019
|
+
* @export
|
|
2020
|
+
* @class POLApi
|
|
2021
|
+
* @extends {BaseAPI}
|
|
2022
|
+
*/
|
|
2023
|
+
export declare class POLApi extends BaseAPI {
|
|
2024
|
+
/**
|
|
2025
|
+
* Returns protocol owned liquidity overview statistics.
|
|
2026
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
2027
|
+
* @param {*} [options] Override http request option.
|
|
2028
|
+
* @throws {RequiredError}
|
|
2029
|
+
* @memberof POLApi
|
|
2030
|
+
*/
|
|
2031
|
+
pol(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<POLResponse, any>>;
|
|
1800
2032
|
}
|
|
1801
2033
|
/**
|
|
1802
2034
|
* PoolsApi - axios parameter creator
|
|
@@ -1924,21 +2156,21 @@ export declare const QueueApiFp: (configuration?: Configuration | undefined) =>
|
|
|
1924
2156
|
* @param {*} [options] Override http request option.
|
|
1925
2157
|
* @throws {RequiredError}
|
|
1926
2158
|
*/
|
|
1927
|
-
queue(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
2159
|
+
queue(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<QueueResponse>>;
|
|
1928
2160
|
/**
|
|
1929
2161
|
* Returns the outbound queue including estimated RUNE values.
|
|
1930
2162
|
* @param {number} [height] optional block height, defaults to current tip
|
|
1931
2163
|
* @param {*} [options] Override http request option.
|
|
1932
2164
|
* @throws {RequiredError}
|
|
1933
2165
|
*/
|
|
1934
|
-
queueOutbound(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<
|
|
2166
|
+
queueOutbound(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<TxOutItem>>>;
|
|
1935
2167
|
/**
|
|
1936
2168
|
* Returns the scheduled queue.
|
|
1937
2169
|
* @param {number} [height] optional block height, defaults to current tip
|
|
1938
2170
|
* @param {*} [options] Override http request option.
|
|
1939
2171
|
* @throws {RequiredError}
|
|
1940
2172
|
*/
|
|
1941
|
-
queueScheduled(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<
|
|
2173
|
+
queueScheduled(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<TxOutItem>>>;
|
|
1942
2174
|
};
|
|
1943
2175
|
/**
|
|
1944
2176
|
* QueueApi - factory interface
|
|
@@ -1951,21 +2183,21 @@ export declare const QueueApiFactory: (configuration?: Configuration | undefined
|
|
|
1951
2183
|
* @param {*} [options] Override http request option.
|
|
1952
2184
|
* @throws {RequiredError}
|
|
1953
2185
|
*/
|
|
1954
|
-
queue(height?: number | undefined, options?: any): AxiosPromise<
|
|
2186
|
+
queue(height?: number | undefined, options?: any): AxiosPromise<QueueResponse>;
|
|
1955
2187
|
/**
|
|
1956
2188
|
* Returns the outbound queue including estimated RUNE values.
|
|
1957
2189
|
* @param {number} [height] optional block height, defaults to current tip
|
|
1958
2190
|
* @param {*} [options] Override http request option.
|
|
1959
2191
|
* @throws {RequiredError}
|
|
1960
2192
|
*/
|
|
1961
|
-
queueOutbound(height?: number | undefined, options?: any): AxiosPromise<Array<
|
|
2193
|
+
queueOutbound(height?: number | undefined, options?: any): AxiosPromise<Array<TxOutItem>>;
|
|
1962
2194
|
/**
|
|
1963
2195
|
* Returns the scheduled queue.
|
|
1964
2196
|
* @param {number} [height] optional block height, defaults to current tip
|
|
1965
2197
|
* @param {*} [options] Override http request option.
|
|
1966
2198
|
* @throws {RequiredError}
|
|
1967
2199
|
*/
|
|
1968
|
-
queueScheduled(height?: number | undefined, options?: any): AxiosPromise<Array<
|
|
2200
|
+
queueScheduled(height?: number | undefined, options?: any): AxiosPromise<Array<TxOutItem>>;
|
|
1969
2201
|
};
|
|
1970
2202
|
/**
|
|
1971
2203
|
* QueueApi - object-oriented interface
|
|
@@ -1981,7 +2213,7 @@ export declare class QueueApi extends BaseAPI {
|
|
|
1981
2213
|
* @throws {RequiredError}
|
|
1982
2214
|
* @memberof QueueApi
|
|
1983
2215
|
*/
|
|
1984
|
-
queue(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2216
|
+
queue(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<QueueResponse, any>>;
|
|
1985
2217
|
/**
|
|
1986
2218
|
* Returns the outbound queue including estimated RUNE values.
|
|
1987
2219
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -1989,7 +2221,7 @@ export declare class QueueApi extends BaseAPI {
|
|
|
1989
2221
|
* @throws {RequiredError}
|
|
1990
2222
|
* @memberof QueueApi
|
|
1991
2223
|
*/
|
|
1992
|
-
queueOutbound(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2224
|
+
queueOutbound(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TxOutItem[], any>>;
|
|
1993
2225
|
/**
|
|
1994
2226
|
* Returns the scheduled queue.
|
|
1995
2227
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -1997,7 +2229,7 @@ export declare class QueueApi extends BaseAPI {
|
|
|
1997
2229
|
* @throws {RequiredError}
|
|
1998
2230
|
* @memberof QueueApi
|
|
1999
2231
|
*/
|
|
2000
|
-
queueScheduled(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2232
|
+
queueScheduled(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TxOutItem[], any>>;
|
|
2001
2233
|
}
|
|
2002
2234
|
/**
|
|
2003
2235
|
* TSSApi - axios parameter creator
|
|
@@ -2046,7 +2278,7 @@ export declare const TSSApiFp: (configuration?: Configuration | undefined) => {
|
|
|
2046
2278
|
* @param {*} [options] Override http request option.
|
|
2047
2279
|
* @throws {RequiredError}
|
|
2048
2280
|
*/
|
|
2049
|
-
keysign(height: number, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
2281
|
+
keysign(height: number, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<KeysignResponse>>;
|
|
2050
2282
|
/**
|
|
2051
2283
|
* 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.
|
|
2052
2284
|
* @param {number} height
|
|
@@ -2061,7 +2293,7 @@ export declare const TSSApiFp: (configuration?: Configuration | undefined) => {
|
|
|
2061
2293
|
* @param {*} [options] Override http request option.
|
|
2062
2294
|
* @throws {RequiredError}
|
|
2063
2295
|
*/
|
|
2064
|
-
metrics(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
2296
|
+
metrics(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<MetricsResponse>>;
|
|
2065
2297
|
/**
|
|
2066
2298
|
* Returns keygen metrics for the provided vault pubkey.
|
|
2067
2299
|
* @param {string} pubkey
|
|
@@ -2069,7 +2301,7 @@ export declare const TSSApiFp: (configuration?: Configuration | undefined) => {
|
|
|
2069
2301
|
* @param {*} [options] Override http request option.
|
|
2070
2302
|
* @throws {RequiredError}
|
|
2071
2303
|
*/
|
|
2072
|
-
metricsKeygen(pubkey: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
2304
|
+
metricsKeygen(pubkey: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<object>>>;
|
|
2073
2305
|
};
|
|
2074
2306
|
/**
|
|
2075
2307
|
* TSSApi - factory interface
|
|
@@ -2082,7 +2314,7 @@ export declare const TSSApiFactory: (configuration?: Configuration | undefined,
|
|
|
2082
2314
|
* @param {*} [options] Override http request option.
|
|
2083
2315
|
* @throws {RequiredError}
|
|
2084
2316
|
*/
|
|
2085
|
-
keysign(height: number, options?: any): AxiosPromise<
|
|
2317
|
+
keysign(height: number, options?: any): AxiosPromise<KeysignResponse>;
|
|
2086
2318
|
/**
|
|
2087
2319
|
* 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.
|
|
2088
2320
|
* @param {number} height
|
|
@@ -2097,7 +2329,7 @@ export declare const TSSApiFactory: (configuration?: Configuration | undefined,
|
|
|
2097
2329
|
* @param {*} [options] Override http request option.
|
|
2098
2330
|
* @throws {RequiredError}
|
|
2099
2331
|
*/
|
|
2100
|
-
metrics(height?: number | undefined, options?: any): AxiosPromise<
|
|
2332
|
+
metrics(height?: number | undefined, options?: any): AxiosPromise<MetricsResponse>;
|
|
2101
2333
|
/**
|
|
2102
2334
|
* Returns keygen metrics for the provided vault pubkey.
|
|
2103
2335
|
* @param {string} pubkey
|
|
@@ -2105,7 +2337,7 @@ export declare const TSSApiFactory: (configuration?: Configuration | undefined,
|
|
|
2105
2337
|
* @param {*} [options] Override http request option.
|
|
2106
2338
|
* @throws {RequiredError}
|
|
2107
2339
|
*/
|
|
2108
|
-
metricsKeygen(pubkey: string, height?: number | undefined, options?: any): AxiosPromise<
|
|
2340
|
+
metricsKeygen(pubkey: string, height?: number | undefined, options?: any): AxiosPromise<Array<object>>;
|
|
2109
2341
|
};
|
|
2110
2342
|
/**
|
|
2111
2343
|
* TSSApi - object-oriented interface
|
|
@@ -2121,7 +2353,7 @@ export declare class TSSApi extends BaseAPI {
|
|
|
2121
2353
|
* @throws {RequiredError}
|
|
2122
2354
|
* @memberof TSSApi
|
|
2123
2355
|
*/
|
|
2124
|
-
keysign(height: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2356
|
+
keysign(height: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KeysignResponse, any>>;
|
|
2125
2357
|
/**
|
|
2126
2358
|
* 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.
|
|
2127
2359
|
* @param {number} height
|
|
@@ -2138,7 +2370,7 @@ export declare class TSSApi extends BaseAPI {
|
|
|
2138
2370
|
* @throws {RequiredError}
|
|
2139
2371
|
* @memberof TSSApi
|
|
2140
2372
|
*/
|
|
2141
|
-
metrics(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2373
|
+
metrics(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MetricsResponse, any>>;
|
|
2142
2374
|
/**
|
|
2143
2375
|
* Returns keygen metrics for the provided vault pubkey.
|
|
2144
2376
|
* @param {string} pubkey
|
|
@@ -2147,7 +2379,7 @@ export declare class TSSApi extends BaseAPI {
|
|
|
2147
2379
|
* @throws {RequiredError}
|
|
2148
2380
|
* @memberof TSSApi
|
|
2149
2381
|
*/
|
|
2150
|
-
metricsKeygen(pubkey: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2382
|
+
metricsKeygen(pubkey: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object[], any>>;
|
|
2151
2383
|
}
|
|
2152
2384
|
/**
|
|
2153
2385
|
* ThornamesApi - axios parameter creator
|
|
@@ -2175,7 +2407,7 @@ export declare const ThornamesApiFp: (configuration?: Configuration | undefined)
|
|
|
2175
2407
|
* @param {*} [options] Override http request option.
|
|
2176
2408
|
* @throws {RequiredError}
|
|
2177
2409
|
*/
|
|
2178
|
-
thorname(name: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<
|
|
2410
|
+
thorname(name: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<object>>>;
|
|
2179
2411
|
};
|
|
2180
2412
|
/**
|
|
2181
2413
|
* ThornamesApi - factory interface
|
|
@@ -2189,7 +2421,7 @@ export declare const ThornamesApiFactory: (configuration?: Configuration | undef
|
|
|
2189
2421
|
* @param {*} [options] Override http request option.
|
|
2190
2422
|
* @throws {RequiredError}
|
|
2191
2423
|
*/
|
|
2192
|
-
thorname(name: string, height?: number | undefined, options?: any): AxiosPromise<Array<
|
|
2424
|
+
thorname(name: string, height?: number | undefined, options?: any): AxiosPromise<Array<object>>;
|
|
2193
2425
|
};
|
|
2194
2426
|
/**
|
|
2195
2427
|
* ThornamesApi - object-oriented interface
|
|
@@ -2206,28 +2438,13 @@ export declare class ThornamesApi extends BaseAPI {
|
|
|
2206
2438
|
* @throws {RequiredError}
|
|
2207
2439
|
* @memberof ThornamesApi
|
|
2208
2440
|
*/
|
|
2209
|
-
thorname(name: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2441
|
+
thorname(name: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object[], any>>;
|
|
2210
2442
|
}
|
|
2211
2443
|
/**
|
|
2212
2444
|
* TransactionsApi - axios parameter creator
|
|
2213
2445
|
* @export
|
|
2214
2446
|
*/
|
|
2215
2447
|
export declare const TransactionsApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
|
|
2216
|
-
/**
|
|
2217
|
-
* Returns node information for the provided node address.
|
|
2218
|
-
* @param {string} address
|
|
2219
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
2220
|
-
* @param {*} [options] Override http request option.
|
|
2221
|
-
* @throws {RequiredError}
|
|
2222
|
-
*/
|
|
2223
|
-
node: (address: string, height?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2224
|
-
/**
|
|
2225
|
-
* Returns node information for all registered validators.
|
|
2226
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
2227
|
-
* @param {*} [options] Override http request option.
|
|
2228
|
-
* @throws {RequiredError}
|
|
2229
|
-
*/
|
|
2230
|
-
nodes: (height?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2231
2448
|
/**
|
|
2232
2449
|
* Returns the observed transaction for a provided inbound or outbound hash.
|
|
2233
2450
|
* @param {string} hash
|
|
@@ -2250,21 +2467,6 @@ export declare const TransactionsApiAxiosParamCreator: (configuration?: Configur
|
|
|
2250
2467
|
* @export
|
|
2251
2468
|
*/
|
|
2252
2469
|
export declare const TransactionsApiFp: (configuration?: Configuration | undefined) => {
|
|
2253
|
-
/**
|
|
2254
|
-
* Returns node information for the provided node address.
|
|
2255
|
-
* @param {string} address
|
|
2256
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
2257
|
-
* @param {*} [options] Override http request option.
|
|
2258
|
-
* @throws {RequiredError}
|
|
2259
|
-
*/
|
|
2260
|
-
node(address: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Node>>;
|
|
2261
|
-
/**
|
|
2262
|
-
* Returns node information for all registered validators.
|
|
2263
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
2264
|
-
* @param {*} [options] Override http request option.
|
|
2265
|
-
* @throws {RequiredError}
|
|
2266
|
-
*/
|
|
2267
|
-
nodes(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<Node>>>;
|
|
2268
2470
|
/**
|
|
2269
2471
|
* Returns the observed transaction for a provided inbound or outbound hash.
|
|
2270
2472
|
* @param {string} hash
|
|
@@ -2272,7 +2474,7 @@ export declare const TransactionsApiFp: (configuration?: Configuration | undefin
|
|
|
2272
2474
|
* @param {*} [options] Override http request option.
|
|
2273
2475
|
* @throws {RequiredError}
|
|
2274
2476
|
*/
|
|
2275
|
-
tx(hash: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
2477
|
+
tx(hash: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<TxResponse>>;
|
|
2276
2478
|
/**
|
|
2277
2479
|
* Returns the signers for a provided inbound or outbound hash.
|
|
2278
2480
|
* @param {string} hash
|
|
@@ -2280,28 +2482,13 @@ export declare const TransactionsApiFp: (configuration?: Configuration | undefin
|
|
|
2280
2482
|
* @param {*} [options] Override http request option.
|
|
2281
2483
|
* @throws {RequiredError}
|
|
2282
2484
|
*/
|
|
2283
|
-
txSigners(hash: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
2485
|
+
txSigners(hash: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<TxSignersResponse>>;
|
|
2284
2486
|
};
|
|
2285
2487
|
/**
|
|
2286
2488
|
* TransactionsApi - factory interface
|
|
2287
2489
|
* @export
|
|
2288
2490
|
*/
|
|
2289
2491
|
export declare const TransactionsApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
|
|
2290
|
-
/**
|
|
2291
|
-
* Returns node information for the provided node address.
|
|
2292
|
-
* @param {string} address
|
|
2293
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
2294
|
-
* @param {*} [options] Override http request option.
|
|
2295
|
-
* @throws {RequiredError}
|
|
2296
|
-
*/
|
|
2297
|
-
node(address: string, height?: number | undefined, options?: any): AxiosPromise<Node>;
|
|
2298
|
-
/**
|
|
2299
|
-
* Returns node information for all registered validators.
|
|
2300
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
2301
|
-
* @param {*} [options] Override http request option.
|
|
2302
|
-
* @throws {RequiredError}
|
|
2303
|
-
*/
|
|
2304
|
-
nodes(height?: number | undefined, options?: any): AxiosPromise<Array<Node>>;
|
|
2305
2492
|
/**
|
|
2306
2493
|
* Returns the observed transaction for a provided inbound or outbound hash.
|
|
2307
2494
|
* @param {string} hash
|
|
@@ -2309,7 +2496,7 @@ export declare const TransactionsApiFactory: (configuration?: Configuration | un
|
|
|
2309
2496
|
* @param {*} [options] Override http request option.
|
|
2310
2497
|
* @throws {RequiredError}
|
|
2311
2498
|
*/
|
|
2312
|
-
tx(hash: string, height?: number | undefined, options?: any): AxiosPromise<
|
|
2499
|
+
tx(hash: string, height?: number | undefined, options?: any): AxiosPromise<TxResponse>;
|
|
2313
2500
|
/**
|
|
2314
2501
|
* Returns the signers for a provided inbound or outbound hash.
|
|
2315
2502
|
* @param {string} hash
|
|
@@ -2317,7 +2504,7 @@ export declare const TransactionsApiFactory: (configuration?: Configuration | un
|
|
|
2317
2504
|
* @param {*} [options] Override http request option.
|
|
2318
2505
|
* @throws {RequiredError}
|
|
2319
2506
|
*/
|
|
2320
|
-
txSigners(hash: string, height?: number | undefined, options?: any): AxiosPromise<
|
|
2507
|
+
txSigners(hash: string, height?: number | undefined, options?: any): AxiosPromise<TxSignersResponse>;
|
|
2321
2508
|
};
|
|
2322
2509
|
/**
|
|
2323
2510
|
* TransactionsApi - object-oriented interface
|
|
@@ -2326,23 +2513,6 @@ export declare const TransactionsApiFactory: (configuration?: Configuration | un
|
|
|
2326
2513
|
* @extends {BaseAPI}
|
|
2327
2514
|
*/
|
|
2328
2515
|
export declare class TransactionsApi extends BaseAPI {
|
|
2329
|
-
/**
|
|
2330
|
-
* Returns node information for the provided node address.
|
|
2331
|
-
* @param {string} address
|
|
2332
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
2333
|
-
* @param {*} [options] Override http request option.
|
|
2334
|
-
* @throws {RequiredError}
|
|
2335
|
-
* @memberof TransactionsApi
|
|
2336
|
-
*/
|
|
2337
|
-
node(address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Node, any>>;
|
|
2338
|
-
/**
|
|
2339
|
-
* Returns node information for all registered validators.
|
|
2340
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
2341
|
-
* @param {*} [options] Override http request option.
|
|
2342
|
-
* @throws {RequiredError}
|
|
2343
|
-
* @memberof TransactionsApi
|
|
2344
|
-
*/
|
|
2345
|
-
nodes(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Node[], any>>;
|
|
2346
2516
|
/**
|
|
2347
2517
|
* Returns the observed transaction for a provided inbound or outbound hash.
|
|
2348
2518
|
* @param {string} hash
|
|
@@ -2351,7 +2521,7 @@ export declare class TransactionsApi extends BaseAPI {
|
|
|
2351
2521
|
* @throws {RequiredError}
|
|
2352
2522
|
* @memberof TransactionsApi
|
|
2353
2523
|
*/
|
|
2354
|
-
tx(hash: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2524
|
+
tx(hash: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TxResponse, any>>;
|
|
2355
2525
|
/**
|
|
2356
2526
|
* Returns the signers for a provided inbound or outbound hash.
|
|
2357
2527
|
* @param {string} hash
|
|
@@ -2360,7 +2530,7 @@ export declare class TransactionsApi extends BaseAPI {
|
|
|
2360
2530
|
* @throws {RequiredError}
|
|
2361
2531
|
* @memberof TransactionsApi
|
|
2362
2532
|
*/
|
|
2363
|
-
txSigners(hash: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2533
|
+
txSigners(hash: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TxSignersResponse, any>>;
|
|
2364
2534
|
}
|
|
2365
2535
|
/**
|
|
2366
2536
|
* VaultsApi - axios parameter creator
|
|
@@ -2423,7 +2593,7 @@ export declare const VaultsApiFp: (configuration?: Configuration | undefined) =>
|
|
|
2423
2593
|
* @param {*} [options] Override http request option.
|
|
2424
2594
|
* @throws {RequiredError}
|
|
2425
2595
|
*/
|
|
2426
|
-
vaultPubkeys(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
2596
|
+
vaultPubkeys(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<VaultPubkeysResponse>>;
|
|
2427
2597
|
/**
|
|
2428
2598
|
* Returns current yggdrasil vaults.
|
|
2429
2599
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -2458,7 +2628,7 @@ export declare const VaultsApiFactory: (configuration?: Configuration | undefine
|
|
|
2458
2628
|
* @param {*} [options] Override http request option.
|
|
2459
2629
|
* @throws {RequiredError}
|
|
2460
2630
|
*/
|
|
2461
|
-
vaultPubkeys(height?: number | undefined, options?: any): AxiosPromise<
|
|
2631
|
+
vaultPubkeys(height?: number | undefined, options?: any): AxiosPromise<VaultPubkeysResponse>;
|
|
2462
2632
|
/**
|
|
2463
2633
|
* Returns current yggdrasil vaults.
|
|
2464
2634
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -2498,7 +2668,7 @@ export declare class VaultsApi extends BaseAPI {
|
|
|
2498
2668
|
* @throws {RequiredError}
|
|
2499
2669
|
* @memberof VaultsApi
|
|
2500
2670
|
*/
|
|
2501
|
-
vaultPubkeys(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2671
|
+
vaultPubkeys(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VaultPubkeysResponse, any>>;
|
|
2502
2672
|
/**
|
|
2503
2673
|
* Returns current yggdrasil vaults.
|
|
2504
2674
|
* @param {number} [height] optional block height, defaults to current tip
|