@xchainjs/xchain-thornode 0.3.16 → 0.3.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/generated/thornodeApi/api.d.ts +304 -244
- package/lib/generated/thornodeApi/base.d.ts +1 -1
- package/lib/generated/thornodeApi/common.d.ts +1 -1
- package/lib/generated/thornodeApi/configuration.d.ts +1 -1
- package/lib/generated/thornodeApi/index.d.ts +1 -1
- package/lib/index.esm.js +220 -213
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +223 -216
- package/lib/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Thornode API
|
|
3
3
|
* Thornode REST API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.134.0
|
|
6
6
|
* Contact: devs@thorchain.org
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -79,18 +79,6 @@ export interface BaseQuoteResponse {
|
|
|
79
79
|
* @memberof BaseQuoteResponse
|
|
80
80
|
*/
|
|
81
81
|
'fees'?: QuoteFees;
|
|
82
|
-
/**
|
|
83
|
-
* Deprecated - migrate to fees object.
|
|
84
|
-
* @type {number}
|
|
85
|
-
* @memberof BaseQuoteResponse
|
|
86
|
-
*/
|
|
87
|
-
'slippage_bps'?: number;
|
|
88
|
-
/**
|
|
89
|
-
* Deprecated - migrate to fees object.
|
|
90
|
-
* @type {number}
|
|
91
|
-
* @memberof BaseQuoteResponse
|
|
92
|
-
*/
|
|
93
|
-
'streaming_slippage_bps'?: number;
|
|
94
82
|
/**
|
|
95
83
|
* the EVM chain router contract address
|
|
96
84
|
* @type {string}
|
|
@@ -1236,51 +1224,6 @@ export interface MimirNodesResponse {
|
|
|
1236
1224
|
export interface MimirResponse {
|
|
1237
1225
|
[key: string]: string;
|
|
1238
1226
|
}
|
|
1239
|
-
/**
|
|
1240
|
-
*
|
|
1241
|
-
* @export
|
|
1242
|
-
* @interface MimirV2IDsResponse
|
|
1243
|
-
*/
|
|
1244
|
-
export interface MimirV2IDsResponse {
|
|
1245
|
-
/**
|
|
1246
|
-
*
|
|
1247
|
-
* @type {number}
|
|
1248
|
-
* @memberof MimirV2IDsResponse
|
|
1249
|
-
*/
|
|
1250
|
-
'id': number;
|
|
1251
|
-
/**
|
|
1252
|
-
*
|
|
1253
|
-
* @type {string}
|
|
1254
|
-
* @memberof MimirV2IDsResponse
|
|
1255
|
-
*/
|
|
1256
|
-
'name': string;
|
|
1257
|
-
/**
|
|
1258
|
-
*
|
|
1259
|
-
* @type {string}
|
|
1260
|
-
* @memberof MimirV2IDsResponse
|
|
1261
|
-
*/
|
|
1262
|
-
'vote_key': string;
|
|
1263
|
-
/**
|
|
1264
|
-
*
|
|
1265
|
-
* @type {string}
|
|
1266
|
-
* @memberof MimirV2IDsResponse
|
|
1267
|
-
*/
|
|
1268
|
-
'legacy_key': string;
|
|
1269
|
-
/**
|
|
1270
|
-
*
|
|
1271
|
-
* @type {string}
|
|
1272
|
-
* @memberof MimirV2IDsResponse
|
|
1273
|
-
*/
|
|
1274
|
-
'type': string;
|
|
1275
|
-
/**
|
|
1276
|
-
*
|
|
1277
|
-
* @type {{ [key: string]: number; }}
|
|
1278
|
-
* @memberof MimirV2IDsResponse
|
|
1279
|
-
*/
|
|
1280
|
-
'votes': {
|
|
1281
|
-
[key: string]: number;
|
|
1282
|
-
};
|
|
1283
|
-
}
|
|
1284
1227
|
/**
|
|
1285
1228
|
*
|
|
1286
1229
|
* @export
|
|
@@ -1949,37 +1892,37 @@ export interface OutboundSignedStage {
|
|
|
1949
1892
|
/**
|
|
1950
1893
|
*
|
|
1951
1894
|
* @export
|
|
1952
|
-
* @interface
|
|
1895
|
+
* @interface POL
|
|
1953
1896
|
*/
|
|
1954
|
-
export interface
|
|
1897
|
+
export interface POL {
|
|
1955
1898
|
/**
|
|
1956
1899
|
* total amount of RUNE deposited into the pools
|
|
1957
1900
|
* @type {string}
|
|
1958
|
-
* @memberof
|
|
1901
|
+
* @memberof POL
|
|
1959
1902
|
*/
|
|
1960
1903
|
'rune_deposited': string;
|
|
1961
1904
|
/**
|
|
1962
1905
|
* total amount of RUNE withdrawn from the pools
|
|
1963
1906
|
* @type {string}
|
|
1964
|
-
* @memberof
|
|
1907
|
+
* @memberof POL
|
|
1965
1908
|
*/
|
|
1966
1909
|
'rune_withdrawn': string;
|
|
1967
1910
|
/**
|
|
1968
1911
|
* total value of protocol\'s LP position in RUNE value
|
|
1969
1912
|
* @type {string}
|
|
1970
|
-
* @memberof
|
|
1913
|
+
* @memberof POL
|
|
1971
1914
|
*/
|
|
1972
1915
|
'value': string;
|
|
1973
1916
|
/**
|
|
1974
1917
|
* profit and loss of protocol owned liquidity
|
|
1975
1918
|
* @type {string}
|
|
1976
|
-
* @memberof
|
|
1919
|
+
* @memberof POL
|
|
1977
1920
|
*/
|
|
1978
1921
|
'pnl': string;
|
|
1979
1922
|
/**
|
|
1980
1923
|
* current amount of rune deposited
|
|
1981
1924
|
* @type {string}
|
|
1982
|
-
* @memberof
|
|
1925
|
+
* @memberof POL
|
|
1983
1926
|
*/
|
|
1984
1927
|
'current_deposit': string;
|
|
1985
1928
|
}
|
|
@@ -2081,6 +2024,12 @@ export interface Pool {
|
|
|
2081
2024
|
* @memberof Pool
|
|
2082
2025
|
*/
|
|
2083
2026
|
'balance_rune': string;
|
|
2027
|
+
/**
|
|
2028
|
+
* the USD (TOR) price of the asset in 1e8
|
|
2029
|
+
* @type {string}
|
|
2030
|
+
* @memberof Pool
|
|
2031
|
+
*/
|
|
2032
|
+
'asset_tor_price': string;
|
|
2084
2033
|
/**
|
|
2085
2034
|
* the total pool units, this is the sum of LP and synth units
|
|
2086
2035
|
* @type {string}
|
|
@@ -2117,6 +2066,18 @@ export interface Pool {
|
|
|
2117
2066
|
* @memberof Pool
|
|
2118
2067
|
*/
|
|
2119
2068
|
'savers_units': string;
|
|
2069
|
+
/**
|
|
2070
|
+
* the filled savers capacity in basis points, 4500/10000 = 45%
|
|
2071
|
+
* @type {string}
|
|
2072
|
+
* @memberof Pool
|
|
2073
|
+
*/
|
|
2074
|
+
'savers_fill_bps': string;
|
|
2075
|
+
/**
|
|
2076
|
+
* amount of remaining capacity in asset
|
|
2077
|
+
* @type {string}
|
|
2078
|
+
* @memberof Pool
|
|
2079
|
+
*/
|
|
2080
|
+
'savers_capacity_remaining': string;
|
|
2120
2081
|
/**
|
|
2121
2082
|
* whether additional synths cannot be minted
|
|
2122
2083
|
* @type {boolean}
|
|
@@ -2339,18 +2300,6 @@ export interface QuoteLoanCloseResponse {
|
|
|
2339
2300
|
* @memberof QuoteLoanCloseResponse
|
|
2340
2301
|
*/
|
|
2341
2302
|
'fees': QuoteFees;
|
|
2342
|
-
/**
|
|
2343
|
-
* Deprecated - migrate to fees object.
|
|
2344
|
-
* @type {number}
|
|
2345
|
-
* @memberof QuoteLoanCloseResponse
|
|
2346
|
-
*/
|
|
2347
|
-
'slippage_bps'?: number;
|
|
2348
|
-
/**
|
|
2349
|
-
* Deprecated - migrate to fees object.
|
|
2350
|
-
* @type {number}
|
|
2351
|
-
* @memberof QuoteLoanCloseResponse
|
|
2352
|
-
*/
|
|
2353
|
-
'streaming_slippage_bps'?: number;
|
|
2354
2303
|
/**
|
|
2355
2304
|
* the EVM chain router contract address
|
|
2356
2305
|
* @type {string}
|
|
@@ -2490,18 +2439,6 @@ export interface QuoteLoanOpenResponse {
|
|
|
2490
2439
|
* @memberof QuoteLoanOpenResponse
|
|
2491
2440
|
*/
|
|
2492
2441
|
'fees': QuoteFees;
|
|
2493
|
-
/**
|
|
2494
|
-
* Deprecated - migrate to fees object.
|
|
2495
|
-
* @type {number}
|
|
2496
|
-
* @memberof QuoteLoanOpenResponse
|
|
2497
|
-
*/
|
|
2498
|
-
'slippage_bps'?: number;
|
|
2499
|
-
/**
|
|
2500
|
-
* Deprecated - migrate to fees object.
|
|
2501
|
-
* @type {number}
|
|
2502
|
-
* @memberof QuoteLoanOpenResponse
|
|
2503
|
-
*/
|
|
2504
|
-
'streaming_slippage_bps'?: number;
|
|
2505
2442
|
/**
|
|
2506
2443
|
* the EVM chain router contract address
|
|
2507
2444
|
* @type {string}
|
|
@@ -2641,18 +2578,6 @@ export interface QuoteSaverDepositResponse {
|
|
|
2641
2578
|
* @memberof QuoteSaverDepositResponse
|
|
2642
2579
|
*/
|
|
2643
2580
|
'fees': QuoteFees;
|
|
2644
|
-
/**
|
|
2645
|
-
* Deprecated - migrate to fees object.
|
|
2646
|
-
* @type {number}
|
|
2647
|
-
* @memberof QuoteSaverDepositResponse
|
|
2648
|
-
*/
|
|
2649
|
-
'slippage_bps': number;
|
|
2650
|
-
/**
|
|
2651
|
-
* Deprecated - migrate to fees object.
|
|
2652
|
-
* @type {number}
|
|
2653
|
-
* @memberof QuoteSaverDepositResponse
|
|
2654
|
-
*/
|
|
2655
|
-
'streaming_slippage_bps'?: number;
|
|
2656
2581
|
/**
|
|
2657
2582
|
* the EVM chain router contract address
|
|
2658
2583
|
* @type {string}
|
|
@@ -2762,18 +2687,6 @@ export interface QuoteSaverWithdrawResponse {
|
|
|
2762
2687
|
* @memberof QuoteSaverWithdrawResponse
|
|
2763
2688
|
*/
|
|
2764
2689
|
'fees': QuoteFees;
|
|
2765
|
-
/**
|
|
2766
|
-
* Deprecated - migrate to fees object.
|
|
2767
|
-
* @type {number}
|
|
2768
|
-
* @memberof QuoteSaverWithdrawResponse
|
|
2769
|
-
*/
|
|
2770
|
-
'slippage_bps': number;
|
|
2771
|
-
/**
|
|
2772
|
-
* Deprecated - migrate to fees object.
|
|
2773
|
-
* @type {number}
|
|
2774
|
-
* @memberof QuoteSaverWithdrawResponse
|
|
2775
|
-
*/
|
|
2776
|
-
'streaming_slippage_bps'?: number;
|
|
2777
2690
|
/**
|
|
2778
2691
|
* the EVM chain router contract address
|
|
2779
2692
|
* @type {string}
|
|
@@ -2883,18 +2796,6 @@ export interface QuoteSwapResponse {
|
|
|
2883
2796
|
* @memberof QuoteSwapResponse
|
|
2884
2797
|
*/
|
|
2885
2798
|
'fees': QuoteFees;
|
|
2886
|
-
/**
|
|
2887
|
-
* Deprecated - migrate to fees object.
|
|
2888
|
-
* @type {number}
|
|
2889
|
-
* @memberof QuoteSwapResponse
|
|
2890
|
-
*/
|
|
2891
|
-
'slippage_bps': number;
|
|
2892
|
-
/**
|
|
2893
|
-
* Deprecated - migrate to fees object.
|
|
2894
|
-
* @type {number}
|
|
2895
|
-
* @memberof QuoteSwapResponse
|
|
2896
|
-
*/
|
|
2897
|
-
'streaming_slippage_bps': number;
|
|
2898
2799
|
/**
|
|
2899
2800
|
* the EVM chain router contract address
|
|
2900
2801
|
* @type {string}
|
|
@@ -2955,12 +2856,6 @@ export interface QuoteSwapResponse {
|
|
|
2955
2856
|
* @memberof QuoteSwapResponse
|
|
2956
2857
|
*/
|
|
2957
2858
|
'expected_amount_out': string;
|
|
2958
|
-
/**
|
|
2959
|
-
* Deprecated - expected_amount_out is streaming amount if interval provided.
|
|
2960
|
-
* @type {string}
|
|
2961
|
-
* @memberof QuoteSwapResponse
|
|
2962
|
-
*/
|
|
2963
|
-
'expected_amount_out_streaming': string;
|
|
2964
2859
|
/**
|
|
2965
2860
|
* the maximum amount of trades a streaming swap can do for a trade
|
|
2966
2861
|
* @type {number}
|
|
@@ -2986,6 +2881,167 @@ export interface QuoteSwapResponse {
|
|
|
2986
2881
|
*/
|
|
2987
2882
|
'total_swap_seconds'?: number;
|
|
2988
2883
|
}
|
|
2884
|
+
/**
|
|
2885
|
+
*
|
|
2886
|
+
* @export
|
|
2887
|
+
* @interface RUNEPoolResponse
|
|
2888
|
+
*/
|
|
2889
|
+
export interface RUNEPoolResponse {
|
|
2890
|
+
/**
|
|
2891
|
+
*
|
|
2892
|
+
* @type {POL}
|
|
2893
|
+
* @memberof RUNEPoolResponse
|
|
2894
|
+
*/
|
|
2895
|
+
'pol': POL;
|
|
2896
|
+
/**
|
|
2897
|
+
*
|
|
2898
|
+
* @type {RUNEPoolResponseProviders}
|
|
2899
|
+
* @memberof RUNEPoolResponse
|
|
2900
|
+
*/
|
|
2901
|
+
'providers': RUNEPoolResponseProviders;
|
|
2902
|
+
/**
|
|
2903
|
+
*
|
|
2904
|
+
* @type {RUNEPoolResponseReserve}
|
|
2905
|
+
* @memberof RUNEPoolResponse
|
|
2906
|
+
*/
|
|
2907
|
+
'reserve': RUNEPoolResponseReserve;
|
|
2908
|
+
}
|
|
2909
|
+
/**
|
|
2910
|
+
*
|
|
2911
|
+
* @export
|
|
2912
|
+
* @interface RUNEPoolResponseProviders
|
|
2913
|
+
*/
|
|
2914
|
+
export interface RUNEPoolResponseProviders {
|
|
2915
|
+
/**
|
|
2916
|
+
* the units of RUNEPool owned by providers (including pending)
|
|
2917
|
+
* @type {string}
|
|
2918
|
+
* @memberof RUNEPoolResponseProviders
|
|
2919
|
+
*/
|
|
2920
|
+
'units': string;
|
|
2921
|
+
/**
|
|
2922
|
+
* the units of RUNEPool owned by providers that remain pending
|
|
2923
|
+
* @type {string}
|
|
2924
|
+
* @memberof RUNEPoolResponseProviders
|
|
2925
|
+
*/
|
|
2926
|
+
'pending_units': string;
|
|
2927
|
+
/**
|
|
2928
|
+
* the amount of RUNE pending
|
|
2929
|
+
* @type {string}
|
|
2930
|
+
* @memberof RUNEPoolResponseProviders
|
|
2931
|
+
*/
|
|
2932
|
+
'pending_rune': string;
|
|
2933
|
+
/**
|
|
2934
|
+
* the value of the provider share of the RUNEPool (includes pending RUNE)
|
|
2935
|
+
* @type {string}
|
|
2936
|
+
* @memberof RUNEPoolResponseProviders
|
|
2937
|
+
*/
|
|
2938
|
+
'value': string;
|
|
2939
|
+
/**
|
|
2940
|
+
* the profit and loss of the provider share of the RUNEPool
|
|
2941
|
+
* @type {string}
|
|
2942
|
+
* @memberof RUNEPoolResponseProviders
|
|
2943
|
+
*/
|
|
2944
|
+
'pnl': string;
|
|
2945
|
+
/**
|
|
2946
|
+
* the current RUNE deposited by providers
|
|
2947
|
+
* @type {string}
|
|
2948
|
+
* @memberof RUNEPoolResponseProviders
|
|
2949
|
+
*/
|
|
2950
|
+
'current_deposit': string;
|
|
2951
|
+
}
|
|
2952
|
+
/**
|
|
2953
|
+
*
|
|
2954
|
+
* @export
|
|
2955
|
+
* @interface RUNEPoolResponseReserve
|
|
2956
|
+
*/
|
|
2957
|
+
export interface RUNEPoolResponseReserve {
|
|
2958
|
+
/**
|
|
2959
|
+
* the units of RUNEPool owned by the reserve
|
|
2960
|
+
* @type {string}
|
|
2961
|
+
* @memberof RUNEPoolResponseReserve
|
|
2962
|
+
*/
|
|
2963
|
+
'units': string;
|
|
2964
|
+
/**
|
|
2965
|
+
* the value of the reserve share of the RUNEPool
|
|
2966
|
+
* @type {string}
|
|
2967
|
+
* @memberof RUNEPoolResponseReserve
|
|
2968
|
+
*/
|
|
2969
|
+
'value': string;
|
|
2970
|
+
/**
|
|
2971
|
+
* the profit and loss of the reserve share of the RUNEPool
|
|
2972
|
+
* @type {string}
|
|
2973
|
+
* @memberof RUNEPoolResponseReserve
|
|
2974
|
+
*/
|
|
2975
|
+
'pnl': string;
|
|
2976
|
+
/**
|
|
2977
|
+
* the current RUNE deposited by the reserve
|
|
2978
|
+
* @type {string}
|
|
2979
|
+
* @memberof RUNEPoolResponseReserve
|
|
2980
|
+
*/
|
|
2981
|
+
'current_deposit': string;
|
|
2982
|
+
}
|
|
2983
|
+
/**
|
|
2984
|
+
*
|
|
2985
|
+
* @export
|
|
2986
|
+
* @interface RUNEProvider
|
|
2987
|
+
*/
|
|
2988
|
+
export interface RUNEProvider {
|
|
2989
|
+
/**
|
|
2990
|
+
*
|
|
2991
|
+
* @type {string}
|
|
2992
|
+
* @memberof RUNEProvider
|
|
2993
|
+
*/
|
|
2994
|
+
'rune_address': string;
|
|
2995
|
+
/**
|
|
2996
|
+
*
|
|
2997
|
+
* @type {string}
|
|
2998
|
+
* @memberof RUNEProvider
|
|
2999
|
+
*/
|
|
3000
|
+
'units': string;
|
|
3001
|
+
/**
|
|
3002
|
+
*
|
|
3003
|
+
* @type {string}
|
|
3004
|
+
* @memberof RUNEProvider
|
|
3005
|
+
*/
|
|
3006
|
+
'value': string;
|
|
3007
|
+
/**
|
|
3008
|
+
*
|
|
3009
|
+
* @type {string}
|
|
3010
|
+
* @memberof RUNEProvider
|
|
3011
|
+
*/
|
|
3012
|
+
'pnl': string;
|
|
3013
|
+
/**
|
|
3014
|
+
*
|
|
3015
|
+
* @type {string}
|
|
3016
|
+
* @memberof RUNEProvider
|
|
3017
|
+
*/
|
|
3018
|
+
'deposit_amount': string;
|
|
3019
|
+
/**
|
|
3020
|
+
*
|
|
3021
|
+
* @type {string}
|
|
3022
|
+
* @memberof RUNEProvider
|
|
3023
|
+
*/
|
|
3024
|
+
'withdraw_amount': string;
|
|
3025
|
+
/**
|
|
3026
|
+
*
|
|
3027
|
+
* @type {number}
|
|
3028
|
+
* @memberof RUNEProvider
|
|
3029
|
+
*/
|
|
3030
|
+
'last_deposit_height': number;
|
|
3031
|
+
/**
|
|
3032
|
+
*
|
|
3033
|
+
* @type {number}
|
|
3034
|
+
* @memberof RUNEProvider
|
|
3035
|
+
*/
|
|
3036
|
+
'last_withdraw_height': number;
|
|
3037
|
+
}
|
|
3038
|
+
/**
|
|
3039
|
+
*
|
|
3040
|
+
* @export
|
|
3041
|
+
* @interface RUNEProvidersResponse
|
|
3042
|
+
*/
|
|
3043
|
+
export interface RUNEProvidersResponse extends Array<RUNEProvider> {
|
|
3044
|
+
}
|
|
2989
3045
|
/**
|
|
2990
3046
|
*
|
|
2991
3047
|
* @export
|
|
@@ -4621,20 +4677,6 @@ export declare const MimirApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
4621
4677
|
* @throws {RequiredError}
|
|
4622
4678
|
*/
|
|
4623
4679
|
mimirNodes: (height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4624
|
-
/**
|
|
4625
|
-
* Returns current mimir V2 configuration.
|
|
4626
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
4627
|
-
* @param {*} [options] Override http request option.
|
|
4628
|
-
* @throws {RequiredError}
|
|
4629
|
-
*/
|
|
4630
|
-
mimirV2: (height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4631
|
-
/**
|
|
4632
|
-
* Returns mapping of mimir V2 IDs to name.
|
|
4633
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
4634
|
-
* @param {*} [options] Override http request option.
|
|
4635
|
-
* @throws {RequiredError}
|
|
4636
|
-
*/
|
|
4637
|
-
mimirV2IDs: (height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4638
4680
|
};
|
|
4639
4681
|
/**
|
|
4640
4682
|
* MimirApi - functional programming interface
|
|
@@ -4678,20 +4720,6 @@ export declare const MimirApiFp: (configuration?: Configuration) => {
|
|
|
4678
4720
|
* @throws {RequiredError}
|
|
4679
4721
|
*/
|
|
4680
4722
|
mimirNodes(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MimirNodesResponse>>;
|
|
4681
|
-
/**
|
|
4682
|
-
* Returns current mimir V2 configuration.
|
|
4683
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
4684
|
-
* @param {*} [options] Override http request option.
|
|
4685
|
-
* @throws {RequiredError}
|
|
4686
|
-
*/
|
|
4687
|
-
mimirV2(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MimirResponse>>;
|
|
4688
|
-
/**
|
|
4689
|
-
* Returns mapping of mimir V2 IDs to name.
|
|
4690
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
4691
|
-
* @param {*} [options] Override http request option.
|
|
4692
|
-
* @throws {RequiredError}
|
|
4693
|
-
*/
|
|
4694
|
-
mimirV2IDs(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MimirV2IDsResponse>>;
|
|
4695
4723
|
};
|
|
4696
4724
|
/**
|
|
4697
4725
|
* MimirApi - factory interface
|
|
@@ -4735,20 +4763,6 @@ export declare const MimirApiFactory: (configuration?: Configuration, basePath?:
|
|
|
4735
4763
|
* @throws {RequiredError}
|
|
4736
4764
|
*/
|
|
4737
4765
|
mimirNodes(height?: number, options?: any): AxiosPromise<MimirNodesResponse>;
|
|
4738
|
-
/**
|
|
4739
|
-
* Returns current mimir V2 configuration.
|
|
4740
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
4741
|
-
* @param {*} [options] Override http request option.
|
|
4742
|
-
* @throws {RequiredError}
|
|
4743
|
-
*/
|
|
4744
|
-
mimirV2(height?: number, options?: any): AxiosPromise<MimirResponse>;
|
|
4745
|
-
/**
|
|
4746
|
-
* Returns mapping of mimir V2 IDs to name.
|
|
4747
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
4748
|
-
* @param {*} [options] Override http request option.
|
|
4749
|
-
* @throws {RequiredError}
|
|
4750
|
-
*/
|
|
4751
|
-
mimirV2IDs(height?: number, options?: any): AxiosPromise<MimirV2IDsResponse>;
|
|
4752
4766
|
};
|
|
4753
4767
|
/**
|
|
4754
4768
|
* MimirApi - object-oriented interface
|
|
@@ -4799,22 +4813,6 @@ export declare class MimirApi extends BaseAPI {
|
|
|
4799
4813
|
* @memberof MimirApi
|
|
4800
4814
|
*/
|
|
4801
4815
|
mimirNodes(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MimirNodesResponse, any>>;
|
|
4802
|
-
/**
|
|
4803
|
-
* Returns current mimir V2 configuration.
|
|
4804
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
4805
|
-
* @param {*} [options] Override http request option.
|
|
4806
|
-
* @throws {RequiredError}
|
|
4807
|
-
* @memberof MimirApi
|
|
4808
|
-
*/
|
|
4809
|
-
mimirV2(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MimirResponse, any>>;
|
|
4810
|
-
/**
|
|
4811
|
-
* Returns mapping of mimir V2 IDs to name.
|
|
4812
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
4813
|
-
* @param {*} [options] Override http request option.
|
|
4814
|
-
* @throws {RequiredError}
|
|
4815
|
-
* @memberof MimirApi
|
|
4816
|
-
*/
|
|
4817
|
-
mimirV2IDs(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MimirV2IDsResponse, any>>;
|
|
4818
4816
|
}
|
|
4819
4817
|
/**
|
|
4820
4818
|
* NetworkApi - axios parameter creator
|
|
@@ -5232,61 +5230,6 @@ export declare class NodesApi extends BaseAPI {
|
|
|
5232
5230
|
*/
|
|
5233
5231
|
nodes(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<NodesResponse, any>>;
|
|
5234
5232
|
}
|
|
5235
|
-
/**
|
|
5236
|
-
* POLApi - axios parameter creator
|
|
5237
|
-
* @export
|
|
5238
|
-
*/
|
|
5239
|
-
export declare const POLApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
5240
|
-
/**
|
|
5241
|
-
* Returns protocol owned liquidity overview statistics.
|
|
5242
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
5243
|
-
* @param {*} [options] Override http request option.
|
|
5244
|
-
* @throws {RequiredError}
|
|
5245
|
-
*/
|
|
5246
|
-
pol: (height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5247
|
-
};
|
|
5248
|
-
/**
|
|
5249
|
-
* POLApi - functional programming interface
|
|
5250
|
-
* @export
|
|
5251
|
-
*/
|
|
5252
|
-
export declare const POLApiFp: (configuration?: Configuration) => {
|
|
5253
|
-
/**
|
|
5254
|
-
* Returns protocol owned liquidity overview statistics.
|
|
5255
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
5256
|
-
* @param {*} [options] Override http request option.
|
|
5257
|
-
* @throws {RequiredError}
|
|
5258
|
-
*/
|
|
5259
|
-
pol(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<POLResponse>>;
|
|
5260
|
-
};
|
|
5261
|
-
/**
|
|
5262
|
-
* POLApi - factory interface
|
|
5263
|
-
* @export
|
|
5264
|
-
*/
|
|
5265
|
-
export declare const POLApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
5266
|
-
/**
|
|
5267
|
-
* Returns protocol owned liquidity overview statistics.
|
|
5268
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
5269
|
-
* @param {*} [options] Override http request option.
|
|
5270
|
-
* @throws {RequiredError}
|
|
5271
|
-
*/
|
|
5272
|
-
pol(height?: number, options?: any): AxiosPromise<POLResponse>;
|
|
5273
|
-
};
|
|
5274
|
-
/**
|
|
5275
|
-
* POLApi - object-oriented interface
|
|
5276
|
-
* @export
|
|
5277
|
-
* @class POLApi
|
|
5278
|
-
* @extends {BaseAPI}
|
|
5279
|
-
*/
|
|
5280
|
-
export declare class POLApi extends BaseAPI {
|
|
5281
|
-
/**
|
|
5282
|
-
* Returns protocol owned liquidity overview statistics.
|
|
5283
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
5284
|
-
* @param {*} [options] Override http request option.
|
|
5285
|
-
* @throws {RequiredError}
|
|
5286
|
-
* @memberof POLApi
|
|
5287
|
-
*/
|
|
5288
|
-
pol(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<POLResponse, any>>;
|
|
5289
|
-
}
|
|
5290
5233
|
/**
|
|
5291
5234
|
* PoolSlipApi - axios parameter creator
|
|
5292
5235
|
* @export
|
|
@@ -5946,6 +5889,123 @@ export declare class QuoteApi extends BaseAPI {
|
|
|
5946
5889
|
*/
|
|
5947
5890
|
quoteswap(height?: number, fromAsset?: string, toAsset?: string, amount?: number, destination?: string, refundAddress?: string, streamingInterval?: number, streamingQuantity?: number, toleranceBps?: number, affiliateBps?: number, affiliate?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<QuoteSwapResponse, any>>;
|
|
5948
5891
|
}
|
|
5892
|
+
/**
|
|
5893
|
+
* RUNEPoolApi - axios parameter creator
|
|
5894
|
+
* @export
|
|
5895
|
+
*/
|
|
5896
|
+
export declare const RUNEPoolApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
5897
|
+
/**
|
|
5898
|
+
* Returns the pool information for the RUNE pool.
|
|
5899
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5900
|
+
* @param {*} [options] Override http request option.
|
|
5901
|
+
* @throws {RequiredError}
|
|
5902
|
+
*/
|
|
5903
|
+
runePool: (height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5904
|
+
/**
|
|
5905
|
+
* Returns the RUNE Provider information for an address.
|
|
5906
|
+
* @param {string} address
|
|
5907
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5908
|
+
* @param {*} [options] Override http request option.
|
|
5909
|
+
* @throws {RequiredError}
|
|
5910
|
+
*/
|
|
5911
|
+
runeProvider: (address: string, height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5912
|
+
/**
|
|
5913
|
+
* Returns all RUNE Providers.
|
|
5914
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5915
|
+
* @param {*} [options] Override http request option.
|
|
5916
|
+
* @throws {RequiredError}
|
|
5917
|
+
*/
|
|
5918
|
+
runeProviders: (height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5919
|
+
};
|
|
5920
|
+
/**
|
|
5921
|
+
* RUNEPoolApi - functional programming interface
|
|
5922
|
+
* @export
|
|
5923
|
+
*/
|
|
5924
|
+
export declare const RUNEPoolApiFp: (configuration?: Configuration) => {
|
|
5925
|
+
/**
|
|
5926
|
+
* Returns the pool information for the RUNE pool.
|
|
5927
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5928
|
+
* @param {*} [options] Override http request option.
|
|
5929
|
+
* @throws {RequiredError}
|
|
5930
|
+
*/
|
|
5931
|
+
runePool(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RUNEPoolResponse>>;
|
|
5932
|
+
/**
|
|
5933
|
+
* Returns the RUNE Provider information for an address.
|
|
5934
|
+
* @param {string} address
|
|
5935
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5936
|
+
* @param {*} [options] Override http request option.
|
|
5937
|
+
* @throws {RequiredError}
|
|
5938
|
+
*/
|
|
5939
|
+
runeProvider(address: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RUNEProvider>>;
|
|
5940
|
+
/**
|
|
5941
|
+
* Returns all RUNE Providers.
|
|
5942
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5943
|
+
* @param {*} [options] Override http request option.
|
|
5944
|
+
* @throws {RequiredError}
|
|
5945
|
+
*/
|
|
5946
|
+
runeProviders(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RUNEProvidersResponse>>;
|
|
5947
|
+
};
|
|
5948
|
+
/**
|
|
5949
|
+
* RUNEPoolApi - factory interface
|
|
5950
|
+
* @export
|
|
5951
|
+
*/
|
|
5952
|
+
export declare const RUNEPoolApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
5953
|
+
/**
|
|
5954
|
+
* Returns the pool information for the RUNE pool.
|
|
5955
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5956
|
+
* @param {*} [options] Override http request option.
|
|
5957
|
+
* @throws {RequiredError}
|
|
5958
|
+
*/
|
|
5959
|
+
runePool(height?: number, options?: any): AxiosPromise<RUNEPoolResponse>;
|
|
5960
|
+
/**
|
|
5961
|
+
* Returns the RUNE Provider information for an address.
|
|
5962
|
+
* @param {string} address
|
|
5963
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5964
|
+
* @param {*} [options] Override http request option.
|
|
5965
|
+
* @throws {RequiredError}
|
|
5966
|
+
*/
|
|
5967
|
+
runeProvider(address: string, height?: number, options?: any): AxiosPromise<RUNEProvider>;
|
|
5968
|
+
/**
|
|
5969
|
+
* Returns all RUNE Providers.
|
|
5970
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5971
|
+
* @param {*} [options] Override http request option.
|
|
5972
|
+
* @throws {RequiredError}
|
|
5973
|
+
*/
|
|
5974
|
+
runeProviders(height?: number, options?: any): AxiosPromise<RUNEProvidersResponse>;
|
|
5975
|
+
};
|
|
5976
|
+
/**
|
|
5977
|
+
* RUNEPoolApi - object-oriented interface
|
|
5978
|
+
* @export
|
|
5979
|
+
* @class RUNEPoolApi
|
|
5980
|
+
* @extends {BaseAPI}
|
|
5981
|
+
*/
|
|
5982
|
+
export declare class RUNEPoolApi extends BaseAPI {
|
|
5983
|
+
/**
|
|
5984
|
+
* Returns the pool information for the RUNE pool.
|
|
5985
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5986
|
+
* @param {*} [options] Override http request option.
|
|
5987
|
+
* @throws {RequiredError}
|
|
5988
|
+
* @memberof RUNEPoolApi
|
|
5989
|
+
*/
|
|
5990
|
+
runePool(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RUNEPoolResponse, any>>;
|
|
5991
|
+
/**
|
|
5992
|
+
* Returns the RUNE Provider information for an address.
|
|
5993
|
+
* @param {string} address
|
|
5994
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5995
|
+
* @param {*} [options] Override http request option.
|
|
5996
|
+
* @throws {RequiredError}
|
|
5997
|
+
* @memberof RUNEPoolApi
|
|
5998
|
+
*/
|
|
5999
|
+
runeProvider(address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RUNEProvider, any>>;
|
|
6000
|
+
/**
|
|
6001
|
+
* Returns all RUNE Providers.
|
|
6002
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
6003
|
+
* @param {*} [options] Override http request option.
|
|
6004
|
+
* @throws {RequiredError}
|
|
6005
|
+
* @memberof RUNEPoolApi
|
|
6006
|
+
*/
|
|
6007
|
+
runeProviders(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RUNEProvidersResponse, any>>;
|
|
6008
|
+
}
|
|
5949
6009
|
/**
|
|
5950
6010
|
* SaversApi - axios parameter creator
|
|
5951
6011
|
* @export
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Thornode API
|
|
3
3
|
* Thornode REST API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.134.0
|
|
6
6
|
* Contact: devs@thorchain.org
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|