@xchainjs/xchain-thornode 0.1.0-alpha
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/LICENSE +21 -0
- package/README.md +33 -0
- package/lib/config.d.ts +1 -0
- package/lib/generated/thornodeApi/api.d.ts +2510 -0
- package/lib/generated/thornodeApi/base.d.ts +55 -0
- package/lib/generated/thornodeApi/common.d.ts +65 -0
- package/lib/generated/thornodeApi/configuration.d.ts +83 -0
- package/lib/generated/thornodeApi/index.d.ts +13 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.esm.js +2615 -0
- package/lib/index.js +2667 -0
- package/package.json +46 -0
|
@@ -0,0 +1,2510 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Thornode API
|
|
3
|
+
* Thornode REST API.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.89.0
|
|
6
|
+
* Contact: devs@thorchain.org
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { Configuration } from './configuration';
|
|
13
|
+
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
14
|
+
import { RequestArgs, BaseAPI } from './base';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface Ban
|
|
19
|
+
*/
|
|
20
|
+
export interface Ban {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof Ban
|
|
25
|
+
*/
|
|
26
|
+
'node_address'?: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {number}
|
|
30
|
+
* @memberof Ban
|
|
31
|
+
*/
|
|
32
|
+
'block_height'?: number;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {Array<string>}
|
|
36
|
+
* @memberof Ban
|
|
37
|
+
*/
|
|
38
|
+
'signers'?: Array<string>;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @export
|
|
43
|
+
* @interface Coin
|
|
44
|
+
*/
|
|
45
|
+
export interface Coin {
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof Coin
|
|
50
|
+
*/
|
|
51
|
+
'asset'?: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof Coin
|
|
56
|
+
*/
|
|
57
|
+
'amount'?: string;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @export
|
|
62
|
+
* @interface Constants
|
|
63
|
+
*/
|
|
64
|
+
export interface Constants {
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {{ [key: string]: string; }}
|
|
68
|
+
* @memberof Constants
|
|
69
|
+
*/
|
|
70
|
+
'int64_values'?: {
|
|
71
|
+
[key: string]: string;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {{ [key: string]: string; }}
|
|
76
|
+
* @memberof Constants
|
|
77
|
+
*/
|
|
78
|
+
'bool_values'?: {
|
|
79
|
+
[key: string]: string;
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* @type {{ [key: string]: string; }}
|
|
84
|
+
* @memberof Constants
|
|
85
|
+
*/
|
|
86
|
+
'string_values'?: {
|
|
87
|
+
[key: string]: string;
|
|
88
|
+
};
|
|
89
|
+
}
|
|
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
|
+
/**
|
|
166
|
+
*
|
|
167
|
+
* @export
|
|
168
|
+
* @interface KeysignInfo
|
|
169
|
+
*/
|
|
170
|
+
export interface KeysignInfo {
|
|
171
|
+
/**
|
|
172
|
+
* the block(s) in which a tx out item is scheduled to be signed and moved from the scheduled outbound queue to the outbound queue
|
|
173
|
+
* @type {number}
|
|
174
|
+
* @memberof KeysignInfo
|
|
175
|
+
*/
|
|
176
|
+
'height'?: number;
|
|
177
|
+
/**
|
|
178
|
+
*
|
|
179
|
+
* @type {Array<ProcessedOutbound>}
|
|
180
|
+
* @memberof KeysignInfo
|
|
181
|
+
*/
|
|
182
|
+
'tx_array'?: Array<ProcessedOutbound>;
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
*
|
|
186
|
+
* @export
|
|
187
|
+
* @interface KeysignMetric
|
|
188
|
+
*/
|
|
189
|
+
export interface KeysignMetric {
|
|
190
|
+
/**
|
|
191
|
+
*
|
|
192
|
+
* @type {string}
|
|
193
|
+
* @memberof KeysignMetric
|
|
194
|
+
*/
|
|
195
|
+
'address'?: string;
|
|
196
|
+
/**
|
|
197
|
+
*
|
|
198
|
+
* @type {string}
|
|
199
|
+
* @memberof KeysignMetric
|
|
200
|
+
*/
|
|
201
|
+
'tss_time'?: string;
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
*
|
|
205
|
+
* @export
|
|
206
|
+
* @interface KeysignMetrics
|
|
207
|
+
*/
|
|
208
|
+
export interface KeysignMetrics {
|
|
209
|
+
/**
|
|
210
|
+
*
|
|
211
|
+
* @type {string}
|
|
212
|
+
* @memberof KeysignMetrics
|
|
213
|
+
*/
|
|
214
|
+
'tx_id'?: string;
|
|
215
|
+
/**
|
|
216
|
+
*
|
|
217
|
+
* @type {Array<KeysignMetric>}
|
|
218
|
+
* @memberof KeysignMetrics
|
|
219
|
+
*/
|
|
220
|
+
'node_tss_times'?: Array<KeysignMetric>;
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
*
|
|
224
|
+
* @export
|
|
225
|
+
* @interface LastBlock
|
|
226
|
+
*/
|
|
227
|
+
export interface LastBlock {
|
|
228
|
+
/**
|
|
229
|
+
*
|
|
230
|
+
* @type {string}
|
|
231
|
+
* @memberof LastBlock
|
|
232
|
+
*/
|
|
233
|
+
'chain'?: string;
|
|
234
|
+
/**
|
|
235
|
+
*
|
|
236
|
+
* @type {number}
|
|
237
|
+
* @memberof LastBlock
|
|
238
|
+
*/
|
|
239
|
+
'last_observed_in'?: number;
|
|
240
|
+
/**
|
|
241
|
+
*
|
|
242
|
+
* @type {number}
|
|
243
|
+
* @memberof LastBlock
|
|
244
|
+
*/
|
|
245
|
+
'last_sign_out'?: number;
|
|
246
|
+
/**
|
|
247
|
+
*
|
|
248
|
+
* @type {number}
|
|
249
|
+
* @memberof LastBlock
|
|
250
|
+
*/
|
|
251
|
+
'thorchain'?: number;
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
*
|
|
255
|
+
* @export
|
|
256
|
+
* @interface LiquidityProvider
|
|
257
|
+
*/
|
|
258
|
+
export interface LiquidityProvider {
|
|
259
|
+
/**
|
|
260
|
+
*
|
|
261
|
+
* @type {string}
|
|
262
|
+
* @memberof LiquidityProvider
|
|
263
|
+
*/
|
|
264
|
+
'asset'?: string;
|
|
265
|
+
/**
|
|
266
|
+
*
|
|
267
|
+
* @type {string}
|
|
268
|
+
* @memberof LiquidityProvider
|
|
269
|
+
*/
|
|
270
|
+
'rune_address'?: string;
|
|
271
|
+
/**
|
|
272
|
+
*
|
|
273
|
+
* @type {string}
|
|
274
|
+
* @memberof LiquidityProvider
|
|
275
|
+
*/
|
|
276
|
+
'asset_address'?: string;
|
|
277
|
+
/**
|
|
278
|
+
*
|
|
279
|
+
* @type {number}
|
|
280
|
+
* @memberof LiquidityProvider
|
|
281
|
+
*/
|
|
282
|
+
'last_add_height'?: number;
|
|
283
|
+
/**
|
|
284
|
+
*
|
|
285
|
+
* @type {string}
|
|
286
|
+
* @memberof LiquidityProvider
|
|
287
|
+
*/
|
|
288
|
+
'units'?: string;
|
|
289
|
+
/**
|
|
290
|
+
*
|
|
291
|
+
* @type {string}
|
|
292
|
+
* @memberof LiquidityProvider
|
|
293
|
+
*/
|
|
294
|
+
'pending_rune'?: string;
|
|
295
|
+
/**
|
|
296
|
+
*
|
|
297
|
+
* @type {string}
|
|
298
|
+
* @memberof LiquidityProvider
|
|
299
|
+
*/
|
|
300
|
+
'pending_asset'?: string;
|
|
301
|
+
/**
|
|
302
|
+
*
|
|
303
|
+
* @type {string}
|
|
304
|
+
* @memberof LiquidityProvider
|
|
305
|
+
*/
|
|
306
|
+
'pending_tx_id'?: string;
|
|
307
|
+
/**
|
|
308
|
+
*
|
|
309
|
+
* @type {string}
|
|
310
|
+
* @memberof LiquidityProvider
|
|
311
|
+
*/
|
|
312
|
+
'rune_deposit_value'?: string;
|
|
313
|
+
/**
|
|
314
|
+
*
|
|
315
|
+
* @type {string}
|
|
316
|
+
* @memberof LiquidityProvider
|
|
317
|
+
*/
|
|
318
|
+
'asset_deposit_value'?: string;
|
|
319
|
+
}
|
|
320
|
+
/**
|
|
321
|
+
*
|
|
322
|
+
* @export
|
|
323
|
+
* @interface Metrics
|
|
324
|
+
*/
|
|
325
|
+
export interface Metrics {
|
|
326
|
+
/**
|
|
327
|
+
*
|
|
328
|
+
* @type {Array<KeygenMetric>}
|
|
329
|
+
* @memberof Metrics
|
|
330
|
+
*/
|
|
331
|
+
'keygen'?: Array<KeygenMetric>;
|
|
332
|
+
/**
|
|
333
|
+
*
|
|
334
|
+
* @type {KeysignMetrics}
|
|
335
|
+
* @memberof Metrics
|
|
336
|
+
*/
|
|
337
|
+
'keysign'?: KeysignMetrics;
|
|
338
|
+
}
|
|
339
|
+
/**
|
|
340
|
+
*
|
|
341
|
+
* @export
|
|
342
|
+
* @interface MimirVote
|
|
343
|
+
*/
|
|
344
|
+
export interface MimirVote {
|
|
345
|
+
/**
|
|
346
|
+
*
|
|
347
|
+
* @type {string}
|
|
348
|
+
* @memberof MimirVote
|
|
349
|
+
*/
|
|
350
|
+
'key'?: string;
|
|
351
|
+
/**
|
|
352
|
+
*
|
|
353
|
+
* @type {number}
|
|
354
|
+
* @memberof MimirVote
|
|
355
|
+
*/
|
|
356
|
+
'value'?: number;
|
|
357
|
+
/**
|
|
358
|
+
*
|
|
359
|
+
* @type {string}
|
|
360
|
+
* @memberof MimirVote
|
|
361
|
+
*/
|
|
362
|
+
'signer'?: string;
|
|
363
|
+
}
|
|
364
|
+
/**
|
|
365
|
+
*
|
|
366
|
+
* @export
|
|
367
|
+
* @interface MimirVotes
|
|
368
|
+
*/
|
|
369
|
+
export interface MimirVotes {
|
|
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 {
|
|
383
|
+
/**
|
|
384
|
+
* total amount of RUNE awarded to node operators
|
|
385
|
+
* @type {string}
|
|
386
|
+
* @memberof Network
|
|
387
|
+
*/
|
|
388
|
+
'bond_reward_rune'?: string;
|
|
389
|
+
/**
|
|
390
|
+
* total bonded RUNE
|
|
391
|
+
* @type {string}
|
|
392
|
+
* @memberof Network
|
|
393
|
+
*/
|
|
394
|
+
'total_bond_units'?: string;
|
|
395
|
+
/**
|
|
396
|
+
* total reserve RUNE
|
|
397
|
+
* @type {string}
|
|
398
|
+
* @memberof Network
|
|
399
|
+
*/
|
|
400
|
+
'total_reserve'?: string;
|
|
401
|
+
/**
|
|
402
|
+
* total of burned BEP2 RUNE
|
|
403
|
+
* @type {string}
|
|
404
|
+
* @memberof Network
|
|
405
|
+
*/
|
|
406
|
+
'burned_bep_2_rune'?: string;
|
|
407
|
+
/**
|
|
408
|
+
* total of burned ERC20 RUNE
|
|
409
|
+
* @type {string}
|
|
410
|
+
* @memberof Network
|
|
411
|
+
*/
|
|
412
|
+
'burned_erc_20_rune'?: string;
|
|
413
|
+
}
|
|
414
|
+
/**
|
|
415
|
+
*
|
|
416
|
+
* @export
|
|
417
|
+
* @interface Node
|
|
418
|
+
*/
|
|
419
|
+
export interface Node {
|
|
420
|
+
/**
|
|
421
|
+
*
|
|
422
|
+
* @type {string}
|
|
423
|
+
* @memberof Node
|
|
424
|
+
*/
|
|
425
|
+
'node_address'?: string;
|
|
426
|
+
/**
|
|
427
|
+
*
|
|
428
|
+
* @type {string}
|
|
429
|
+
* @memberof Node
|
|
430
|
+
*/
|
|
431
|
+
'status'?: NodeStatusEnum;
|
|
432
|
+
/**
|
|
433
|
+
*
|
|
434
|
+
* @type {NodePubKeySet}
|
|
435
|
+
* @memberof Node
|
|
436
|
+
*/
|
|
437
|
+
'pub_key_set'?: NodePubKeySet;
|
|
438
|
+
/**
|
|
439
|
+
* the consensus pub key for the node
|
|
440
|
+
* @type {string}
|
|
441
|
+
* @memberof Node
|
|
442
|
+
*/
|
|
443
|
+
'validator_cons_pub_key'?: string;
|
|
444
|
+
/**
|
|
445
|
+
* current node bond
|
|
446
|
+
* @type {string}
|
|
447
|
+
* @memberof Node
|
|
448
|
+
*/
|
|
449
|
+
'bond'?: string;
|
|
450
|
+
/**
|
|
451
|
+
* the block height at which the node became active
|
|
452
|
+
* @type {number}
|
|
453
|
+
* @memberof Node
|
|
454
|
+
*/
|
|
455
|
+
'active_block_height'?: number;
|
|
456
|
+
/**
|
|
457
|
+
*
|
|
458
|
+
* @type {string}
|
|
459
|
+
* @memberof Node
|
|
460
|
+
*/
|
|
461
|
+
'bond_address'?: string;
|
|
462
|
+
/**
|
|
463
|
+
* the block height of the current provided information for the node
|
|
464
|
+
* @type {number}
|
|
465
|
+
* @memberof Node
|
|
466
|
+
*/
|
|
467
|
+
'status_since'?: number;
|
|
468
|
+
/**
|
|
469
|
+
* the set of vault public keys of which the node is a member
|
|
470
|
+
* @type {Array<string>}
|
|
471
|
+
* @memberof Node
|
|
472
|
+
*/
|
|
473
|
+
'signer_membership'?: Array<string>;
|
|
474
|
+
/**
|
|
475
|
+
*
|
|
476
|
+
* @type {boolean}
|
|
477
|
+
* @memberof Node
|
|
478
|
+
*/
|
|
479
|
+
'requested_to_leave'?: boolean;
|
|
480
|
+
/**
|
|
481
|
+
* indicates whether the node has been forced to leave by the network, typically via ban
|
|
482
|
+
* @type {boolean}
|
|
483
|
+
* @memberof Node
|
|
484
|
+
*/
|
|
485
|
+
'forced_to_leave'?: boolean;
|
|
486
|
+
/**
|
|
487
|
+
*
|
|
488
|
+
* @type {number}
|
|
489
|
+
* @memberof Node
|
|
490
|
+
*/
|
|
491
|
+
'leave_height'?: number;
|
|
492
|
+
/**
|
|
493
|
+
*
|
|
494
|
+
* @type {string}
|
|
495
|
+
* @memberof Node
|
|
496
|
+
*/
|
|
497
|
+
'ip_address'?: string;
|
|
498
|
+
/**
|
|
499
|
+
* the currently set version of the node
|
|
500
|
+
* @type {string}
|
|
501
|
+
* @memberof Node
|
|
502
|
+
*/
|
|
503
|
+
'version'?: string;
|
|
504
|
+
/**
|
|
505
|
+
* the accumlated slash points, reset at churn but excessive slash points may carry over
|
|
506
|
+
* @type {number}
|
|
507
|
+
* @memberof Node
|
|
508
|
+
*/
|
|
509
|
+
'slash_points'?: number;
|
|
510
|
+
/**
|
|
511
|
+
*
|
|
512
|
+
* @type {NodeJail}
|
|
513
|
+
* @memberof Node
|
|
514
|
+
*/
|
|
515
|
+
'jail'?: NodeJail;
|
|
516
|
+
/**
|
|
517
|
+
*
|
|
518
|
+
* @type {string}
|
|
519
|
+
* @memberof Node
|
|
520
|
+
*/
|
|
521
|
+
'current_award'?: string;
|
|
522
|
+
/**
|
|
523
|
+
* the last observed heights for all chain by the node
|
|
524
|
+
* @type {Array<NodeObserveChain>}
|
|
525
|
+
* @memberof Node
|
|
526
|
+
*/
|
|
527
|
+
'observe_chains'?: Array<NodeObserveChain>;
|
|
528
|
+
/**
|
|
529
|
+
*
|
|
530
|
+
* @type {NodePreflightStatus}
|
|
531
|
+
* @memberof Node
|
|
532
|
+
*/
|
|
533
|
+
'preflight_status'?: NodePreflightStatus;
|
|
534
|
+
}
|
|
535
|
+
export declare const NodeStatusEnum: {
|
|
536
|
+
readonly Active: "Active";
|
|
537
|
+
readonly Whitelisted: "Whitelisted";
|
|
538
|
+
readonly Standby: "Standby";
|
|
539
|
+
readonly Disabled: "Disabled";
|
|
540
|
+
};
|
|
541
|
+
export declare type NodeStatusEnum = typeof NodeStatusEnum[keyof typeof NodeStatusEnum];
|
|
542
|
+
/**
|
|
543
|
+
*
|
|
544
|
+
* @export
|
|
545
|
+
* @interface NodeJail
|
|
546
|
+
*/
|
|
547
|
+
export interface NodeJail {
|
|
548
|
+
/**
|
|
549
|
+
*
|
|
550
|
+
* @type {string}
|
|
551
|
+
* @memberof NodeJail
|
|
552
|
+
*/
|
|
553
|
+
'node_address'?: string;
|
|
554
|
+
}
|
|
555
|
+
/**
|
|
556
|
+
*
|
|
557
|
+
* @export
|
|
558
|
+
* @interface NodeKeygenMetric
|
|
559
|
+
*/
|
|
560
|
+
export interface NodeKeygenMetric {
|
|
561
|
+
/**
|
|
562
|
+
*
|
|
563
|
+
* @type {string}
|
|
564
|
+
* @memberof NodeKeygenMetric
|
|
565
|
+
*/
|
|
566
|
+
'address'?: string;
|
|
567
|
+
/**
|
|
568
|
+
*
|
|
569
|
+
* @type {string}
|
|
570
|
+
* @memberof NodeKeygenMetric
|
|
571
|
+
*/
|
|
572
|
+
'tss_time'?: string;
|
|
573
|
+
}
|
|
574
|
+
/**
|
|
575
|
+
*
|
|
576
|
+
* @export
|
|
577
|
+
* @interface NodeObserveChain
|
|
578
|
+
*/
|
|
579
|
+
export interface NodeObserveChain {
|
|
580
|
+
/**
|
|
581
|
+
*
|
|
582
|
+
* @type {string}
|
|
583
|
+
* @memberof NodeObserveChain
|
|
584
|
+
*/
|
|
585
|
+
'chain'?: string;
|
|
586
|
+
/**
|
|
587
|
+
*
|
|
588
|
+
* @type {number}
|
|
589
|
+
* @memberof NodeObserveChain
|
|
590
|
+
*/
|
|
591
|
+
'height'?: number;
|
|
592
|
+
}
|
|
593
|
+
/**
|
|
594
|
+
*
|
|
595
|
+
* @export
|
|
596
|
+
* @interface NodePreflightStatus
|
|
597
|
+
*/
|
|
598
|
+
export interface NodePreflightStatus {
|
|
599
|
+
/**
|
|
600
|
+
* the next status of the node
|
|
601
|
+
* @type {string}
|
|
602
|
+
* @memberof NodePreflightStatus
|
|
603
|
+
*/
|
|
604
|
+
'status'?: string;
|
|
605
|
+
/**
|
|
606
|
+
* the reason for the transition to the next status
|
|
607
|
+
* @type {string}
|
|
608
|
+
* @memberof NodePreflightStatus
|
|
609
|
+
*/
|
|
610
|
+
'reason'?: string;
|
|
611
|
+
/**
|
|
612
|
+
*
|
|
613
|
+
* @type {number}
|
|
614
|
+
* @memberof NodePreflightStatus
|
|
615
|
+
*/
|
|
616
|
+
'code'?: number;
|
|
617
|
+
}
|
|
618
|
+
/**
|
|
619
|
+
*
|
|
620
|
+
* @export
|
|
621
|
+
* @interface NodePubKeySet
|
|
622
|
+
*/
|
|
623
|
+
export interface NodePubKeySet {
|
|
624
|
+
/**
|
|
625
|
+
*
|
|
626
|
+
* @type {string}
|
|
627
|
+
* @memberof NodePubKeySet
|
|
628
|
+
*/
|
|
629
|
+
'secp256k1'?: string;
|
|
630
|
+
/**
|
|
631
|
+
*
|
|
632
|
+
* @type {string}
|
|
633
|
+
* @memberof NodePubKeySet
|
|
634
|
+
*/
|
|
635
|
+
'ed25519'?: string;
|
|
636
|
+
}
|
|
637
|
+
/**
|
|
638
|
+
*
|
|
639
|
+
* @export
|
|
640
|
+
* @interface ObservedTx
|
|
641
|
+
*/
|
|
642
|
+
export interface ObservedTx {
|
|
643
|
+
/**
|
|
644
|
+
*
|
|
645
|
+
* @type {Tx}
|
|
646
|
+
* @memberof ObservedTx
|
|
647
|
+
*/
|
|
648
|
+
'tx'?: Tx;
|
|
649
|
+
/**
|
|
650
|
+
*
|
|
651
|
+
* @type {string}
|
|
652
|
+
* @memberof ObservedTx
|
|
653
|
+
*/
|
|
654
|
+
'status'?: ObservedTxStatusEnum;
|
|
655
|
+
/**
|
|
656
|
+
*
|
|
657
|
+
* @type {Array<string>}
|
|
658
|
+
* @memberof ObservedTx
|
|
659
|
+
*/
|
|
660
|
+
'out_hashes'?: Array<string>;
|
|
661
|
+
/**
|
|
662
|
+
*
|
|
663
|
+
* @type {number}
|
|
664
|
+
* @memberof ObservedTx
|
|
665
|
+
*/
|
|
666
|
+
'block_height'?: number;
|
|
667
|
+
/**
|
|
668
|
+
*
|
|
669
|
+
* @type {number}
|
|
670
|
+
* @memberof ObservedTx
|
|
671
|
+
*/
|
|
672
|
+
'finalise_height'?: number;
|
|
673
|
+
/**
|
|
674
|
+
*
|
|
675
|
+
* @type {Array<string>}
|
|
676
|
+
* @memberof ObservedTx
|
|
677
|
+
*/
|
|
678
|
+
'signers'?: Array<string>;
|
|
679
|
+
/**
|
|
680
|
+
*
|
|
681
|
+
* @type {string}
|
|
682
|
+
* @memberof ObservedTx
|
|
683
|
+
*/
|
|
684
|
+
'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
|
+
/**
|
|
698
|
+
*
|
|
699
|
+
* @type {string}
|
|
700
|
+
* @memberof Outbound
|
|
701
|
+
*/
|
|
702
|
+
'chain'?: string;
|
|
703
|
+
/**
|
|
704
|
+
*
|
|
705
|
+
* @type {string}
|
|
706
|
+
* @memberof Outbound
|
|
707
|
+
*/
|
|
708
|
+
'to_address'?: string;
|
|
709
|
+
/**
|
|
710
|
+
*
|
|
711
|
+
* @type {string}
|
|
712
|
+
* @memberof Outbound
|
|
713
|
+
*/
|
|
714
|
+
'vault_pub_key'?: string;
|
|
715
|
+
/**
|
|
716
|
+
*
|
|
717
|
+
* @type {Coin}
|
|
718
|
+
* @memberof Outbound
|
|
719
|
+
*/
|
|
720
|
+
'coin'?: Coin;
|
|
721
|
+
/**
|
|
722
|
+
*
|
|
723
|
+
* @type {string}
|
|
724
|
+
* @memberof Outbound
|
|
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
|
|
737
|
+
*/
|
|
738
|
+
'gas_rate'?: number;
|
|
739
|
+
/**
|
|
740
|
+
*
|
|
741
|
+
* @type {string}
|
|
742
|
+
* @memberof Outbound
|
|
743
|
+
*/
|
|
744
|
+
'in_hash'?: string;
|
|
745
|
+
}
|
|
746
|
+
/**
|
|
747
|
+
*
|
|
748
|
+
* @export
|
|
749
|
+
* @interface Ping
|
|
750
|
+
*/
|
|
751
|
+
export interface Ping {
|
|
752
|
+
/**
|
|
753
|
+
*
|
|
754
|
+
* @type {string}
|
|
755
|
+
* @memberof Ping
|
|
756
|
+
*/
|
|
757
|
+
'ping'?: string;
|
|
758
|
+
}
|
|
759
|
+
/**
|
|
760
|
+
*
|
|
761
|
+
* @export
|
|
762
|
+
* @interface Pool
|
|
763
|
+
*/
|
|
764
|
+
export interface Pool {
|
|
765
|
+
/**
|
|
766
|
+
*
|
|
767
|
+
* @type {string}
|
|
768
|
+
* @memberof Pool
|
|
769
|
+
*/
|
|
770
|
+
'balance_rune'?: string;
|
|
771
|
+
/**
|
|
772
|
+
*
|
|
773
|
+
* @type {string}
|
|
774
|
+
* @memberof Pool
|
|
775
|
+
*/
|
|
776
|
+
'balance_asset'?: string;
|
|
777
|
+
/**
|
|
778
|
+
*
|
|
779
|
+
* @type {string}
|
|
780
|
+
* @memberof Pool
|
|
781
|
+
*/
|
|
782
|
+
'asset'?: string;
|
|
783
|
+
/**
|
|
784
|
+
* the total pool liquidity provider units
|
|
785
|
+
* @type {string}
|
|
786
|
+
* @memberof Pool
|
|
787
|
+
*/
|
|
788
|
+
'LP_units'?: string;
|
|
789
|
+
/**
|
|
790
|
+
* the total pool units, this is the sum of LP and synth units
|
|
791
|
+
* @type {string}
|
|
792
|
+
* @memberof Pool
|
|
793
|
+
*/
|
|
794
|
+
'pool_units'?: string;
|
|
795
|
+
/**
|
|
796
|
+
*
|
|
797
|
+
* @type {string}
|
|
798
|
+
* @memberof Pool
|
|
799
|
+
*/
|
|
800
|
+
'status'?: string;
|
|
801
|
+
/**
|
|
802
|
+
* the total synth units in the pool
|
|
803
|
+
* @type {string}
|
|
804
|
+
* @memberof Pool
|
|
805
|
+
*/
|
|
806
|
+
'synth_units'?: string;
|
|
807
|
+
/**
|
|
808
|
+
* the total supply of synths for the asset
|
|
809
|
+
* @type {string}
|
|
810
|
+
* @memberof Pool
|
|
811
|
+
*/
|
|
812
|
+
'synth_supply'?: string;
|
|
813
|
+
/**
|
|
814
|
+
*
|
|
815
|
+
* @type {string}
|
|
816
|
+
* @memberof Pool
|
|
817
|
+
*/
|
|
818
|
+
'pending_inbound_rune'?: string;
|
|
819
|
+
/**
|
|
820
|
+
*
|
|
821
|
+
* @type {string}
|
|
822
|
+
* @memberof Pool
|
|
823
|
+
*/
|
|
824
|
+
'pending_inbound_asset'?: string;
|
|
825
|
+
}
|
|
826
|
+
/**
|
|
827
|
+
*
|
|
828
|
+
* @export
|
|
829
|
+
* @interface ProcessedOutbound
|
|
830
|
+
*/
|
|
831
|
+
export interface ProcessedOutbound {
|
|
832
|
+
/**
|
|
833
|
+
*
|
|
834
|
+
* @type {string}
|
|
835
|
+
* @memberof ProcessedOutbound
|
|
836
|
+
*/
|
|
837
|
+
'out_hash'?: string;
|
|
838
|
+
}
|
|
839
|
+
/**
|
|
840
|
+
*
|
|
841
|
+
* @export
|
|
842
|
+
* @interface Queue
|
|
843
|
+
*/
|
|
844
|
+
export interface Queue {
|
|
845
|
+
/**
|
|
846
|
+
*
|
|
847
|
+
* @type {number}
|
|
848
|
+
* @memberof Queue
|
|
849
|
+
*/
|
|
850
|
+
'swap'?: number;
|
|
851
|
+
/**
|
|
852
|
+
* number of signed outbound tx in the queue
|
|
853
|
+
* @type {number}
|
|
854
|
+
* @memberof Queue
|
|
855
|
+
*/
|
|
856
|
+
'outbound'?: number;
|
|
857
|
+
/**
|
|
858
|
+
*
|
|
859
|
+
* @type {number}
|
|
860
|
+
* @memberof Queue
|
|
861
|
+
*/
|
|
862
|
+
'internal'?: number;
|
|
863
|
+
/**
|
|
864
|
+
* scheduled outbound value in RUNE
|
|
865
|
+
* @type {string}
|
|
866
|
+
* @memberof Queue
|
|
867
|
+
*/
|
|
868
|
+
'scheduled_outbound_value'?: string;
|
|
869
|
+
}
|
|
870
|
+
/**
|
|
871
|
+
*
|
|
872
|
+
* @export
|
|
873
|
+
* @interface ScheduledOutbound
|
|
874
|
+
*/
|
|
875
|
+
export interface ScheduledOutbound {
|
|
876
|
+
/**
|
|
877
|
+
*
|
|
878
|
+
* @type {number}
|
|
879
|
+
* @memberof ScheduledOutbound
|
|
880
|
+
*/
|
|
881
|
+
'height'?: number;
|
|
882
|
+
}
|
|
883
|
+
/**
|
|
884
|
+
*
|
|
885
|
+
* @export
|
|
886
|
+
* @interface Thorname
|
|
887
|
+
*/
|
|
888
|
+
export interface Thorname {
|
|
889
|
+
/**
|
|
890
|
+
*
|
|
891
|
+
* @type {string}
|
|
892
|
+
* @memberof Thorname
|
|
893
|
+
*/
|
|
894
|
+
'name'?: string;
|
|
895
|
+
/**
|
|
896
|
+
*
|
|
897
|
+
* @type {string}
|
|
898
|
+
* @memberof Thorname
|
|
899
|
+
*/
|
|
900
|
+
'chain'?: string;
|
|
901
|
+
/**
|
|
902
|
+
*
|
|
903
|
+
* @type {string}
|
|
904
|
+
* @memberof Thorname
|
|
905
|
+
*/
|
|
906
|
+
'address'?: string;
|
|
907
|
+
/**
|
|
908
|
+
*
|
|
909
|
+
* @type {number}
|
|
910
|
+
* @memberof Thorname
|
|
911
|
+
*/
|
|
912
|
+
'expire_block_height'?: number;
|
|
913
|
+
}
|
|
914
|
+
/**
|
|
915
|
+
*
|
|
916
|
+
* @export
|
|
917
|
+
* @interface Tx
|
|
918
|
+
*/
|
|
919
|
+
export interface Tx {
|
|
920
|
+
/**
|
|
921
|
+
*
|
|
922
|
+
* @type {string}
|
|
923
|
+
* @memberof Tx
|
|
924
|
+
*/
|
|
925
|
+
'id'?: string;
|
|
926
|
+
/**
|
|
927
|
+
*
|
|
928
|
+
* @type {string}
|
|
929
|
+
* @memberof Tx
|
|
930
|
+
*/
|
|
931
|
+
'chain'?: string;
|
|
932
|
+
/**
|
|
933
|
+
*
|
|
934
|
+
* @type {string}
|
|
935
|
+
* @memberof Tx
|
|
936
|
+
*/
|
|
937
|
+
'from_address'?: string;
|
|
938
|
+
/**
|
|
939
|
+
*
|
|
940
|
+
* @type {string}
|
|
941
|
+
* @memberof Tx
|
|
942
|
+
*/
|
|
943
|
+
'to_address'?: string;
|
|
944
|
+
/**
|
|
945
|
+
*
|
|
946
|
+
* @type {Array<Coin>}
|
|
947
|
+
* @memberof Tx
|
|
948
|
+
*/
|
|
949
|
+
'coins'?: Array<Coin>;
|
|
950
|
+
/**
|
|
951
|
+
*
|
|
952
|
+
* @type {Array<Coin>}
|
|
953
|
+
* @memberof Tx
|
|
954
|
+
*/
|
|
955
|
+
'gas'?: Array<Coin>;
|
|
956
|
+
/**
|
|
957
|
+
*
|
|
958
|
+
* @type {string}
|
|
959
|
+
* @memberof Tx
|
|
960
|
+
*/
|
|
961
|
+
'memo'?: string;
|
|
962
|
+
}
|
|
963
|
+
/**
|
|
964
|
+
*
|
|
965
|
+
* @export
|
|
966
|
+
* @interface TxSigners
|
|
967
|
+
*/
|
|
968
|
+
export interface TxSigners {
|
|
969
|
+
/**
|
|
970
|
+
*
|
|
971
|
+
* @type {string}
|
|
972
|
+
* @memberof TxSigners
|
|
973
|
+
*/
|
|
974
|
+
'tx_id'?: string;
|
|
975
|
+
/**
|
|
976
|
+
*
|
|
977
|
+
* @type {ObservedTx}
|
|
978
|
+
* @memberof TxSigners
|
|
979
|
+
*/
|
|
980
|
+
'tx'?: ObservedTx;
|
|
981
|
+
/**
|
|
982
|
+
*
|
|
983
|
+
* @type {Array<ObservedTx>}
|
|
984
|
+
* @memberof TxSigners
|
|
985
|
+
*/
|
|
986
|
+
'txs'?: Array<ObservedTx>;
|
|
987
|
+
/**
|
|
988
|
+
*
|
|
989
|
+
* @type {Array<string>}
|
|
990
|
+
* @memberof TxSigners
|
|
991
|
+
*/
|
|
992
|
+
'out_txs'?: Array<string>;
|
|
993
|
+
/**
|
|
994
|
+
*
|
|
995
|
+
* @type {Array<ObservedTx>}
|
|
996
|
+
* @memberof TxSigners
|
|
997
|
+
*/
|
|
998
|
+
'actions'?: Array<ObservedTx>;
|
|
999
|
+
/**
|
|
1000
|
+
*
|
|
1001
|
+
* @type {number}
|
|
1002
|
+
* @memberof TxSigners
|
|
1003
|
+
*/
|
|
1004
|
+
'finalised_height'?: number;
|
|
1005
|
+
}
|
|
1006
|
+
/**
|
|
1007
|
+
*
|
|
1008
|
+
* @export
|
|
1009
|
+
* @interface Vault
|
|
1010
|
+
*/
|
|
1011
|
+
export interface Vault {
|
|
1012
|
+
/**
|
|
1013
|
+
*
|
|
1014
|
+
* @type {number}
|
|
1015
|
+
* @memberof Vault
|
|
1016
|
+
*/
|
|
1017
|
+
'block_height'?: number;
|
|
1018
|
+
/**
|
|
1019
|
+
*
|
|
1020
|
+
* @type {string}
|
|
1021
|
+
* @memberof Vault
|
|
1022
|
+
*/
|
|
1023
|
+
'pub_key'?: string;
|
|
1024
|
+
/**
|
|
1025
|
+
*
|
|
1026
|
+
* @type {Array<Coin>}
|
|
1027
|
+
* @memberof Vault
|
|
1028
|
+
*/
|
|
1029
|
+
'coins'?: Array<Coin>;
|
|
1030
|
+
/**
|
|
1031
|
+
*
|
|
1032
|
+
* @type {string}
|
|
1033
|
+
* @memberof Vault
|
|
1034
|
+
*/
|
|
1035
|
+
'type'?: VaultTypeEnum;
|
|
1036
|
+
/**
|
|
1037
|
+
*
|
|
1038
|
+
* @type {string}
|
|
1039
|
+
* @memberof Vault
|
|
1040
|
+
*/
|
|
1041
|
+
'status'?: string;
|
|
1042
|
+
/**
|
|
1043
|
+
*
|
|
1044
|
+
* @type {number}
|
|
1045
|
+
* @memberof Vault
|
|
1046
|
+
*/
|
|
1047
|
+
'status_since'?: number;
|
|
1048
|
+
/**
|
|
1049
|
+
* the list of node public keys which are members of the vault
|
|
1050
|
+
* @type {Array<string>}
|
|
1051
|
+
* @memberof Vault
|
|
1052
|
+
*/
|
|
1053
|
+
'membership'?: Array<string>;
|
|
1054
|
+
/**
|
|
1055
|
+
*
|
|
1056
|
+
* @type {Array<string>}
|
|
1057
|
+
* @memberof Vault
|
|
1058
|
+
*/
|
|
1059
|
+
'chains'?: Array<string>;
|
|
1060
|
+
/**
|
|
1061
|
+
*
|
|
1062
|
+
* @type {number}
|
|
1063
|
+
* @memberof Vault
|
|
1064
|
+
*/
|
|
1065
|
+
'inbound_tx_count'?: number;
|
|
1066
|
+
/**
|
|
1067
|
+
*
|
|
1068
|
+
* @type {number}
|
|
1069
|
+
* @memberof Vault
|
|
1070
|
+
*/
|
|
1071
|
+
'outbound_tx_count'?: number;
|
|
1072
|
+
/**
|
|
1073
|
+
*
|
|
1074
|
+
* @type {Array<VaultRouter>}
|
|
1075
|
+
* @memberof Vault
|
|
1076
|
+
*/
|
|
1077
|
+
'routers'?: Array<VaultRouter>;
|
|
1078
|
+
/**
|
|
1079
|
+
*
|
|
1080
|
+
* @type {Array<VaultAddress>}
|
|
1081
|
+
* @memberof Vault
|
|
1082
|
+
*/
|
|
1083
|
+
'addresses'?: Array<VaultAddress>;
|
|
1084
|
+
}
|
|
1085
|
+
export declare const VaultTypeEnum: {
|
|
1086
|
+
readonly AsgardVault: "AsgardVault";
|
|
1087
|
+
readonly YggdrasilVault: "YggdrasilVault";
|
|
1088
|
+
};
|
|
1089
|
+
export declare type VaultTypeEnum = typeof VaultTypeEnum[keyof typeof VaultTypeEnum];
|
|
1090
|
+
/**
|
|
1091
|
+
*
|
|
1092
|
+
* @export
|
|
1093
|
+
* @interface VaultAddress
|
|
1094
|
+
*/
|
|
1095
|
+
export interface VaultAddress {
|
|
1096
|
+
/**
|
|
1097
|
+
*
|
|
1098
|
+
* @type {string}
|
|
1099
|
+
* @memberof VaultAddress
|
|
1100
|
+
*/
|
|
1101
|
+
'chain'?: string;
|
|
1102
|
+
/**
|
|
1103
|
+
*
|
|
1104
|
+
* @type {string}
|
|
1105
|
+
* @memberof VaultAddress
|
|
1106
|
+
*/
|
|
1107
|
+
'address'?: string;
|
|
1108
|
+
}
|
|
1109
|
+
/**
|
|
1110
|
+
*
|
|
1111
|
+
* @export
|
|
1112
|
+
* @interface VaultInfo
|
|
1113
|
+
*/
|
|
1114
|
+
export interface VaultInfo {
|
|
1115
|
+
/**
|
|
1116
|
+
*
|
|
1117
|
+
* @type {string}
|
|
1118
|
+
* @memberof VaultInfo
|
|
1119
|
+
*/
|
|
1120
|
+
'pub_key'?: string;
|
|
1121
|
+
/**
|
|
1122
|
+
*
|
|
1123
|
+
* @type {Array<VaultRouter>}
|
|
1124
|
+
* @memberof VaultInfo
|
|
1125
|
+
*/
|
|
1126
|
+
'routers'?: Array<VaultRouter>;
|
|
1127
|
+
}
|
|
1128
|
+
/**
|
|
1129
|
+
*
|
|
1130
|
+
* @export
|
|
1131
|
+
* @interface VaultPubkeys
|
|
1132
|
+
*/
|
|
1133
|
+
export interface VaultPubkeys {
|
|
1134
|
+
/**
|
|
1135
|
+
*
|
|
1136
|
+
* @type {Array<VaultInfo>}
|
|
1137
|
+
* @memberof VaultPubkeys
|
|
1138
|
+
*/
|
|
1139
|
+
'asgard'?: Array<VaultInfo>;
|
|
1140
|
+
/**
|
|
1141
|
+
*
|
|
1142
|
+
* @type {Array<VaultInfo>}
|
|
1143
|
+
* @memberof VaultPubkeys
|
|
1144
|
+
*/
|
|
1145
|
+
'yggdrasil'?: Array<VaultInfo>;
|
|
1146
|
+
}
|
|
1147
|
+
/**
|
|
1148
|
+
*
|
|
1149
|
+
* @export
|
|
1150
|
+
* @interface VaultRouter
|
|
1151
|
+
*/
|
|
1152
|
+
export interface VaultRouter {
|
|
1153
|
+
/**
|
|
1154
|
+
*
|
|
1155
|
+
* @type {string}
|
|
1156
|
+
* @memberof VaultRouter
|
|
1157
|
+
*/
|
|
1158
|
+
'chain'?: string;
|
|
1159
|
+
/**
|
|
1160
|
+
*
|
|
1161
|
+
* @type {string}
|
|
1162
|
+
* @memberof VaultRouter
|
|
1163
|
+
*/
|
|
1164
|
+
'router'?: string;
|
|
1165
|
+
}
|
|
1166
|
+
/**
|
|
1167
|
+
*
|
|
1168
|
+
* @export
|
|
1169
|
+
* @interface Version
|
|
1170
|
+
*/
|
|
1171
|
+
export interface Version {
|
|
1172
|
+
/**
|
|
1173
|
+
* current version
|
|
1174
|
+
* @type {string}
|
|
1175
|
+
* @memberof Version
|
|
1176
|
+
*/
|
|
1177
|
+
'current'?: string;
|
|
1178
|
+
/**
|
|
1179
|
+
* next version
|
|
1180
|
+
* @type {string}
|
|
1181
|
+
* @memberof Version
|
|
1182
|
+
*/
|
|
1183
|
+
'next'?: string;
|
|
1184
|
+
/**
|
|
1185
|
+
* querier version
|
|
1186
|
+
* @type {string}
|
|
1187
|
+
* @memberof Version
|
|
1188
|
+
*/
|
|
1189
|
+
'querier'?: string;
|
|
1190
|
+
}
|
|
1191
|
+
/**
|
|
1192
|
+
* HealthApi - axios parameter creator
|
|
1193
|
+
* @export
|
|
1194
|
+
*/
|
|
1195
|
+
export declare const HealthApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
|
|
1196
|
+
/**
|
|
1197
|
+
*
|
|
1198
|
+
* @param {*} [options] Override http request option.
|
|
1199
|
+
* @throws {RequiredError}
|
|
1200
|
+
*/
|
|
1201
|
+
ping: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1202
|
+
};
|
|
1203
|
+
/**
|
|
1204
|
+
* HealthApi - functional programming interface
|
|
1205
|
+
* @export
|
|
1206
|
+
*/
|
|
1207
|
+
export declare const HealthApiFp: (configuration?: Configuration | undefined) => {
|
|
1208
|
+
/**
|
|
1209
|
+
*
|
|
1210
|
+
* @param {*} [options] Override http request option.
|
|
1211
|
+
* @throws {RequiredError}
|
|
1212
|
+
*/
|
|
1213
|
+
ping(options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Ping>>;
|
|
1214
|
+
};
|
|
1215
|
+
/**
|
|
1216
|
+
* HealthApi - factory interface
|
|
1217
|
+
* @export
|
|
1218
|
+
*/
|
|
1219
|
+
export declare const HealthApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
|
|
1220
|
+
/**
|
|
1221
|
+
*
|
|
1222
|
+
* @param {*} [options] Override http request option.
|
|
1223
|
+
* @throws {RequiredError}
|
|
1224
|
+
*/
|
|
1225
|
+
ping(options?: any): AxiosPromise<Ping>;
|
|
1226
|
+
};
|
|
1227
|
+
/**
|
|
1228
|
+
* HealthApi - object-oriented interface
|
|
1229
|
+
* @export
|
|
1230
|
+
* @class HealthApi
|
|
1231
|
+
* @extends {BaseAPI}
|
|
1232
|
+
*/
|
|
1233
|
+
export declare class HealthApi extends BaseAPI {
|
|
1234
|
+
/**
|
|
1235
|
+
*
|
|
1236
|
+
* @param {*} [options] Override http request option.
|
|
1237
|
+
* @throws {RequiredError}
|
|
1238
|
+
* @memberof HealthApi
|
|
1239
|
+
*/
|
|
1240
|
+
ping(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Ping, any>>;
|
|
1241
|
+
}
|
|
1242
|
+
/**
|
|
1243
|
+
* LiquidityProvidersApi - axios parameter creator
|
|
1244
|
+
* @export
|
|
1245
|
+
*/
|
|
1246
|
+
export declare const LiquidityProvidersApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
|
|
1247
|
+
/**
|
|
1248
|
+
* Returns the liquidity provider information for an address and asset.
|
|
1249
|
+
* @param {string} asset
|
|
1250
|
+
* @param {string} address
|
|
1251
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1252
|
+
* @param {*} [options] Override http request option.
|
|
1253
|
+
* @throws {RequiredError}
|
|
1254
|
+
*/
|
|
1255
|
+
liquidityProvider: (asset: string, address: string, height?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1256
|
+
/**
|
|
1257
|
+
* Returns all liquidity provider information for an asset.
|
|
1258
|
+
* @param {string} asset
|
|
1259
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1260
|
+
* @param {*} [options] Override http request option.
|
|
1261
|
+
* @throws {RequiredError}
|
|
1262
|
+
*/
|
|
1263
|
+
liquidityProviders: (asset: string, height?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1264
|
+
};
|
|
1265
|
+
/**
|
|
1266
|
+
* LiquidityProvidersApi - functional programming interface
|
|
1267
|
+
* @export
|
|
1268
|
+
*/
|
|
1269
|
+
export declare const LiquidityProvidersApiFp: (configuration?: Configuration | undefined) => {
|
|
1270
|
+
/**
|
|
1271
|
+
* Returns the liquidity provider information for an address and asset.
|
|
1272
|
+
* @param {string} asset
|
|
1273
|
+
* @param {string} address
|
|
1274
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1275
|
+
* @param {*} [options] Override http request option.
|
|
1276
|
+
* @throws {RequiredError}
|
|
1277
|
+
*/
|
|
1278
|
+
liquidityProvider(asset: string, address: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<LiquidityProvider>>>;
|
|
1279
|
+
/**
|
|
1280
|
+
* Returns all liquidity provider information for an asset.
|
|
1281
|
+
* @param {string} asset
|
|
1282
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1283
|
+
* @param {*} [options] Override http request option.
|
|
1284
|
+
* @throws {RequiredError}
|
|
1285
|
+
*/
|
|
1286
|
+
liquidityProviders(asset: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<LiquidityProvider>>>;
|
|
1287
|
+
};
|
|
1288
|
+
/**
|
|
1289
|
+
* LiquidityProvidersApi - factory interface
|
|
1290
|
+
* @export
|
|
1291
|
+
*/
|
|
1292
|
+
export declare const LiquidityProvidersApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
|
|
1293
|
+
/**
|
|
1294
|
+
* Returns the liquidity provider information for an address and asset.
|
|
1295
|
+
* @param {string} asset
|
|
1296
|
+
* @param {string} address
|
|
1297
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1298
|
+
* @param {*} [options] Override http request option.
|
|
1299
|
+
* @throws {RequiredError}
|
|
1300
|
+
*/
|
|
1301
|
+
liquidityProvider(asset: string, address: string, height?: number | undefined, options?: any): AxiosPromise<Array<LiquidityProvider>>;
|
|
1302
|
+
/**
|
|
1303
|
+
* Returns all liquidity provider information for an asset.
|
|
1304
|
+
* @param {string} asset
|
|
1305
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1306
|
+
* @param {*} [options] Override http request option.
|
|
1307
|
+
* @throws {RequiredError}
|
|
1308
|
+
*/
|
|
1309
|
+
liquidityProviders(asset: string, height?: number | undefined, options?: any): AxiosPromise<Array<LiquidityProvider>>;
|
|
1310
|
+
};
|
|
1311
|
+
/**
|
|
1312
|
+
* LiquidityProvidersApi - object-oriented interface
|
|
1313
|
+
* @export
|
|
1314
|
+
* @class LiquidityProvidersApi
|
|
1315
|
+
* @extends {BaseAPI}
|
|
1316
|
+
*/
|
|
1317
|
+
export declare class LiquidityProvidersApi extends BaseAPI {
|
|
1318
|
+
/**
|
|
1319
|
+
* Returns the liquidity provider information for an address and asset.
|
|
1320
|
+
* @param {string} asset
|
|
1321
|
+
* @param {string} address
|
|
1322
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1323
|
+
* @param {*} [options] Override http request option.
|
|
1324
|
+
* @throws {RequiredError}
|
|
1325
|
+
* @memberof LiquidityProvidersApi
|
|
1326
|
+
*/
|
|
1327
|
+
liquidityProvider(asset: string, address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LiquidityProvider[], any>>;
|
|
1328
|
+
/**
|
|
1329
|
+
* Returns all liquidity provider information for an asset.
|
|
1330
|
+
* @param {string} asset
|
|
1331
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1332
|
+
* @param {*} [options] Override http request option.
|
|
1333
|
+
* @throws {RequiredError}
|
|
1334
|
+
* @memberof LiquidityProvidersApi
|
|
1335
|
+
*/
|
|
1336
|
+
liquidityProviders(asset: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LiquidityProvider[], any>>;
|
|
1337
|
+
}
|
|
1338
|
+
/**
|
|
1339
|
+
* MimirApi - axios parameter creator
|
|
1340
|
+
* @export
|
|
1341
|
+
*/
|
|
1342
|
+
export declare const MimirApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
|
|
1343
|
+
/**
|
|
1344
|
+
* Returns current active mimir configuration.
|
|
1345
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1346
|
+
* @param {*} [options] Override http request option.
|
|
1347
|
+
* @throws {RequiredError}
|
|
1348
|
+
*/
|
|
1349
|
+
mimir: (height?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1350
|
+
/**
|
|
1351
|
+
* Returns current admin mimir configuration.
|
|
1352
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1353
|
+
* @param {*} [options] Override http request option.
|
|
1354
|
+
* @throws {RequiredError}
|
|
1355
|
+
*/
|
|
1356
|
+
mimirAdmin: (height?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1357
|
+
/**
|
|
1358
|
+
* Returns current active mimir configuration for the provided key.
|
|
1359
|
+
* @param {string} key the mimir key to lookup
|
|
1360
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1361
|
+
* @param {*} [options] Override http request option.
|
|
1362
|
+
* @throws {RequiredError}
|
|
1363
|
+
*/
|
|
1364
|
+
mimirKey: (key: string, height?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1365
|
+
/**
|
|
1366
|
+
* Returns current node mimir configuration for the provided node address.
|
|
1367
|
+
* @param {string} address
|
|
1368
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1369
|
+
* @param {*} [options] Override http request option.
|
|
1370
|
+
* @throws {RequiredError}
|
|
1371
|
+
*/
|
|
1372
|
+
mimirNode: (address: string, height?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1373
|
+
/**
|
|
1374
|
+
* Returns current node mimir votes.
|
|
1375
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1376
|
+
* @param {*} [options] Override http request option.
|
|
1377
|
+
* @throws {RequiredError}
|
|
1378
|
+
*/
|
|
1379
|
+
mimirNodes: (height?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1380
|
+
};
|
|
1381
|
+
/**
|
|
1382
|
+
* MimirApi - functional programming interface
|
|
1383
|
+
* @export
|
|
1384
|
+
*/
|
|
1385
|
+
export declare const MimirApiFp: (configuration?: Configuration | undefined) => {
|
|
1386
|
+
/**
|
|
1387
|
+
* Returns current active mimir configuration.
|
|
1388
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1389
|
+
* @param {*} [options] Override http request option.
|
|
1390
|
+
* @throws {RequiredError}
|
|
1391
|
+
*/
|
|
1392
|
+
mimir(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<{
|
|
1393
|
+
[key: string]: string;
|
|
1394
|
+
}>>;
|
|
1395
|
+
/**
|
|
1396
|
+
* Returns current admin mimir configuration.
|
|
1397
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1398
|
+
* @param {*} [options] Override http request option.
|
|
1399
|
+
* @throws {RequiredError}
|
|
1400
|
+
*/
|
|
1401
|
+
mimirAdmin(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<{
|
|
1402
|
+
[key: string]: string;
|
|
1403
|
+
}>>;
|
|
1404
|
+
/**
|
|
1405
|
+
* Returns current active mimir configuration for the provided key.
|
|
1406
|
+
* @param {string} key the mimir key to lookup
|
|
1407
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1408
|
+
* @param {*} [options] Override http request option.
|
|
1409
|
+
* @throws {RequiredError}
|
|
1410
|
+
*/
|
|
1411
|
+
mimirKey(key: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<number>>;
|
|
1412
|
+
/**
|
|
1413
|
+
* Returns current node mimir configuration for the provided node address.
|
|
1414
|
+
* @param {string} address
|
|
1415
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1416
|
+
* @param {*} [options] Override http request option.
|
|
1417
|
+
* @throws {RequiredError}
|
|
1418
|
+
*/
|
|
1419
|
+
mimirNode(address: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<{
|
|
1420
|
+
[key: string]: string;
|
|
1421
|
+
}>>;
|
|
1422
|
+
/**
|
|
1423
|
+
* Returns current node mimir votes.
|
|
1424
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1425
|
+
* @param {*} [options] Override http request option.
|
|
1426
|
+
* @throws {RequiredError}
|
|
1427
|
+
*/
|
|
1428
|
+
mimirNodes(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<MimirVotes>>;
|
|
1429
|
+
};
|
|
1430
|
+
/**
|
|
1431
|
+
* MimirApi - factory interface
|
|
1432
|
+
* @export
|
|
1433
|
+
*/
|
|
1434
|
+
export declare const MimirApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
|
|
1435
|
+
/**
|
|
1436
|
+
* Returns current active mimir configuration.
|
|
1437
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1438
|
+
* @param {*} [options] Override http request option.
|
|
1439
|
+
* @throws {RequiredError}
|
|
1440
|
+
*/
|
|
1441
|
+
mimir(height?: number | undefined, options?: any): AxiosPromise<{
|
|
1442
|
+
[key: string]: string;
|
|
1443
|
+
}>;
|
|
1444
|
+
/**
|
|
1445
|
+
* Returns current admin mimir configuration.
|
|
1446
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1447
|
+
* @param {*} [options] Override http request option.
|
|
1448
|
+
* @throws {RequiredError}
|
|
1449
|
+
*/
|
|
1450
|
+
mimirAdmin(height?: number | undefined, options?: any): AxiosPromise<{
|
|
1451
|
+
[key: string]: string;
|
|
1452
|
+
}>;
|
|
1453
|
+
/**
|
|
1454
|
+
* Returns current active mimir configuration for the provided key.
|
|
1455
|
+
* @param {string} key the mimir key to lookup
|
|
1456
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1457
|
+
* @param {*} [options] Override http request option.
|
|
1458
|
+
* @throws {RequiredError}
|
|
1459
|
+
*/
|
|
1460
|
+
mimirKey(key: string, height?: number | undefined, options?: any): AxiosPromise<number>;
|
|
1461
|
+
/**
|
|
1462
|
+
* Returns current node mimir configuration for the provided node address.
|
|
1463
|
+
* @param {string} address
|
|
1464
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1465
|
+
* @param {*} [options] Override http request option.
|
|
1466
|
+
* @throws {RequiredError}
|
|
1467
|
+
*/
|
|
1468
|
+
mimirNode(address: string, height?: number | undefined, options?: any): AxiosPromise<{
|
|
1469
|
+
[key: string]: string;
|
|
1470
|
+
}>;
|
|
1471
|
+
/**
|
|
1472
|
+
* Returns current node mimir votes.
|
|
1473
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1474
|
+
* @param {*} [options] Override http request option.
|
|
1475
|
+
* @throws {RequiredError}
|
|
1476
|
+
*/
|
|
1477
|
+
mimirNodes(height?: number | undefined, options?: any): AxiosPromise<MimirVotes>;
|
|
1478
|
+
};
|
|
1479
|
+
/**
|
|
1480
|
+
* MimirApi - object-oriented interface
|
|
1481
|
+
* @export
|
|
1482
|
+
* @class MimirApi
|
|
1483
|
+
* @extends {BaseAPI}
|
|
1484
|
+
*/
|
|
1485
|
+
export declare class MimirApi extends BaseAPI {
|
|
1486
|
+
/**
|
|
1487
|
+
* Returns current active mimir configuration.
|
|
1488
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1489
|
+
* @param {*} [options] Override http request option.
|
|
1490
|
+
* @throws {RequiredError}
|
|
1491
|
+
* @memberof MimirApi
|
|
1492
|
+
*/
|
|
1493
|
+
mimir(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{
|
|
1494
|
+
[key: string]: string;
|
|
1495
|
+
}, any>>;
|
|
1496
|
+
/**
|
|
1497
|
+
* Returns current admin mimir configuration.
|
|
1498
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1499
|
+
* @param {*} [options] Override http request option.
|
|
1500
|
+
* @throws {RequiredError}
|
|
1501
|
+
* @memberof MimirApi
|
|
1502
|
+
*/
|
|
1503
|
+
mimirAdmin(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{
|
|
1504
|
+
[key: string]: string;
|
|
1505
|
+
}, any>>;
|
|
1506
|
+
/**
|
|
1507
|
+
* Returns current active mimir configuration for the provided key.
|
|
1508
|
+
* @param {string} key the mimir key to lookup
|
|
1509
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1510
|
+
* @param {*} [options] Override http request option.
|
|
1511
|
+
* @throws {RequiredError}
|
|
1512
|
+
* @memberof MimirApi
|
|
1513
|
+
*/
|
|
1514
|
+
mimirKey(key: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<number, any>>;
|
|
1515
|
+
/**
|
|
1516
|
+
* Returns current node mimir configuration for the provided node address.
|
|
1517
|
+
* @param {string} address
|
|
1518
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1519
|
+
* @param {*} [options] Override http request option.
|
|
1520
|
+
* @throws {RequiredError}
|
|
1521
|
+
* @memberof MimirApi
|
|
1522
|
+
*/
|
|
1523
|
+
mimirNode(address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{
|
|
1524
|
+
[key: string]: string;
|
|
1525
|
+
}, any>>;
|
|
1526
|
+
/**
|
|
1527
|
+
* Returns current node mimir votes.
|
|
1528
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1529
|
+
* @param {*} [options] Override http request option.
|
|
1530
|
+
* @throws {RequiredError}
|
|
1531
|
+
* @memberof MimirApi
|
|
1532
|
+
*/
|
|
1533
|
+
mimirNodes(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MimirVotes, any>>;
|
|
1534
|
+
}
|
|
1535
|
+
/**
|
|
1536
|
+
* NetworkApi - axios parameter creator
|
|
1537
|
+
* @export
|
|
1538
|
+
*/
|
|
1539
|
+
export declare const NetworkApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
|
|
1540
|
+
/**
|
|
1541
|
+
* Returns the ban status for the provided node address.
|
|
1542
|
+
* @param {string} address
|
|
1543
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1544
|
+
* @param {*} [options] Override http request option.
|
|
1545
|
+
* @throws {RequiredError}
|
|
1546
|
+
*/
|
|
1547
|
+
ban: (address: string, height?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1548
|
+
/**
|
|
1549
|
+
* Returns constant configuration, can be overridden by mimir.
|
|
1550
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1551
|
+
* @param {*} [options] Override http request option.
|
|
1552
|
+
* @throws {RequiredError}
|
|
1553
|
+
*/
|
|
1554
|
+
constants: (height?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1555
|
+
/**
|
|
1556
|
+
* Returns the set of asgard addresses that should be used for inbound transactions.
|
|
1557
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1558
|
+
* @param {*} [options] Override http request option.
|
|
1559
|
+
* @throws {RequiredError}
|
|
1560
|
+
*/
|
|
1561
|
+
inboundAddresses: (height?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1562
|
+
/**
|
|
1563
|
+
* Returns the last block information for all chains.
|
|
1564
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1565
|
+
* @param {*} [options] Override http request option.
|
|
1566
|
+
* @throws {RequiredError}
|
|
1567
|
+
*/
|
|
1568
|
+
lastblock: (height?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1569
|
+
/**
|
|
1570
|
+
* Returns the last block information for the provided chain.
|
|
1571
|
+
* @param {string} chain
|
|
1572
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1573
|
+
* @param {*} [options] Override http request option.
|
|
1574
|
+
* @throws {RequiredError}
|
|
1575
|
+
*/
|
|
1576
|
+
lastblockChain: (chain: string, height?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1577
|
+
/**
|
|
1578
|
+
* Returns network overview statistics.
|
|
1579
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1580
|
+
* @param {*} [options] Override http request option.
|
|
1581
|
+
* @throws {RequiredError}
|
|
1582
|
+
*/
|
|
1583
|
+
network: (height?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1584
|
+
/**
|
|
1585
|
+
* Returns a boolean indicating whether the chain is in ragnarok.
|
|
1586
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1587
|
+
* @param {*} [options] Override http request option.
|
|
1588
|
+
* @throws {RequiredError}
|
|
1589
|
+
*/
|
|
1590
|
+
ragnarok: (height?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1591
|
+
/**
|
|
1592
|
+
* Returns the network\'s current THORNode version, the network\'s next THORNode version, and the querier\'s THORNode version.
|
|
1593
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1594
|
+
* @param {*} [options] Override http request option.
|
|
1595
|
+
* @throws {RequiredError}
|
|
1596
|
+
*/
|
|
1597
|
+
version: (height?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1598
|
+
};
|
|
1599
|
+
/**
|
|
1600
|
+
* NetworkApi - functional programming interface
|
|
1601
|
+
* @export
|
|
1602
|
+
*/
|
|
1603
|
+
export declare const NetworkApiFp: (configuration?: Configuration | undefined) => {
|
|
1604
|
+
/**
|
|
1605
|
+
* Returns the ban status for the provided node address.
|
|
1606
|
+
* @param {string} address
|
|
1607
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1608
|
+
* @param {*} [options] Override http request option.
|
|
1609
|
+
* @throws {RequiredError}
|
|
1610
|
+
*/
|
|
1611
|
+
ban(address: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Ban>>;
|
|
1612
|
+
/**
|
|
1613
|
+
* Returns constant configuration, can be overridden by mimir.
|
|
1614
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1615
|
+
* @param {*} [options] Override http request option.
|
|
1616
|
+
* @throws {RequiredError}
|
|
1617
|
+
*/
|
|
1618
|
+
constants(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Constants>>;
|
|
1619
|
+
/**
|
|
1620
|
+
* Returns the set of asgard addresses that should be used for inbound transactions.
|
|
1621
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1622
|
+
* @param {*} [options] Override http request option.
|
|
1623
|
+
* @throws {RequiredError}
|
|
1624
|
+
*/
|
|
1625
|
+
inboundAddresses(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<InboundAddress>>>;
|
|
1626
|
+
/**
|
|
1627
|
+
* Returns the last block information for all chains.
|
|
1628
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1629
|
+
* @param {*} [options] Override http request option.
|
|
1630
|
+
* @throws {RequiredError}
|
|
1631
|
+
*/
|
|
1632
|
+
lastblock(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<LastBlock>>>;
|
|
1633
|
+
/**
|
|
1634
|
+
* Returns the last block information for the provided chain.
|
|
1635
|
+
* @param {string} chain
|
|
1636
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1637
|
+
* @param {*} [options] Override http request option.
|
|
1638
|
+
* @throws {RequiredError}
|
|
1639
|
+
*/
|
|
1640
|
+
lastblockChain(chain: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<LastBlock>>>;
|
|
1641
|
+
/**
|
|
1642
|
+
* Returns network overview statistics.
|
|
1643
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1644
|
+
* @param {*} [options] Override http request option.
|
|
1645
|
+
* @throws {RequiredError}
|
|
1646
|
+
*/
|
|
1647
|
+
network(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Network>>;
|
|
1648
|
+
/**
|
|
1649
|
+
* Returns a boolean indicating whether the chain is in ragnarok.
|
|
1650
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1651
|
+
* @param {*} [options] Override http request option.
|
|
1652
|
+
* @throws {RequiredError}
|
|
1653
|
+
*/
|
|
1654
|
+
ragnarok(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<boolean>>;
|
|
1655
|
+
/**
|
|
1656
|
+
* Returns the network\'s current THORNode version, the network\'s next THORNode version, and the querier\'s THORNode version.
|
|
1657
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1658
|
+
* @param {*} [options] Override http request option.
|
|
1659
|
+
* @throws {RequiredError}
|
|
1660
|
+
*/
|
|
1661
|
+
version(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Version>>;
|
|
1662
|
+
};
|
|
1663
|
+
/**
|
|
1664
|
+
* NetworkApi - factory interface
|
|
1665
|
+
* @export
|
|
1666
|
+
*/
|
|
1667
|
+
export declare const NetworkApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
|
|
1668
|
+
/**
|
|
1669
|
+
* Returns the ban status for the provided node address.
|
|
1670
|
+
* @param {string} address
|
|
1671
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1672
|
+
* @param {*} [options] Override http request option.
|
|
1673
|
+
* @throws {RequiredError}
|
|
1674
|
+
*/
|
|
1675
|
+
ban(address: string, height?: number | undefined, options?: any): AxiosPromise<Ban>;
|
|
1676
|
+
/**
|
|
1677
|
+
* Returns constant configuration, can be overridden by mimir.
|
|
1678
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1679
|
+
* @param {*} [options] Override http request option.
|
|
1680
|
+
* @throws {RequiredError}
|
|
1681
|
+
*/
|
|
1682
|
+
constants(height?: number | undefined, options?: any): AxiosPromise<Constants>;
|
|
1683
|
+
/**
|
|
1684
|
+
* Returns the set of asgard addresses that should be used for inbound transactions.
|
|
1685
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1686
|
+
* @param {*} [options] Override http request option.
|
|
1687
|
+
* @throws {RequiredError}
|
|
1688
|
+
*/
|
|
1689
|
+
inboundAddresses(height?: number | undefined, options?: any): AxiosPromise<Array<InboundAddress>>;
|
|
1690
|
+
/**
|
|
1691
|
+
* Returns the last block information for all chains.
|
|
1692
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1693
|
+
* @param {*} [options] Override http request option.
|
|
1694
|
+
* @throws {RequiredError}
|
|
1695
|
+
*/
|
|
1696
|
+
lastblock(height?: number | undefined, options?: any): AxiosPromise<Array<LastBlock>>;
|
|
1697
|
+
/**
|
|
1698
|
+
* Returns the last block information for the provided chain.
|
|
1699
|
+
* @param {string} chain
|
|
1700
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1701
|
+
* @param {*} [options] Override http request option.
|
|
1702
|
+
* @throws {RequiredError}
|
|
1703
|
+
*/
|
|
1704
|
+
lastblockChain(chain: string, height?: number | undefined, options?: any): AxiosPromise<Array<LastBlock>>;
|
|
1705
|
+
/**
|
|
1706
|
+
* Returns network overview statistics.
|
|
1707
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1708
|
+
* @param {*} [options] Override http request option.
|
|
1709
|
+
* @throws {RequiredError}
|
|
1710
|
+
*/
|
|
1711
|
+
network(height?: number | undefined, options?: any): AxiosPromise<Network>;
|
|
1712
|
+
/**
|
|
1713
|
+
* Returns a boolean indicating whether the chain is in ragnarok.
|
|
1714
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1715
|
+
* @param {*} [options] Override http request option.
|
|
1716
|
+
* @throws {RequiredError}
|
|
1717
|
+
*/
|
|
1718
|
+
ragnarok(height?: number | undefined, options?: any): AxiosPromise<boolean>;
|
|
1719
|
+
/**
|
|
1720
|
+
* Returns the network\'s current THORNode version, the network\'s next THORNode version, and the querier\'s THORNode version.
|
|
1721
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1722
|
+
* @param {*} [options] Override http request option.
|
|
1723
|
+
* @throws {RequiredError}
|
|
1724
|
+
*/
|
|
1725
|
+
version(height?: number | undefined, options?: any): AxiosPromise<Version>;
|
|
1726
|
+
};
|
|
1727
|
+
/**
|
|
1728
|
+
* NetworkApi - object-oriented interface
|
|
1729
|
+
* @export
|
|
1730
|
+
* @class NetworkApi
|
|
1731
|
+
* @extends {BaseAPI}
|
|
1732
|
+
*/
|
|
1733
|
+
export declare class NetworkApi extends BaseAPI {
|
|
1734
|
+
/**
|
|
1735
|
+
* Returns the ban status for the provided node address.
|
|
1736
|
+
* @param {string} address
|
|
1737
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1738
|
+
* @param {*} [options] Override http request option.
|
|
1739
|
+
* @throws {RequiredError}
|
|
1740
|
+
* @memberof NetworkApi
|
|
1741
|
+
*/
|
|
1742
|
+
ban(address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Ban, any>>;
|
|
1743
|
+
/**
|
|
1744
|
+
* Returns constant configuration, can be overridden by mimir.
|
|
1745
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1746
|
+
* @param {*} [options] Override http request option.
|
|
1747
|
+
* @throws {RequiredError}
|
|
1748
|
+
* @memberof NetworkApi
|
|
1749
|
+
*/
|
|
1750
|
+
constants(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Constants, any>>;
|
|
1751
|
+
/**
|
|
1752
|
+
* Returns the set of asgard addresses that should be used for inbound transactions.
|
|
1753
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1754
|
+
* @param {*} [options] Override http request option.
|
|
1755
|
+
* @throws {RequiredError}
|
|
1756
|
+
* @memberof NetworkApi
|
|
1757
|
+
*/
|
|
1758
|
+
inboundAddresses(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InboundAddress[], any>>;
|
|
1759
|
+
/**
|
|
1760
|
+
* Returns the last block information for all chains.
|
|
1761
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1762
|
+
* @param {*} [options] Override http request option.
|
|
1763
|
+
* @throws {RequiredError}
|
|
1764
|
+
* @memberof NetworkApi
|
|
1765
|
+
*/
|
|
1766
|
+
lastblock(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LastBlock[], any>>;
|
|
1767
|
+
/**
|
|
1768
|
+
* Returns the last block information for the provided chain.
|
|
1769
|
+
* @param {string} chain
|
|
1770
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1771
|
+
* @param {*} [options] Override http request option.
|
|
1772
|
+
* @throws {RequiredError}
|
|
1773
|
+
* @memberof NetworkApi
|
|
1774
|
+
*/
|
|
1775
|
+
lastblockChain(chain: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LastBlock[], any>>;
|
|
1776
|
+
/**
|
|
1777
|
+
* Returns network overview statistics.
|
|
1778
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1779
|
+
* @param {*} [options] Override http request option.
|
|
1780
|
+
* @throws {RequiredError}
|
|
1781
|
+
* @memberof NetworkApi
|
|
1782
|
+
*/
|
|
1783
|
+
network(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Network, any>>;
|
|
1784
|
+
/**
|
|
1785
|
+
* Returns a boolean indicating whether the chain is in ragnarok.
|
|
1786
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1787
|
+
* @param {*} [options] Override http request option.
|
|
1788
|
+
* @throws {RequiredError}
|
|
1789
|
+
* @memberof NetworkApi
|
|
1790
|
+
*/
|
|
1791
|
+
ragnarok(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
1792
|
+
/**
|
|
1793
|
+
* Returns the network\'s current THORNode version, the network\'s next THORNode version, and the querier\'s THORNode version.
|
|
1794
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1795
|
+
* @param {*} [options] Override http request option.
|
|
1796
|
+
* @throws {RequiredError}
|
|
1797
|
+
* @memberof NetworkApi
|
|
1798
|
+
*/
|
|
1799
|
+
version(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Version, any>>;
|
|
1800
|
+
}
|
|
1801
|
+
/**
|
|
1802
|
+
* PoolsApi - axios parameter creator
|
|
1803
|
+
* @export
|
|
1804
|
+
*/
|
|
1805
|
+
export declare const PoolsApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
|
|
1806
|
+
/**
|
|
1807
|
+
* Returns the pool information for the provided asset.
|
|
1808
|
+
* @param {string} asset
|
|
1809
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1810
|
+
* @param {*} [options] Override http request option.
|
|
1811
|
+
* @throws {RequiredError}
|
|
1812
|
+
*/
|
|
1813
|
+
pool: (asset: string, height?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1814
|
+
/**
|
|
1815
|
+
* Returns the pool information for all assets.
|
|
1816
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1817
|
+
* @param {*} [options] Override http request option.
|
|
1818
|
+
* @throws {RequiredError}
|
|
1819
|
+
*/
|
|
1820
|
+
pools: (height?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1821
|
+
};
|
|
1822
|
+
/**
|
|
1823
|
+
* PoolsApi - functional programming interface
|
|
1824
|
+
* @export
|
|
1825
|
+
*/
|
|
1826
|
+
export declare const PoolsApiFp: (configuration?: Configuration | undefined) => {
|
|
1827
|
+
/**
|
|
1828
|
+
* Returns the pool information for the provided asset.
|
|
1829
|
+
* @param {string} asset
|
|
1830
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1831
|
+
* @param {*} [options] Override http request option.
|
|
1832
|
+
* @throws {RequiredError}
|
|
1833
|
+
*/
|
|
1834
|
+
pool(asset: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Pool>>;
|
|
1835
|
+
/**
|
|
1836
|
+
* Returns the pool information for all assets.
|
|
1837
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1838
|
+
* @param {*} [options] Override http request option.
|
|
1839
|
+
* @throws {RequiredError}
|
|
1840
|
+
*/
|
|
1841
|
+
pools(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<Pool>>>;
|
|
1842
|
+
};
|
|
1843
|
+
/**
|
|
1844
|
+
* PoolsApi - factory interface
|
|
1845
|
+
* @export
|
|
1846
|
+
*/
|
|
1847
|
+
export declare const PoolsApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
|
|
1848
|
+
/**
|
|
1849
|
+
* Returns the pool information for the provided asset.
|
|
1850
|
+
* @param {string} asset
|
|
1851
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1852
|
+
* @param {*} [options] Override http request option.
|
|
1853
|
+
* @throws {RequiredError}
|
|
1854
|
+
*/
|
|
1855
|
+
pool(asset: string, height?: number | undefined, options?: any): AxiosPromise<Pool>;
|
|
1856
|
+
/**
|
|
1857
|
+
* Returns the pool information for all assets.
|
|
1858
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1859
|
+
* @param {*} [options] Override http request option.
|
|
1860
|
+
* @throws {RequiredError}
|
|
1861
|
+
*/
|
|
1862
|
+
pools(height?: number | undefined, options?: any): AxiosPromise<Array<Pool>>;
|
|
1863
|
+
};
|
|
1864
|
+
/**
|
|
1865
|
+
* PoolsApi - object-oriented interface
|
|
1866
|
+
* @export
|
|
1867
|
+
* @class PoolsApi
|
|
1868
|
+
* @extends {BaseAPI}
|
|
1869
|
+
*/
|
|
1870
|
+
export declare class PoolsApi extends BaseAPI {
|
|
1871
|
+
/**
|
|
1872
|
+
* Returns the pool information for the provided asset.
|
|
1873
|
+
* @param {string} asset
|
|
1874
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1875
|
+
* @param {*} [options] Override http request option.
|
|
1876
|
+
* @throws {RequiredError}
|
|
1877
|
+
* @memberof PoolsApi
|
|
1878
|
+
*/
|
|
1879
|
+
pool(asset: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Pool, any>>;
|
|
1880
|
+
/**
|
|
1881
|
+
* Returns the pool information for all assets.
|
|
1882
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1883
|
+
* @param {*} [options] Override http request option.
|
|
1884
|
+
* @throws {RequiredError}
|
|
1885
|
+
* @memberof PoolsApi
|
|
1886
|
+
*/
|
|
1887
|
+
pools(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Pool[], any>>;
|
|
1888
|
+
}
|
|
1889
|
+
/**
|
|
1890
|
+
* QueueApi - axios parameter creator
|
|
1891
|
+
* @export
|
|
1892
|
+
*/
|
|
1893
|
+
export declare const QueueApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
|
|
1894
|
+
/**
|
|
1895
|
+
* Returns queue statistics.
|
|
1896
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1897
|
+
* @param {*} [options] Override http request option.
|
|
1898
|
+
* @throws {RequiredError}
|
|
1899
|
+
*/
|
|
1900
|
+
queue: (height?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1901
|
+
/**
|
|
1902
|
+
* Returns the outbound queue including estimated RUNE values.
|
|
1903
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1904
|
+
* @param {*} [options] Override http request option.
|
|
1905
|
+
* @throws {RequiredError}
|
|
1906
|
+
*/
|
|
1907
|
+
queueOutbound: (height?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1908
|
+
/**
|
|
1909
|
+
* Returns the scheduled queue.
|
|
1910
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1911
|
+
* @param {*} [options] Override http request option.
|
|
1912
|
+
* @throws {RequiredError}
|
|
1913
|
+
*/
|
|
1914
|
+
queueScheduled: (height?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1915
|
+
};
|
|
1916
|
+
/**
|
|
1917
|
+
* QueueApi - functional programming interface
|
|
1918
|
+
* @export
|
|
1919
|
+
*/
|
|
1920
|
+
export declare const QueueApiFp: (configuration?: Configuration | undefined) => {
|
|
1921
|
+
/**
|
|
1922
|
+
* Returns queue statistics.
|
|
1923
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1924
|
+
* @param {*} [options] Override http request option.
|
|
1925
|
+
* @throws {RequiredError}
|
|
1926
|
+
*/
|
|
1927
|
+
queue(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Queue>>;
|
|
1928
|
+
/**
|
|
1929
|
+
* Returns the outbound queue including estimated RUNE values.
|
|
1930
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1931
|
+
* @param {*} [options] Override http request option.
|
|
1932
|
+
* @throws {RequiredError}
|
|
1933
|
+
*/
|
|
1934
|
+
queueOutbound(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<Outbound>>>;
|
|
1935
|
+
/**
|
|
1936
|
+
* Returns the scheduled queue.
|
|
1937
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1938
|
+
* @param {*} [options] Override http request option.
|
|
1939
|
+
* @throws {RequiredError}
|
|
1940
|
+
*/
|
|
1941
|
+
queueScheduled(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<ScheduledOutbound>>>;
|
|
1942
|
+
};
|
|
1943
|
+
/**
|
|
1944
|
+
* QueueApi - factory interface
|
|
1945
|
+
* @export
|
|
1946
|
+
*/
|
|
1947
|
+
export declare const QueueApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
|
|
1948
|
+
/**
|
|
1949
|
+
* Returns queue statistics.
|
|
1950
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1951
|
+
* @param {*} [options] Override http request option.
|
|
1952
|
+
* @throws {RequiredError}
|
|
1953
|
+
*/
|
|
1954
|
+
queue(height?: number | undefined, options?: any): AxiosPromise<Queue>;
|
|
1955
|
+
/**
|
|
1956
|
+
* Returns the outbound queue including estimated RUNE values.
|
|
1957
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1958
|
+
* @param {*} [options] Override http request option.
|
|
1959
|
+
* @throws {RequiredError}
|
|
1960
|
+
*/
|
|
1961
|
+
queueOutbound(height?: number | undefined, options?: any): AxiosPromise<Array<Outbound>>;
|
|
1962
|
+
/**
|
|
1963
|
+
* Returns the scheduled queue.
|
|
1964
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1965
|
+
* @param {*} [options] Override http request option.
|
|
1966
|
+
* @throws {RequiredError}
|
|
1967
|
+
*/
|
|
1968
|
+
queueScheduled(height?: number | undefined, options?: any): AxiosPromise<Array<ScheduledOutbound>>;
|
|
1969
|
+
};
|
|
1970
|
+
/**
|
|
1971
|
+
* QueueApi - object-oriented interface
|
|
1972
|
+
* @export
|
|
1973
|
+
* @class QueueApi
|
|
1974
|
+
* @extends {BaseAPI}
|
|
1975
|
+
*/
|
|
1976
|
+
export declare class QueueApi extends BaseAPI {
|
|
1977
|
+
/**
|
|
1978
|
+
* Returns queue statistics.
|
|
1979
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1980
|
+
* @param {*} [options] Override http request option.
|
|
1981
|
+
* @throws {RequiredError}
|
|
1982
|
+
* @memberof QueueApi
|
|
1983
|
+
*/
|
|
1984
|
+
queue(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Queue, any>>;
|
|
1985
|
+
/**
|
|
1986
|
+
* Returns the outbound queue including estimated RUNE values.
|
|
1987
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1988
|
+
* @param {*} [options] Override http request option.
|
|
1989
|
+
* @throws {RequiredError}
|
|
1990
|
+
* @memberof QueueApi
|
|
1991
|
+
*/
|
|
1992
|
+
queueOutbound(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Outbound[], any>>;
|
|
1993
|
+
/**
|
|
1994
|
+
* Returns the scheduled queue.
|
|
1995
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1996
|
+
* @param {*} [options] Override http request option.
|
|
1997
|
+
* @throws {RequiredError}
|
|
1998
|
+
* @memberof QueueApi
|
|
1999
|
+
*/
|
|
2000
|
+
queueScheduled(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ScheduledOutbound[], any>>;
|
|
2001
|
+
}
|
|
2002
|
+
/**
|
|
2003
|
+
* TSSApi - axios parameter creator
|
|
2004
|
+
* @export
|
|
2005
|
+
*/
|
|
2006
|
+
export declare const TSSApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
|
|
2007
|
+
/**
|
|
2008
|
+
* Returns keysign information for the provided height - the height being the first block a tx out item appears in the signed-but-unobserved outbound queue.
|
|
2009
|
+
* @param {number} height
|
|
2010
|
+
* @param {*} [options] Override http request option.
|
|
2011
|
+
* @throws {RequiredError}
|
|
2012
|
+
*/
|
|
2013
|
+
keysign: (height: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2014
|
+
/**
|
|
2015
|
+
* 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.
|
|
2016
|
+
* @param {number} height
|
|
2017
|
+
* @param {string} pubkey
|
|
2018
|
+
* @param {*} [options] Override http request option.
|
|
2019
|
+
* @throws {RequiredError}
|
|
2020
|
+
*/
|
|
2021
|
+
keysignPubkey: (height: number, pubkey: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2022
|
+
/**
|
|
2023
|
+
* Returns keygen and keysign metrics for current vaults.
|
|
2024
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
2025
|
+
* @param {*} [options] Override http request option.
|
|
2026
|
+
* @throws {RequiredError}
|
|
2027
|
+
*/
|
|
2028
|
+
metrics: (height?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2029
|
+
/**
|
|
2030
|
+
* Returns keygen metrics for the provided vault pubkey.
|
|
2031
|
+
* @param {string} pubkey
|
|
2032
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
2033
|
+
* @param {*} [options] Override http request option.
|
|
2034
|
+
* @throws {RequiredError}
|
|
2035
|
+
*/
|
|
2036
|
+
metricsKeygen: (pubkey: string, height?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2037
|
+
};
|
|
2038
|
+
/**
|
|
2039
|
+
* TSSApi - functional programming interface
|
|
2040
|
+
* @export
|
|
2041
|
+
*/
|
|
2042
|
+
export declare const TSSApiFp: (configuration?: Configuration | undefined) => {
|
|
2043
|
+
/**
|
|
2044
|
+
* Returns keysign information for the provided height - the height being the first block a tx out item appears in the signed-but-unobserved outbound queue.
|
|
2045
|
+
* @param {number} height
|
|
2046
|
+
* @param {*} [options] Override http request option.
|
|
2047
|
+
* @throws {RequiredError}
|
|
2048
|
+
*/
|
|
2049
|
+
keysign(height: number, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Keysign>>;
|
|
2050
|
+
/**
|
|
2051
|
+
* 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
|
+
* @param {number} height
|
|
2053
|
+
* @param {string} pubkey
|
|
2054
|
+
* @param {*} [options] Override http request option.
|
|
2055
|
+
* @throws {RequiredError}
|
|
2056
|
+
*/
|
|
2057
|
+
keysignPubkey(height: number, pubkey: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<void>>;
|
|
2058
|
+
/**
|
|
2059
|
+
* Returns keygen and keysign metrics for current vaults.
|
|
2060
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
2061
|
+
* @param {*} [options] Override http request option.
|
|
2062
|
+
* @throws {RequiredError}
|
|
2063
|
+
*/
|
|
2064
|
+
metrics(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Metrics>>;
|
|
2065
|
+
/**
|
|
2066
|
+
* Returns keygen metrics for the provided vault pubkey.
|
|
2067
|
+
* @param {string} pubkey
|
|
2068
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
2069
|
+
* @param {*} [options] Override http request option.
|
|
2070
|
+
* @throws {RequiredError}
|
|
2071
|
+
*/
|
|
2072
|
+
metricsKeygen(pubkey: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<void>>;
|
|
2073
|
+
};
|
|
2074
|
+
/**
|
|
2075
|
+
* TSSApi - factory interface
|
|
2076
|
+
* @export
|
|
2077
|
+
*/
|
|
2078
|
+
export declare const TSSApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
|
|
2079
|
+
/**
|
|
2080
|
+
* Returns keysign information for the provided height - the height being the first block a tx out item appears in the signed-but-unobserved outbound queue.
|
|
2081
|
+
* @param {number} height
|
|
2082
|
+
* @param {*} [options] Override http request option.
|
|
2083
|
+
* @throws {RequiredError}
|
|
2084
|
+
*/
|
|
2085
|
+
keysign(height: number, options?: any): AxiosPromise<Keysign>;
|
|
2086
|
+
/**
|
|
2087
|
+
* 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
|
+
* @param {number} height
|
|
2089
|
+
* @param {string} pubkey
|
|
2090
|
+
* @param {*} [options] Override http request option.
|
|
2091
|
+
* @throws {RequiredError}
|
|
2092
|
+
*/
|
|
2093
|
+
keysignPubkey(height: number, pubkey: string, options?: any): AxiosPromise<void>;
|
|
2094
|
+
/**
|
|
2095
|
+
* Returns keygen and keysign metrics for current vaults.
|
|
2096
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
2097
|
+
* @param {*} [options] Override http request option.
|
|
2098
|
+
* @throws {RequiredError}
|
|
2099
|
+
*/
|
|
2100
|
+
metrics(height?: number | undefined, options?: any): AxiosPromise<Metrics>;
|
|
2101
|
+
/**
|
|
2102
|
+
* Returns keygen metrics for the provided vault pubkey.
|
|
2103
|
+
* @param {string} pubkey
|
|
2104
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
2105
|
+
* @param {*} [options] Override http request option.
|
|
2106
|
+
* @throws {RequiredError}
|
|
2107
|
+
*/
|
|
2108
|
+
metricsKeygen(pubkey: string, height?: number | undefined, options?: any): AxiosPromise<void>;
|
|
2109
|
+
};
|
|
2110
|
+
/**
|
|
2111
|
+
* TSSApi - object-oriented interface
|
|
2112
|
+
* @export
|
|
2113
|
+
* @class TSSApi
|
|
2114
|
+
* @extends {BaseAPI}
|
|
2115
|
+
*/
|
|
2116
|
+
export declare class TSSApi extends BaseAPI {
|
|
2117
|
+
/**
|
|
2118
|
+
* Returns keysign information for the provided height - the height being the first block a tx out item appears in the signed-but-unobserved outbound queue.
|
|
2119
|
+
* @param {number} height
|
|
2120
|
+
* @param {*} [options] Override http request option.
|
|
2121
|
+
* @throws {RequiredError}
|
|
2122
|
+
* @memberof TSSApi
|
|
2123
|
+
*/
|
|
2124
|
+
keysign(height: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Keysign, any>>;
|
|
2125
|
+
/**
|
|
2126
|
+
* 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
|
+
* @param {number} height
|
|
2128
|
+
* @param {string} pubkey
|
|
2129
|
+
* @param {*} [options] Override http request option.
|
|
2130
|
+
* @throws {RequiredError}
|
|
2131
|
+
* @memberof TSSApi
|
|
2132
|
+
*/
|
|
2133
|
+
keysignPubkey(height: number, pubkey: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
2134
|
+
/**
|
|
2135
|
+
* Returns keygen and keysign metrics for current vaults.
|
|
2136
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
2137
|
+
* @param {*} [options] Override http request option.
|
|
2138
|
+
* @throws {RequiredError}
|
|
2139
|
+
* @memberof TSSApi
|
|
2140
|
+
*/
|
|
2141
|
+
metrics(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Metrics, any>>;
|
|
2142
|
+
/**
|
|
2143
|
+
* Returns keygen metrics for the provided vault pubkey.
|
|
2144
|
+
* @param {string} pubkey
|
|
2145
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
2146
|
+
* @param {*} [options] Override http request option.
|
|
2147
|
+
* @throws {RequiredError}
|
|
2148
|
+
* @memberof TSSApi
|
|
2149
|
+
*/
|
|
2150
|
+
metricsKeygen(pubkey: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
2151
|
+
}
|
|
2152
|
+
/**
|
|
2153
|
+
* ThornamesApi - axios parameter creator
|
|
2154
|
+
* @export
|
|
2155
|
+
*/
|
|
2156
|
+
export declare const ThornamesApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
|
|
2157
|
+
/**
|
|
2158
|
+
* Returns addresses registered to the provided thorname.
|
|
2159
|
+
* @param {string} name the thornode to lookup
|
|
2160
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
2161
|
+
* @param {*} [options] Override http request option.
|
|
2162
|
+
* @throws {RequiredError}
|
|
2163
|
+
*/
|
|
2164
|
+
thorname: (name: string, height?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2165
|
+
};
|
|
2166
|
+
/**
|
|
2167
|
+
* ThornamesApi - functional programming interface
|
|
2168
|
+
* @export
|
|
2169
|
+
*/
|
|
2170
|
+
export declare const ThornamesApiFp: (configuration?: Configuration | undefined) => {
|
|
2171
|
+
/**
|
|
2172
|
+
* Returns addresses registered to the provided thorname.
|
|
2173
|
+
* @param {string} name the thornode to lookup
|
|
2174
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
2175
|
+
* @param {*} [options] Override http request option.
|
|
2176
|
+
* @throws {RequiredError}
|
|
2177
|
+
*/
|
|
2178
|
+
thorname(name: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<Thorname>>>;
|
|
2179
|
+
};
|
|
2180
|
+
/**
|
|
2181
|
+
* ThornamesApi - factory interface
|
|
2182
|
+
* @export
|
|
2183
|
+
*/
|
|
2184
|
+
export declare const ThornamesApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
|
|
2185
|
+
/**
|
|
2186
|
+
* Returns addresses registered to the provided thorname.
|
|
2187
|
+
* @param {string} name the thornode to lookup
|
|
2188
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
2189
|
+
* @param {*} [options] Override http request option.
|
|
2190
|
+
* @throws {RequiredError}
|
|
2191
|
+
*/
|
|
2192
|
+
thorname(name: string, height?: number | undefined, options?: any): AxiosPromise<Array<Thorname>>;
|
|
2193
|
+
};
|
|
2194
|
+
/**
|
|
2195
|
+
* ThornamesApi - object-oriented interface
|
|
2196
|
+
* @export
|
|
2197
|
+
* @class ThornamesApi
|
|
2198
|
+
* @extends {BaseAPI}
|
|
2199
|
+
*/
|
|
2200
|
+
export declare class ThornamesApi extends BaseAPI {
|
|
2201
|
+
/**
|
|
2202
|
+
* Returns addresses registered to the provided thorname.
|
|
2203
|
+
* @param {string} name the thornode to lookup
|
|
2204
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
2205
|
+
* @param {*} [options] Override http request option.
|
|
2206
|
+
* @throws {RequiredError}
|
|
2207
|
+
* @memberof ThornamesApi
|
|
2208
|
+
*/
|
|
2209
|
+
thorname(name: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Thorname[], any>>;
|
|
2210
|
+
}
|
|
2211
|
+
/**
|
|
2212
|
+
* TransactionsApi - axios parameter creator
|
|
2213
|
+
* @export
|
|
2214
|
+
*/
|
|
2215
|
+
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
|
+
/**
|
|
2232
|
+
* Returns the observed transaction for a provided inbound or outbound hash.
|
|
2233
|
+
* @param {string} hash
|
|
2234
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
2235
|
+
* @param {*} [options] Override http request option.
|
|
2236
|
+
* @throws {RequiredError}
|
|
2237
|
+
*/
|
|
2238
|
+
tx: (hash: string, height?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2239
|
+
/**
|
|
2240
|
+
* Returns the signers for a provided inbound or outbound hash.
|
|
2241
|
+
* @param {string} hash
|
|
2242
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
2243
|
+
* @param {*} [options] Override http request option.
|
|
2244
|
+
* @throws {RequiredError}
|
|
2245
|
+
*/
|
|
2246
|
+
txSigners: (hash: string, height?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2247
|
+
};
|
|
2248
|
+
/**
|
|
2249
|
+
* TransactionsApi - functional programming interface
|
|
2250
|
+
* @export
|
|
2251
|
+
*/
|
|
2252
|
+
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
|
+
/**
|
|
2269
|
+
* Returns the observed transaction for a provided inbound or outbound hash.
|
|
2270
|
+
* @param {string} hash
|
|
2271
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
2272
|
+
* @param {*} [options] Override http request option.
|
|
2273
|
+
* @throws {RequiredError}
|
|
2274
|
+
*/
|
|
2275
|
+
tx(hash: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ObservedTx>>;
|
|
2276
|
+
/**
|
|
2277
|
+
* Returns the signers for a provided inbound or outbound hash.
|
|
2278
|
+
* @param {string} hash
|
|
2279
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
2280
|
+
* @param {*} [options] Override http request option.
|
|
2281
|
+
* @throws {RequiredError}
|
|
2282
|
+
*/
|
|
2283
|
+
txSigners(hash: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<TxSigners>>;
|
|
2284
|
+
};
|
|
2285
|
+
/**
|
|
2286
|
+
* TransactionsApi - factory interface
|
|
2287
|
+
* @export
|
|
2288
|
+
*/
|
|
2289
|
+
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
|
+
/**
|
|
2306
|
+
* Returns the observed transaction for a provided inbound or outbound hash.
|
|
2307
|
+
* @param {string} hash
|
|
2308
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
2309
|
+
* @param {*} [options] Override http request option.
|
|
2310
|
+
* @throws {RequiredError}
|
|
2311
|
+
*/
|
|
2312
|
+
tx(hash: string, height?: number | undefined, options?: any): AxiosPromise<ObservedTx>;
|
|
2313
|
+
/**
|
|
2314
|
+
* Returns the signers for a provided inbound or outbound hash.
|
|
2315
|
+
* @param {string} hash
|
|
2316
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
2317
|
+
* @param {*} [options] Override http request option.
|
|
2318
|
+
* @throws {RequiredError}
|
|
2319
|
+
*/
|
|
2320
|
+
txSigners(hash: string, height?: number | undefined, options?: any): AxiosPromise<TxSigners>;
|
|
2321
|
+
};
|
|
2322
|
+
/**
|
|
2323
|
+
* TransactionsApi - object-oriented interface
|
|
2324
|
+
* @export
|
|
2325
|
+
* @class TransactionsApi
|
|
2326
|
+
* @extends {BaseAPI}
|
|
2327
|
+
*/
|
|
2328
|
+
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
|
+
/**
|
|
2347
|
+
* Returns the observed transaction for a provided inbound or outbound hash.
|
|
2348
|
+
* @param {string} hash
|
|
2349
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
2350
|
+
* @param {*} [options] Override http request option.
|
|
2351
|
+
* @throws {RequiredError}
|
|
2352
|
+
* @memberof TransactionsApi
|
|
2353
|
+
*/
|
|
2354
|
+
tx(hash: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ObservedTx, any>>;
|
|
2355
|
+
/**
|
|
2356
|
+
* Returns the signers for a provided inbound or outbound hash.
|
|
2357
|
+
* @param {string} hash
|
|
2358
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
2359
|
+
* @param {*} [options] Override http request option.
|
|
2360
|
+
* @throws {RequiredError}
|
|
2361
|
+
* @memberof TransactionsApi
|
|
2362
|
+
*/
|
|
2363
|
+
txSigners(hash: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TxSigners, any>>;
|
|
2364
|
+
}
|
|
2365
|
+
/**
|
|
2366
|
+
* VaultsApi - axios parameter creator
|
|
2367
|
+
* @export
|
|
2368
|
+
*/
|
|
2369
|
+
export declare const VaultsApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
|
|
2370
|
+
/**
|
|
2371
|
+
* Returns current asgard vaults.
|
|
2372
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
2373
|
+
* @param {*} [options] Override http request option.
|
|
2374
|
+
* @throws {RequiredError}
|
|
2375
|
+
*/
|
|
2376
|
+
asgard: (height?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2377
|
+
/**
|
|
2378
|
+
* Returns the vault for the provided pubkey.
|
|
2379
|
+
* @param {string} pubkey
|
|
2380
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
2381
|
+
* @param {*} [options] Override http request option.
|
|
2382
|
+
* @throws {RequiredError}
|
|
2383
|
+
*/
|
|
2384
|
+
vault: (pubkey: string, height?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2385
|
+
/**
|
|
2386
|
+
* Returns all pubkeys for current vaults.
|
|
2387
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
2388
|
+
* @param {*} [options] Override http request option.
|
|
2389
|
+
* @throws {RequiredError}
|
|
2390
|
+
*/
|
|
2391
|
+
vaultPubkeys: (height?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2392
|
+
/**
|
|
2393
|
+
* Returns current yggdrasil vaults.
|
|
2394
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
2395
|
+
* @param {*} [options] Override http request option.
|
|
2396
|
+
* @throws {RequiredError}
|
|
2397
|
+
*/
|
|
2398
|
+
yggdrasil: (height?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2399
|
+
};
|
|
2400
|
+
/**
|
|
2401
|
+
* VaultsApi - functional programming interface
|
|
2402
|
+
* @export
|
|
2403
|
+
*/
|
|
2404
|
+
export declare const VaultsApiFp: (configuration?: Configuration | undefined) => {
|
|
2405
|
+
/**
|
|
2406
|
+
* Returns current asgard vaults.
|
|
2407
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
2408
|
+
* @param {*} [options] Override http request option.
|
|
2409
|
+
* @throws {RequiredError}
|
|
2410
|
+
*/
|
|
2411
|
+
asgard(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<Vault>>>;
|
|
2412
|
+
/**
|
|
2413
|
+
* Returns the vault for the provided pubkey.
|
|
2414
|
+
* @param {string} pubkey
|
|
2415
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
2416
|
+
* @param {*} [options] Override http request option.
|
|
2417
|
+
* @throws {RequiredError}
|
|
2418
|
+
*/
|
|
2419
|
+
vault(pubkey: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Vault>>;
|
|
2420
|
+
/**
|
|
2421
|
+
* Returns all pubkeys for current vaults.
|
|
2422
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
2423
|
+
* @param {*} [options] Override http request option.
|
|
2424
|
+
* @throws {RequiredError}
|
|
2425
|
+
*/
|
|
2426
|
+
vaultPubkeys(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<VaultPubkeys>>;
|
|
2427
|
+
/**
|
|
2428
|
+
* Returns current yggdrasil vaults.
|
|
2429
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
2430
|
+
* @param {*} [options] Override http request option.
|
|
2431
|
+
* @throws {RequiredError}
|
|
2432
|
+
*/
|
|
2433
|
+
yggdrasil(height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<Vault>>>;
|
|
2434
|
+
};
|
|
2435
|
+
/**
|
|
2436
|
+
* VaultsApi - factory interface
|
|
2437
|
+
* @export
|
|
2438
|
+
*/
|
|
2439
|
+
export declare const VaultsApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
|
|
2440
|
+
/**
|
|
2441
|
+
* Returns current asgard vaults.
|
|
2442
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
2443
|
+
* @param {*} [options] Override http request option.
|
|
2444
|
+
* @throws {RequiredError}
|
|
2445
|
+
*/
|
|
2446
|
+
asgard(height?: number | undefined, options?: any): AxiosPromise<Array<Vault>>;
|
|
2447
|
+
/**
|
|
2448
|
+
* Returns the vault for the provided pubkey.
|
|
2449
|
+
* @param {string} pubkey
|
|
2450
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
2451
|
+
* @param {*} [options] Override http request option.
|
|
2452
|
+
* @throws {RequiredError}
|
|
2453
|
+
*/
|
|
2454
|
+
vault(pubkey: string, height?: number | undefined, options?: any): AxiosPromise<Vault>;
|
|
2455
|
+
/**
|
|
2456
|
+
* Returns all pubkeys for current vaults.
|
|
2457
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
2458
|
+
* @param {*} [options] Override http request option.
|
|
2459
|
+
* @throws {RequiredError}
|
|
2460
|
+
*/
|
|
2461
|
+
vaultPubkeys(height?: number | undefined, options?: any): AxiosPromise<VaultPubkeys>;
|
|
2462
|
+
/**
|
|
2463
|
+
* Returns current yggdrasil vaults.
|
|
2464
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
2465
|
+
* @param {*} [options] Override http request option.
|
|
2466
|
+
* @throws {RequiredError}
|
|
2467
|
+
*/
|
|
2468
|
+
yggdrasil(height?: number | undefined, options?: any): AxiosPromise<Array<Vault>>;
|
|
2469
|
+
};
|
|
2470
|
+
/**
|
|
2471
|
+
* VaultsApi - object-oriented interface
|
|
2472
|
+
* @export
|
|
2473
|
+
* @class VaultsApi
|
|
2474
|
+
* @extends {BaseAPI}
|
|
2475
|
+
*/
|
|
2476
|
+
export declare class VaultsApi extends BaseAPI {
|
|
2477
|
+
/**
|
|
2478
|
+
* Returns current asgard vaults.
|
|
2479
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
2480
|
+
* @param {*} [options] Override http request option.
|
|
2481
|
+
* @throws {RequiredError}
|
|
2482
|
+
* @memberof VaultsApi
|
|
2483
|
+
*/
|
|
2484
|
+
asgard(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Vault[], any>>;
|
|
2485
|
+
/**
|
|
2486
|
+
* Returns the vault for the provided pubkey.
|
|
2487
|
+
* @param {string} pubkey
|
|
2488
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
2489
|
+
* @param {*} [options] Override http request option.
|
|
2490
|
+
* @throws {RequiredError}
|
|
2491
|
+
* @memberof VaultsApi
|
|
2492
|
+
*/
|
|
2493
|
+
vault(pubkey: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Vault, any>>;
|
|
2494
|
+
/**
|
|
2495
|
+
* Returns all pubkeys for current vaults.
|
|
2496
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
2497
|
+
* @param {*} [options] Override http request option.
|
|
2498
|
+
* @throws {RequiredError}
|
|
2499
|
+
* @memberof VaultsApi
|
|
2500
|
+
*/
|
|
2501
|
+
vaultPubkeys(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VaultPubkeys, any>>;
|
|
2502
|
+
/**
|
|
2503
|
+
* Returns current yggdrasil vaults.
|
|
2504
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
2505
|
+
* @param {*} [options] Override http request option.
|
|
2506
|
+
* @throws {RequiredError}
|
|
2507
|
+
* @memberof VaultsApi
|
|
2508
|
+
*/
|
|
2509
|
+
yggdrasil(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Vault[], any>>;
|
|
2510
|
+
}
|