@xchainjs/xchain-thornode 0.3.17 → 0.3.19
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 +298 -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 +3 -3
|
@@ -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
|
}
|
|
@@ -2123,6 +2066,18 @@ export interface Pool {
|
|
|
2123
2066
|
* @memberof Pool
|
|
2124
2067
|
*/
|
|
2125
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;
|
|
2126
2081
|
/**
|
|
2127
2082
|
* whether additional synths cannot be minted
|
|
2128
2083
|
* @type {boolean}
|
|
@@ -2345,18 +2300,6 @@ export interface QuoteLoanCloseResponse {
|
|
|
2345
2300
|
* @memberof QuoteLoanCloseResponse
|
|
2346
2301
|
*/
|
|
2347
2302
|
'fees': QuoteFees;
|
|
2348
|
-
/**
|
|
2349
|
-
* Deprecated - migrate to fees object.
|
|
2350
|
-
* @type {number}
|
|
2351
|
-
* @memberof QuoteLoanCloseResponse
|
|
2352
|
-
*/
|
|
2353
|
-
'slippage_bps'?: number;
|
|
2354
|
-
/**
|
|
2355
|
-
* Deprecated - migrate to fees object.
|
|
2356
|
-
* @type {number}
|
|
2357
|
-
* @memberof QuoteLoanCloseResponse
|
|
2358
|
-
*/
|
|
2359
|
-
'streaming_slippage_bps'?: number;
|
|
2360
2303
|
/**
|
|
2361
2304
|
* the EVM chain router contract address
|
|
2362
2305
|
* @type {string}
|
|
@@ -2496,18 +2439,6 @@ export interface QuoteLoanOpenResponse {
|
|
|
2496
2439
|
* @memberof QuoteLoanOpenResponse
|
|
2497
2440
|
*/
|
|
2498
2441
|
'fees': QuoteFees;
|
|
2499
|
-
/**
|
|
2500
|
-
* Deprecated - migrate to fees object.
|
|
2501
|
-
* @type {number}
|
|
2502
|
-
* @memberof QuoteLoanOpenResponse
|
|
2503
|
-
*/
|
|
2504
|
-
'slippage_bps'?: number;
|
|
2505
|
-
/**
|
|
2506
|
-
* Deprecated - migrate to fees object.
|
|
2507
|
-
* @type {number}
|
|
2508
|
-
* @memberof QuoteLoanOpenResponse
|
|
2509
|
-
*/
|
|
2510
|
-
'streaming_slippage_bps'?: number;
|
|
2511
2442
|
/**
|
|
2512
2443
|
* the EVM chain router contract address
|
|
2513
2444
|
* @type {string}
|
|
@@ -2647,18 +2578,6 @@ export interface QuoteSaverDepositResponse {
|
|
|
2647
2578
|
* @memberof QuoteSaverDepositResponse
|
|
2648
2579
|
*/
|
|
2649
2580
|
'fees': QuoteFees;
|
|
2650
|
-
/**
|
|
2651
|
-
* Deprecated - migrate to fees object.
|
|
2652
|
-
* @type {number}
|
|
2653
|
-
* @memberof QuoteSaverDepositResponse
|
|
2654
|
-
*/
|
|
2655
|
-
'slippage_bps': number;
|
|
2656
|
-
/**
|
|
2657
|
-
* Deprecated - migrate to fees object.
|
|
2658
|
-
* @type {number}
|
|
2659
|
-
* @memberof QuoteSaverDepositResponse
|
|
2660
|
-
*/
|
|
2661
|
-
'streaming_slippage_bps'?: number;
|
|
2662
2581
|
/**
|
|
2663
2582
|
* the EVM chain router contract address
|
|
2664
2583
|
* @type {string}
|
|
@@ -2768,18 +2687,6 @@ export interface QuoteSaverWithdrawResponse {
|
|
|
2768
2687
|
* @memberof QuoteSaverWithdrawResponse
|
|
2769
2688
|
*/
|
|
2770
2689
|
'fees': QuoteFees;
|
|
2771
|
-
/**
|
|
2772
|
-
* Deprecated - migrate to fees object.
|
|
2773
|
-
* @type {number}
|
|
2774
|
-
* @memberof QuoteSaverWithdrawResponse
|
|
2775
|
-
*/
|
|
2776
|
-
'slippage_bps': number;
|
|
2777
|
-
/**
|
|
2778
|
-
* Deprecated - migrate to fees object.
|
|
2779
|
-
* @type {number}
|
|
2780
|
-
* @memberof QuoteSaverWithdrawResponse
|
|
2781
|
-
*/
|
|
2782
|
-
'streaming_slippage_bps'?: number;
|
|
2783
2690
|
/**
|
|
2784
2691
|
* the EVM chain router contract address
|
|
2785
2692
|
* @type {string}
|
|
@@ -2889,18 +2796,6 @@ export interface QuoteSwapResponse {
|
|
|
2889
2796
|
* @memberof QuoteSwapResponse
|
|
2890
2797
|
*/
|
|
2891
2798
|
'fees': QuoteFees;
|
|
2892
|
-
/**
|
|
2893
|
-
* Deprecated - migrate to fees object.
|
|
2894
|
-
* @type {number}
|
|
2895
|
-
* @memberof QuoteSwapResponse
|
|
2896
|
-
*/
|
|
2897
|
-
'slippage_bps': number;
|
|
2898
|
-
/**
|
|
2899
|
-
* Deprecated - migrate to fees object.
|
|
2900
|
-
* @type {number}
|
|
2901
|
-
* @memberof QuoteSwapResponse
|
|
2902
|
-
*/
|
|
2903
|
-
'streaming_slippage_bps': number;
|
|
2904
2799
|
/**
|
|
2905
2800
|
* the EVM chain router contract address
|
|
2906
2801
|
* @type {string}
|
|
@@ -2961,12 +2856,6 @@ export interface QuoteSwapResponse {
|
|
|
2961
2856
|
* @memberof QuoteSwapResponse
|
|
2962
2857
|
*/
|
|
2963
2858
|
'expected_amount_out': string;
|
|
2964
|
-
/**
|
|
2965
|
-
* Deprecated - expected_amount_out is streaming amount if interval provided.
|
|
2966
|
-
* @type {string}
|
|
2967
|
-
* @memberof QuoteSwapResponse
|
|
2968
|
-
*/
|
|
2969
|
-
'expected_amount_out_streaming': string;
|
|
2970
2859
|
/**
|
|
2971
2860
|
* the maximum amount of trades a streaming swap can do for a trade
|
|
2972
2861
|
* @type {number}
|
|
@@ -2992,6 +2881,167 @@ export interface QuoteSwapResponse {
|
|
|
2992
2881
|
*/
|
|
2993
2882
|
'total_swap_seconds'?: number;
|
|
2994
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
|
+
}
|
|
2995
3045
|
/**
|
|
2996
3046
|
*
|
|
2997
3047
|
* @export
|
|
@@ -4627,20 +4677,6 @@ export declare const MimirApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
4627
4677
|
* @throws {RequiredError}
|
|
4628
4678
|
*/
|
|
4629
4679
|
mimirNodes: (height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4630
|
-
/**
|
|
4631
|
-
* Returns current mimir V2 configuration.
|
|
4632
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
4633
|
-
* @param {*} [options] Override http request option.
|
|
4634
|
-
* @throws {RequiredError}
|
|
4635
|
-
*/
|
|
4636
|
-
mimirV2: (height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4637
|
-
/**
|
|
4638
|
-
* Returns mapping of mimir V2 IDs to name.
|
|
4639
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
4640
|
-
* @param {*} [options] Override http request option.
|
|
4641
|
-
* @throws {RequiredError}
|
|
4642
|
-
*/
|
|
4643
|
-
mimirV2IDs: (height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4644
4680
|
};
|
|
4645
4681
|
/**
|
|
4646
4682
|
* MimirApi - functional programming interface
|
|
@@ -4684,20 +4720,6 @@ export declare const MimirApiFp: (configuration?: Configuration) => {
|
|
|
4684
4720
|
* @throws {RequiredError}
|
|
4685
4721
|
*/
|
|
4686
4722
|
mimirNodes(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MimirNodesResponse>>;
|
|
4687
|
-
/**
|
|
4688
|
-
* Returns current mimir V2 configuration.
|
|
4689
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
4690
|
-
* @param {*} [options] Override http request option.
|
|
4691
|
-
* @throws {RequiredError}
|
|
4692
|
-
*/
|
|
4693
|
-
mimirV2(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MimirResponse>>;
|
|
4694
|
-
/**
|
|
4695
|
-
* Returns mapping of mimir V2 IDs to name.
|
|
4696
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
4697
|
-
* @param {*} [options] Override http request option.
|
|
4698
|
-
* @throws {RequiredError}
|
|
4699
|
-
*/
|
|
4700
|
-
mimirV2IDs(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MimirV2IDsResponse>>;
|
|
4701
4723
|
};
|
|
4702
4724
|
/**
|
|
4703
4725
|
* MimirApi - factory interface
|
|
@@ -4741,20 +4763,6 @@ export declare const MimirApiFactory: (configuration?: Configuration, basePath?:
|
|
|
4741
4763
|
* @throws {RequiredError}
|
|
4742
4764
|
*/
|
|
4743
4765
|
mimirNodes(height?: number, options?: any): AxiosPromise<MimirNodesResponse>;
|
|
4744
|
-
/**
|
|
4745
|
-
* Returns current mimir V2 configuration.
|
|
4746
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
4747
|
-
* @param {*} [options] Override http request option.
|
|
4748
|
-
* @throws {RequiredError}
|
|
4749
|
-
*/
|
|
4750
|
-
mimirV2(height?: number, options?: any): AxiosPromise<MimirResponse>;
|
|
4751
|
-
/**
|
|
4752
|
-
* Returns mapping of mimir V2 IDs to name.
|
|
4753
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
4754
|
-
* @param {*} [options] Override http request option.
|
|
4755
|
-
* @throws {RequiredError}
|
|
4756
|
-
*/
|
|
4757
|
-
mimirV2IDs(height?: number, options?: any): AxiosPromise<MimirV2IDsResponse>;
|
|
4758
4766
|
};
|
|
4759
4767
|
/**
|
|
4760
4768
|
* MimirApi - object-oriented interface
|
|
@@ -4805,22 +4813,6 @@ export declare class MimirApi extends BaseAPI {
|
|
|
4805
4813
|
* @memberof MimirApi
|
|
4806
4814
|
*/
|
|
4807
4815
|
mimirNodes(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MimirNodesResponse, any>>;
|
|
4808
|
-
/**
|
|
4809
|
-
* Returns current mimir V2 configuration.
|
|
4810
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
4811
|
-
* @param {*} [options] Override http request option.
|
|
4812
|
-
* @throws {RequiredError}
|
|
4813
|
-
* @memberof MimirApi
|
|
4814
|
-
*/
|
|
4815
|
-
mimirV2(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MimirResponse, any>>;
|
|
4816
|
-
/**
|
|
4817
|
-
* Returns mapping of mimir V2 IDs to name.
|
|
4818
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
4819
|
-
* @param {*} [options] Override http request option.
|
|
4820
|
-
* @throws {RequiredError}
|
|
4821
|
-
* @memberof MimirApi
|
|
4822
|
-
*/
|
|
4823
|
-
mimirV2IDs(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MimirV2IDsResponse, any>>;
|
|
4824
4816
|
}
|
|
4825
4817
|
/**
|
|
4826
4818
|
* NetworkApi - axios parameter creator
|
|
@@ -5238,61 +5230,6 @@ export declare class NodesApi extends BaseAPI {
|
|
|
5238
5230
|
*/
|
|
5239
5231
|
nodes(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<NodesResponse, any>>;
|
|
5240
5232
|
}
|
|
5241
|
-
/**
|
|
5242
|
-
* POLApi - axios parameter creator
|
|
5243
|
-
* @export
|
|
5244
|
-
*/
|
|
5245
|
-
export declare const POLApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
5246
|
-
/**
|
|
5247
|
-
* Returns protocol owned liquidity overview statistics.
|
|
5248
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
5249
|
-
* @param {*} [options] Override http request option.
|
|
5250
|
-
* @throws {RequiredError}
|
|
5251
|
-
*/
|
|
5252
|
-
pol: (height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5253
|
-
};
|
|
5254
|
-
/**
|
|
5255
|
-
* POLApi - functional programming interface
|
|
5256
|
-
* @export
|
|
5257
|
-
*/
|
|
5258
|
-
export declare const POLApiFp: (configuration?: Configuration) => {
|
|
5259
|
-
/**
|
|
5260
|
-
* Returns protocol owned liquidity overview statistics.
|
|
5261
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
5262
|
-
* @param {*} [options] Override http request option.
|
|
5263
|
-
* @throws {RequiredError}
|
|
5264
|
-
*/
|
|
5265
|
-
pol(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<POLResponse>>;
|
|
5266
|
-
};
|
|
5267
|
-
/**
|
|
5268
|
-
* POLApi - factory interface
|
|
5269
|
-
* @export
|
|
5270
|
-
*/
|
|
5271
|
-
export declare const POLApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
5272
|
-
/**
|
|
5273
|
-
* Returns protocol owned liquidity overview statistics.
|
|
5274
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
5275
|
-
* @param {*} [options] Override http request option.
|
|
5276
|
-
* @throws {RequiredError}
|
|
5277
|
-
*/
|
|
5278
|
-
pol(height?: number, options?: any): AxiosPromise<POLResponse>;
|
|
5279
|
-
};
|
|
5280
|
-
/**
|
|
5281
|
-
* POLApi - object-oriented interface
|
|
5282
|
-
* @export
|
|
5283
|
-
* @class POLApi
|
|
5284
|
-
* @extends {BaseAPI}
|
|
5285
|
-
*/
|
|
5286
|
-
export declare class POLApi extends BaseAPI {
|
|
5287
|
-
/**
|
|
5288
|
-
* Returns protocol owned liquidity overview statistics.
|
|
5289
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
5290
|
-
* @param {*} [options] Override http request option.
|
|
5291
|
-
* @throws {RequiredError}
|
|
5292
|
-
* @memberof POLApi
|
|
5293
|
-
*/
|
|
5294
|
-
pol(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<POLResponse, any>>;
|
|
5295
|
-
}
|
|
5296
5233
|
/**
|
|
5297
5234
|
* PoolSlipApi - axios parameter creator
|
|
5298
5235
|
* @export
|
|
@@ -5952,6 +5889,123 @@ export declare class QuoteApi extends BaseAPI {
|
|
|
5952
5889
|
*/
|
|
5953
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>>;
|
|
5954
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
|
+
}
|
|
5955
6009
|
/**
|
|
5956
6010
|
* SaversApi - axios parameter creator
|
|
5957
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).
|
|
@@ -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).
|