@xchainjs/xchain-thornode 1.0.5 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/generated/thornodeApi/api.d.ts +1219 -617
- package/lib/generated/thornodeApi/base.d.ts +1 -1
- package/lib/generated/thornodeApi/common.d.ts +1 -1
- package/lib/generated/thornodeApi/configuration.d.ts +1 -1
- package/lib/generated/thornodeApi/index.d.ts +1 -1
- package/lib/index.esm.js +994 -528
- package/lib/index.js +1013 -531
- package/package.json +3 -3
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Thornode API
|
|
3
3
|
* Thornode REST API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.15.0
|
|
6
6
|
* Contact: devs@thorchain.org
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -94,6 +94,37 @@ export interface Amount {
|
|
|
94
94
|
*/
|
|
95
95
|
'amount': string;
|
|
96
96
|
}
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @export
|
|
100
|
+
* @interface AssetPairSummary
|
|
101
|
+
*/
|
|
102
|
+
export interface AssetPairSummary {
|
|
103
|
+
/**
|
|
104
|
+
* Source asset identifier
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof AssetPairSummary
|
|
107
|
+
*/
|
|
108
|
+
'source_asset'?: string;
|
|
109
|
+
/**
|
|
110
|
+
* Target asset identifier
|
|
111
|
+
* @type {string}
|
|
112
|
+
* @memberof AssetPairSummary
|
|
113
|
+
*/
|
|
114
|
+
'target_asset'?: string;
|
|
115
|
+
/**
|
|
116
|
+
* Number of limit swaps for this asset pair
|
|
117
|
+
* @type {number}
|
|
118
|
+
* @memberof AssetPairSummary
|
|
119
|
+
*/
|
|
120
|
+
'count'?: number;
|
|
121
|
+
/**
|
|
122
|
+
* Total USD value of limit swaps for this asset pair
|
|
123
|
+
* @type {string}
|
|
124
|
+
* @memberof AssetPairSummary
|
|
125
|
+
*/
|
|
126
|
+
'total_value_usd'?: string;
|
|
127
|
+
}
|
|
97
128
|
/**
|
|
98
129
|
*
|
|
99
130
|
* @export
|
|
@@ -241,6 +272,14 @@ export interface BlockResponse {
|
|
|
241
272
|
* @memberof BlockResponse
|
|
242
273
|
*/
|
|
243
274
|
'header': BlockResponseHeader;
|
|
275
|
+
/**
|
|
276
|
+
*
|
|
277
|
+
* @type {Array<{ [key: string]: string; }>}
|
|
278
|
+
* @memberof BlockResponse
|
|
279
|
+
*/
|
|
280
|
+
'finalize_block_events': Array<{
|
|
281
|
+
[key: string]: string;
|
|
282
|
+
}>;
|
|
244
283
|
/**
|
|
245
284
|
*
|
|
246
285
|
* @type {Array<{ [key: string]: string; }>}
|
|
@@ -499,95 +538,59 @@ export interface BlockTxResult {
|
|
|
499
538
|
/**
|
|
500
539
|
*
|
|
501
540
|
* @export
|
|
502
|
-
* @interface
|
|
541
|
+
* @interface ChainHeight
|
|
503
542
|
*/
|
|
504
|
-
export interface
|
|
505
|
-
/**
|
|
506
|
-
*
|
|
507
|
-
* @type {string}
|
|
508
|
-
* @memberof Borrower
|
|
509
|
-
*/
|
|
510
|
-
'owner': string;
|
|
511
|
-
/**
|
|
512
|
-
*
|
|
513
|
-
* @type {string}
|
|
514
|
-
* @memberof Borrower
|
|
515
|
-
*/
|
|
516
|
-
'asset': string;
|
|
517
|
-
/**
|
|
518
|
-
*
|
|
519
|
-
* @type {string}
|
|
520
|
-
* @memberof Borrower
|
|
521
|
-
*/
|
|
522
|
-
'debt_issued': string;
|
|
543
|
+
export interface ChainHeight {
|
|
523
544
|
/**
|
|
524
545
|
*
|
|
525
546
|
* @type {string}
|
|
526
|
-
* @memberof
|
|
547
|
+
* @memberof ChainHeight
|
|
527
548
|
*/
|
|
528
|
-
'
|
|
549
|
+
'chain': string;
|
|
529
550
|
/**
|
|
530
551
|
*
|
|
531
|
-
* @type {
|
|
532
|
-
* @memberof
|
|
552
|
+
* @type {number}
|
|
553
|
+
* @memberof ChainHeight
|
|
533
554
|
*/
|
|
534
|
-
'
|
|
555
|
+
'height': number;
|
|
556
|
+
}
|
|
557
|
+
/**
|
|
558
|
+
*
|
|
559
|
+
* @export
|
|
560
|
+
* @interface Code
|
|
561
|
+
*/
|
|
562
|
+
export interface Code {
|
|
535
563
|
/**
|
|
536
564
|
*
|
|
537
565
|
* @type {string}
|
|
538
|
-
* @memberof
|
|
566
|
+
* @memberof Code
|
|
539
567
|
*/
|
|
540
|
-
'
|
|
568
|
+
'code'?: string;
|
|
541
569
|
/**
|
|
542
570
|
*
|
|
543
|
-
* @type {string}
|
|
544
|
-
* @memberof
|
|
571
|
+
* @type {Array<string>}
|
|
572
|
+
* @memberof Code
|
|
545
573
|
*/
|
|
546
|
-
'
|
|
574
|
+
'deployers'?: Array<string>;
|
|
547
575
|
/**
|
|
548
576
|
*
|
|
549
577
|
* @type {string}
|
|
550
|
-
* @memberof
|
|
551
|
-
*/
|
|
552
|
-
'collateral_current': string;
|
|
553
|
-
/**
|
|
554
|
-
*
|
|
555
|
-
* @type {number}
|
|
556
|
-
* @memberof Borrower
|
|
557
|
-
*/
|
|
558
|
-
'last_open_height': number;
|
|
559
|
-
/**
|
|
560
|
-
*
|
|
561
|
-
* @type {number}
|
|
562
|
-
* @memberof Borrower
|
|
578
|
+
* @memberof Code
|
|
563
579
|
*/
|
|
564
|
-
'
|
|
580
|
+
'origin'?: string;
|
|
565
581
|
}
|
|
566
582
|
/**
|
|
567
583
|
*
|
|
568
584
|
* @export
|
|
569
|
-
* @interface
|
|
585
|
+
* @interface CodesResponse
|
|
570
586
|
*/
|
|
571
|
-
export interface
|
|
572
|
-
}
|
|
573
|
-
/**
|
|
574
|
-
*
|
|
575
|
-
* @export
|
|
576
|
-
* @interface ChainHeight
|
|
577
|
-
*/
|
|
578
|
-
export interface ChainHeight {
|
|
579
|
-
/**
|
|
580
|
-
*
|
|
581
|
-
* @type {string}
|
|
582
|
-
* @memberof ChainHeight
|
|
583
|
-
*/
|
|
584
|
-
'chain': string;
|
|
587
|
+
export interface CodesResponse {
|
|
585
588
|
/**
|
|
586
589
|
*
|
|
587
|
-
* @type {
|
|
588
|
-
* @memberof
|
|
590
|
+
* @type {Array<Code>}
|
|
591
|
+
* @memberof CodesResponse
|
|
589
592
|
*/
|
|
590
|
-
'
|
|
593
|
+
'codes'?: Array<Code>;
|
|
591
594
|
}
|
|
592
595
|
/**
|
|
593
596
|
*
|
|
@@ -1102,6 +1105,99 @@ export interface LastBlock {
|
|
|
1102
1105
|
*/
|
|
1103
1106
|
export interface LastBlockResponse extends Array<LastBlock> {
|
|
1104
1107
|
}
|
|
1108
|
+
/**
|
|
1109
|
+
*
|
|
1110
|
+
* @export
|
|
1111
|
+
* @interface LimitSwapWithDetails
|
|
1112
|
+
*/
|
|
1113
|
+
export interface LimitSwapWithDetails {
|
|
1114
|
+
/**
|
|
1115
|
+
*
|
|
1116
|
+
* @type {MsgSwap}
|
|
1117
|
+
* @memberof LimitSwapWithDetails
|
|
1118
|
+
*/
|
|
1119
|
+
'swap'?: MsgSwap;
|
|
1120
|
+
/**
|
|
1121
|
+
* The ratio threshold for this limit swap
|
|
1122
|
+
* @type {string}
|
|
1123
|
+
* @memberof LimitSwapWithDetails
|
|
1124
|
+
*/
|
|
1125
|
+
'ratio'?: string;
|
|
1126
|
+
/**
|
|
1127
|
+
* Number of blocks since the swap was created
|
|
1128
|
+
* @type {number}
|
|
1129
|
+
* @memberof LimitSwapWithDetails
|
|
1130
|
+
*/
|
|
1131
|
+
'blocks_since_created'?: number;
|
|
1132
|
+
/**
|
|
1133
|
+
* Number of blocks until the swap expires
|
|
1134
|
+
* @type {number}
|
|
1135
|
+
* @memberof LimitSwapWithDetails
|
|
1136
|
+
*/
|
|
1137
|
+
'time_to_expiry_blocks'?: number;
|
|
1138
|
+
/**
|
|
1139
|
+
* Unix timestamp when the swap was created
|
|
1140
|
+
* @type {number}
|
|
1141
|
+
* @memberof LimitSwapWithDetails
|
|
1142
|
+
*/
|
|
1143
|
+
'created_timestamp'?: number;
|
|
1144
|
+
}
|
|
1145
|
+
/**
|
|
1146
|
+
*
|
|
1147
|
+
* @export
|
|
1148
|
+
* @interface LimitSwapsResponse
|
|
1149
|
+
*/
|
|
1150
|
+
export interface LimitSwapsResponse {
|
|
1151
|
+
/**
|
|
1152
|
+
* Array of limit swaps with details
|
|
1153
|
+
* @type {Array<LimitSwapWithDetails>}
|
|
1154
|
+
* @memberof LimitSwapsResponse
|
|
1155
|
+
*/
|
|
1156
|
+
'limit_swaps'?: Array<LimitSwapWithDetails>;
|
|
1157
|
+
/**
|
|
1158
|
+
*
|
|
1159
|
+
* @type {PaginationMeta}
|
|
1160
|
+
* @memberof LimitSwapsResponse
|
|
1161
|
+
*/
|
|
1162
|
+
'pagination'?: PaginationMeta;
|
|
1163
|
+
}
|
|
1164
|
+
/**
|
|
1165
|
+
*
|
|
1166
|
+
* @export
|
|
1167
|
+
* @interface LimitSwapsSummaryResponse
|
|
1168
|
+
*/
|
|
1169
|
+
export interface LimitSwapsSummaryResponse {
|
|
1170
|
+
/**
|
|
1171
|
+
* Total number of limit swaps
|
|
1172
|
+
* @type {number}
|
|
1173
|
+
* @memberof LimitSwapsSummaryResponse
|
|
1174
|
+
*/
|
|
1175
|
+
'total_limit_swaps'?: number;
|
|
1176
|
+
/**
|
|
1177
|
+
* Total USD value of all limit swaps
|
|
1178
|
+
* @type {string}
|
|
1179
|
+
* @memberof LimitSwapsSummaryResponse
|
|
1180
|
+
*/
|
|
1181
|
+
'total_value_usd'?: string;
|
|
1182
|
+
/**
|
|
1183
|
+
* Summary statistics by asset pair
|
|
1184
|
+
* @type {Array<AssetPairSummary>}
|
|
1185
|
+
* @memberof LimitSwapsSummaryResponse
|
|
1186
|
+
*/
|
|
1187
|
+
'asset_pairs'?: Array<AssetPairSummary>;
|
|
1188
|
+
/**
|
|
1189
|
+
* Age in blocks of the oldest limit swap
|
|
1190
|
+
* @type {number}
|
|
1191
|
+
* @memberof LimitSwapsSummaryResponse
|
|
1192
|
+
*/
|
|
1193
|
+
'oldest_swap_blocks'?: number;
|
|
1194
|
+
/**
|
|
1195
|
+
* Average age in blocks of all limit swaps
|
|
1196
|
+
* @type {number}
|
|
1197
|
+
* @memberof LimitSwapsSummaryResponse
|
|
1198
|
+
*/
|
|
1199
|
+
'average_age_blocks'?: number;
|
|
1200
|
+
}
|
|
1105
1201
|
/**
|
|
1106
1202
|
*
|
|
1107
1203
|
* @export
|
|
@@ -1421,7 +1517,7 @@ export interface MsgSwap {
|
|
|
1421
1517
|
* @type {string}
|
|
1422
1518
|
* @memberof MsgSwap
|
|
1423
1519
|
*/
|
|
1424
|
-
'
|
|
1520
|
+
'swap_type'?: string;
|
|
1425
1521
|
/**
|
|
1426
1522
|
* number of swaps to execute in a streaming swap
|
|
1427
1523
|
* @type {number}
|
|
@@ -1434,6 +1530,30 @@ export interface MsgSwap {
|
|
|
1434
1530
|
* @memberof MsgSwap
|
|
1435
1531
|
*/
|
|
1436
1532
|
'stream_interval'?: number;
|
|
1533
|
+
/**
|
|
1534
|
+
* the initial block height when the streaming swap was first queued
|
|
1535
|
+
* @type {number}
|
|
1536
|
+
* @memberof MsgSwap
|
|
1537
|
+
*/
|
|
1538
|
+
'initial_block_height'?: number;
|
|
1539
|
+
/**
|
|
1540
|
+
*
|
|
1541
|
+
* @type {SwapState}
|
|
1542
|
+
* @memberof MsgSwap
|
|
1543
|
+
*/
|
|
1544
|
+
'state'?: SwapState;
|
|
1545
|
+
/**
|
|
1546
|
+
* the version of the swap (v1 or v2)
|
|
1547
|
+
* @type {string}
|
|
1548
|
+
* @memberof MsgSwap
|
|
1549
|
+
*/
|
|
1550
|
+
'version'?: string;
|
|
1551
|
+
/**
|
|
1552
|
+
* the index of the swap in the batch
|
|
1553
|
+
* @type {number}
|
|
1554
|
+
* @memberof MsgSwap
|
|
1555
|
+
*/
|
|
1556
|
+
'index'?: number;
|
|
1437
1557
|
}
|
|
1438
1558
|
/**
|
|
1439
1559
|
*
|
|
@@ -1537,6 +1657,12 @@ export interface NetworkResponse {
|
|
|
1537
1657
|
* @memberof NetworkResponse
|
|
1538
1658
|
*/
|
|
1539
1659
|
'tor_price_in_rune': string;
|
|
1660
|
+
/**
|
|
1661
|
+
* indicates if all anchor chains are halted (true), or at least one anchor chain is available (false)
|
|
1662
|
+
* @type {boolean}
|
|
1663
|
+
* @memberof NetworkResponse
|
|
1664
|
+
*/
|
|
1665
|
+
'tor_price_halted': boolean;
|
|
1540
1666
|
}
|
|
1541
1667
|
/**
|
|
1542
1668
|
*
|
|
@@ -1664,6 +1790,18 @@ export interface Node {
|
|
|
1664
1790
|
* @memberof Node
|
|
1665
1791
|
*/
|
|
1666
1792
|
'observe_chains': Array<ChainHeight>;
|
|
1793
|
+
/**
|
|
1794
|
+
* indicates whether the node is in maintenance mode
|
|
1795
|
+
* @type {boolean}
|
|
1796
|
+
* @memberof Node
|
|
1797
|
+
*/
|
|
1798
|
+
'maintenance': boolean;
|
|
1799
|
+
/**
|
|
1800
|
+
* the number of recent blocks the node has missed signing
|
|
1801
|
+
* @type {number}
|
|
1802
|
+
* @memberof Node
|
|
1803
|
+
*/
|
|
1804
|
+
'missing_blocks': number;
|
|
1667
1805
|
/**
|
|
1668
1806
|
*
|
|
1669
1807
|
* @type {NodePreflightStatus}
|
|
@@ -1823,6 +1961,12 @@ export interface ObservedTx {
|
|
|
1823
1961
|
* @memberof ObservedTx
|
|
1824
1962
|
*/
|
|
1825
1963
|
'observed_pub_key'?: string;
|
|
1964
|
+
/**
|
|
1965
|
+
*
|
|
1966
|
+
* @type {string}
|
|
1967
|
+
* @memberof ObservedTx
|
|
1968
|
+
*/
|
|
1969
|
+
'observed_pub_key_eddsa'?: string;
|
|
1826
1970
|
/**
|
|
1827
1971
|
* the block height on the external source chain when the transaction was observed, not provided if chain is THOR
|
|
1828
1972
|
* @type {number}
|
|
@@ -1883,6 +2027,51 @@ export declare const ObservedTxStatusEnum: {
|
|
|
1883
2027
|
readonly Incomplete: "incomplete";
|
|
1884
2028
|
};
|
|
1885
2029
|
export type ObservedTxStatusEnum = typeof ObservedTxStatusEnum[keyof typeof ObservedTxStatusEnum];
|
|
2030
|
+
/**
|
|
2031
|
+
*
|
|
2032
|
+
* @export
|
|
2033
|
+
* @interface OraclePrice
|
|
2034
|
+
*/
|
|
2035
|
+
export interface OraclePrice {
|
|
2036
|
+
/**
|
|
2037
|
+
*
|
|
2038
|
+
* @type {string}
|
|
2039
|
+
* @memberof OraclePrice
|
|
2040
|
+
*/
|
|
2041
|
+
'symbol'?: string;
|
|
2042
|
+
/**
|
|
2043
|
+
*
|
|
2044
|
+
* @type {string}
|
|
2045
|
+
* @memberof OraclePrice
|
|
2046
|
+
*/
|
|
2047
|
+
'amount'?: string;
|
|
2048
|
+
}
|
|
2049
|
+
/**
|
|
2050
|
+
*
|
|
2051
|
+
* @export
|
|
2052
|
+
* @interface OraclePriceResponse
|
|
2053
|
+
*/
|
|
2054
|
+
export interface OraclePriceResponse {
|
|
2055
|
+
/**
|
|
2056
|
+
*
|
|
2057
|
+
* @type {Array<OraclePrice>}
|
|
2058
|
+
* @memberof OraclePriceResponse
|
|
2059
|
+
*/
|
|
2060
|
+
'price'?: Array<OraclePrice>;
|
|
2061
|
+
}
|
|
2062
|
+
/**
|
|
2063
|
+
*
|
|
2064
|
+
* @export
|
|
2065
|
+
* @interface OraclePricesResponse
|
|
2066
|
+
*/
|
|
2067
|
+
export interface OraclePricesResponse {
|
|
2068
|
+
/**
|
|
2069
|
+
*
|
|
2070
|
+
* @type {Array<OraclePrice>}
|
|
2071
|
+
* @memberof OraclePricesResponse
|
|
2072
|
+
*/
|
|
2073
|
+
'prices'?: Array<OraclePrice>;
|
|
2074
|
+
}
|
|
1886
2075
|
/**
|
|
1887
2076
|
*
|
|
1888
2077
|
* @export
|
|
@@ -2027,6 +2216,43 @@ export interface POL {
|
|
|
2027
2216
|
*/
|
|
2028
2217
|
'current_deposit': string;
|
|
2029
2218
|
}
|
|
2219
|
+
/**
|
|
2220
|
+
*
|
|
2221
|
+
* @export
|
|
2222
|
+
* @interface PaginationMeta
|
|
2223
|
+
*/
|
|
2224
|
+
export interface PaginationMeta {
|
|
2225
|
+
/**
|
|
2226
|
+
* Number of items skipped
|
|
2227
|
+
* @type {number}
|
|
2228
|
+
* @memberof PaginationMeta
|
|
2229
|
+
*/
|
|
2230
|
+
'offset'?: number;
|
|
2231
|
+
/**
|
|
2232
|
+
* Number of items returned
|
|
2233
|
+
* @type {number}
|
|
2234
|
+
* @memberof PaginationMeta
|
|
2235
|
+
*/
|
|
2236
|
+
'limit'?: number;
|
|
2237
|
+
/**
|
|
2238
|
+
* Total number of items available
|
|
2239
|
+
* @type {number}
|
|
2240
|
+
* @memberof PaginationMeta
|
|
2241
|
+
*/
|
|
2242
|
+
'total'?: number;
|
|
2243
|
+
/**
|
|
2244
|
+
* Whether there are more items after this page
|
|
2245
|
+
* @type {boolean}
|
|
2246
|
+
* @memberof PaginationMeta
|
|
2247
|
+
*/
|
|
2248
|
+
'has_next'?: boolean;
|
|
2249
|
+
/**
|
|
2250
|
+
* Whether there are items before this page
|
|
2251
|
+
* @type {boolean}
|
|
2252
|
+
* @memberof PaginationMeta
|
|
2253
|
+
*/
|
|
2254
|
+
'has_prev'?: boolean;
|
|
2255
|
+
}
|
|
2030
2256
|
/**
|
|
2031
2257
|
*
|
|
2032
2258
|
* @export
|
|
@@ -2192,29 +2418,29 @@ export interface Pool {
|
|
|
2192
2418
|
*/
|
|
2193
2419
|
'synth_supply_remaining': string;
|
|
2194
2420
|
/**
|
|
2195
|
-
* the
|
|
2421
|
+
* the depth of the derived virtual pool relative to L1 pool (in basis points)
|
|
2196
2422
|
* @type {string}
|
|
2197
2423
|
* @memberof Pool
|
|
2198
2424
|
*/
|
|
2199
|
-
'
|
|
2425
|
+
'derived_depth_bps': string;
|
|
2200
2426
|
/**
|
|
2201
|
-
* the
|
|
2202
|
-
* @type {
|
|
2427
|
+
* indicates if the pool can be used for swaps
|
|
2428
|
+
* @type {boolean}
|
|
2203
2429
|
* @memberof Pool
|
|
2204
2430
|
*/
|
|
2205
|
-
'
|
|
2431
|
+
'trading_halted'?: boolean;
|
|
2206
2432
|
/**
|
|
2207
|
-
*
|
|
2433
|
+
* 24h volume in asset
|
|
2208
2434
|
* @type {string}
|
|
2209
2435
|
* @memberof Pool
|
|
2210
2436
|
*/
|
|
2211
|
-
'
|
|
2437
|
+
'volume_asset'?: string;
|
|
2212
2438
|
/**
|
|
2213
|
-
*
|
|
2439
|
+
* 24h volume in rune
|
|
2214
2440
|
* @type {string}
|
|
2215
2441
|
* @memberof Pool
|
|
2216
2442
|
*/
|
|
2217
|
-
'
|
|
2443
|
+
'volume_rune'?: string;
|
|
2218
2444
|
}
|
|
2219
2445
|
/**
|
|
2220
2446
|
*
|
|
@@ -2362,309 +2588,146 @@ export interface QuoteFees {
|
|
|
2362
2588
|
/**
|
|
2363
2589
|
*
|
|
2364
2590
|
* @export
|
|
2365
|
-
* @interface
|
|
2591
|
+
* @interface QuoteLimitResponse
|
|
2366
2592
|
*/
|
|
2367
|
-
export interface
|
|
2593
|
+
export interface QuoteLimitResponse {
|
|
2368
2594
|
/**
|
|
2369
2595
|
* the inbound address for the transaction on the source chain
|
|
2370
2596
|
* @type {string}
|
|
2371
|
-
* @memberof
|
|
2597
|
+
* @memberof QuoteLimitResponse
|
|
2372
2598
|
*/
|
|
2373
|
-
'inbound_address'
|
|
2599
|
+
'inbound_address': string;
|
|
2374
2600
|
/**
|
|
2375
2601
|
* the approximate number of source chain blocks required before processing
|
|
2376
2602
|
* @type {number}
|
|
2377
|
-
* @memberof
|
|
2603
|
+
* @memberof QuoteLimitResponse
|
|
2378
2604
|
*/
|
|
2379
2605
|
'inbound_confirmation_blocks'?: number;
|
|
2380
2606
|
/**
|
|
2381
2607
|
* the approximate seconds for block confirmations required before processing
|
|
2382
2608
|
* @type {number}
|
|
2383
|
-
* @memberof
|
|
2609
|
+
* @memberof QuoteLimitResponse
|
|
2384
2610
|
*/
|
|
2385
2611
|
'inbound_confirmation_seconds'?: number;
|
|
2386
2612
|
/**
|
|
2387
2613
|
* the number of thorchain blocks the outbound will be delayed
|
|
2388
2614
|
* @type {number}
|
|
2389
|
-
* @memberof
|
|
2615
|
+
* @memberof QuoteLimitResponse
|
|
2390
2616
|
*/
|
|
2391
|
-
'outbound_delay_blocks'
|
|
2617
|
+
'outbound_delay_blocks'?: number;
|
|
2392
2618
|
/**
|
|
2393
2619
|
* the approximate seconds for the outbound delay before it will be sent
|
|
2394
2620
|
* @type {number}
|
|
2395
|
-
* @memberof
|
|
2621
|
+
* @memberof QuoteLimitResponse
|
|
2396
2622
|
*/
|
|
2397
|
-
'outbound_delay_seconds'
|
|
2623
|
+
'outbound_delay_seconds'?: number;
|
|
2398
2624
|
/**
|
|
2399
2625
|
*
|
|
2400
2626
|
* @type {QuoteFees}
|
|
2401
|
-
* @memberof
|
|
2627
|
+
* @memberof QuoteLimitResponse
|
|
2402
2628
|
*/
|
|
2403
2629
|
'fees': QuoteFees;
|
|
2404
2630
|
/**
|
|
2405
2631
|
* the EVM chain router contract address
|
|
2406
2632
|
* @type {string}
|
|
2407
|
-
* @memberof
|
|
2633
|
+
* @memberof QuoteLimitResponse
|
|
2408
2634
|
*/
|
|
2409
2635
|
'router'?: string;
|
|
2410
2636
|
/**
|
|
2411
2637
|
* expiration timestamp in unix seconds
|
|
2412
2638
|
* @type {number}
|
|
2413
|
-
* @memberof
|
|
2639
|
+
* @memberof QuoteLimitResponse
|
|
2414
2640
|
*/
|
|
2415
|
-
'expiry'
|
|
2641
|
+
'expiry'?: number;
|
|
2416
2642
|
/**
|
|
2417
2643
|
* static warning message
|
|
2418
2644
|
* @type {string}
|
|
2419
|
-
* @memberof
|
|
2645
|
+
* @memberof QuoteLimitResponse
|
|
2420
2646
|
*/
|
|
2421
|
-
'warning'
|
|
2647
|
+
'warning'?: string;
|
|
2422
2648
|
/**
|
|
2423
|
-
*
|
|
2649
|
+
* notes about the limit order
|
|
2424
2650
|
* @type {string}
|
|
2425
|
-
* @memberof
|
|
2651
|
+
* @memberof QuoteLimitResponse
|
|
2426
2652
|
*/
|
|
2427
|
-
'notes'
|
|
2653
|
+
'notes'?: string;
|
|
2428
2654
|
/**
|
|
2429
|
-
*
|
|
2655
|
+
* the dust threshold for the source chain
|
|
2430
2656
|
* @type {string}
|
|
2431
|
-
* @memberof
|
|
2657
|
+
* @memberof QuoteLimitResponse
|
|
2432
2658
|
*/
|
|
2433
2659
|
'dust_threshold'?: string;
|
|
2434
2660
|
/**
|
|
2435
|
-
*
|
|
2661
|
+
* the recommended minimum amount in for the limit order
|
|
2436
2662
|
* @type {string}
|
|
2437
|
-
* @memberof
|
|
2663
|
+
* @memberof QuoteLimitResponse
|
|
2438
2664
|
*/
|
|
2439
2665
|
'recommended_min_amount_in'?: string;
|
|
2440
2666
|
/**
|
|
2441
2667
|
* the recommended gas rate to use for the inbound to ensure timely confirmation
|
|
2442
2668
|
* @type {string}
|
|
2443
|
-
* @memberof
|
|
2669
|
+
* @memberof QuoteLimitResponse
|
|
2444
2670
|
*/
|
|
2445
2671
|
'recommended_gas_rate'?: string;
|
|
2446
2672
|
/**
|
|
2447
2673
|
* the units of the recommended gas rate
|
|
2448
2674
|
* @type {string}
|
|
2449
|
-
* @memberof
|
|
2675
|
+
* @memberof QuoteLimitResponse
|
|
2450
2676
|
*/
|
|
2451
2677
|
'gas_rate_units'?: string;
|
|
2452
2678
|
/**
|
|
2453
|
-
* generated memo for the
|
|
2679
|
+
* generated memo for the limit order
|
|
2454
2680
|
* @type {string}
|
|
2455
|
-
* @memberof
|
|
2681
|
+
* @memberof QuoteLimitResponse
|
|
2456
2682
|
*/
|
|
2457
|
-
'memo'
|
|
2683
|
+
'memo'?: string;
|
|
2458
2684
|
/**
|
|
2459
|
-
* the amount of
|
|
2685
|
+
* the amount of the target asset the user can expect to receive after fees
|
|
2460
2686
|
* @type {string}
|
|
2461
|
-
* @memberof
|
|
2687
|
+
* @memberof QuoteLimitResponse
|
|
2462
2688
|
*/
|
|
2463
2689
|
'expected_amount_out': string;
|
|
2464
2690
|
/**
|
|
2465
|
-
*
|
|
2466
|
-
* @type {string}
|
|
2467
|
-
* @memberof QuoteLoanCloseResponse
|
|
2468
|
-
*/
|
|
2469
|
-
'expected_amount_in': string;
|
|
2470
|
-
/**
|
|
2471
|
-
* the expected amount of collateral decrease on the loan
|
|
2472
|
-
* @type {string}
|
|
2473
|
-
* @memberof QuoteLoanCloseResponse
|
|
2474
|
-
*/
|
|
2475
|
-
'expected_collateral_withdrawn': string;
|
|
2476
|
-
/**
|
|
2477
|
-
* the expected amount of TOR debt decrease on the loan
|
|
2478
|
-
* @type {string}
|
|
2479
|
-
* @memberof QuoteLoanCloseResponse
|
|
2480
|
-
*/
|
|
2481
|
-
'expected_debt_repaid': string;
|
|
2482
|
-
/**
|
|
2483
|
-
* The number of blocks involved in the streaming swaps during the repayment process.
|
|
2691
|
+
* the block height when the limit order will expire
|
|
2484
2692
|
* @type {number}
|
|
2485
|
-
* @memberof
|
|
2693
|
+
* @memberof QuoteLimitResponse
|
|
2486
2694
|
*/
|
|
2487
|
-
'
|
|
2695
|
+
'order_expiry_block': number;
|
|
2488
2696
|
/**
|
|
2489
|
-
*
|
|
2697
|
+
* the timestamp when the limit order will expire
|
|
2490
2698
|
* @type {number}
|
|
2491
|
-
* @memberof
|
|
2699
|
+
* @memberof QuoteLimitResponse
|
|
2492
2700
|
*/
|
|
2493
|
-
'
|
|
2494
|
-
/**
|
|
2495
|
-
* The total expected duration for a repayment, measured in seconds, which includes the time for inbound confirmation, the duration of streaming swaps, and any outbound delays.
|
|
2496
|
-
* @type {number}
|
|
2497
|
-
* @memberof QuoteLoanCloseResponse
|
|
2498
|
-
*/
|
|
2499
|
-
'total_repay_seconds': number;
|
|
2701
|
+
'order_expiry_timestamp': number;
|
|
2500
2702
|
}
|
|
2501
2703
|
/**
|
|
2502
2704
|
*
|
|
2503
2705
|
* @export
|
|
2504
|
-
* @interface
|
|
2706
|
+
* @interface QuoteSaverDepositResponse
|
|
2505
2707
|
*/
|
|
2506
|
-
export interface
|
|
2708
|
+
export interface QuoteSaverDepositResponse {
|
|
2507
2709
|
/**
|
|
2508
2710
|
* the inbound address for the transaction on the source chain
|
|
2509
2711
|
* @type {string}
|
|
2510
|
-
* @memberof
|
|
2712
|
+
* @memberof QuoteSaverDepositResponse
|
|
2511
2713
|
*/
|
|
2512
|
-
'inbound_address'
|
|
2714
|
+
'inbound_address': string;
|
|
2513
2715
|
/**
|
|
2514
2716
|
* the approximate number of source chain blocks required before processing
|
|
2515
2717
|
* @type {number}
|
|
2516
|
-
* @memberof
|
|
2718
|
+
* @memberof QuoteSaverDepositResponse
|
|
2517
2719
|
*/
|
|
2518
2720
|
'inbound_confirmation_blocks'?: number;
|
|
2519
2721
|
/**
|
|
2520
2722
|
* the approximate seconds for block confirmations required before processing
|
|
2521
2723
|
* @type {number}
|
|
2522
|
-
* @memberof
|
|
2724
|
+
* @memberof QuoteSaverDepositResponse
|
|
2523
2725
|
*/
|
|
2524
2726
|
'inbound_confirmation_seconds'?: number;
|
|
2525
2727
|
/**
|
|
2526
2728
|
* the number of thorchain blocks the outbound will be delayed
|
|
2527
2729
|
* @type {number}
|
|
2528
|
-
* @memberof
|
|
2529
|
-
*/
|
|
2530
|
-
'outbound_delay_blocks': number;
|
|
2531
|
-
/**
|
|
2532
|
-
* the approximate seconds for the outbound delay before it will be sent
|
|
2533
|
-
* @type {number}
|
|
2534
|
-
* @memberof QuoteLoanOpenResponse
|
|
2535
|
-
*/
|
|
2536
|
-
'outbound_delay_seconds': number;
|
|
2537
|
-
/**
|
|
2538
|
-
*
|
|
2539
|
-
* @type {QuoteFees}
|
|
2540
|
-
* @memberof QuoteLoanOpenResponse
|
|
2541
|
-
*/
|
|
2542
|
-
'fees': QuoteFees;
|
|
2543
|
-
/**
|
|
2544
|
-
* the EVM chain router contract address
|
|
2545
|
-
* @type {string}
|
|
2546
|
-
* @memberof QuoteLoanOpenResponse
|
|
2547
|
-
*/
|
|
2548
|
-
'router'?: string;
|
|
2549
|
-
/**
|
|
2550
|
-
* expiration timestamp in unix seconds
|
|
2551
|
-
* @type {number}
|
|
2552
|
-
* @memberof QuoteLoanOpenResponse
|
|
2553
|
-
*/
|
|
2554
|
-
'expiry': number;
|
|
2555
|
-
/**
|
|
2556
|
-
* static warning message
|
|
2557
|
-
* @type {string}
|
|
2558
|
-
* @memberof QuoteLoanOpenResponse
|
|
2559
|
-
*/
|
|
2560
|
-
'warning': string;
|
|
2561
|
-
/**
|
|
2562
|
-
* chain specific quote notes
|
|
2563
|
-
* @type {string}
|
|
2564
|
-
* @memberof QuoteLoanOpenResponse
|
|
2565
|
-
*/
|
|
2566
|
-
'notes': string;
|
|
2567
|
-
/**
|
|
2568
|
-
* Defines the minimum transaction size for the chain in base units (sats, wei, uatom). Transactions with asset amounts lower than the dust_threshold are ignored.
|
|
2569
|
-
* @type {string}
|
|
2570
|
-
* @memberof QuoteLoanOpenResponse
|
|
2571
|
-
*/
|
|
2572
|
-
'dust_threshold'?: string;
|
|
2573
|
-
/**
|
|
2574
|
-
* The recommended minimum inbound amount for this transaction type & inbound asset. Sending less than this amount could result in failed refunds.
|
|
2575
|
-
* @type {string}
|
|
2576
|
-
* @memberof QuoteLoanOpenResponse
|
|
2577
|
-
*/
|
|
2578
|
-
'recommended_min_amount_in'?: string;
|
|
2579
|
-
/**
|
|
2580
|
-
* the recommended gas rate to use for the inbound to ensure timely confirmation
|
|
2581
|
-
* @type {string}
|
|
2582
|
-
* @memberof QuoteLoanOpenResponse
|
|
2583
|
-
*/
|
|
2584
|
-
'recommended_gas_rate': string;
|
|
2585
|
-
/**
|
|
2586
|
-
* the units of the recommended gas rate
|
|
2587
|
-
* @type {string}
|
|
2588
|
-
* @memberof QuoteLoanOpenResponse
|
|
2589
|
-
*/
|
|
2590
|
-
'gas_rate_units': string;
|
|
2591
|
-
/**
|
|
2592
|
-
* generated memo for the loan open
|
|
2593
|
-
* @type {string}
|
|
2594
|
-
* @memberof QuoteLoanOpenResponse
|
|
2595
|
-
*/
|
|
2596
|
-
'memo'?: string;
|
|
2597
|
-
/**
|
|
2598
|
-
* the amount of the target asset the user can expect to receive after fees in 1e8 decimals
|
|
2599
|
-
* @type {string}
|
|
2600
|
-
* @memberof QuoteLoanOpenResponse
|
|
2601
|
-
*/
|
|
2602
|
-
'expected_amount_out': string;
|
|
2603
|
-
/**
|
|
2604
|
-
* the expected collateralization ratio in basis points
|
|
2605
|
-
* @type {string}
|
|
2606
|
-
* @memberof QuoteLoanOpenResponse
|
|
2607
|
-
*/
|
|
2608
|
-
'expected_collateralization_ratio': string;
|
|
2609
|
-
/**
|
|
2610
|
-
* the expected amount of collateral increase on the loan
|
|
2611
|
-
* @type {string}
|
|
2612
|
-
* @memberof QuoteLoanOpenResponse
|
|
2613
|
-
*/
|
|
2614
|
-
'expected_collateral_deposited': string;
|
|
2615
|
-
/**
|
|
2616
|
-
* the expected amount of TOR debt increase on the loan
|
|
2617
|
-
* @type {string}
|
|
2618
|
-
* @memberof QuoteLoanOpenResponse
|
|
2619
|
-
*/
|
|
2620
|
-
'expected_debt_issued': string;
|
|
2621
|
-
/**
|
|
2622
|
-
* The number of blocks involved in the streaming swaps during the open loan process.
|
|
2623
|
-
* @type {number}
|
|
2624
|
-
* @memberof QuoteLoanOpenResponse
|
|
2625
|
-
*/
|
|
2626
|
-
'streaming_swap_blocks': number;
|
|
2627
|
-
/**
|
|
2628
|
-
* The approximate number of seconds taken by the streaming swaps involved in the open loan process.
|
|
2629
|
-
* @type {number}
|
|
2630
|
-
* @memberof QuoteLoanOpenResponse
|
|
2631
|
-
*/
|
|
2632
|
-
'streaming_swap_seconds': number;
|
|
2633
|
-
/**
|
|
2634
|
-
* The total expected duration for a open loan, measured in seconds, which includes the time for inbound confirmation, the duration of streaming swaps, and any outbound delays.
|
|
2635
|
-
* @type {number}
|
|
2636
|
-
* @memberof QuoteLoanOpenResponse
|
|
2637
|
-
*/
|
|
2638
|
-
'total_open_loan_seconds': number;
|
|
2639
|
-
}
|
|
2640
|
-
/**
|
|
2641
|
-
*
|
|
2642
|
-
* @export
|
|
2643
|
-
* @interface QuoteSaverDepositResponse
|
|
2644
|
-
*/
|
|
2645
|
-
export interface QuoteSaverDepositResponse {
|
|
2646
|
-
/**
|
|
2647
|
-
* the inbound address for the transaction on the source chain
|
|
2648
|
-
* @type {string}
|
|
2649
|
-
* @memberof QuoteSaverDepositResponse
|
|
2650
|
-
*/
|
|
2651
|
-
'inbound_address': string;
|
|
2652
|
-
/**
|
|
2653
|
-
* the approximate number of source chain blocks required before processing
|
|
2654
|
-
* @type {number}
|
|
2655
|
-
* @memberof QuoteSaverDepositResponse
|
|
2656
|
-
*/
|
|
2657
|
-
'inbound_confirmation_blocks'?: number;
|
|
2658
|
-
/**
|
|
2659
|
-
* the approximate seconds for block confirmations required before processing
|
|
2660
|
-
* @type {number}
|
|
2661
|
-
* @memberof QuoteSaverDepositResponse
|
|
2662
|
-
*/
|
|
2663
|
-
'inbound_confirmation_seconds'?: number;
|
|
2664
|
-
/**
|
|
2665
|
-
* the number of thorchain blocks the outbound will be delayed
|
|
2666
|
-
* @type {number}
|
|
2667
|
-
* @memberof QuoteSaverDepositResponse
|
|
2730
|
+
* @memberof QuoteSaverDepositResponse
|
|
2668
2731
|
*/
|
|
2669
2732
|
'outbound_delay_blocks'?: number;
|
|
2670
2733
|
/**
|
|
@@ -3143,6 +3206,104 @@ export interface RUNEProvider {
|
|
|
3143
3206
|
*/
|
|
3144
3207
|
export interface RUNEProvidersResponse extends Array<RUNEProvider> {
|
|
3145
3208
|
}
|
|
3209
|
+
/**
|
|
3210
|
+
*
|
|
3211
|
+
* @export
|
|
3212
|
+
* @interface ReferenceMemoPreflightResponse
|
|
3213
|
+
*/
|
|
3214
|
+
export interface ReferenceMemoPreflightResponse {
|
|
3215
|
+
/**
|
|
3216
|
+
* the reference ID that would be generated from the amount
|
|
3217
|
+
* @type {string}
|
|
3218
|
+
* @memberof ReferenceMemoPreflightResponse
|
|
3219
|
+
*/
|
|
3220
|
+
'reference': string;
|
|
3221
|
+
/**
|
|
3222
|
+
* whether this reference is currently available (not registered or expired)
|
|
3223
|
+
* @type {boolean}
|
|
3224
|
+
* @memberof ReferenceMemoPreflightResponse
|
|
3225
|
+
*/
|
|
3226
|
+
'available': boolean;
|
|
3227
|
+
/**
|
|
3228
|
+
* whether a new registration can be made with this reference
|
|
3229
|
+
* @type {boolean}
|
|
3230
|
+
* @memberof ReferenceMemoPreflightResponse
|
|
3231
|
+
*/
|
|
3232
|
+
'can_register': boolean;
|
|
3233
|
+
/**
|
|
3234
|
+
* block height when current registration expires (0 if available)
|
|
3235
|
+
* @type {string}
|
|
3236
|
+
* @memberof ReferenceMemoPreflightResponse
|
|
3237
|
+
*/
|
|
3238
|
+
'expires_at': string;
|
|
3239
|
+
/**
|
|
3240
|
+
* the currently registered memo (only present if not available)
|
|
3241
|
+
* @type {string}
|
|
3242
|
+
* @memberof ReferenceMemoPreflightResponse
|
|
3243
|
+
*/
|
|
3244
|
+
'memo'?: string;
|
|
3245
|
+
/**
|
|
3246
|
+
* the number of times this reference has been used
|
|
3247
|
+
* @type {string}
|
|
3248
|
+
* @memberof ReferenceMemoPreflightResponse
|
|
3249
|
+
*/
|
|
3250
|
+
'usage_count': string;
|
|
3251
|
+
/**
|
|
3252
|
+
* the maximum number of times this reference can be used (0 = unlimited)
|
|
3253
|
+
* @type {string}
|
|
3254
|
+
* @memberof ReferenceMemoPreflightResponse
|
|
3255
|
+
*/
|
|
3256
|
+
'max_use': string;
|
|
3257
|
+
}
|
|
3258
|
+
/**
|
|
3259
|
+
*
|
|
3260
|
+
* @export
|
|
3261
|
+
* @interface ReferenceMemoResponse
|
|
3262
|
+
*/
|
|
3263
|
+
export interface ReferenceMemoResponse {
|
|
3264
|
+
/**
|
|
3265
|
+
* the asset for which this reference memo is valid
|
|
3266
|
+
* @type {string}
|
|
3267
|
+
* @memberof ReferenceMemoResponse
|
|
3268
|
+
*/
|
|
3269
|
+
'asset': string;
|
|
3270
|
+
/**
|
|
3271
|
+
* the original memo that was registered for memoless transactions
|
|
3272
|
+
* @type {string}
|
|
3273
|
+
* @memberof ReferenceMemoResponse
|
|
3274
|
+
*/
|
|
3275
|
+
'memo': string;
|
|
3276
|
+
/**
|
|
3277
|
+
* the reference number used to identify this memo
|
|
3278
|
+
* @type {string}
|
|
3279
|
+
* @memberof ReferenceMemoResponse
|
|
3280
|
+
*/
|
|
3281
|
+
'reference': string;
|
|
3282
|
+
/**
|
|
3283
|
+
* the block height when this reference memo was registered
|
|
3284
|
+
* @type {string}
|
|
3285
|
+
* @memberof ReferenceMemoResponse
|
|
3286
|
+
*/
|
|
3287
|
+
'height': string;
|
|
3288
|
+
/**
|
|
3289
|
+
* the transaction hash where this reference memo was registered
|
|
3290
|
+
* @type {string}
|
|
3291
|
+
* @memberof ReferenceMemoResponse
|
|
3292
|
+
*/
|
|
3293
|
+
'registration_hash': string;
|
|
3294
|
+
/**
|
|
3295
|
+
* the address that registered this reference memo
|
|
3296
|
+
* @type {string}
|
|
3297
|
+
* @memberof ReferenceMemoResponse
|
|
3298
|
+
*/
|
|
3299
|
+
'registered_by': string;
|
|
3300
|
+
/**
|
|
3301
|
+
* list of transaction hashes that have used this reference memo
|
|
3302
|
+
* @type {Array<string>}
|
|
3303
|
+
* @memberof ReferenceMemoResponse
|
|
3304
|
+
*/
|
|
3305
|
+
'used_by_txs': Array<string>;
|
|
3306
|
+
}
|
|
3146
3307
|
/**
|
|
3147
3308
|
*
|
|
3148
3309
|
* @export
|
|
@@ -3367,6 +3528,31 @@ export interface StreamingSwap {
|
|
|
3367
3528
|
*/
|
|
3368
3529
|
export interface StreamingSwapsResponse extends Array<StreamingSwap> {
|
|
3369
3530
|
}
|
|
3531
|
+
/**
|
|
3532
|
+
*
|
|
3533
|
+
* @export
|
|
3534
|
+
* @interface SwapDetailsResponse
|
|
3535
|
+
*/
|
|
3536
|
+
export interface SwapDetailsResponse {
|
|
3537
|
+
/**
|
|
3538
|
+
*
|
|
3539
|
+
* @type {MsgSwap}
|
|
3540
|
+
* @memberof SwapDetailsResponse
|
|
3541
|
+
*/
|
|
3542
|
+
'swap'?: MsgSwap;
|
|
3543
|
+
/**
|
|
3544
|
+
* Current status of the swap
|
|
3545
|
+
* @type {string}
|
|
3546
|
+
* @memberof SwapDetailsResponse
|
|
3547
|
+
*/
|
|
3548
|
+
'status'?: string;
|
|
3549
|
+
/**
|
|
3550
|
+
* Type of queue the swap is in
|
|
3551
|
+
* @type {string}
|
|
3552
|
+
* @memberof SwapDetailsResponse
|
|
3553
|
+
*/
|
|
3554
|
+
'queue_type'?: string;
|
|
3555
|
+
}
|
|
3370
3556
|
/**
|
|
3371
3557
|
*
|
|
3372
3558
|
* @export
|
|
@@ -3387,6 +3573,79 @@ export interface SwapFinalisedStage {
|
|
|
3387
3573
|
*/
|
|
3388
3574
|
export interface SwapQueueResponse extends Array<MsgSwap> {
|
|
3389
3575
|
}
|
|
3576
|
+
/**
|
|
3577
|
+
* State tracking for swap execution
|
|
3578
|
+
* @export
|
|
3579
|
+
* @interface SwapState
|
|
3580
|
+
*/
|
|
3581
|
+
export interface SwapState {
|
|
3582
|
+
/**
|
|
3583
|
+
* the interval for streaming swaps
|
|
3584
|
+
* @type {number}
|
|
3585
|
+
* @memberof SwapState
|
|
3586
|
+
*/
|
|
3587
|
+
'interval'?: number;
|
|
3588
|
+
/**
|
|
3589
|
+
* the number of swaps to execute
|
|
3590
|
+
* @type {number}
|
|
3591
|
+
* @memberof SwapState
|
|
3592
|
+
*/
|
|
3593
|
+
'quantity'?: number;
|
|
3594
|
+
/**
|
|
3595
|
+
* time to live
|
|
3596
|
+
* @type {number}
|
|
3597
|
+
* @memberof SwapState
|
|
3598
|
+
*/
|
|
3599
|
+
'ttl'?: number;
|
|
3600
|
+
/**
|
|
3601
|
+
* number of swaps executed
|
|
3602
|
+
* @type {number}
|
|
3603
|
+
* @memberof SwapState
|
|
3604
|
+
*/
|
|
3605
|
+
'count'?: number;
|
|
3606
|
+
/**
|
|
3607
|
+
* last height when a swap was executed
|
|
3608
|
+
* @type {number}
|
|
3609
|
+
* @memberof SwapState
|
|
3610
|
+
*/
|
|
3611
|
+
'last_height'?: number;
|
|
3612
|
+
/**
|
|
3613
|
+
* total deposit amount
|
|
3614
|
+
* @type {string}
|
|
3615
|
+
* @memberof SwapState
|
|
3616
|
+
*/
|
|
3617
|
+
'deposit'?: string;
|
|
3618
|
+
/**
|
|
3619
|
+
* amount withdrawn
|
|
3620
|
+
* @type {string}
|
|
3621
|
+
* @memberof SwapState
|
|
3622
|
+
*/
|
|
3623
|
+
'withdrawn'?: string;
|
|
3624
|
+
/**
|
|
3625
|
+
* total amount swapped in
|
|
3626
|
+
* @type {string}
|
|
3627
|
+
* @memberof SwapState
|
|
3628
|
+
*/
|
|
3629
|
+
'in'?: string;
|
|
3630
|
+
/**
|
|
3631
|
+
* total amount swapped out
|
|
3632
|
+
* @type {string}
|
|
3633
|
+
* @memberof SwapState
|
|
3634
|
+
*/
|
|
3635
|
+
'out'?: string;
|
|
3636
|
+
/**
|
|
3637
|
+
* list of failed swap indices
|
|
3638
|
+
* @type {Array<number>}
|
|
3639
|
+
* @memberof SwapState
|
|
3640
|
+
*/
|
|
3641
|
+
'failed_swaps'?: Array<number>;
|
|
3642
|
+
/**
|
|
3643
|
+
* reasons for failed swaps
|
|
3644
|
+
* @type {Array<string>}
|
|
3645
|
+
* @memberof SwapState
|
|
3646
|
+
*/
|
|
3647
|
+
'failed_swap_reasons'?: Array<string>;
|
|
3648
|
+
}
|
|
3390
3649
|
/**
|
|
3391
3650
|
*
|
|
3392
3651
|
* @export
|
|
@@ -3854,31 +4113,37 @@ export interface TxOutItem {
|
|
|
3854
4113
|
* @type {string}
|
|
3855
4114
|
* @memberof TxOutItem
|
|
3856
4115
|
*/
|
|
3857
|
-
'
|
|
4116
|
+
'in_hash'?: string;
|
|
3858
4117
|
/**
|
|
3859
4118
|
*
|
|
3860
4119
|
* @type {string}
|
|
3861
4120
|
* @memberof TxOutItem
|
|
3862
4121
|
*/
|
|
3863
|
-
'
|
|
4122
|
+
'out_hash'?: string;
|
|
3864
4123
|
/**
|
|
3865
4124
|
*
|
|
3866
4125
|
* @type {string}
|
|
3867
4126
|
* @memberof TxOutItem
|
|
3868
4127
|
*/
|
|
3869
|
-
'
|
|
4128
|
+
'chain': string;
|
|
3870
4129
|
/**
|
|
3871
4130
|
*
|
|
3872
4131
|
* @type {string}
|
|
3873
4132
|
* @memberof TxOutItem
|
|
3874
4133
|
*/
|
|
3875
|
-
'
|
|
4134
|
+
'to_address': string;
|
|
3876
4135
|
/**
|
|
3877
4136
|
*
|
|
3878
4137
|
* @type {string}
|
|
3879
4138
|
* @memberof TxOutItem
|
|
3880
4139
|
*/
|
|
3881
|
-
'
|
|
4140
|
+
'vault_pub_key'?: string;
|
|
4141
|
+
/**
|
|
4142
|
+
*
|
|
4143
|
+
* @type {string}
|
|
4144
|
+
* @memberof TxOutItem
|
|
4145
|
+
*/
|
|
4146
|
+
'vault_pub_key_eddsa'?: string;
|
|
3882
4147
|
/**
|
|
3883
4148
|
*
|
|
3884
4149
|
* @type {Coin}
|
|
@@ -3903,6 +4168,12 @@ export interface TxOutItem {
|
|
|
3903
4168
|
* @memberof TxOutItem
|
|
3904
4169
|
*/
|
|
3905
4170
|
'memo'?: string;
|
|
4171
|
+
/**
|
|
4172
|
+
*
|
|
4173
|
+
* @type {string}
|
|
4174
|
+
* @memberof TxOutItem
|
|
4175
|
+
*/
|
|
4176
|
+
'original_memo'?: string;
|
|
3906
4177
|
/**
|
|
3907
4178
|
* whitelisted DEX Aggregator contract address
|
|
3908
4179
|
* @type {string}
|
|
@@ -4154,6 +4425,18 @@ export interface UpgradeProposal {
|
|
|
4154
4425
|
* @memberof UpgradeProposal
|
|
4155
4426
|
*/
|
|
4156
4427
|
'validators_to_quorum'?: number;
|
|
4428
|
+
/**
|
|
4429
|
+
* the list of node addresses that have approved the upgrade
|
|
4430
|
+
* @type {Array<string>}
|
|
4431
|
+
* @memberof UpgradeProposal
|
|
4432
|
+
*/
|
|
4433
|
+
'approvers'?: Array<string>;
|
|
4434
|
+
/**
|
|
4435
|
+
* the list of node addresses that have rejected the upgrade
|
|
4436
|
+
* @type {Array<string>}
|
|
4437
|
+
* @memberof UpgradeProposal
|
|
4438
|
+
*/
|
|
4439
|
+
'rejecters'?: Array<string>;
|
|
4157
4440
|
}
|
|
4158
4441
|
/**
|
|
4159
4442
|
*
|
|
@@ -4211,6 +4494,12 @@ export interface Vault {
|
|
|
4211
4494
|
* @memberof Vault
|
|
4212
4495
|
*/
|
|
4213
4496
|
'pub_key'?: string;
|
|
4497
|
+
/**
|
|
4498
|
+
*
|
|
4499
|
+
* @type {string}
|
|
4500
|
+
* @memberof Vault
|
|
4501
|
+
*/
|
|
4502
|
+
'pub_key_eddsa'?: string;
|
|
4214
4503
|
/**
|
|
4215
4504
|
*
|
|
4216
4505
|
* @type {Array<Coin>}
|
|
@@ -4320,12 +4609,24 @@ export interface VaultInfo {
|
|
|
4320
4609
|
* @memberof VaultInfo
|
|
4321
4610
|
*/
|
|
4322
4611
|
'pub_key': string;
|
|
4612
|
+
/**
|
|
4613
|
+
*
|
|
4614
|
+
* @type {string}
|
|
4615
|
+
* @memberof VaultInfo
|
|
4616
|
+
*/
|
|
4617
|
+
'pub_key_eddsa'?: string;
|
|
4323
4618
|
/**
|
|
4324
4619
|
*
|
|
4325
4620
|
* @type {Array<VaultRouter>}
|
|
4326
4621
|
* @memberof VaultInfo
|
|
4327
4622
|
*/
|
|
4328
4623
|
'routers': Array<VaultRouter>;
|
|
4624
|
+
/**
|
|
4625
|
+
* the list of node public keys which are members of the vault
|
|
4626
|
+
* @type {Array<string>}
|
|
4627
|
+
* @memberof VaultInfo
|
|
4628
|
+
*/
|
|
4629
|
+
'membership'?: Array<string>;
|
|
4329
4630
|
}
|
|
4330
4631
|
/**
|
|
4331
4632
|
*
|
|
@@ -4371,6 +4672,38 @@ export interface VaultRouter {
|
|
|
4371
4672
|
*/
|
|
4372
4673
|
'router'?: string;
|
|
4373
4674
|
}
|
|
4675
|
+
/**
|
|
4676
|
+
*
|
|
4677
|
+
* @export
|
|
4678
|
+
* @interface VaultSolvencyAsset
|
|
4679
|
+
*/
|
|
4680
|
+
export interface VaultSolvencyAsset {
|
|
4681
|
+
/**
|
|
4682
|
+
* Asset identifier
|
|
4683
|
+
* @type {string}
|
|
4684
|
+
* @memberof VaultSolvencyAsset
|
|
4685
|
+
*/
|
|
4686
|
+
'asset': string;
|
|
4687
|
+
/**
|
|
4688
|
+
* Solvency amount for the asset. Positive values indicate over-solvency, negative values indicate under-solvency.
|
|
4689
|
+
* @type {string}
|
|
4690
|
+
* @memberof VaultSolvencyAsset
|
|
4691
|
+
*/
|
|
4692
|
+
'amount': string;
|
|
4693
|
+
}
|
|
4694
|
+
/**
|
|
4695
|
+
*
|
|
4696
|
+
* @export
|
|
4697
|
+
* @interface VaultSolvencyResponse
|
|
4698
|
+
*/
|
|
4699
|
+
export interface VaultSolvencyResponse {
|
|
4700
|
+
/**
|
|
4701
|
+
*
|
|
4702
|
+
* @type {Array<VaultSolvencyAsset>}
|
|
4703
|
+
* @memberof VaultSolvencyResponse
|
|
4704
|
+
*/
|
|
4705
|
+
'assets': Array<VaultSolvencyAsset>;
|
|
4706
|
+
}
|
|
4374
4707
|
/**
|
|
4375
4708
|
*
|
|
4376
4709
|
* @export
|
|
@@ -4575,7 +4908,7 @@ export declare class AuthApi extends BaseAPI {
|
|
|
4575
4908
|
* @throws {RequiredError}
|
|
4576
4909
|
* @memberof AuthApi
|
|
4577
4910
|
*/
|
|
4578
|
-
account(address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountResponse, any>>;
|
|
4911
|
+
account(address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountResponse, any, {}>>;
|
|
4579
4912
|
}
|
|
4580
4913
|
/**
|
|
4581
4914
|
* BankApi - axios parameter creator
|
|
@@ -4634,7 +4967,7 @@ export declare class BankApi extends BaseAPI {
|
|
|
4634
4967
|
* @throws {RequiredError}
|
|
4635
4968
|
* @memberof BankApi
|
|
4636
4969
|
*/
|
|
4637
|
-
balances(address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BalancesResponse, any>>;
|
|
4970
|
+
balances(address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BalancesResponse, any, {}>>;
|
|
4638
4971
|
}
|
|
4639
4972
|
/**
|
|
4640
4973
|
* BlockApi - axios parameter creator
|
|
@@ -4689,162 +5022,121 @@ export declare class BlockApi extends BaseAPI {
|
|
|
4689
5022
|
* @throws {RequiredError}
|
|
4690
5023
|
* @memberof BlockApi
|
|
4691
5024
|
*/
|
|
4692
|
-
block(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BlockResponse, any>>;
|
|
5025
|
+
block(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BlockResponse, any, {}>>;
|
|
4693
5026
|
}
|
|
4694
5027
|
/**
|
|
4695
|
-
*
|
|
5028
|
+
* CloutApi - axios parameter creator
|
|
4696
5029
|
* @export
|
|
4697
5030
|
*/
|
|
4698
|
-
export declare const
|
|
5031
|
+
export declare const CloutApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
4699
5032
|
/**
|
|
4700
|
-
* Returns the
|
|
4701
|
-
* @param {string} asset
|
|
5033
|
+
* Returns the clout score of an address
|
|
4702
5034
|
* @param {string} address
|
|
4703
5035
|
* @param {number} [height] optional block height, defaults to current tip
|
|
4704
5036
|
* @param {*} [options] Override http request option.
|
|
4705
5037
|
* @throws {RequiredError}
|
|
4706
5038
|
*/
|
|
4707
|
-
|
|
4708
|
-
/**
|
|
4709
|
-
* Returns all borrowers for the given pool.
|
|
4710
|
-
* @param {string} asset
|
|
4711
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
4712
|
-
* @param {*} [options] Override http request option.
|
|
4713
|
-
* @throws {RequiredError}
|
|
4714
|
-
*/
|
|
4715
|
-
borrowers: (asset: string, height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5039
|
+
swapperClout: (address: string, height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4716
5040
|
};
|
|
4717
5041
|
/**
|
|
4718
|
-
*
|
|
5042
|
+
* CloutApi - functional programming interface
|
|
4719
5043
|
* @export
|
|
4720
5044
|
*/
|
|
4721
|
-
export declare const
|
|
5045
|
+
export declare const CloutApiFp: (configuration?: Configuration) => {
|
|
4722
5046
|
/**
|
|
4723
|
-
* Returns the
|
|
4724
|
-
* @param {string} asset
|
|
5047
|
+
* Returns the clout score of an address
|
|
4725
5048
|
* @param {string} address
|
|
4726
5049
|
* @param {number} [height] optional block height, defaults to current tip
|
|
4727
5050
|
* @param {*} [options] Override http request option.
|
|
4728
5051
|
* @throws {RequiredError}
|
|
4729
5052
|
*/
|
|
4730
|
-
|
|
4731
|
-
/**
|
|
4732
|
-
* Returns all borrowers for the given pool.
|
|
4733
|
-
* @param {string} asset
|
|
4734
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
4735
|
-
* @param {*} [options] Override http request option.
|
|
4736
|
-
* @throws {RequiredError}
|
|
4737
|
-
*/
|
|
4738
|
-
borrowers(asset: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BorrowersResponse>>;
|
|
5053
|
+
swapperClout(address: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SwapperCloutResponse>>;
|
|
4739
5054
|
};
|
|
4740
5055
|
/**
|
|
4741
|
-
*
|
|
5056
|
+
* CloutApi - factory interface
|
|
4742
5057
|
* @export
|
|
4743
5058
|
*/
|
|
4744
|
-
export declare const
|
|
5059
|
+
export declare const CloutApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
4745
5060
|
/**
|
|
4746
|
-
* Returns the
|
|
4747
|
-
* @param {string} asset
|
|
5061
|
+
* Returns the clout score of an address
|
|
4748
5062
|
* @param {string} address
|
|
4749
5063
|
* @param {number} [height] optional block height, defaults to current tip
|
|
4750
5064
|
* @param {*} [options] Override http request option.
|
|
4751
5065
|
* @throws {RequiredError}
|
|
4752
5066
|
*/
|
|
4753
|
-
|
|
4754
|
-
/**
|
|
4755
|
-
* Returns all borrowers for the given pool.
|
|
4756
|
-
* @param {string} asset
|
|
4757
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
4758
|
-
* @param {*} [options] Override http request option.
|
|
4759
|
-
* @throws {RequiredError}
|
|
4760
|
-
*/
|
|
4761
|
-
borrowers(asset: string, height?: number, options?: any): AxiosPromise<BorrowersResponse>;
|
|
5067
|
+
swapperClout(address: string, height?: number, options?: any): AxiosPromise<SwapperCloutResponse>;
|
|
4762
5068
|
};
|
|
4763
5069
|
/**
|
|
4764
|
-
*
|
|
5070
|
+
* CloutApi - object-oriented interface
|
|
4765
5071
|
* @export
|
|
4766
|
-
* @class
|
|
5072
|
+
* @class CloutApi
|
|
4767
5073
|
* @extends {BaseAPI}
|
|
4768
5074
|
*/
|
|
4769
|
-
export declare class
|
|
5075
|
+
export declare class CloutApi extends BaseAPI {
|
|
4770
5076
|
/**
|
|
4771
|
-
* Returns the
|
|
4772
|
-
* @param {string} asset
|
|
5077
|
+
* Returns the clout score of an address
|
|
4773
5078
|
* @param {string} address
|
|
4774
5079
|
* @param {number} [height] optional block height, defaults to current tip
|
|
4775
5080
|
* @param {*} [options] Override http request option.
|
|
4776
5081
|
* @throws {RequiredError}
|
|
4777
|
-
* @memberof
|
|
4778
|
-
*/
|
|
4779
|
-
borrower(asset: string, address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Borrower, any>>;
|
|
4780
|
-
/**
|
|
4781
|
-
* Returns all borrowers for the given pool.
|
|
4782
|
-
* @param {string} asset
|
|
4783
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
4784
|
-
* @param {*} [options] Override http request option.
|
|
4785
|
-
* @throws {RequiredError}
|
|
4786
|
-
* @memberof BorrowersApi
|
|
5082
|
+
* @memberof CloutApi
|
|
4787
5083
|
*/
|
|
4788
|
-
|
|
5084
|
+
swapperClout(address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SwapperCloutResponse, any, {}>>;
|
|
4789
5085
|
}
|
|
4790
5086
|
/**
|
|
4791
|
-
*
|
|
5087
|
+
* CodesApi - axios parameter creator
|
|
4792
5088
|
* @export
|
|
4793
5089
|
*/
|
|
4794
|
-
export declare const
|
|
5090
|
+
export declare const CodesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
4795
5091
|
/**
|
|
4796
|
-
* Returns
|
|
4797
|
-
* @param {string} address
|
|
5092
|
+
* Returns all whitelisted contract codes
|
|
4798
5093
|
* @param {number} [height] optional block height, defaults to current tip
|
|
4799
5094
|
* @param {*} [options] Override http request option.
|
|
4800
5095
|
* @throws {RequiredError}
|
|
4801
5096
|
*/
|
|
4802
|
-
|
|
5097
|
+
codes: (height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4803
5098
|
};
|
|
4804
5099
|
/**
|
|
4805
|
-
*
|
|
5100
|
+
* CodesApi - functional programming interface
|
|
4806
5101
|
* @export
|
|
4807
5102
|
*/
|
|
4808
|
-
export declare const
|
|
5103
|
+
export declare const CodesApiFp: (configuration?: Configuration) => {
|
|
4809
5104
|
/**
|
|
4810
|
-
* Returns
|
|
4811
|
-
* @param {string} address
|
|
5105
|
+
* Returns all whitelisted contract codes
|
|
4812
5106
|
* @param {number} [height] optional block height, defaults to current tip
|
|
4813
5107
|
* @param {*} [options] Override http request option.
|
|
4814
5108
|
* @throws {RequiredError}
|
|
4815
5109
|
*/
|
|
4816
|
-
|
|
5110
|
+
codes(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CodesResponse>>;
|
|
4817
5111
|
};
|
|
4818
5112
|
/**
|
|
4819
|
-
*
|
|
5113
|
+
* CodesApi - factory interface
|
|
4820
5114
|
* @export
|
|
4821
5115
|
*/
|
|
4822
|
-
export declare const
|
|
5116
|
+
export declare const CodesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
4823
5117
|
/**
|
|
4824
|
-
* Returns
|
|
4825
|
-
* @param {string} address
|
|
5118
|
+
* Returns all whitelisted contract codes
|
|
4826
5119
|
* @param {number} [height] optional block height, defaults to current tip
|
|
4827
5120
|
* @param {*} [options] Override http request option.
|
|
4828
5121
|
* @throws {RequiredError}
|
|
4829
5122
|
*/
|
|
4830
|
-
|
|
5123
|
+
codes(height?: number, options?: any): AxiosPromise<CodesResponse>;
|
|
4831
5124
|
};
|
|
4832
5125
|
/**
|
|
4833
|
-
*
|
|
5126
|
+
* CodesApi - object-oriented interface
|
|
4834
5127
|
* @export
|
|
4835
|
-
* @class
|
|
5128
|
+
* @class CodesApi
|
|
4836
5129
|
* @extends {BaseAPI}
|
|
4837
5130
|
*/
|
|
4838
|
-
export declare class
|
|
5131
|
+
export declare class CodesApi extends BaseAPI {
|
|
4839
5132
|
/**
|
|
4840
|
-
* Returns
|
|
4841
|
-
* @param {string} address
|
|
5133
|
+
* Returns all whitelisted contract codes
|
|
4842
5134
|
* @param {number} [height] optional block height, defaults to current tip
|
|
4843
5135
|
* @param {*} [options] Override http request option.
|
|
4844
5136
|
* @throws {RequiredError}
|
|
4845
|
-
* @memberof
|
|
5137
|
+
* @memberof CodesApi
|
|
4846
5138
|
*/
|
|
4847
|
-
|
|
5139
|
+
codes(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CodesResponse, any, {}>>;
|
|
4848
5140
|
}
|
|
4849
5141
|
/**
|
|
4850
5142
|
* ExportApi - axios parameter creator
|
|
@@ -4895,7 +5187,7 @@ export declare class ExportApi extends BaseAPI {
|
|
|
4895
5187
|
* @throws {RequiredError}
|
|
4896
5188
|
* @memberof ExportApi
|
|
4897
5189
|
*/
|
|
4898
|
-
_export(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
5190
|
+
_export(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
4899
5191
|
}
|
|
4900
5192
|
/**
|
|
4901
5193
|
* HealthApi - axios parameter creator
|
|
@@ -4946,7 +5238,7 @@ export declare class HealthApi extends BaseAPI {
|
|
|
4946
5238
|
* @throws {RequiredError}
|
|
4947
5239
|
* @memberof HealthApi
|
|
4948
5240
|
*/
|
|
4949
|
-
ping(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Ping, any>>;
|
|
5241
|
+
ping(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Ping, any, {}>>;
|
|
4950
5242
|
}
|
|
4951
5243
|
/**
|
|
4952
5244
|
* InvariantsApi - axios parameter creator
|
|
@@ -5026,7 +5318,7 @@ export declare class InvariantsApi extends BaseAPI {
|
|
|
5026
5318
|
* @throws {RequiredError}
|
|
5027
5319
|
* @memberof InvariantsApi
|
|
5028
5320
|
*/
|
|
5029
|
-
invariant(invariant: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InvariantResponse, any>>;
|
|
5321
|
+
invariant(invariant: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InvariantResponse, any, {}>>;
|
|
5030
5322
|
/**
|
|
5031
5323
|
* Returns a list of available invariants.
|
|
5032
5324
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -5034,7 +5326,98 @@ export declare class InvariantsApi extends BaseAPI {
|
|
|
5034
5326
|
* @throws {RequiredError}
|
|
5035
5327
|
* @memberof InvariantsApi
|
|
5036
5328
|
*/
|
|
5037
|
-
invariants(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InvariantsResponse, any>>;
|
|
5329
|
+
invariants(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InvariantsResponse, any, {}>>;
|
|
5330
|
+
}
|
|
5331
|
+
/**
|
|
5332
|
+
* LimitOrderApi - axios parameter creator
|
|
5333
|
+
* @export
|
|
5334
|
+
*/
|
|
5335
|
+
export declare const LimitOrderApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
5336
|
+
/**
|
|
5337
|
+
* Provide a limit order quote and memo for the provided limit order
|
|
5338
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5339
|
+
* @param {string} [fromAsset] the source asset
|
|
5340
|
+
* @param {string} [toAsset] the target asset
|
|
5341
|
+
* @param {number} [amount] the source asset amount in 1e8 decimals
|
|
5342
|
+
* @param {string} [destination] the destination address, required to generate memo
|
|
5343
|
+
* @param {string} [refundAddress] the refund address, refunds will be sent here if the swap fails
|
|
5344
|
+
* @param {number} [customTtl] the custom TTL in blocks for limit orders
|
|
5345
|
+
* @param {number} [streamingQuantity] the quantity of swaps within a streaming swap
|
|
5346
|
+
* @param {number} [affiliateBps] the affiliate fee in basis points
|
|
5347
|
+
* @param {string} [affiliate] the affiliate (address or thorname)
|
|
5348
|
+
* @param {*} [options] Override http request option.
|
|
5349
|
+
* @throws {RequiredError}
|
|
5350
|
+
*/
|
|
5351
|
+
quotelimit: (height?: number, fromAsset?: string, toAsset?: string, amount?: number, destination?: string, refundAddress?: string, customTtl?: number, streamingQuantity?: number, affiliateBps?: number, affiliate?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5352
|
+
};
|
|
5353
|
+
/**
|
|
5354
|
+
* LimitOrderApi - functional programming interface
|
|
5355
|
+
* @export
|
|
5356
|
+
*/
|
|
5357
|
+
export declare const LimitOrderApiFp: (configuration?: Configuration) => {
|
|
5358
|
+
/**
|
|
5359
|
+
* Provide a limit order quote and memo for the provided limit order
|
|
5360
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5361
|
+
* @param {string} [fromAsset] the source asset
|
|
5362
|
+
* @param {string} [toAsset] the target asset
|
|
5363
|
+
* @param {number} [amount] the source asset amount in 1e8 decimals
|
|
5364
|
+
* @param {string} [destination] the destination address, required to generate memo
|
|
5365
|
+
* @param {string} [refundAddress] the refund address, refunds will be sent here if the swap fails
|
|
5366
|
+
* @param {number} [customTtl] the custom TTL in blocks for limit orders
|
|
5367
|
+
* @param {number} [streamingQuantity] the quantity of swaps within a streaming swap
|
|
5368
|
+
* @param {number} [affiliateBps] the affiliate fee in basis points
|
|
5369
|
+
* @param {string} [affiliate] the affiliate (address or thorname)
|
|
5370
|
+
* @param {*} [options] Override http request option.
|
|
5371
|
+
* @throws {RequiredError}
|
|
5372
|
+
*/
|
|
5373
|
+
quotelimit(height?: number, fromAsset?: string, toAsset?: string, amount?: number, destination?: string, refundAddress?: string, customTtl?: number, streamingQuantity?: number, affiliateBps?: number, affiliate?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QuoteLimitResponse>>;
|
|
5374
|
+
};
|
|
5375
|
+
/**
|
|
5376
|
+
* LimitOrderApi - factory interface
|
|
5377
|
+
* @export
|
|
5378
|
+
*/
|
|
5379
|
+
export declare const LimitOrderApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
5380
|
+
/**
|
|
5381
|
+
* Provide a limit order quote and memo for the provided limit order
|
|
5382
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5383
|
+
* @param {string} [fromAsset] the source asset
|
|
5384
|
+
* @param {string} [toAsset] the target asset
|
|
5385
|
+
* @param {number} [amount] the source asset amount in 1e8 decimals
|
|
5386
|
+
* @param {string} [destination] the destination address, required to generate memo
|
|
5387
|
+
* @param {string} [refundAddress] the refund address, refunds will be sent here if the swap fails
|
|
5388
|
+
* @param {number} [customTtl] the custom TTL in blocks for limit orders
|
|
5389
|
+
* @param {number} [streamingQuantity] the quantity of swaps within a streaming swap
|
|
5390
|
+
* @param {number} [affiliateBps] the affiliate fee in basis points
|
|
5391
|
+
* @param {string} [affiliate] the affiliate (address or thorname)
|
|
5392
|
+
* @param {*} [options] Override http request option.
|
|
5393
|
+
* @throws {RequiredError}
|
|
5394
|
+
*/
|
|
5395
|
+
quotelimit(height?: number, fromAsset?: string, toAsset?: string, amount?: number, destination?: string, refundAddress?: string, customTtl?: number, streamingQuantity?: number, affiliateBps?: number, affiliate?: string, options?: any): AxiosPromise<QuoteLimitResponse>;
|
|
5396
|
+
};
|
|
5397
|
+
/**
|
|
5398
|
+
* LimitOrderApi - object-oriented interface
|
|
5399
|
+
* @export
|
|
5400
|
+
* @class LimitOrderApi
|
|
5401
|
+
* @extends {BaseAPI}
|
|
5402
|
+
*/
|
|
5403
|
+
export declare class LimitOrderApi extends BaseAPI {
|
|
5404
|
+
/**
|
|
5405
|
+
* Provide a limit order quote and memo for the provided limit order
|
|
5406
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5407
|
+
* @param {string} [fromAsset] the source asset
|
|
5408
|
+
* @param {string} [toAsset] the target asset
|
|
5409
|
+
* @param {number} [amount] the source asset amount in 1e8 decimals
|
|
5410
|
+
* @param {string} [destination] the destination address, required to generate memo
|
|
5411
|
+
* @param {string} [refundAddress] the refund address, refunds will be sent here if the swap fails
|
|
5412
|
+
* @param {number} [customTtl] the custom TTL in blocks for limit orders
|
|
5413
|
+
* @param {number} [streamingQuantity] the quantity of swaps within a streaming swap
|
|
5414
|
+
* @param {number} [affiliateBps] the affiliate fee in basis points
|
|
5415
|
+
* @param {string} [affiliate] the affiliate (address or thorname)
|
|
5416
|
+
* @param {*} [options] Override http request option.
|
|
5417
|
+
* @throws {RequiredError}
|
|
5418
|
+
* @memberof LimitOrderApi
|
|
5419
|
+
*/
|
|
5420
|
+
quotelimit(height?: number, fromAsset?: string, toAsset?: string, amount?: number, destination?: string, refundAddress?: string, customTtl?: number, streamingQuantity?: number, affiliateBps?: number, affiliate?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<QuoteLimitResponse, any, {}>>;
|
|
5038
5421
|
}
|
|
5039
5422
|
/**
|
|
5040
5423
|
* LiquidityProvidersApi - axios parameter creator
|
|
@@ -5121,7 +5504,7 @@ export declare class LiquidityProvidersApi extends BaseAPI {
|
|
|
5121
5504
|
* @throws {RequiredError}
|
|
5122
5505
|
* @memberof LiquidityProvidersApi
|
|
5123
5506
|
*/
|
|
5124
|
-
liquidityProvider(asset: string, address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LiquidityProvider, any>>;
|
|
5507
|
+
liquidityProvider(asset: string, address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LiquidityProvider, any, {}>>;
|
|
5125
5508
|
/**
|
|
5126
5509
|
* Returns all liquidity provider information for an asset.
|
|
5127
5510
|
* @param {string} asset
|
|
@@ -5130,7 +5513,7 @@ export declare class LiquidityProvidersApi extends BaseAPI {
|
|
|
5130
5513
|
* @throws {RequiredError}
|
|
5131
5514
|
* @memberof LiquidityProvidersApi
|
|
5132
5515
|
*/
|
|
5133
|
-
liquidityProviders(asset: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LiquidityProvidersResponse, any>>;
|
|
5516
|
+
liquidityProviders(asset: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LiquidityProvidersResponse, any, {}>>;
|
|
5134
5517
|
}
|
|
5135
5518
|
/**
|
|
5136
5519
|
* MimirApi - axios parameter creator
|
|
@@ -5275,7 +5658,7 @@ export declare class MimirApi extends BaseAPI {
|
|
|
5275
5658
|
* @throws {RequiredError}
|
|
5276
5659
|
* @memberof MimirApi
|
|
5277
5660
|
*/
|
|
5278
|
-
mimir(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MimirResponse, any>>;
|
|
5661
|
+
mimir(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MimirResponse, any, {}>>;
|
|
5279
5662
|
/**
|
|
5280
5663
|
* Returns current admin mimir configuration.
|
|
5281
5664
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -5283,7 +5666,7 @@ export declare class MimirApi extends BaseAPI {
|
|
|
5283
5666
|
* @throws {RequiredError}
|
|
5284
5667
|
* @memberof MimirApi
|
|
5285
5668
|
*/
|
|
5286
|
-
mimirAdmin(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MimirResponse, any>>;
|
|
5669
|
+
mimirAdmin(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MimirResponse, any, {}>>;
|
|
5287
5670
|
/**
|
|
5288
5671
|
* Returns current active mimir configuration for the provided key.
|
|
5289
5672
|
* @param {string} key the mimir key to lookup
|
|
@@ -5292,7 +5675,7 @@ export declare class MimirApi extends BaseAPI {
|
|
|
5292
5675
|
* @throws {RequiredError}
|
|
5293
5676
|
* @memberof MimirApi
|
|
5294
5677
|
*/
|
|
5295
|
-
mimirKey(key: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<number, any>>;
|
|
5678
|
+
mimirKey(key: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<number, any, {}>>;
|
|
5296
5679
|
/**
|
|
5297
5680
|
* Returns current node mimir configuration for the provided node address.
|
|
5298
5681
|
* @param {string} address
|
|
@@ -5301,7 +5684,7 @@ export declare class MimirApi extends BaseAPI {
|
|
|
5301
5684
|
* @throws {RequiredError}
|
|
5302
5685
|
* @memberof MimirApi
|
|
5303
5686
|
*/
|
|
5304
|
-
mimirNode(address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MimirResponse, any>>;
|
|
5687
|
+
mimirNode(address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MimirResponse, any, {}>>;
|
|
5305
5688
|
/**
|
|
5306
5689
|
* Returns current node mimir votes.
|
|
5307
5690
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -5309,7 +5692,7 @@ export declare class MimirApi extends BaseAPI {
|
|
|
5309
5692
|
* @throws {RequiredError}
|
|
5310
5693
|
* @memberof MimirApi
|
|
5311
5694
|
*/
|
|
5312
|
-
mimirNodes(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MimirNodesResponse, any>>;
|
|
5695
|
+
mimirNodes(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MimirNodesResponse, any, {}>>;
|
|
5313
5696
|
}
|
|
5314
5697
|
/**
|
|
5315
5698
|
* NetworkApi - axios parameter creator
|
|
@@ -5632,7 +6015,7 @@ export declare class NetworkApi extends BaseAPI {
|
|
|
5632
6015
|
* @throws {RequiredError}
|
|
5633
6016
|
* @memberof NetworkApi
|
|
5634
6017
|
*/
|
|
5635
|
-
ban(address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BanResponse, any>>;
|
|
6018
|
+
ban(address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BanResponse, any, {}>>;
|
|
5636
6019
|
/**
|
|
5637
6020
|
* Returns constant configuration, can be overridden by mimir.
|
|
5638
6021
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -5640,7 +6023,7 @@ export declare class NetworkApi extends BaseAPI {
|
|
|
5640
6023
|
* @throws {RequiredError}
|
|
5641
6024
|
* @memberof NetworkApi
|
|
5642
6025
|
*/
|
|
5643
|
-
constants(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ConstantsResponse, any>>;
|
|
6026
|
+
constants(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ConstantsResponse, any, {}>>;
|
|
5644
6027
|
/**
|
|
5645
6028
|
* Returns the set of asgard addresses that should be used for inbound transactions.
|
|
5646
6029
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -5648,7 +6031,7 @@ export declare class NetworkApi extends BaseAPI {
|
|
|
5648
6031
|
* @throws {RequiredError}
|
|
5649
6032
|
* @memberof NetworkApi
|
|
5650
6033
|
*/
|
|
5651
|
-
inboundAddresses(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InboundAddressesResponse, any>>;
|
|
6034
|
+
inboundAddresses(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InboundAddressesResponse, any, {}>>;
|
|
5652
6035
|
/**
|
|
5653
6036
|
* Returns the last block information for all chains.
|
|
5654
6037
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -5656,7 +6039,7 @@ export declare class NetworkApi extends BaseAPI {
|
|
|
5656
6039
|
* @throws {RequiredError}
|
|
5657
6040
|
* @memberof NetworkApi
|
|
5658
6041
|
*/
|
|
5659
|
-
lastblock(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LastBlockResponse, any>>;
|
|
6042
|
+
lastblock(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LastBlockResponse, any, {}>>;
|
|
5660
6043
|
/**
|
|
5661
6044
|
* Returns the last block information for the provided chain.
|
|
5662
6045
|
* @param {string} chain
|
|
@@ -5665,7 +6048,7 @@ export declare class NetworkApi extends BaseAPI {
|
|
|
5665
6048
|
* @throws {RequiredError}
|
|
5666
6049
|
* @memberof NetworkApi
|
|
5667
6050
|
*/
|
|
5668
|
-
lastblockChain(chain: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LastBlockResponse, any>>;
|
|
6051
|
+
lastblockChain(chain: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LastBlockResponse, any, {}>>;
|
|
5669
6052
|
/**
|
|
5670
6053
|
* Returns network overview statistics.
|
|
5671
6054
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -5673,7 +6056,7 @@ export declare class NetworkApi extends BaseAPI {
|
|
|
5673
6056
|
* @throws {RequiredError}
|
|
5674
6057
|
* @memberof NetworkApi
|
|
5675
6058
|
*/
|
|
5676
|
-
network(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<NetworkResponse, any>>;
|
|
6059
|
+
network(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<NetworkResponse, any, {}>>;
|
|
5677
6060
|
/**
|
|
5678
6061
|
* Returns the outbound fee information for the provided asset.
|
|
5679
6062
|
* @param {string} asset
|
|
@@ -5682,7 +6065,7 @@ export declare class NetworkApi extends BaseAPI {
|
|
|
5682
6065
|
* @throws {RequiredError}
|
|
5683
6066
|
* @memberof NetworkApi
|
|
5684
6067
|
*/
|
|
5685
|
-
outboundFeeAsset(asset: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OutboundFeesResponse, any>>;
|
|
6068
|
+
outboundFeeAsset(asset: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OutboundFeesResponse, any, {}>>;
|
|
5686
6069
|
/**
|
|
5687
6070
|
* Returns the last block information for all chains.
|
|
5688
6071
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -5690,7 +6073,7 @@ export declare class NetworkApi extends BaseAPI {
|
|
|
5690
6073
|
* @throws {RequiredError}
|
|
5691
6074
|
* @memberof NetworkApi
|
|
5692
6075
|
*/
|
|
5693
|
-
outboundFees(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OutboundFeesResponse, any>>;
|
|
6076
|
+
outboundFees(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OutboundFeesResponse, any, {}>>;
|
|
5694
6077
|
/**
|
|
5695
6078
|
* Returns a boolean indicating whether the chain is in ragnarok.
|
|
5696
6079
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -5698,7 +6081,7 @@ export declare class NetworkApi extends BaseAPI {
|
|
|
5698
6081
|
* @throws {RequiredError}
|
|
5699
6082
|
* @memberof NetworkApi
|
|
5700
6083
|
*/
|
|
5701
|
-
ragnarok(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
6084
|
+
ragnarok(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any, {}>>;
|
|
5702
6085
|
/**
|
|
5703
6086
|
* Returns the upgrade proposal for the provided name.
|
|
5704
6087
|
* @param {string} name
|
|
@@ -5707,7 +6090,7 @@ export declare class NetworkApi extends BaseAPI {
|
|
|
5707
6090
|
* @throws {RequiredError}
|
|
5708
6091
|
* @memberof NetworkApi
|
|
5709
6092
|
*/
|
|
5710
|
-
upgradeProposal(name: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpgradeProposal, any>>;
|
|
6093
|
+
upgradeProposal(name: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpgradeProposal, any, {}>>;
|
|
5711
6094
|
/**
|
|
5712
6095
|
* Returns the current upgrade proposals.
|
|
5713
6096
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -5715,7 +6098,7 @@ export declare class NetworkApi extends BaseAPI {
|
|
|
5715
6098
|
* @throws {RequiredError}
|
|
5716
6099
|
* @memberof NetworkApi
|
|
5717
6100
|
*/
|
|
5718
|
-
upgradeProposals(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpgradeProposalsResponse, any>>;
|
|
6101
|
+
upgradeProposals(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpgradeProposalsResponse, any, {}>>;
|
|
5719
6102
|
/**
|
|
5720
6103
|
* Returns the upgrade votes for the provided name.
|
|
5721
6104
|
* @param {string} name
|
|
@@ -5724,7 +6107,7 @@ export declare class NetworkApi extends BaseAPI {
|
|
|
5724
6107
|
* @throws {RequiredError}
|
|
5725
6108
|
* @memberof NetworkApi
|
|
5726
6109
|
*/
|
|
5727
|
-
upgradeVotes(name: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpgradeVotesResponse, any>>;
|
|
6110
|
+
upgradeVotes(name: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpgradeVotesResponse, any, {}>>;
|
|
5728
6111
|
/**
|
|
5729
6112
|
* Returns the network\'s current THORNode version, the network\'s next THORNode version, and the querier\'s THORNode version.
|
|
5730
6113
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -5732,7 +6115,7 @@ export declare class NetworkApi extends BaseAPI {
|
|
|
5732
6115
|
* @throws {RequiredError}
|
|
5733
6116
|
* @memberof NetworkApi
|
|
5734
6117
|
*/
|
|
5735
|
-
version(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VersionResponse, any>>;
|
|
6118
|
+
version(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VersionResponse, any, {}>>;
|
|
5736
6119
|
}
|
|
5737
6120
|
/**
|
|
5738
6121
|
* NodesApi - axios parameter creator
|
|
@@ -5812,7 +6195,7 @@ export declare class NodesApi extends BaseAPI {
|
|
|
5812
6195
|
* @throws {RequiredError}
|
|
5813
6196
|
* @memberof NodesApi
|
|
5814
6197
|
*/
|
|
5815
|
-
node(address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Node, any>>;
|
|
6198
|
+
node(address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Node, any, {}>>;
|
|
5816
6199
|
/**
|
|
5817
6200
|
* Returns node information for all registered validators.
|
|
5818
6201
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -5820,7 +6203,95 @@ export declare class NodesApi extends BaseAPI {
|
|
|
5820
6203
|
* @throws {RequiredError}
|
|
5821
6204
|
* @memberof NodesApi
|
|
5822
6205
|
*/
|
|
5823
|
-
nodes(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<NodesResponse, any>>;
|
|
6206
|
+
nodes(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<NodesResponse, any, {}>>;
|
|
6207
|
+
}
|
|
6208
|
+
/**
|
|
6209
|
+
* OracleApi - axios parameter creator
|
|
6210
|
+
* @export
|
|
6211
|
+
*/
|
|
6212
|
+
export declare const OracleApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
6213
|
+
/**
|
|
6214
|
+
* Returns oracle price for a symbol.
|
|
6215
|
+
* @param {string} symbol
|
|
6216
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
6217
|
+
* @param {*} [options] Override http request option.
|
|
6218
|
+
* @throws {RequiredError}
|
|
6219
|
+
*/
|
|
6220
|
+
oraclePrice: (symbol: string, height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6221
|
+
/**
|
|
6222
|
+
* Returns all available oracle prices.
|
|
6223
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
6224
|
+
* @param {*} [options] Override http request option.
|
|
6225
|
+
* @throws {RequiredError}
|
|
6226
|
+
*/
|
|
6227
|
+
oraclePrices: (height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6228
|
+
};
|
|
6229
|
+
/**
|
|
6230
|
+
* OracleApi - functional programming interface
|
|
6231
|
+
* @export
|
|
6232
|
+
*/
|
|
6233
|
+
export declare const OracleApiFp: (configuration?: Configuration) => {
|
|
6234
|
+
/**
|
|
6235
|
+
* Returns oracle price for a symbol.
|
|
6236
|
+
* @param {string} symbol
|
|
6237
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
6238
|
+
* @param {*} [options] Override http request option.
|
|
6239
|
+
* @throws {RequiredError}
|
|
6240
|
+
*/
|
|
6241
|
+
oraclePrice(symbol: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OraclePriceResponse>>;
|
|
6242
|
+
/**
|
|
6243
|
+
* Returns all available oracle prices.
|
|
6244
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
6245
|
+
* @param {*} [options] Override http request option.
|
|
6246
|
+
* @throws {RequiredError}
|
|
6247
|
+
*/
|
|
6248
|
+
oraclePrices(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OraclePricesResponse>>;
|
|
6249
|
+
};
|
|
6250
|
+
/**
|
|
6251
|
+
* OracleApi - factory interface
|
|
6252
|
+
* @export
|
|
6253
|
+
*/
|
|
6254
|
+
export declare const OracleApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
6255
|
+
/**
|
|
6256
|
+
* Returns oracle price for a symbol.
|
|
6257
|
+
* @param {string} symbol
|
|
6258
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
6259
|
+
* @param {*} [options] Override http request option.
|
|
6260
|
+
* @throws {RequiredError}
|
|
6261
|
+
*/
|
|
6262
|
+
oraclePrice(symbol: string, height?: number, options?: any): AxiosPromise<OraclePriceResponse>;
|
|
6263
|
+
/**
|
|
6264
|
+
* Returns all available oracle prices.
|
|
6265
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
6266
|
+
* @param {*} [options] Override http request option.
|
|
6267
|
+
* @throws {RequiredError}
|
|
6268
|
+
*/
|
|
6269
|
+
oraclePrices(height?: number, options?: any): AxiosPromise<OraclePricesResponse>;
|
|
6270
|
+
};
|
|
6271
|
+
/**
|
|
6272
|
+
* OracleApi - object-oriented interface
|
|
6273
|
+
* @export
|
|
6274
|
+
* @class OracleApi
|
|
6275
|
+
* @extends {BaseAPI}
|
|
6276
|
+
*/
|
|
6277
|
+
export declare class OracleApi extends BaseAPI {
|
|
6278
|
+
/**
|
|
6279
|
+
* Returns oracle price for a symbol.
|
|
6280
|
+
* @param {string} symbol
|
|
6281
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
6282
|
+
* @param {*} [options] Override http request option.
|
|
6283
|
+
* @throws {RequiredError}
|
|
6284
|
+
* @memberof OracleApi
|
|
6285
|
+
*/
|
|
6286
|
+
oraclePrice(symbol: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OraclePriceResponse, any, {}>>;
|
|
6287
|
+
/**
|
|
6288
|
+
* Returns all available oracle prices.
|
|
6289
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
6290
|
+
* @param {*} [options] Override http request option.
|
|
6291
|
+
* @throws {RequiredError}
|
|
6292
|
+
* @memberof OracleApi
|
|
6293
|
+
*/
|
|
6294
|
+
oraclePrices(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OraclePricesResponse, any, {}>>;
|
|
5824
6295
|
}
|
|
5825
6296
|
/**
|
|
5826
6297
|
* PoolSlipApi - axios parameter creator
|
|
@@ -5900,7 +6371,7 @@ export declare class PoolSlipApi extends BaseAPI {
|
|
|
5900
6371
|
* @throws {RequiredError}
|
|
5901
6372
|
* @memberof PoolSlipApi
|
|
5902
6373
|
*/
|
|
5903
|
-
poolslip(asset: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PoolSlipResponse, any>>;
|
|
6374
|
+
poolslip(asset: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PoolSlipResponse, any, {}>>;
|
|
5904
6375
|
/**
|
|
5905
6376
|
* Returns the pool slip information for all Available Layer 1 pool assets.
|
|
5906
6377
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -5908,7 +6379,7 @@ export declare class PoolSlipApi extends BaseAPI {
|
|
|
5908
6379
|
* @throws {RequiredError}
|
|
5909
6380
|
* @memberof PoolSlipApi
|
|
5910
6381
|
*/
|
|
5911
|
-
poolslips(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PoolSlipResponse, any>>;
|
|
6382
|
+
poolslips(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PoolSlipResponse, any, {}>>;
|
|
5912
6383
|
}
|
|
5913
6384
|
/**
|
|
5914
6385
|
* PoolsApi - axios parameter creator
|
|
@@ -6033,7 +6504,7 @@ export declare class PoolsApi extends BaseAPI {
|
|
|
6033
6504
|
* @throws {RequiredError}
|
|
6034
6505
|
* @memberof PoolsApi
|
|
6035
6506
|
*/
|
|
6036
|
-
dpool(asset: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DerivedPool, any>>;
|
|
6507
|
+
dpool(asset: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DerivedPool, any, {}>>;
|
|
6037
6508
|
/**
|
|
6038
6509
|
* Returns the pool information for all derived assets.
|
|
6039
6510
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -6041,7 +6512,7 @@ export declare class PoolsApi extends BaseAPI {
|
|
|
6041
6512
|
* @throws {RequiredError}
|
|
6042
6513
|
* @memberof PoolsApi
|
|
6043
6514
|
*/
|
|
6044
|
-
dpools(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DerivedPoolsResponse, any>>;
|
|
6515
|
+
dpools(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DerivedPoolsResponse, any, {}>>;
|
|
6045
6516
|
/**
|
|
6046
6517
|
* Returns the pool information for the provided asset.
|
|
6047
6518
|
* @param {string} asset
|
|
@@ -6050,7 +6521,7 @@ export declare class PoolsApi extends BaseAPI {
|
|
|
6050
6521
|
* @throws {RequiredError}
|
|
6051
6522
|
* @memberof PoolsApi
|
|
6052
6523
|
*/
|
|
6053
|
-
pool(asset: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Pool, any>>;
|
|
6524
|
+
pool(asset: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Pool, any, {}>>;
|
|
6054
6525
|
/**
|
|
6055
6526
|
* Returns the pool information for all assets.
|
|
6056
6527
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -6058,13 +6529,36 @@ export declare class PoolsApi extends BaseAPI {
|
|
|
6058
6529
|
* @throws {RequiredError}
|
|
6059
6530
|
* @memberof PoolsApi
|
|
6060
6531
|
*/
|
|
6061
|
-
pools(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PoolsResponse, any>>;
|
|
6532
|
+
pools(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PoolsResponse, any, {}>>;
|
|
6062
6533
|
}
|
|
6063
6534
|
/**
|
|
6064
6535
|
* QueueApi - axios parameter creator
|
|
6065
6536
|
* @export
|
|
6066
6537
|
*/
|
|
6067
6538
|
export declare const QueueApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
6539
|
+
/**
|
|
6540
|
+
* Returns limit swaps with pagination and filtering.
|
|
6541
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
6542
|
+
* @param {number} [offset] Number of items to skip
|
|
6543
|
+
* @param {number} [limit] Number of items to return
|
|
6544
|
+
* @param {string} [sourceAsset] Filter by source asset (e.g., \"BTC.BTC\")
|
|
6545
|
+
* @param {string} [targetAsset] Filter by target asset (e.g., \"ETH.ETH\")
|
|
6546
|
+
* @param {string} [sender] Filter by sender address
|
|
6547
|
+
* @param {'ratio' | 'age' | 'amount' | 'created_height'} [sortBy] Sort by field
|
|
6548
|
+
* @param {'asc' | 'desc'} [sortOrder] Sort order
|
|
6549
|
+
* @param {*} [options] Override http request option.
|
|
6550
|
+
* @throws {RequiredError}
|
|
6551
|
+
*/
|
|
6552
|
+
limitSwaps: (height?: number, offset?: number, limit?: number, sourceAsset?: string, targetAsset?: string, sender?: string, sortBy?: "ratio" | "age" | "amount" | "created_height", sortOrder?: "asc" | "desc", options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6553
|
+
/**
|
|
6554
|
+
* Returns limit swaps summary statistics.
|
|
6555
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
6556
|
+
* @param {string} [sourceAsset] Filter by source asset (e.g., \"BTC.BTC\")
|
|
6557
|
+
* @param {string} [targetAsset] Filter by target asset (e.g., \"ETH.ETH\")
|
|
6558
|
+
* @param {*} [options] Override http request option.
|
|
6559
|
+
* @throws {RequiredError}
|
|
6560
|
+
*/
|
|
6561
|
+
limitSwapsSummary: (height?: number, sourceAsset?: string, targetAsset?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6068
6562
|
/**
|
|
6069
6563
|
* Returns queue statistics.
|
|
6070
6564
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -6099,6 +6593,29 @@ export declare const QueueApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
6099
6593
|
* @export
|
|
6100
6594
|
*/
|
|
6101
6595
|
export declare const QueueApiFp: (configuration?: Configuration) => {
|
|
6596
|
+
/**
|
|
6597
|
+
* Returns limit swaps with pagination and filtering.
|
|
6598
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
6599
|
+
* @param {number} [offset] Number of items to skip
|
|
6600
|
+
* @param {number} [limit] Number of items to return
|
|
6601
|
+
* @param {string} [sourceAsset] Filter by source asset (e.g., \"BTC.BTC\")
|
|
6602
|
+
* @param {string} [targetAsset] Filter by target asset (e.g., \"ETH.ETH\")
|
|
6603
|
+
* @param {string} [sender] Filter by sender address
|
|
6604
|
+
* @param {'ratio' | 'age' | 'amount' | 'created_height'} [sortBy] Sort by field
|
|
6605
|
+
* @param {'asc' | 'desc'} [sortOrder] Sort order
|
|
6606
|
+
* @param {*} [options] Override http request option.
|
|
6607
|
+
* @throws {RequiredError}
|
|
6608
|
+
*/
|
|
6609
|
+
limitSwaps(height?: number, offset?: number, limit?: number, sourceAsset?: string, targetAsset?: string, sender?: string, sortBy?: "ratio" | "age" | "amount" | "created_height", sortOrder?: "asc" | "desc", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LimitSwapsResponse>>;
|
|
6610
|
+
/**
|
|
6611
|
+
* Returns limit swaps summary statistics.
|
|
6612
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
6613
|
+
* @param {string} [sourceAsset] Filter by source asset (e.g., \"BTC.BTC\")
|
|
6614
|
+
* @param {string} [targetAsset] Filter by target asset (e.g., \"ETH.ETH\")
|
|
6615
|
+
* @param {*} [options] Override http request option.
|
|
6616
|
+
* @throws {RequiredError}
|
|
6617
|
+
*/
|
|
6618
|
+
limitSwapsSummary(height?: number, sourceAsset?: string, targetAsset?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LimitSwapsSummaryResponse>>;
|
|
6102
6619
|
/**
|
|
6103
6620
|
* Returns queue statistics.
|
|
6104
6621
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -6133,6 +6650,29 @@ export declare const QueueApiFp: (configuration?: Configuration) => {
|
|
|
6133
6650
|
* @export
|
|
6134
6651
|
*/
|
|
6135
6652
|
export declare const QueueApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
6653
|
+
/**
|
|
6654
|
+
* Returns limit swaps with pagination and filtering.
|
|
6655
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
6656
|
+
* @param {number} [offset] Number of items to skip
|
|
6657
|
+
* @param {number} [limit] Number of items to return
|
|
6658
|
+
* @param {string} [sourceAsset] Filter by source asset (e.g., \"BTC.BTC\")
|
|
6659
|
+
* @param {string} [targetAsset] Filter by target asset (e.g., \"ETH.ETH\")
|
|
6660
|
+
* @param {string} [sender] Filter by sender address
|
|
6661
|
+
* @param {'ratio' | 'age' | 'amount' | 'created_height'} [sortBy] Sort by field
|
|
6662
|
+
* @param {'asc' | 'desc'} [sortOrder] Sort order
|
|
6663
|
+
* @param {*} [options] Override http request option.
|
|
6664
|
+
* @throws {RequiredError}
|
|
6665
|
+
*/
|
|
6666
|
+
limitSwaps(height?: number, offset?: number, limit?: number, sourceAsset?: string, targetAsset?: string, sender?: string, sortBy?: "ratio" | "age" | "amount" | "created_height", sortOrder?: "asc" | "desc", options?: any): AxiosPromise<LimitSwapsResponse>;
|
|
6667
|
+
/**
|
|
6668
|
+
* Returns limit swaps summary statistics.
|
|
6669
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
6670
|
+
* @param {string} [sourceAsset] Filter by source asset (e.g., \"BTC.BTC\")
|
|
6671
|
+
* @param {string} [targetAsset] Filter by target asset (e.g., \"ETH.ETH\")
|
|
6672
|
+
* @param {*} [options] Override http request option.
|
|
6673
|
+
* @throws {RequiredError}
|
|
6674
|
+
*/
|
|
6675
|
+
limitSwapsSummary(height?: number, sourceAsset?: string, targetAsset?: string, options?: any): AxiosPromise<LimitSwapsSummaryResponse>;
|
|
6136
6676
|
/**
|
|
6137
6677
|
* Returns queue statistics.
|
|
6138
6678
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -6170,88 +6710,68 @@ export declare const QueueApiFactory: (configuration?: Configuration, basePath?:
|
|
|
6170
6710
|
*/
|
|
6171
6711
|
export declare class QueueApi extends BaseAPI {
|
|
6172
6712
|
/**
|
|
6173
|
-
* Returns
|
|
6713
|
+
* Returns limit swaps with pagination and filtering.
|
|
6174
6714
|
* @param {number} [height] optional block height, defaults to current tip
|
|
6715
|
+
* @param {number} [offset] Number of items to skip
|
|
6716
|
+
* @param {number} [limit] Number of items to return
|
|
6717
|
+
* @param {string} [sourceAsset] Filter by source asset (e.g., \"BTC.BTC\")
|
|
6718
|
+
* @param {string} [targetAsset] Filter by target asset (e.g., \"ETH.ETH\")
|
|
6719
|
+
* @param {string} [sender] Filter by sender address
|
|
6720
|
+
* @param {'ratio' | 'age' | 'amount' | 'created_height'} [sortBy] Sort by field
|
|
6721
|
+
* @param {'asc' | 'desc'} [sortOrder] Sort order
|
|
6175
6722
|
* @param {*} [options] Override http request option.
|
|
6176
6723
|
* @throws {RequiredError}
|
|
6177
6724
|
* @memberof QueueApi
|
|
6178
6725
|
*/
|
|
6179
|
-
|
|
6726
|
+
limitSwaps(height?: number, offset?: number, limit?: number, sourceAsset?: string, targetAsset?: string, sender?: string, sortBy?: 'ratio' | 'age' | 'amount' | 'created_height', sortOrder?: 'asc' | 'desc', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LimitSwapsResponse, any, {}>>;
|
|
6180
6727
|
/**
|
|
6181
|
-
* Returns
|
|
6728
|
+
* Returns limit swaps summary statistics.
|
|
6182
6729
|
* @param {number} [height] optional block height, defaults to current tip
|
|
6730
|
+
* @param {string} [sourceAsset] Filter by source asset (e.g., \"BTC.BTC\")
|
|
6731
|
+
* @param {string} [targetAsset] Filter by target asset (e.g., \"ETH.ETH\")
|
|
6183
6732
|
* @param {*} [options] Override http request option.
|
|
6184
6733
|
* @throws {RequiredError}
|
|
6185
6734
|
* @memberof QueueApi
|
|
6186
6735
|
*/
|
|
6187
|
-
|
|
6736
|
+
limitSwapsSummary(height?: number, sourceAsset?: string, targetAsset?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LimitSwapsSummaryResponse, any, {}>>;
|
|
6188
6737
|
/**
|
|
6189
|
-
* Returns
|
|
6738
|
+
* Returns queue statistics.
|
|
6190
6739
|
* @param {number} [height] optional block height, defaults to current tip
|
|
6191
6740
|
* @param {*} [options] Override http request option.
|
|
6192
6741
|
* @throws {RequiredError}
|
|
6193
6742
|
* @memberof QueueApi
|
|
6194
6743
|
*/
|
|
6195
|
-
|
|
6744
|
+
queue(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<QueueResponse, any, {}>>;
|
|
6196
6745
|
/**
|
|
6197
|
-
* Returns the
|
|
6746
|
+
* Returns the outbound queue including estimated RUNE values.
|
|
6198
6747
|
* @param {number} [height] optional block height, defaults to current tip
|
|
6199
6748
|
* @param {*} [options] Override http request option.
|
|
6200
6749
|
* @throws {RequiredError}
|
|
6201
6750
|
* @memberof QueueApi
|
|
6202
6751
|
*/
|
|
6203
|
-
|
|
6204
|
-
}
|
|
6205
|
-
/**
|
|
6206
|
-
* QuoteApi - axios parameter creator
|
|
6207
|
-
* @export
|
|
6208
|
-
*/
|
|
6209
|
-
export declare const QuoteApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
6210
|
-
/**
|
|
6211
|
-
* Provide a quote estimate for the provided loan close.
|
|
6212
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
6213
|
-
* @param {string} [fromAsset] the asset used to repay the loan
|
|
6214
|
-
* @param {number} [repayBps] the basis points of the existing position to repay
|
|
6215
|
-
* @param {string} [toAsset] the collateral asset of the loan
|
|
6216
|
-
* @param {string} [loanOwner] the owner of the loan collateral
|
|
6217
|
-
* @param {string} [minOut] the minimum amount of the target asset to accept
|
|
6218
|
-
* @param {*} [options] Override http request option.
|
|
6219
|
-
* @throws {RequiredError}
|
|
6220
|
-
*/
|
|
6221
|
-
quoteloanclose: (height?: number, fromAsset?: string, repayBps?: number, toAsset?: string, loanOwner?: string, minOut?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6222
|
-
/**
|
|
6223
|
-
* Provide a quote estimate for the provided loan open.
|
|
6224
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
6225
|
-
* @param {string} [fromAsset] the collateral asset
|
|
6226
|
-
* @param {number} [amount] the collateral asset amount in 1e8 decimals
|
|
6227
|
-
* @param {string} [toAsset] the target asset to receive (loan denominated in TOR regardless)
|
|
6228
|
-
* @param {string} [destination] the destination address, required to generate memo
|
|
6229
|
-
* @param {string} [minOut] the minimum amount of the target asset to accept
|
|
6230
|
-
* @param {number} [affiliateBps] the affiliate fee in basis points
|
|
6231
|
-
* @param {string} [affiliate] the affiliate (address or thorname)
|
|
6232
|
-
* @param {*} [options] Override http request option.
|
|
6233
|
-
* @throws {RequiredError}
|
|
6234
|
-
*/
|
|
6235
|
-
quoteloanopen: (height?: number, fromAsset?: string, amount?: number, toAsset?: string, destination?: string, minOut?: string, affiliateBps?: number, affiliate?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6752
|
+
queueOutbound(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OutboundResponse, any, {}>>;
|
|
6236
6753
|
/**
|
|
6237
|
-
*
|
|
6754
|
+
* Returns the scheduled queue.
|
|
6238
6755
|
* @param {number} [height] optional block height, defaults to current tip
|
|
6239
|
-
* @param {string} [asset] the asset to deposit
|
|
6240
|
-
* @param {number} [amount] the source asset amount in 1e8 decimals
|
|
6241
6756
|
* @param {*} [options] Override http request option.
|
|
6242
6757
|
* @throws {RequiredError}
|
|
6758
|
+
* @memberof QueueApi
|
|
6243
6759
|
*/
|
|
6244
|
-
|
|
6760
|
+
queueScheduled(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ScheduledResponse, any, {}>>;
|
|
6245
6761
|
/**
|
|
6246
|
-
*
|
|
6762
|
+
* Returns the swap queue.
|
|
6247
6763
|
* @param {number} [height] optional block height, defaults to current tip
|
|
6248
|
-
* @param {string} [asset] the asset to withdraw
|
|
6249
|
-
* @param {string} [address] the address for the position
|
|
6250
|
-
* @param {number} [withdrawBps] the basis points of the existing position to withdraw
|
|
6251
6764
|
* @param {*} [options] Override http request option.
|
|
6252
6765
|
* @throws {RequiredError}
|
|
6766
|
+
* @memberof QueueApi
|
|
6253
6767
|
*/
|
|
6254
|
-
|
|
6768
|
+
queueSwap(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SwapQueueResponse, any, {}>>;
|
|
6769
|
+
}
|
|
6770
|
+
/**
|
|
6771
|
+
* QuoteApi - axios parameter creator
|
|
6772
|
+
* @export
|
|
6773
|
+
*/
|
|
6774
|
+
export declare const QuoteApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
6255
6775
|
/**
|
|
6256
6776
|
* Provide a quote estimate for the provided swap.
|
|
6257
6777
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -6276,51 +6796,6 @@ export declare const QuoteApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
6276
6796
|
* @export
|
|
6277
6797
|
*/
|
|
6278
6798
|
export declare const QuoteApiFp: (configuration?: Configuration) => {
|
|
6279
|
-
/**
|
|
6280
|
-
* Provide a quote estimate for the provided loan close.
|
|
6281
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
6282
|
-
* @param {string} [fromAsset] the asset used to repay the loan
|
|
6283
|
-
* @param {number} [repayBps] the basis points of the existing position to repay
|
|
6284
|
-
* @param {string} [toAsset] the collateral asset of the loan
|
|
6285
|
-
* @param {string} [loanOwner] the owner of the loan collateral
|
|
6286
|
-
* @param {string} [minOut] the minimum amount of the target asset to accept
|
|
6287
|
-
* @param {*} [options] Override http request option.
|
|
6288
|
-
* @throws {RequiredError}
|
|
6289
|
-
*/
|
|
6290
|
-
quoteloanclose(height?: number, fromAsset?: string, repayBps?: number, toAsset?: string, loanOwner?: string, minOut?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QuoteLoanCloseResponse>>;
|
|
6291
|
-
/**
|
|
6292
|
-
* Provide a quote estimate for the provided loan open.
|
|
6293
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
6294
|
-
* @param {string} [fromAsset] the collateral asset
|
|
6295
|
-
* @param {number} [amount] the collateral asset amount in 1e8 decimals
|
|
6296
|
-
* @param {string} [toAsset] the target asset to receive (loan denominated in TOR regardless)
|
|
6297
|
-
* @param {string} [destination] the destination address, required to generate memo
|
|
6298
|
-
* @param {string} [minOut] the minimum amount of the target asset to accept
|
|
6299
|
-
* @param {number} [affiliateBps] the affiliate fee in basis points
|
|
6300
|
-
* @param {string} [affiliate] the affiliate (address or thorname)
|
|
6301
|
-
* @param {*} [options] Override http request option.
|
|
6302
|
-
* @throws {RequiredError}
|
|
6303
|
-
*/
|
|
6304
|
-
quoteloanopen(height?: number, fromAsset?: string, amount?: number, toAsset?: string, destination?: string, minOut?: string, affiliateBps?: number, affiliate?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QuoteLoanOpenResponse>>;
|
|
6305
|
-
/**
|
|
6306
|
-
* Provide a quote estimate for the provided saver deposit.
|
|
6307
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
6308
|
-
* @param {string} [asset] the asset to deposit
|
|
6309
|
-
* @param {number} [amount] the source asset amount in 1e8 decimals
|
|
6310
|
-
* @param {*} [options] Override http request option.
|
|
6311
|
-
* @throws {RequiredError}
|
|
6312
|
-
*/
|
|
6313
|
-
quotesaverdeposit(height?: number, asset?: string, amount?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QuoteSaverDepositResponse>>;
|
|
6314
|
-
/**
|
|
6315
|
-
* Provide a quote estimate for the provided saver withdraw.
|
|
6316
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
6317
|
-
* @param {string} [asset] the asset to withdraw
|
|
6318
|
-
* @param {string} [address] the address for the position
|
|
6319
|
-
* @param {number} [withdrawBps] the basis points of the existing position to withdraw
|
|
6320
|
-
* @param {*} [options] Override http request option.
|
|
6321
|
-
* @throws {RequiredError}
|
|
6322
|
-
*/
|
|
6323
|
-
quotesaverwithdraw(height?: number, asset?: string, address?: string, withdrawBps?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QuoteSaverWithdrawResponse>>;
|
|
6324
6799
|
/**
|
|
6325
6800
|
* Provide a quote estimate for the provided swap.
|
|
6326
6801
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -6345,51 +6820,6 @@ export declare const QuoteApiFp: (configuration?: Configuration) => {
|
|
|
6345
6820
|
* @export
|
|
6346
6821
|
*/
|
|
6347
6822
|
export declare const QuoteApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
6348
|
-
/**
|
|
6349
|
-
* Provide a quote estimate for the provided loan close.
|
|
6350
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
6351
|
-
* @param {string} [fromAsset] the asset used to repay the loan
|
|
6352
|
-
* @param {number} [repayBps] the basis points of the existing position to repay
|
|
6353
|
-
* @param {string} [toAsset] the collateral asset of the loan
|
|
6354
|
-
* @param {string} [loanOwner] the owner of the loan collateral
|
|
6355
|
-
* @param {string} [minOut] the minimum amount of the target asset to accept
|
|
6356
|
-
* @param {*} [options] Override http request option.
|
|
6357
|
-
* @throws {RequiredError}
|
|
6358
|
-
*/
|
|
6359
|
-
quoteloanclose(height?: number, fromAsset?: string, repayBps?: number, toAsset?: string, loanOwner?: string, minOut?: string, options?: any): AxiosPromise<QuoteLoanCloseResponse>;
|
|
6360
|
-
/**
|
|
6361
|
-
* Provide a quote estimate for the provided loan open.
|
|
6362
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
6363
|
-
* @param {string} [fromAsset] the collateral asset
|
|
6364
|
-
* @param {number} [amount] the collateral asset amount in 1e8 decimals
|
|
6365
|
-
* @param {string} [toAsset] the target asset to receive (loan denominated in TOR regardless)
|
|
6366
|
-
* @param {string} [destination] the destination address, required to generate memo
|
|
6367
|
-
* @param {string} [minOut] the minimum amount of the target asset to accept
|
|
6368
|
-
* @param {number} [affiliateBps] the affiliate fee in basis points
|
|
6369
|
-
* @param {string} [affiliate] the affiliate (address or thorname)
|
|
6370
|
-
* @param {*} [options] Override http request option.
|
|
6371
|
-
* @throws {RequiredError}
|
|
6372
|
-
*/
|
|
6373
|
-
quoteloanopen(height?: number, fromAsset?: string, amount?: number, toAsset?: string, destination?: string, minOut?: string, affiliateBps?: number, affiliate?: string, options?: any): AxiosPromise<QuoteLoanOpenResponse>;
|
|
6374
|
-
/**
|
|
6375
|
-
* Provide a quote estimate for the provided saver deposit.
|
|
6376
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
6377
|
-
* @param {string} [asset] the asset to deposit
|
|
6378
|
-
* @param {number} [amount] the source asset amount in 1e8 decimals
|
|
6379
|
-
* @param {*} [options] Override http request option.
|
|
6380
|
-
* @throws {RequiredError}
|
|
6381
|
-
*/
|
|
6382
|
-
quotesaverdeposit(height?: number, asset?: string, amount?: number, options?: any): AxiosPromise<QuoteSaverDepositResponse>;
|
|
6383
|
-
/**
|
|
6384
|
-
* Provide a quote estimate for the provided saver withdraw.
|
|
6385
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
6386
|
-
* @param {string} [asset] the asset to withdraw
|
|
6387
|
-
* @param {string} [address] the address for the position
|
|
6388
|
-
* @param {number} [withdrawBps] the basis points of the existing position to withdraw
|
|
6389
|
-
* @param {*} [options] Override http request option.
|
|
6390
|
-
* @throws {RequiredError}
|
|
6391
|
-
*/
|
|
6392
|
-
quotesaverwithdraw(height?: number, asset?: string, address?: string, withdrawBps?: number, options?: any): AxiosPromise<QuoteSaverWithdrawResponse>;
|
|
6393
6823
|
/**
|
|
6394
6824
|
* Provide a quote estimate for the provided swap.
|
|
6395
6825
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -6416,55 +6846,6 @@ export declare const QuoteApiFactory: (configuration?: Configuration, basePath?:
|
|
|
6416
6846
|
* @extends {BaseAPI}
|
|
6417
6847
|
*/
|
|
6418
6848
|
export declare class QuoteApi extends BaseAPI {
|
|
6419
|
-
/**
|
|
6420
|
-
* Provide a quote estimate for the provided loan close.
|
|
6421
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
6422
|
-
* @param {string} [fromAsset] the asset used to repay the loan
|
|
6423
|
-
* @param {number} [repayBps] the basis points of the existing position to repay
|
|
6424
|
-
* @param {string} [toAsset] the collateral asset of the loan
|
|
6425
|
-
* @param {string} [loanOwner] the owner of the loan collateral
|
|
6426
|
-
* @param {string} [minOut] the minimum amount of the target asset to accept
|
|
6427
|
-
* @param {*} [options] Override http request option.
|
|
6428
|
-
* @throws {RequiredError}
|
|
6429
|
-
* @memberof QuoteApi
|
|
6430
|
-
*/
|
|
6431
|
-
quoteloanclose(height?: number, fromAsset?: string, repayBps?: number, toAsset?: string, loanOwner?: string, minOut?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<QuoteLoanCloseResponse, any>>;
|
|
6432
|
-
/**
|
|
6433
|
-
* Provide a quote estimate for the provided loan open.
|
|
6434
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
6435
|
-
* @param {string} [fromAsset] the collateral asset
|
|
6436
|
-
* @param {number} [amount] the collateral asset amount in 1e8 decimals
|
|
6437
|
-
* @param {string} [toAsset] the target asset to receive (loan denominated in TOR regardless)
|
|
6438
|
-
* @param {string} [destination] the destination address, required to generate memo
|
|
6439
|
-
* @param {string} [minOut] the minimum amount of the target asset to accept
|
|
6440
|
-
* @param {number} [affiliateBps] the affiliate fee in basis points
|
|
6441
|
-
* @param {string} [affiliate] the affiliate (address or thorname)
|
|
6442
|
-
* @param {*} [options] Override http request option.
|
|
6443
|
-
* @throws {RequiredError}
|
|
6444
|
-
* @memberof QuoteApi
|
|
6445
|
-
*/
|
|
6446
|
-
quoteloanopen(height?: number, fromAsset?: string, amount?: number, toAsset?: string, destination?: string, minOut?: string, affiliateBps?: number, affiliate?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<QuoteLoanOpenResponse, any>>;
|
|
6447
|
-
/**
|
|
6448
|
-
* Provide a quote estimate for the provided saver deposit.
|
|
6449
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
6450
|
-
* @param {string} [asset] the asset to deposit
|
|
6451
|
-
* @param {number} [amount] the source asset amount in 1e8 decimals
|
|
6452
|
-
* @param {*} [options] Override http request option.
|
|
6453
|
-
* @throws {RequiredError}
|
|
6454
|
-
* @memberof QuoteApi
|
|
6455
|
-
*/
|
|
6456
|
-
quotesaverdeposit(height?: number, asset?: string, amount?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<QuoteSaverDepositResponse, any>>;
|
|
6457
|
-
/**
|
|
6458
|
-
* Provide a quote estimate for the provided saver withdraw.
|
|
6459
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
6460
|
-
* @param {string} [asset] the asset to withdraw
|
|
6461
|
-
* @param {string} [address] the address for the position
|
|
6462
|
-
* @param {number} [withdrawBps] the basis points of the existing position to withdraw
|
|
6463
|
-
* @param {*} [options] Override http request option.
|
|
6464
|
-
* @throws {RequiredError}
|
|
6465
|
-
* @memberof QuoteApi
|
|
6466
|
-
*/
|
|
6467
|
-
quotesaverwithdraw(height?: number, asset?: string, address?: string, withdrawBps?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<QuoteSaverWithdrawResponse, any>>;
|
|
6468
6849
|
/**
|
|
6469
6850
|
* Provide a quote estimate for the provided swap.
|
|
6470
6851
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -6483,7 +6864,7 @@ export declare class QuoteApi extends BaseAPI {
|
|
|
6483
6864
|
* @throws {RequiredError}
|
|
6484
6865
|
* @memberof QuoteApi
|
|
6485
6866
|
*/
|
|
6486
|
-
quoteswap(height?: number, fromAsset?: string, toAsset?: string, amount?: number, destination?: string, refundAddress?: string, streamingInterval?: number, streamingQuantity?: number, toleranceBps?: number, liquidityToleranceBps?: number, affiliateBps?: number, affiliate?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<QuoteSwapResponse, any>>;
|
|
6867
|
+
quoteswap(height?: number, fromAsset?: string, toAsset?: string, amount?: number, destination?: string, refundAddress?: string, streamingInterval?: number, streamingQuantity?: number, toleranceBps?: number, liquidityToleranceBps?: number, affiliateBps?: number, affiliate?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<QuoteSwapResponse, any, {}>>;
|
|
6487
6868
|
}
|
|
6488
6869
|
/**
|
|
6489
6870
|
* RUNEPoolApi - axios parameter creator
|
|
@@ -6583,7 +6964,7 @@ export declare class RUNEPoolApi extends BaseAPI {
|
|
|
6583
6964
|
* @throws {RequiredError}
|
|
6584
6965
|
* @memberof RUNEPoolApi
|
|
6585
6966
|
*/
|
|
6586
|
-
runePool(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RUNEPoolResponse, any>>;
|
|
6967
|
+
runePool(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RUNEPoolResponse, any, {}>>;
|
|
6587
6968
|
/**
|
|
6588
6969
|
* Returns the RUNE Provider information for an address.
|
|
6589
6970
|
* @param {string} address
|
|
@@ -6592,7 +6973,7 @@ export declare class RUNEPoolApi extends BaseAPI {
|
|
|
6592
6973
|
* @throws {RequiredError}
|
|
6593
6974
|
* @memberof RUNEPoolApi
|
|
6594
6975
|
*/
|
|
6595
|
-
runeProvider(address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RUNEProvider, any>>;
|
|
6976
|
+
runeProvider(address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RUNEProvider, any, {}>>;
|
|
6596
6977
|
/**
|
|
6597
6978
|
* Returns all RUNE Providers.
|
|
6598
6979
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -6600,7 +6981,140 @@ export declare class RUNEPoolApi extends BaseAPI {
|
|
|
6600
6981
|
* @throws {RequiredError}
|
|
6601
6982
|
* @memberof RUNEPoolApi
|
|
6602
6983
|
*/
|
|
6603
|
-
runeProviders(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RUNEProvidersResponse, any>>;
|
|
6984
|
+
runeProviders(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RUNEProvidersResponse, any, {}>>;
|
|
6985
|
+
}
|
|
6986
|
+
/**
|
|
6987
|
+
* ReferenceMemosApi - axios parameter creator
|
|
6988
|
+
* @export
|
|
6989
|
+
*/
|
|
6990
|
+
export declare const ReferenceMemosApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
6991
|
+
/**
|
|
6992
|
+
* Returns the memoless transaction memo for the provided asset and reference number.
|
|
6993
|
+
* @param {string} asset
|
|
6994
|
+
* @param {string} reference the reference number to lookup
|
|
6995
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
6996
|
+
* @param {*} [options] Override http request option.
|
|
6997
|
+
* @throws {RequiredError}
|
|
6998
|
+
*/
|
|
6999
|
+
referenceMemo: (asset: string, reference: string, height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7000
|
+
/**
|
|
7001
|
+
* Returns the memoless transaction memo for the provided reference hash.
|
|
7002
|
+
* @param {string} hash
|
|
7003
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
7004
|
+
* @param {*} [options] Override http request option.
|
|
7005
|
+
* @throws {RequiredError}
|
|
7006
|
+
*/
|
|
7007
|
+
referenceMemoByHash: (hash: string, height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7008
|
+
/**
|
|
7009
|
+
* Pre-flight check for memoless transactions. Returns what reference would be extracted from the amount and whether it\'s available for registration.
|
|
7010
|
+
* @param {string} asset
|
|
7011
|
+
* @param {string} amount the transaction amount in base units to check
|
|
7012
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
7013
|
+
* @param {*} [options] Override http request option.
|
|
7014
|
+
* @throws {RequiredError}
|
|
7015
|
+
*/
|
|
7016
|
+
referenceMemoCheck: (asset: string, amount: string, height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7017
|
+
};
|
|
7018
|
+
/**
|
|
7019
|
+
* ReferenceMemosApi - functional programming interface
|
|
7020
|
+
* @export
|
|
7021
|
+
*/
|
|
7022
|
+
export declare const ReferenceMemosApiFp: (configuration?: Configuration) => {
|
|
7023
|
+
/**
|
|
7024
|
+
* Returns the memoless transaction memo for the provided asset and reference number.
|
|
7025
|
+
* @param {string} asset
|
|
7026
|
+
* @param {string} reference the reference number to lookup
|
|
7027
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
7028
|
+
* @param {*} [options] Override http request option.
|
|
7029
|
+
* @throws {RequiredError}
|
|
7030
|
+
*/
|
|
7031
|
+
referenceMemo(asset: string, reference: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReferenceMemoResponse>>;
|
|
7032
|
+
/**
|
|
7033
|
+
* Returns the memoless transaction memo for the provided reference hash.
|
|
7034
|
+
* @param {string} hash
|
|
7035
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
7036
|
+
* @param {*} [options] Override http request option.
|
|
7037
|
+
* @throws {RequiredError}
|
|
7038
|
+
*/
|
|
7039
|
+
referenceMemoByHash(hash: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReferenceMemoResponse>>;
|
|
7040
|
+
/**
|
|
7041
|
+
* Pre-flight check for memoless transactions. Returns what reference would be extracted from the amount and whether it\'s available for registration.
|
|
7042
|
+
* @param {string} asset
|
|
7043
|
+
* @param {string} amount the transaction amount in base units to check
|
|
7044
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
7045
|
+
* @param {*} [options] Override http request option.
|
|
7046
|
+
* @throws {RequiredError}
|
|
7047
|
+
*/
|
|
7048
|
+
referenceMemoCheck(asset: string, amount: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReferenceMemoPreflightResponse>>;
|
|
7049
|
+
};
|
|
7050
|
+
/**
|
|
7051
|
+
* ReferenceMemosApi - factory interface
|
|
7052
|
+
* @export
|
|
7053
|
+
*/
|
|
7054
|
+
export declare const ReferenceMemosApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
7055
|
+
/**
|
|
7056
|
+
* Returns the memoless transaction memo for the provided asset and reference number.
|
|
7057
|
+
* @param {string} asset
|
|
7058
|
+
* @param {string} reference the reference number to lookup
|
|
7059
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
7060
|
+
* @param {*} [options] Override http request option.
|
|
7061
|
+
* @throws {RequiredError}
|
|
7062
|
+
*/
|
|
7063
|
+
referenceMemo(asset: string, reference: string, height?: number, options?: any): AxiosPromise<ReferenceMemoResponse>;
|
|
7064
|
+
/**
|
|
7065
|
+
* Returns the memoless transaction memo for the provided reference hash.
|
|
7066
|
+
* @param {string} hash
|
|
7067
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
7068
|
+
* @param {*} [options] Override http request option.
|
|
7069
|
+
* @throws {RequiredError}
|
|
7070
|
+
*/
|
|
7071
|
+
referenceMemoByHash(hash: string, height?: number, options?: any): AxiosPromise<ReferenceMemoResponse>;
|
|
7072
|
+
/**
|
|
7073
|
+
* Pre-flight check for memoless transactions. Returns what reference would be extracted from the amount and whether it\'s available for registration.
|
|
7074
|
+
* @param {string} asset
|
|
7075
|
+
* @param {string} amount the transaction amount in base units to check
|
|
7076
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
7077
|
+
* @param {*} [options] Override http request option.
|
|
7078
|
+
* @throws {RequiredError}
|
|
7079
|
+
*/
|
|
7080
|
+
referenceMemoCheck(asset: string, amount: string, height?: number, options?: any): AxiosPromise<ReferenceMemoPreflightResponse>;
|
|
7081
|
+
};
|
|
7082
|
+
/**
|
|
7083
|
+
* ReferenceMemosApi - object-oriented interface
|
|
7084
|
+
* @export
|
|
7085
|
+
* @class ReferenceMemosApi
|
|
7086
|
+
* @extends {BaseAPI}
|
|
7087
|
+
*/
|
|
7088
|
+
export declare class ReferenceMemosApi extends BaseAPI {
|
|
7089
|
+
/**
|
|
7090
|
+
* Returns the memoless transaction memo for the provided asset and reference number.
|
|
7091
|
+
* @param {string} asset
|
|
7092
|
+
* @param {string} reference the reference number to lookup
|
|
7093
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
7094
|
+
* @param {*} [options] Override http request option.
|
|
7095
|
+
* @throws {RequiredError}
|
|
7096
|
+
* @memberof ReferenceMemosApi
|
|
7097
|
+
*/
|
|
7098
|
+
referenceMemo(asset: string, reference: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReferenceMemoResponse, any, {}>>;
|
|
7099
|
+
/**
|
|
7100
|
+
* Returns the memoless transaction memo for the provided reference hash.
|
|
7101
|
+
* @param {string} hash
|
|
7102
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
7103
|
+
* @param {*} [options] Override http request option.
|
|
7104
|
+
* @throws {RequiredError}
|
|
7105
|
+
* @memberof ReferenceMemosApi
|
|
7106
|
+
*/
|
|
7107
|
+
referenceMemoByHash(hash: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReferenceMemoResponse, any, {}>>;
|
|
7108
|
+
/**
|
|
7109
|
+
* Pre-flight check for memoless transactions. Returns what reference would be extracted from the amount and whether it\'s available for registration.
|
|
7110
|
+
* @param {string} asset
|
|
7111
|
+
* @param {string} amount the transaction amount in base units to check
|
|
7112
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
7113
|
+
* @param {*} [options] Override http request option.
|
|
7114
|
+
* @throws {RequiredError}
|
|
7115
|
+
* @memberof ReferenceMemosApi
|
|
7116
|
+
*/
|
|
7117
|
+
referenceMemoCheck(asset: string, amount: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReferenceMemoPreflightResponse, any, {}>>;
|
|
6604
7118
|
}
|
|
6605
7119
|
/**
|
|
6606
7120
|
* SaversApi - axios parameter creator
|
|
@@ -6687,7 +7201,7 @@ export declare class SaversApi extends BaseAPI {
|
|
|
6687
7201
|
* @throws {RequiredError}
|
|
6688
7202
|
* @memberof SaversApi
|
|
6689
7203
|
*/
|
|
6690
|
-
saver(asset: string, address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Saver, any>>;
|
|
7204
|
+
saver(asset: string, address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Saver, any, {}>>;
|
|
6691
7205
|
/**
|
|
6692
7206
|
* Returns all savers for the savers pool.
|
|
6693
7207
|
* @param {string} asset
|
|
@@ -6696,7 +7210,7 @@ export declare class SaversApi extends BaseAPI {
|
|
|
6696
7210
|
* @throws {RequiredError}
|
|
6697
7211
|
* @memberof SaversApi
|
|
6698
7212
|
*/
|
|
6699
|
-
savers(asset: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SaversResponse, any>>;
|
|
7213
|
+
savers(asset: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SaversResponse, any, {}>>;
|
|
6700
7214
|
}
|
|
6701
7215
|
/**
|
|
6702
7216
|
* SecuredAssetApi - axios parameter creator
|
|
@@ -6755,7 +7269,7 @@ export declare class SecuredAssetApi extends BaseAPI {
|
|
|
6755
7269
|
* @throws {RequiredError}
|
|
6756
7270
|
* @memberof SecuredAssetApi
|
|
6757
7271
|
*/
|
|
6758
|
-
securedAsset(asset: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SecuredAssetResponse, any>>;
|
|
7272
|
+
securedAsset(asset: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SecuredAssetResponse, any, {}>>;
|
|
6759
7273
|
}
|
|
6760
7274
|
/**
|
|
6761
7275
|
* SecuredAssetsApi - axios parameter creator
|
|
@@ -6810,7 +7324,7 @@ export declare class SecuredAssetsApi extends BaseAPI {
|
|
|
6810
7324
|
* @throws {RequiredError}
|
|
6811
7325
|
* @memberof SecuredAssetsApi
|
|
6812
7326
|
*/
|
|
6813
|
-
securedAssets(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SecuredAssetsResponse, any>>;
|
|
7327
|
+
securedAssets(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SecuredAssetsResponse, any, {}>>;
|
|
6814
7328
|
}
|
|
6815
7329
|
/**
|
|
6816
7330
|
* StreamingSwapApi - axios parameter creator
|
|
@@ -6890,7 +7404,7 @@ export declare class StreamingSwapApi extends BaseAPI {
|
|
|
6890
7404
|
* @throws {RequiredError}
|
|
6891
7405
|
* @memberof StreamingSwapApi
|
|
6892
7406
|
*/
|
|
6893
|
-
streamSwap(hash: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<StreamingSwap, any>>;
|
|
7407
|
+
streamSwap(hash: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<StreamingSwap, any, {}>>;
|
|
6894
7408
|
/**
|
|
6895
7409
|
* Returns the state of all streaming swaps
|
|
6896
7410
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -6898,7 +7412,66 @@ export declare class StreamingSwapApi extends BaseAPI {
|
|
|
6898
7412
|
* @throws {RequiredError}
|
|
6899
7413
|
* @memberof StreamingSwapApi
|
|
6900
7414
|
*/
|
|
6901
|
-
streamSwaps(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<StreamingSwapsResponse, any>>;
|
|
7415
|
+
streamSwaps(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<StreamingSwapsResponse, any, {}>>;
|
|
7416
|
+
}
|
|
7417
|
+
/**
|
|
7418
|
+
* SwapApi - axios parameter creator
|
|
7419
|
+
* @export
|
|
7420
|
+
*/
|
|
7421
|
+
export declare const SwapApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
7422
|
+
/**
|
|
7423
|
+
* Returns detailed information about a specific swap including its state.
|
|
7424
|
+
* @param {string} txId Transaction ID of the swap
|
|
7425
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
7426
|
+
* @param {*} [options] Override http request option.
|
|
7427
|
+
* @throws {RequiredError}
|
|
7428
|
+
*/
|
|
7429
|
+
swapDetails: (txId: string, height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7430
|
+
};
|
|
7431
|
+
/**
|
|
7432
|
+
* SwapApi - functional programming interface
|
|
7433
|
+
* @export
|
|
7434
|
+
*/
|
|
7435
|
+
export declare const SwapApiFp: (configuration?: Configuration) => {
|
|
7436
|
+
/**
|
|
7437
|
+
* Returns detailed information about a specific swap including its state.
|
|
7438
|
+
* @param {string} txId Transaction ID of the swap
|
|
7439
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
7440
|
+
* @param {*} [options] Override http request option.
|
|
7441
|
+
* @throws {RequiredError}
|
|
7442
|
+
*/
|
|
7443
|
+
swapDetails(txId: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SwapDetailsResponse>>;
|
|
7444
|
+
};
|
|
7445
|
+
/**
|
|
7446
|
+
* SwapApi - factory interface
|
|
7447
|
+
* @export
|
|
7448
|
+
*/
|
|
7449
|
+
export declare const SwapApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
7450
|
+
/**
|
|
7451
|
+
* Returns detailed information about a specific swap including its state.
|
|
7452
|
+
* @param {string} txId Transaction ID of the swap
|
|
7453
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
7454
|
+
* @param {*} [options] Override http request option.
|
|
7455
|
+
* @throws {RequiredError}
|
|
7456
|
+
*/
|
|
7457
|
+
swapDetails(txId: string, height?: number, options?: any): AxiosPromise<SwapDetailsResponse>;
|
|
7458
|
+
};
|
|
7459
|
+
/**
|
|
7460
|
+
* SwapApi - object-oriented interface
|
|
7461
|
+
* @export
|
|
7462
|
+
* @class SwapApi
|
|
7463
|
+
* @extends {BaseAPI}
|
|
7464
|
+
*/
|
|
7465
|
+
export declare class SwapApi extends BaseAPI {
|
|
7466
|
+
/**
|
|
7467
|
+
* Returns detailed information about a specific swap including its state.
|
|
7468
|
+
* @param {string} txId Transaction ID of the swap
|
|
7469
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
7470
|
+
* @param {*} [options] Override http request option.
|
|
7471
|
+
* @throws {RequiredError}
|
|
7472
|
+
* @memberof SwapApi
|
|
7473
|
+
*/
|
|
7474
|
+
swapDetails(txId: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SwapDetailsResponse, any, {}>>;
|
|
6902
7475
|
}
|
|
6903
7476
|
/**
|
|
6904
7477
|
* TCYClaimersApi - axios parameter creator
|
|
@@ -6978,7 +7551,7 @@ export declare class TCYClaimersApi extends BaseAPI {
|
|
|
6978
7551
|
* @throws {RequiredError}
|
|
6979
7552
|
* @memberof TCYClaimersApi
|
|
6980
7553
|
*/
|
|
6981
|
-
tcyClaimer(address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TCYClaimer, any>>;
|
|
7554
|
+
tcyClaimer(address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TCYClaimer, any, {}>>;
|
|
6982
7555
|
/**
|
|
6983
7556
|
* Returns all tcy claimers information.
|
|
6984
7557
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -6986,7 +7559,7 @@ export declare class TCYClaimersApi extends BaseAPI {
|
|
|
6986
7559
|
* @throws {RequiredError}
|
|
6987
7560
|
* @memberof TCYClaimersApi
|
|
6988
7561
|
*/
|
|
6989
|
-
tcyClaimers(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TCYClaimersResponse, any>>;
|
|
7562
|
+
tcyClaimers(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TCYClaimersResponse, any, {}>>;
|
|
6990
7563
|
}
|
|
6991
7564
|
/**
|
|
6992
7565
|
* TCYStakersApi - axios parameter creator
|
|
@@ -7066,7 +7639,7 @@ export declare class TCYStakersApi extends BaseAPI {
|
|
|
7066
7639
|
* @throws {RequiredError}
|
|
7067
7640
|
* @memberof TCYStakersApi
|
|
7068
7641
|
*/
|
|
7069
|
-
tcyStaker(address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TCYStaker, any>>;
|
|
7642
|
+
tcyStaker(address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TCYStaker, any, {}>>;
|
|
7070
7643
|
/**
|
|
7071
7644
|
* Returns all tcy stakers information.
|
|
7072
7645
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -7074,7 +7647,7 @@ export declare class TCYStakersApi extends BaseAPI {
|
|
|
7074
7647
|
* @throws {RequiredError}
|
|
7075
7648
|
* @memberof TCYStakersApi
|
|
7076
7649
|
*/
|
|
7077
|
-
tcyStakers(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TCYStakersResponse, any>>;
|
|
7650
|
+
tcyStakers(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TCYStakersResponse, any, {}>>;
|
|
7078
7651
|
}
|
|
7079
7652
|
/**
|
|
7080
7653
|
* TSSApi - axios parameter creator
|
|
@@ -7223,7 +7796,7 @@ export declare class TSSApi extends BaseAPI {
|
|
|
7223
7796
|
* @throws {RequiredError}
|
|
7224
7797
|
* @memberof TSSApi
|
|
7225
7798
|
*/
|
|
7226
|
-
keygenPubkey(height: number, pubkey: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KeygenResponse, any>>;
|
|
7799
|
+
keygenPubkey(height: number, pubkey: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KeygenResponse, any, {}>>;
|
|
7227
7800
|
/**
|
|
7228
7801
|
* 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.
|
|
7229
7802
|
* @param {number} height
|
|
@@ -7231,7 +7804,7 @@ export declare class TSSApi extends BaseAPI {
|
|
|
7231
7804
|
* @throws {RequiredError}
|
|
7232
7805
|
* @memberof TSSApi
|
|
7233
7806
|
*/
|
|
7234
|
-
keysign(height: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KeysignResponse, any>>;
|
|
7807
|
+
keysign(height: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KeysignResponse, any, {}>>;
|
|
7235
7808
|
/**
|
|
7236
7809
|
* 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.
|
|
7237
7810
|
* @param {number} height
|
|
@@ -7240,7 +7813,7 @@ export declare class TSSApi extends BaseAPI {
|
|
|
7240
7813
|
* @throws {RequiredError}
|
|
7241
7814
|
* @memberof TSSApi
|
|
7242
7815
|
*/
|
|
7243
|
-
keysignPubkey(height: number, pubkey: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KeysignResponse, any>>;
|
|
7816
|
+
keysignPubkey(height: number, pubkey: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KeysignResponse, any, {}>>;
|
|
7244
7817
|
/**
|
|
7245
7818
|
* Returns keygen and keysign metrics for current vaults.
|
|
7246
7819
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -7248,7 +7821,7 @@ export declare class TSSApi extends BaseAPI {
|
|
|
7248
7821
|
* @throws {RequiredError}
|
|
7249
7822
|
* @memberof TSSApi
|
|
7250
7823
|
*/
|
|
7251
|
-
metrics(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MetricsResponse, any>>;
|
|
7824
|
+
metrics(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MetricsResponse, any, {}>>;
|
|
7252
7825
|
/**
|
|
7253
7826
|
* Returns keygen metrics for the provided vault pubkey.
|
|
7254
7827
|
* @param {string} pubkey
|
|
@@ -7257,7 +7830,7 @@ export declare class TSSApi extends BaseAPI {
|
|
|
7257
7830
|
* @throws {RequiredError}
|
|
7258
7831
|
* @memberof TSSApi
|
|
7259
7832
|
*/
|
|
7260
|
-
metricsKeygen(pubkey: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KeygenMetricsResponse, any>>;
|
|
7833
|
+
metricsKeygen(pubkey: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KeygenMetricsResponse, any, {}>>;
|
|
7261
7834
|
}
|
|
7262
7835
|
/**
|
|
7263
7836
|
* ThornamesApi - axios parameter creator
|
|
@@ -7316,7 +7889,7 @@ export declare class ThornamesApi extends BaseAPI {
|
|
|
7316
7889
|
* @throws {RequiredError}
|
|
7317
7890
|
* @memberof ThornamesApi
|
|
7318
7891
|
*/
|
|
7319
|
-
thorname(name: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Thorname, any>>;
|
|
7892
|
+
thorname(name: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Thorname, any, {}>>;
|
|
7320
7893
|
}
|
|
7321
7894
|
/**
|
|
7322
7895
|
* TradeAccountApi - axios parameter creator
|
|
@@ -7375,7 +7948,7 @@ export declare class TradeAccountApi extends BaseAPI {
|
|
|
7375
7948
|
* @throws {RequiredError}
|
|
7376
7949
|
* @memberof TradeAccountApi
|
|
7377
7950
|
*/
|
|
7378
|
-
tradeAccount(address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TradeAccountResponse, any>>;
|
|
7951
|
+
tradeAccount(address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TradeAccountResponse, any, {}>>;
|
|
7379
7952
|
}
|
|
7380
7953
|
/**
|
|
7381
7954
|
* TradeAccountsApi - axios parameter creator
|
|
@@ -7434,7 +8007,7 @@ export declare class TradeAccountsApi extends BaseAPI {
|
|
|
7434
8007
|
* @throws {RequiredError}
|
|
7435
8008
|
* @memberof TradeAccountsApi
|
|
7436
8009
|
*/
|
|
7437
|
-
tradeAccounts(asset: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TradeAccountsResponse, any>>;
|
|
8010
|
+
tradeAccounts(asset: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TradeAccountsResponse, any, {}>>;
|
|
7438
8011
|
}
|
|
7439
8012
|
/**
|
|
7440
8013
|
* TradeUnitApi - axios parameter creator
|
|
@@ -7493,7 +8066,7 @@ export declare class TradeUnitApi extends BaseAPI {
|
|
|
7493
8066
|
* @throws {RequiredError}
|
|
7494
8067
|
* @memberof TradeUnitApi
|
|
7495
8068
|
*/
|
|
7496
|
-
tradeUnit(asset: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TradeUnitResponse, any>>;
|
|
8069
|
+
tradeUnit(asset: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TradeUnitResponse, any, {}>>;
|
|
7497
8070
|
}
|
|
7498
8071
|
/**
|
|
7499
8072
|
* TradeUnitsApi - axios parameter creator
|
|
@@ -7548,7 +8121,7 @@ export declare class TradeUnitsApi extends BaseAPI {
|
|
|
7548
8121
|
* @throws {RequiredError}
|
|
7549
8122
|
* @memberof TradeUnitsApi
|
|
7550
8123
|
*/
|
|
7551
|
-
tradeUnits(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TradeUnitsResponse, any>>;
|
|
8124
|
+
tradeUnits(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TradeUnitsResponse, any, {}>>;
|
|
7552
8125
|
}
|
|
7553
8126
|
/**
|
|
7554
8127
|
* TransactionsApi - axios parameter creator
|
|
@@ -7703,7 +8276,7 @@ export declare class TransactionsApi extends BaseAPI {
|
|
|
7703
8276
|
* @throws {RequiredError}
|
|
7704
8277
|
* @memberof TransactionsApi
|
|
7705
8278
|
*/
|
|
7706
|
-
tx(hash: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TxResponse, any>>;
|
|
8279
|
+
tx(hash: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TxResponse, any, {}>>;
|
|
7707
8280
|
/**
|
|
7708
8281
|
* Returns the signers for a provided inbound or outbound hash.
|
|
7709
8282
|
* @param {string} hash
|
|
@@ -7712,7 +8285,7 @@ export declare class TransactionsApi extends BaseAPI {
|
|
|
7712
8285
|
* @throws {RequiredError}
|
|
7713
8286
|
* @memberof TransactionsApi
|
|
7714
8287
|
*/
|
|
7715
|
-
txSigners(hash: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TxDetailsResponse, any>>;
|
|
8288
|
+
txSigners(hash: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TxDetailsResponse, any, {}>>;
|
|
7716
8289
|
/**
|
|
7717
8290
|
* Deprecated - migrate to /thorchain/tx/details.
|
|
7718
8291
|
* @param {string} hash
|
|
@@ -7721,7 +8294,7 @@ export declare class TransactionsApi extends BaseAPI {
|
|
|
7721
8294
|
* @throws {RequiredError}
|
|
7722
8295
|
* @memberof TransactionsApi
|
|
7723
8296
|
*/
|
|
7724
|
-
txSignersOld(hash: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TxSignersResponse, any>>;
|
|
8297
|
+
txSignersOld(hash: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TxSignersResponse, any, {}>>;
|
|
7725
8298
|
/**
|
|
7726
8299
|
* Returns the processing stages of a provided inbound hash.
|
|
7727
8300
|
* @param {string} hash
|
|
@@ -7730,7 +8303,7 @@ export declare class TransactionsApi extends BaseAPI {
|
|
|
7730
8303
|
* @throws {RequiredError}
|
|
7731
8304
|
* @memberof TransactionsApi
|
|
7732
8305
|
*/
|
|
7733
|
-
txStages(hash: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TxStagesResponse, any>>;
|
|
8306
|
+
txStages(hash: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TxStagesResponse, any, {}>>;
|
|
7734
8307
|
/**
|
|
7735
8308
|
* Returns the status of a provided inbound hash.
|
|
7736
8309
|
* @param {string} hash
|
|
@@ -7739,7 +8312,7 @@ export declare class TransactionsApi extends BaseAPI {
|
|
|
7739
8312
|
* @throws {RequiredError}
|
|
7740
8313
|
* @memberof TransactionsApi
|
|
7741
8314
|
*/
|
|
7742
|
-
txStatus(hash: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TxStatusResponse, any>>;
|
|
8315
|
+
txStatus(hash: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TxStatusResponse, any, {}>>;
|
|
7743
8316
|
}
|
|
7744
8317
|
/**
|
|
7745
8318
|
* VaultsApi - axios parameter creator
|
|
@@ -7768,6 +8341,13 @@ export declare const VaultsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
7768
8341
|
* @throws {RequiredError}
|
|
7769
8342
|
*/
|
|
7770
8343
|
vaultPubkeys: (height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8344
|
+
/**
|
|
8345
|
+
* Returns aggregate vault solvency showing over-solvent or under-solvent amounts per asset.
|
|
8346
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
8347
|
+
* @param {*} [options] Override http request option.
|
|
8348
|
+
* @throws {RequiredError}
|
|
8349
|
+
*/
|
|
8350
|
+
vaultSolvency: (height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7771
8351
|
/**
|
|
7772
8352
|
* Returns current yggdrasil vaults.
|
|
7773
8353
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -7803,6 +8383,13 @@ export declare const VaultsApiFp: (configuration?: Configuration) => {
|
|
|
7803
8383
|
* @throws {RequiredError}
|
|
7804
8384
|
*/
|
|
7805
8385
|
vaultPubkeys(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VaultPubkeysResponse>>;
|
|
8386
|
+
/**
|
|
8387
|
+
* Returns aggregate vault solvency showing over-solvent or under-solvent amounts per asset.
|
|
8388
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
8389
|
+
* @param {*} [options] Override http request option.
|
|
8390
|
+
* @throws {RequiredError}
|
|
8391
|
+
*/
|
|
8392
|
+
vaultSolvency(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VaultSolvencyResponse>>;
|
|
7806
8393
|
/**
|
|
7807
8394
|
* Returns current yggdrasil vaults.
|
|
7808
8395
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -7838,6 +8425,13 @@ export declare const VaultsApiFactory: (configuration?: Configuration, basePath?
|
|
|
7838
8425
|
* @throws {RequiredError}
|
|
7839
8426
|
*/
|
|
7840
8427
|
vaultPubkeys(height?: number, options?: any): AxiosPromise<VaultPubkeysResponse>;
|
|
8428
|
+
/**
|
|
8429
|
+
* Returns aggregate vault solvency showing over-solvent or under-solvent amounts per asset.
|
|
8430
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
8431
|
+
* @param {*} [options] Override http request option.
|
|
8432
|
+
* @throws {RequiredError}
|
|
8433
|
+
*/
|
|
8434
|
+
vaultSolvency(height?: number, options?: any): AxiosPromise<VaultSolvencyResponse>;
|
|
7841
8435
|
/**
|
|
7842
8436
|
* Returns current yggdrasil vaults.
|
|
7843
8437
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -7860,7 +8454,7 @@ export declare class VaultsApi extends BaseAPI {
|
|
|
7860
8454
|
* @throws {RequiredError}
|
|
7861
8455
|
* @memberof VaultsApi
|
|
7862
8456
|
*/
|
|
7863
|
-
asgard(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VaultsResponse, any>>;
|
|
8457
|
+
asgard(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VaultsResponse, any, {}>>;
|
|
7864
8458
|
/**
|
|
7865
8459
|
* Returns the vault for the provided pubkey.
|
|
7866
8460
|
* @param {string} pubkey
|
|
@@ -7869,7 +8463,7 @@ export declare class VaultsApi extends BaseAPI {
|
|
|
7869
8463
|
* @throws {RequiredError}
|
|
7870
8464
|
* @memberof VaultsApi
|
|
7871
8465
|
*/
|
|
7872
|
-
vault(pubkey: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Vault, any>>;
|
|
8466
|
+
vault(pubkey: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Vault, any, {}>>;
|
|
7873
8467
|
/**
|
|
7874
8468
|
* Returns all pubkeys for current vaults.
|
|
7875
8469
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -7877,7 +8471,15 @@ export declare class VaultsApi extends BaseAPI {
|
|
|
7877
8471
|
* @throws {RequiredError}
|
|
7878
8472
|
* @memberof VaultsApi
|
|
7879
8473
|
*/
|
|
7880
|
-
vaultPubkeys(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VaultPubkeysResponse, any>>;
|
|
8474
|
+
vaultPubkeys(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VaultPubkeysResponse, any, {}>>;
|
|
8475
|
+
/**
|
|
8476
|
+
* Returns aggregate vault solvency showing over-solvent or under-solvent amounts per asset.
|
|
8477
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
8478
|
+
* @param {*} [options] Override http request option.
|
|
8479
|
+
* @throws {RequiredError}
|
|
8480
|
+
* @memberof VaultsApi
|
|
8481
|
+
*/
|
|
8482
|
+
vaultSolvency(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VaultSolvencyResponse, any, {}>>;
|
|
7881
8483
|
/**
|
|
7882
8484
|
* Returns current yggdrasil vaults.
|
|
7883
8485
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -7885,5 +8487,5 @@ export declare class VaultsApi extends BaseAPI {
|
|
|
7885
8487
|
* @throws {RequiredError}
|
|
7886
8488
|
* @memberof VaultsApi
|
|
7887
8489
|
*/
|
|
7888
|
-
yggdrasil(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<YggdrasilVaultsResponse, any>>;
|
|
8490
|
+
yggdrasil(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<YggdrasilVaultsResponse, any, {}>>;
|
|
7889
8491
|
}
|