@xchainjs/xchain-thornode 1.0.6 → 1.1.1

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.
@@ -2,7 +2,7 @@
2
2
  * Thornode API
3
3
  * Thornode REST API.
4
4
  *
5
- * The version of the OpenAPI document: 3.5.1
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 Borrower
541
+ * @interface ChainHeight
503
542
  */
504
- export interface Borrower {
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 Borrower
547
+ * @memberof ChainHeight
527
548
  */
528
- 'debt_repaid': string;
549
+ 'chain': string;
529
550
  /**
530
551
  *
531
- * @type {string}
532
- * @memberof Borrower
552
+ * @type {number}
553
+ * @memberof ChainHeight
533
554
  */
534
- 'debt_current': string;
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 Borrower
566
+ * @memberof Code
539
567
  */
540
- 'collateral_deposited': string;
568
+ 'code'?: string;
541
569
  /**
542
570
  *
543
- * @type {string}
544
- * @memberof Borrower
571
+ * @type {Array<string>}
572
+ * @memberof Code
545
573
  */
546
- 'collateral_withdrawn': string;
574
+ 'deployers'?: Array<string>;
547
575
  /**
548
576
  *
549
577
  * @type {string}
550
- * @memberof Borrower
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
- 'last_repay_height': number;
580
+ 'origin'?: string;
565
581
  }
566
582
  /**
567
583
  *
568
584
  * @export
569
- * @interface BorrowersResponse
585
+ * @interface CodesResponse
570
586
  */
571
- export interface BorrowersResponse extends Array<Borrower> {
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 {number}
588
- * @memberof ChainHeight
590
+ * @type {Array<Code>}
591
+ * @memberof CodesResponse
589
592
  */
590
- 'height': number;
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
- 'order_type'?: string;
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 amount of collateral collects for loans
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
- 'loan_collateral': string;
2425
+ 'derived_depth_bps': string;
2200
2426
  /**
2201
- * the amount of remaining collateral collects for loans
2202
- * @type {string}
2427
+ * indicates if the pool can be used for swaps
2428
+ * @type {boolean}
2203
2429
  * @memberof Pool
2204
2430
  */
2205
- 'loan_collateral_remaining': string;
2431
+ 'trading_halted'?: boolean;
2206
2432
  /**
2207
- * the current loan collateralization ratio
2433
+ * 24h volume in asset
2208
2434
  * @type {string}
2209
2435
  * @memberof Pool
2210
2436
  */
2211
- 'loan_cr': string;
2437
+ 'volume_asset'?: string;
2212
2438
  /**
2213
- * the depth of the derived virtual pool relative to L1 pool (in basis points)
2439
+ * 24h volume in rune
2214
2440
  * @type {string}
2215
2441
  * @memberof Pool
2216
2442
  */
2217
- 'derived_depth_bps': string;
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 QuoteLoanCloseResponse
2591
+ * @interface QuoteLimitResponse
2366
2592
  */
2367
- export interface QuoteLoanCloseResponse {
2593
+ export interface QuoteLimitResponse {
2368
2594
  /**
2369
2595
  * the inbound address for the transaction on the source chain
2370
2596
  * @type {string}
2371
- * @memberof QuoteLoanCloseResponse
2597
+ * @memberof QuoteLimitResponse
2372
2598
  */
2373
- 'inbound_address'?: string;
2599
+ 'inbound_address': string;
2374
2600
  /**
2375
2601
  * the approximate number of source chain blocks required before processing
2376
2602
  * @type {number}
2377
- * @memberof QuoteLoanCloseResponse
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 QuoteLoanCloseResponse
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 QuoteLoanCloseResponse
2615
+ * @memberof QuoteLimitResponse
2390
2616
  */
2391
- 'outbound_delay_blocks': number;
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 QuoteLoanCloseResponse
2621
+ * @memberof QuoteLimitResponse
2396
2622
  */
2397
- 'outbound_delay_seconds': number;
2623
+ 'outbound_delay_seconds'?: number;
2398
2624
  /**
2399
2625
  *
2400
2626
  * @type {QuoteFees}
2401
- * @memberof QuoteLoanCloseResponse
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 QuoteLoanCloseResponse
2633
+ * @memberof QuoteLimitResponse
2408
2634
  */
2409
2635
  'router'?: string;
2410
2636
  /**
2411
2637
  * expiration timestamp in unix seconds
2412
2638
  * @type {number}
2413
- * @memberof QuoteLoanCloseResponse
2639
+ * @memberof QuoteLimitResponse
2414
2640
  */
2415
- 'expiry': number;
2641
+ 'expiry'?: number;
2416
2642
  /**
2417
2643
  * static warning message
2418
2644
  * @type {string}
2419
- * @memberof QuoteLoanCloseResponse
2645
+ * @memberof QuoteLimitResponse
2420
2646
  */
2421
- 'warning': string;
2647
+ 'warning'?: string;
2422
2648
  /**
2423
- * chain specific quote notes
2649
+ * notes about the limit order
2424
2650
  * @type {string}
2425
- * @memberof QuoteLoanCloseResponse
2651
+ * @memberof QuoteLimitResponse
2426
2652
  */
2427
- 'notes': string;
2653
+ 'notes'?: string;
2428
2654
  /**
2429
- * 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.
2655
+ * the dust threshold for the source chain
2430
2656
  * @type {string}
2431
- * @memberof QuoteLoanCloseResponse
2657
+ * @memberof QuoteLimitResponse
2432
2658
  */
2433
2659
  'dust_threshold'?: string;
2434
2660
  /**
2435
- * The recommended minimum inbound amount for this transaction type & inbound asset. Sending less than this amount could result in failed refunds.
2661
+ * the recommended minimum amount in for the limit order
2436
2662
  * @type {string}
2437
- * @memberof QuoteLoanCloseResponse
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 QuoteLoanCloseResponse
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 QuoteLoanCloseResponse
2675
+ * @memberof QuoteLimitResponse
2450
2676
  */
2451
2677
  'gas_rate_units'?: string;
2452
2678
  /**
2453
- * generated memo for the loan close
2679
+ * generated memo for the limit order
2454
2680
  * @type {string}
2455
- * @memberof QuoteLoanCloseResponse
2681
+ * @memberof QuoteLimitResponse
2456
2682
  */
2457
- 'memo': string;
2683
+ 'memo'?: string;
2458
2684
  /**
2459
- * the amount of collateral asset the user can expect to receive after fees in 1e8 decimals
2685
+ * the amount of the target asset the user can expect to receive after fees
2460
2686
  * @type {string}
2461
- * @memberof QuoteLoanCloseResponse
2687
+ * @memberof QuoteLimitResponse
2462
2688
  */
2463
2689
  'expected_amount_out': string;
2464
2690
  /**
2465
- * The quantity of the repayment asset to be sent by the user, calculated as the desired percentage of the loan\'s value, expressed in units of 1e8
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 QuoteLoanCloseResponse
2693
+ * @memberof QuoteLimitResponse
2486
2694
  */
2487
- 'streaming_swap_blocks': number;
2695
+ 'order_expiry_block': number;
2488
2696
  /**
2489
- * The approximate number of seconds taken by the streaming swaps involved in the repayment process.
2697
+ * the timestamp when the limit order will expire
2490
2698
  * @type {number}
2491
- * @memberof QuoteLoanCloseResponse
2699
+ * @memberof QuoteLimitResponse
2492
2700
  */
2493
- 'streaming_swap_seconds': number;
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 QuoteLoanOpenResponse
2706
+ * @interface QuoteSaverDepositResponse
2505
2707
  */
2506
- export interface QuoteLoanOpenResponse {
2708
+ export interface QuoteSaverDepositResponse {
2507
2709
  /**
2508
2710
  * the inbound address for the transaction on the source chain
2509
2711
  * @type {string}
2510
- * @memberof QuoteLoanOpenResponse
2712
+ * @memberof QuoteSaverDepositResponse
2511
2713
  */
2512
- 'inbound_address'?: string;
2714
+ 'inbound_address': string;
2513
2715
  /**
2514
2716
  * the approximate number of source chain blocks required before processing
2515
2717
  * @type {number}
2516
- * @memberof QuoteLoanOpenResponse
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 QuoteLoanOpenResponse
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 QuoteLoanOpenResponse
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
- 'vault_pub_key'?: string;
4116
+ 'in_hash'?: string;
3858
4117
  /**
3859
4118
  *
3860
4119
  * @type {string}
3861
4120
  * @memberof TxOutItem
3862
4121
  */
3863
- 'in_hash'?: string;
4122
+ 'out_hash'?: string;
3864
4123
  /**
3865
4124
  *
3866
4125
  * @type {string}
3867
4126
  * @memberof TxOutItem
3868
4127
  */
3869
- 'out_hash'?: string;
4128
+ 'chain': string;
3870
4129
  /**
3871
4130
  *
3872
4131
  * @type {string}
3873
4132
  * @memberof TxOutItem
3874
4133
  */
3875
- 'chain': string;
4134
+ 'to_address': string;
3876
4135
  /**
3877
4136
  *
3878
4137
  * @type {string}
3879
4138
  * @memberof TxOutItem
3880
4139
  */
3881
- 'to_address': string;
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
@@ -4692,159 +5025,118 @@ export declare class BlockApi extends BaseAPI {
4692
5025
  block(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BlockResponse, any, {}>>;
4693
5026
  }
4694
5027
  /**
4695
- * BorrowersApi - axios parameter creator
5028
+ * CloutApi - axios parameter creator
4696
5029
  * @export
4697
5030
  */
4698
- export declare const BorrowersApiAxiosParamCreator: (configuration?: Configuration) => {
5031
+ export declare const CloutApiAxiosParamCreator: (configuration?: Configuration) => {
4699
5032
  /**
4700
- * Returns the borrower position given the pool and address.
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
- borrower: (asset: string, address: string, height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
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
- * BorrowersApi - functional programming interface
5042
+ * CloutApi - functional programming interface
4719
5043
  * @export
4720
5044
  */
4721
- export declare const BorrowersApiFp: (configuration?: Configuration) => {
5045
+ export declare const CloutApiFp: (configuration?: Configuration) => {
4722
5046
  /**
4723
- * Returns the borrower position given the pool and address.
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
- borrower(asset: string, address: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Borrower>>;
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
- * BorrowersApi - factory interface
5056
+ * CloutApi - factory interface
4742
5057
  * @export
4743
5058
  */
4744
- export declare const BorrowersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
5059
+ export declare const CloutApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
4745
5060
  /**
4746
- * Returns the borrower position given the pool and address.
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
- borrower(asset: string, address: string, height?: number, options?: any): AxiosPromise<Borrower>;
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
- * BorrowersApi - object-oriented interface
5070
+ * CloutApi - object-oriented interface
4765
5071
  * @export
4766
- * @class BorrowersApi
5072
+ * @class CloutApi
4767
5073
  * @extends {BaseAPI}
4768
5074
  */
4769
- export declare class BorrowersApi extends BaseAPI {
5075
+ export declare class CloutApi extends BaseAPI {
4770
5076
  /**
4771
- * Returns the borrower position given the pool and address.
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 BorrowersApi
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
- borrowers(asset: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BorrowersResponse, any, {}>>;
5084
+ swapperClout(address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SwapperCloutResponse, any, {}>>;
4789
5085
  }
4790
5086
  /**
4791
- * CloutApi - axios parameter creator
5087
+ * CodesApi - axios parameter creator
4792
5088
  * @export
4793
5089
  */
4794
- export declare const CloutApiAxiosParamCreator: (configuration?: Configuration) => {
5090
+ export declare const CodesApiAxiosParamCreator: (configuration?: Configuration) => {
4795
5091
  /**
4796
- * Returns the clout score of an address
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
- swapperClout: (address: string, height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5097
+ codes: (height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4803
5098
  };
4804
5099
  /**
4805
- * CloutApi - functional programming interface
5100
+ * CodesApi - functional programming interface
4806
5101
  * @export
4807
5102
  */
4808
- export declare const CloutApiFp: (configuration?: Configuration) => {
5103
+ export declare const CodesApiFp: (configuration?: Configuration) => {
4809
5104
  /**
4810
- * Returns the clout score of an address
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
- swapperClout(address: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SwapperCloutResponse>>;
5110
+ codes(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CodesResponse>>;
4817
5111
  };
4818
5112
  /**
4819
- * CloutApi - factory interface
5113
+ * CodesApi - factory interface
4820
5114
  * @export
4821
5115
  */
4822
- export declare const CloutApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
5116
+ export declare const CodesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
4823
5117
  /**
4824
- * Returns the clout score of an address
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
- swapperClout(address: string, height?: number, options?: any): AxiosPromise<SwapperCloutResponse>;
5123
+ codes(height?: number, options?: any): AxiosPromise<CodesResponse>;
4831
5124
  };
4832
5125
  /**
4833
- * CloutApi - object-oriented interface
5126
+ * CodesApi - object-oriented interface
4834
5127
  * @export
4835
- * @class CloutApi
5128
+ * @class CodesApi
4836
5129
  * @extends {BaseAPI}
4837
5130
  */
4838
- export declare class CloutApi extends BaseAPI {
5131
+ export declare class CodesApi extends BaseAPI {
4839
5132
  /**
4840
- * Returns the clout score of an address
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 CloutApi
5137
+ * @memberof CodesApi
4846
5138
  */
4847
- swapperClout(address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SwapperCloutResponse, any, {}>>;
5139
+ codes(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CodesResponse, any, {}>>;
4848
5140
  }
4849
5141
  /**
4850
5142
  * ExportApi - axios parameter creator
@@ -5036,6 +5328,97 @@ export declare class InvariantsApi extends BaseAPI {
5036
5328
  */
5037
5329
  invariants(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InvariantsResponse, any, {}>>;
5038
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, {}>>;
5421
+ }
5039
5422
  /**
5040
5423
  * LiquidityProvidersApi - axios parameter creator
5041
5424
  * @export
@@ -5822,6 +6205,94 @@ export declare class NodesApi extends BaseAPI {
5822
6205
  */
5823
6206
  nodes(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<NodesResponse, any, {}>>;
5824
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, {}>>;
6295
+ }
5825
6296
  /**
5826
6297
  * PoolSlipApi - axios parameter creator
5827
6298
  * @export
@@ -6065,6 +6536,29 @@ export declare class PoolsApi extends BaseAPI {
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., \&quot;BTC.BTC\&quot;)
6545
+ * @param {string} [targetAsset] Filter by target asset (e.g., \&quot;ETH.ETH\&quot;)
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., \&quot;BTC.BTC\&quot;)
6557
+ * @param {string} [targetAsset] Filter by target asset (e.g., \&quot;ETH.ETH\&quot;)
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., \&quot;BTC.BTC\&quot;)
6602
+ * @param {string} [targetAsset] Filter by target asset (e.g., \&quot;ETH.ETH\&quot;)
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., \&quot;BTC.BTC\&quot;)
6614
+ * @param {string} [targetAsset] Filter by target asset (e.g., \&quot;ETH.ETH\&quot;)
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., \&quot;BTC.BTC\&quot;)
6659
+ * @param {string} [targetAsset] Filter by target asset (e.g., \&quot;ETH.ETH\&quot;)
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., \&quot;BTC.BTC\&quot;)
6671
+ * @param {string} [targetAsset] Filter by target asset (e.g., \&quot;ETH.ETH\&quot;)
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
@@ -6169,6 +6709,31 @@ export declare const QueueApiFactory: (configuration?: Configuration, basePath?:
6169
6709
  * @extends {BaseAPI}
6170
6710
  */
6171
6711
  export declare class QueueApi extends BaseAPI {
6712
+ /**
6713
+ * Returns limit swaps with pagination and filtering.
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., \&quot;BTC.BTC\&quot;)
6718
+ * @param {string} [targetAsset] Filter by target asset (e.g., \&quot;ETH.ETH\&quot;)
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
6722
+ * @param {*} [options] Override http request option.
6723
+ * @throws {RequiredError}
6724
+ * @memberof QueueApi
6725
+ */
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, {}>>;
6727
+ /**
6728
+ * Returns limit swaps summary statistics.
6729
+ * @param {number} [height] optional block height, defaults to current tip
6730
+ * @param {string} [sourceAsset] Filter by source asset (e.g., \&quot;BTC.BTC\&quot;)
6731
+ * @param {string} [targetAsset] Filter by target asset (e.g., \&quot;ETH.ETH\&quot;)
6732
+ * @param {*} [options] Override http request option.
6733
+ * @throws {RequiredError}
6734
+ * @memberof QueueApi
6735
+ */
6736
+ limitSwapsSummary(height?: number, sourceAsset?: string, targetAsset?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LimitSwapsSummaryResponse, any, {}>>;
6172
6737
  /**
6173
6738
  * Returns queue statistics.
6174
6739
  * @param {number} [height] optional block height, defaults to current tip
@@ -6207,51 +6772,6 @@ export declare class QueueApi extends BaseAPI {
6207
6772
  * @export
6208
6773
  */
6209
6774
  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>;
6236
- /**
6237
- * Provide a quote estimate for the provided saver deposit.
6238
- * @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
- * @param {*} [options] Override http request option.
6242
- * @throws {RequiredError}
6243
- */
6244
- quotesaverdeposit: (height?: number, asset?: string, amount?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6245
- /**
6246
- * Provide a quote estimate for the provided saver withdraw.
6247
- * @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
- * @param {*} [options] Override http request option.
6252
- * @throws {RequiredError}
6253
- */
6254
- quotesaverwithdraw: (height?: number, asset?: string, address?: string, withdrawBps?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
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
@@ -6602,6 +6983,139 @@ export declare class RUNEPoolApi extends BaseAPI {
6602
6983
  */
6603
6984
  runeProviders(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RUNEProvidersResponse, any, {}>>;
6604
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, {}>>;
7118
+ }
6605
7119
  /**
6606
7120
  * SaversApi - axios parameter creator
6607
7121
  * @export
@@ -6900,6 +7414,65 @@ export declare class StreamingSwapApi extends BaseAPI {
6900
7414
  */
6901
7415
  streamSwaps(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<StreamingSwapsResponse, any, {}>>;
6902
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, {}>>;
7475
+ }
6903
7476
  /**
6904
7477
  * TCYClaimersApi - axios parameter creator
6905
7478
  * @export
@@ -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
@@ -7878,6 +8472,14 @@ export declare class VaultsApi extends BaseAPI {
7878
8472
  * @memberof VaultsApi
7879
8473
  */
7880
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