@xchainjs/xchain-thornode 0.3.4 → 0.3.6

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: 1.116.0
5
+ * The version of the OpenAPI document: 1.120.1
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.116.0
5
+ * The version of the OpenAPI document: 1.120.1
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.116.0
5
+ * The version of the OpenAPI document: 1.120.1
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.116.0
5
+ * The version of the OpenAPI document: 1.120.1
6
6
  * Contact: devs@thorchain.org
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/lib/index.esm.js CHANGED
@@ -1844,6 +1844,66 @@ class POLApi extends BaseAPI {
1844
1844
  */
1845
1845
  const PoolsApiAxiosParamCreator = function (configuration) {
1846
1846
  return {
1847
+ /**
1848
+ * Returns the pool information for the provided derived asset.
1849
+ * @param {string} asset
1850
+ * @param {number} [height] optional block height, defaults to current tip
1851
+ * @param {*} [options] Override http request option.
1852
+ * @throws {RequiredError}
1853
+ */
1854
+ dpool: (asset, height, options = {}) => __awaiter(this, void 0, void 0, function* () {
1855
+ // verify required parameter 'asset' is not null or undefined
1856
+ assertParamExists('dpool', 'asset', asset);
1857
+ const localVarPath = `/thorchain/dpool/{asset}`
1858
+ .replace(`{${"asset"}}`, encodeURIComponent(String(asset)));
1859
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1860
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1861
+ let baseOptions;
1862
+ if (configuration) {
1863
+ baseOptions = configuration.baseOptions;
1864
+ }
1865
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1866
+ const localVarHeaderParameter = {};
1867
+ const localVarQueryParameter = {};
1868
+ if (height !== undefined) {
1869
+ localVarQueryParameter['height'] = height;
1870
+ }
1871
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1872
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1873
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1874
+ return {
1875
+ url: toPathString(localVarUrlObj),
1876
+ options: localVarRequestOptions,
1877
+ };
1878
+ }),
1879
+ /**
1880
+ * Returns the pool information for all derived assets.
1881
+ * @param {number} [height] optional block height, defaults to current tip
1882
+ * @param {*} [options] Override http request option.
1883
+ * @throws {RequiredError}
1884
+ */
1885
+ dpools: (height, options = {}) => __awaiter(this, void 0, void 0, function* () {
1886
+ const localVarPath = `/thorchain/dpools`;
1887
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1888
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1889
+ let baseOptions;
1890
+ if (configuration) {
1891
+ baseOptions = configuration.baseOptions;
1892
+ }
1893
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1894
+ const localVarHeaderParameter = {};
1895
+ const localVarQueryParameter = {};
1896
+ if (height !== undefined) {
1897
+ localVarQueryParameter['height'] = height;
1898
+ }
1899
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1900
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1901
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1902
+ return {
1903
+ url: toPathString(localVarUrlObj),
1904
+ options: localVarRequestOptions,
1905
+ };
1906
+ }),
1847
1907
  /**
1848
1908
  * Returns the pool information for the provided asset.
1849
1909
  * @param {string} asset
@@ -1913,6 +1973,31 @@ const PoolsApiAxiosParamCreator = function (configuration) {
1913
1973
  const PoolsApiFp = function (configuration) {
1914
1974
  const localVarAxiosParamCreator = PoolsApiAxiosParamCreator(configuration);
1915
1975
  return {
1976
+ /**
1977
+ * Returns the pool information for the provided derived asset.
1978
+ * @param {string} asset
1979
+ * @param {number} [height] optional block height, defaults to current tip
1980
+ * @param {*} [options] Override http request option.
1981
+ * @throws {RequiredError}
1982
+ */
1983
+ dpool(asset, height, options) {
1984
+ return __awaiter(this, void 0, void 0, function* () {
1985
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.dpool(asset, height, options);
1986
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1987
+ });
1988
+ },
1989
+ /**
1990
+ * Returns the pool information for all derived assets.
1991
+ * @param {number} [height] optional block height, defaults to current tip
1992
+ * @param {*} [options] Override http request option.
1993
+ * @throws {RequiredError}
1994
+ */
1995
+ dpools(height, options) {
1996
+ return __awaiter(this, void 0, void 0, function* () {
1997
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.dpools(height, options);
1998
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1999
+ });
2000
+ },
1916
2001
  /**
1917
2002
  * Returns the pool information for the provided asset.
1918
2003
  * @param {string} asset
@@ -1947,6 +2032,25 @@ const PoolsApiFp = function (configuration) {
1947
2032
  const PoolsApiFactory = function (configuration, basePath, axios) {
1948
2033
  const localVarFp = PoolsApiFp(configuration);
1949
2034
  return {
2035
+ /**
2036
+ * Returns the pool information for the provided derived asset.
2037
+ * @param {string} asset
2038
+ * @param {number} [height] optional block height, defaults to current tip
2039
+ * @param {*} [options] Override http request option.
2040
+ * @throws {RequiredError}
2041
+ */
2042
+ dpool(asset, height, options) {
2043
+ return localVarFp.dpool(asset, height, options).then((request) => request(axios, basePath));
2044
+ },
2045
+ /**
2046
+ * Returns the pool information for all derived assets.
2047
+ * @param {number} [height] optional block height, defaults to current tip
2048
+ * @param {*} [options] Override http request option.
2049
+ * @throws {RequiredError}
2050
+ */
2051
+ dpools(height, options) {
2052
+ return localVarFp.dpools(height, options).then((request) => request(axios, basePath));
2053
+ },
1950
2054
  /**
1951
2055
  * Returns the pool information for the provided asset.
1952
2056
  * @param {string} asset
@@ -1975,6 +2079,27 @@ const PoolsApiFactory = function (configuration, basePath, axios) {
1975
2079
  * @extends {BaseAPI}
1976
2080
  */
1977
2081
  class PoolsApi extends BaseAPI {
2082
+ /**
2083
+ * Returns the pool information for the provided derived asset.
2084
+ * @param {string} asset
2085
+ * @param {number} [height] optional block height, defaults to current tip
2086
+ * @param {*} [options] Override http request option.
2087
+ * @throws {RequiredError}
2088
+ * @memberof PoolsApi
2089
+ */
2090
+ dpool(asset, height, options) {
2091
+ return PoolsApiFp(this.configuration).dpool(asset, height, options).then((request) => request(this.axios, this.basePath));
2092
+ }
2093
+ /**
2094
+ * Returns the pool information for all derived assets.
2095
+ * @param {number} [height] optional block height, defaults to current tip
2096
+ * @param {*} [options] Override http request option.
2097
+ * @throws {RequiredError}
2098
+ * @memberof PoolsApi
2099
+ */
2100
+ dpools(height, options) {
2101
+ return PoolsApiFp(this.configuration).dpools(height, options).then((request) => request(this.axios, this.basePath));
2102
+ }
1978
2103
  /**
1979
2104
  * Returns the pool information for the provided asset.
1980
2105
  * @param {string} asset
@@ -2276,15 +2401,15 @@ const QuoteApiAxiosParamCreator = function (configuration) {
2276
2401
  /**
2277
2402
  * Provide a quote estimate for the provided loan close.
2278
2403
  * @param {number} [height] optional block height, defaults to current tip
2279
- * @param {string} [asset] the asset used to repay the loan
2404
+ * @param {string} [fromAsset] the asset used to repay the loan
2280
2405
  * @param {number} [amount] the asset amount in 1e8 decimals
2281
- * @param {string} [loanAsset] the collateral asset of the loan
2406
+ * @param {string} [toAsset] the collateral asset of the loan
2282
2407
  * @param {string} [loanOwner] the owner of the loan collateral
2283
2408
  * @param {string} [minOut] the minimum amount of the target asset to accept
2284
2409
  * @param {*} [options] Override http request option.
2285
2410
  * @throws {RequiredError}
2286
2411
  */
2287
- quoteloanclose: (height, asset, amount, loanAsset, loanOwner, minOut, options = {}) => __awaiter(this, void 0, void 0, function* () {
2412
+ quoteloanclose: (height, fromAsset, amount, toAsset, loanOwner, minOut, options = {}) => __awaiter(this, void 0, void 0, function* () {
2288
2413
  const localVarPath = `/thorchain/quote/loan/close`;
2289
2414
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2290
2415
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -2298,14 +2423,14 @@ const QuoteApiAxiosParamCreator = function (configuration) {
2298
2423
  if (height !== undefined) {
2299
2424
  localVarQueryParameter['height'] = height;
2300
2425
  }
2301
- if (asset !== undefined) {
2302
- localVarQueryParameter['asset'] = asset;
2426
+ if (fromAsset !== undefined) {
2427
+ localVarQueryParameter['from_asset'] = fromAsset;
2303
2428
  }
2304
2429
  if (amount !== undefined) {
2305
2430
  localVarQueryParameter['amount'] = amount;
2306
2431
  }
2307
- if (loanAsset !== undefined) {
2308
- localVarQueryParameter['loan_asset'] = loanAsset;
2432
+ if (toAsset !== undefined) {
2433
+ localVarQueryParameter['to_asset'] = toAsset;
2309
2434
  }
2310
2435
  if (loanOwner !== undefined) {
2311
2436
  localVarQueryParameter['loan_owner'] = loanOwner;
@@ -2324,9 +2449,9 @@ const QuoteApiAxiosParamCreator = function (configuration) {
2324
2449
  /**
2325
2450
  * Provide a quote estimate for the provided loan open.
2326
2451
  * @param {number} [height] optional block height, defaults to current tip
2327
- * @param {string} [asset] the collateral asset
2452
+ * @param {string} [fromAsset] the collateral asset
2328
2453
  * @param {number} [amount] the collateral asset amount in 1e8 decimals
2329
- * @param {string} [targetAsset] the target asset to receive (loan denominated in TOR regardless)
2454
+ * @param {string} [toAsset] the target asset to receive (loan denominated in TOR regardless)
2330
2455
  * @param {string} [destination] the destination address, required to generate memo
2331
2456
  * @param {string} [minOut] the minimum amount of the target asset to accept
2332
2457
  * @param {number} [affiliateBps] the affiliate fee in basis points
@@ -2334,7 +2459,7 @@ const QuoteApiAxiosParamCreator = function (configuration) {
2334
2459
  * @param {*} [options] Override http request option.
2335
2460
  * @throws {RequiredError}
2336
2461
  */
2337
- quoteloanopen: (height, asset, amount, targetAsset, destination, minOut, affiliateBps, affiliate, options = {}) => __awaiter(this, void 0, void 0, function* () {
2462
+ quoteloanopen: (height, fromAsset, amount, toAsset, destination, minOut, affiliateBps, affiliate, options = {}) => __awaiter(this, void 0, void 0, function* () {
2338
2463
  const localVarPath = `/thorchain/quote/loan/open`;
2339
2464
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2340
2465
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -2348,14 +2473,14 @@ const QuoteApiAxiosParamCreator = function (configuration) {
2348
2473
  if (height !== undefined) {
2349
2474
  localVarQueryParameter['height'] = height;
2350
2475
  }
2351
- if (asset !== undefined) {
2352
- localVarQueryParameter['asset'] = asset;
2476
+ if (fromAsset !== undefined) {
2477
+ localVarQueryParameter['from_asset'] = fromAsset;
2353
2478
  }
2354
2479
  if (amount !== undefined) {
2355
2480
  localVarQueryParameter['amount'] = amount;
2356
2481
  }
2357
- if (targetAsset !== undefined) {
2358
- localVarQueryParameter['target_asset'] = targetAsset;
2482
+ if (toAsset !== undefined) {
2483
+ localVarQueryParameter['to_asset'] = toAsset;
2359
2484
  }
2360
2485
  if (destination !== undefined) {
2361
2486
  localVarQueryParameter['destination'] = destination;
@@ -2533,26 +2658,26 @@ const QuoteApiFp = function (configuration) {
2533
2658
  /**
2534
2659
  * Provide a quote estimate for the provided loan close.
2535
2660
  * @param {number} [height] optional block height, defaults to current tip
2536
- * @param {string} [asset] the asset used to repay the loan
2661
+ * @param {string} [fromAsset] the asset used to repay the loan
2537
2662
  * @param {number} [amount] the asset amount in 1e8 decimals
2538
- * @param {string} [loanAsset] the collateral asset of the loan
2663
+ * @param {string} [toAsset] the collateral asset of the loan
2539
2664
  * @param {string} [loanOwner] the owner of the loan collateral
2540
2665
  * @param {string} [minOut] the minimum amount of the target asset to accept
2541
2666
  * @param {*} [options] Override http request option.
2542
2667
  * @throws {RequiredError}
2543
2668
  */
2544
- quoteloanclose(height, asset, amount, loanAsset, loanOwner, minOut, options) {
2669
+ quoteloanclose(height, fromAsset, amount, toAsset, loanOwner, minOut, options) {
2545
2670
  return __awaiter(this, void 0, void 0, function* () {
2546
- const localVarAxiosArgs = yield localVarAxiosParamCreator.quoteloanclose(height, asset, amount, loanAsset, loanOwner, minOut, options);
2671
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.quoteloanclose(height, fromAsset, amount, toAsset, loanOwner, minOut, options);
2547
2672
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2548
2673
  });
2549
2674
  },
2550
2675
  /**
2551
2676
  * Provide a quote estimate for the provided loan open.
2552
2677
  * @param {number} [height] optional block height, defaults to current tip
2553
- * @param {string} [asset] the collateral asset
2678
+ * @param {string} [fromAsset] the collateral asset
2554
2679
  * @param {number} [amount] the collateral asset amount in 1e8 decimals
2555
- * @param {string} [targetAsset] the target asset to receive (loan denominated in TOR regardless)
2680
+ * @param {string} [toAsset] the target asset to receive (loan denominated in TOR regardless)
2556
2681
  * @param {string} [destination] the destination address, required to generate memo
2557
2682
  * @param {string} [minOut] the minimum amount of the target asset to accept
2558
2683
  * @param {number} [affiliateBps] the affiliate fee in basis points
@@ -2560,9 +2685,9 @@ const QuoteApiFp = function (configuration) {
2560
2685
  * @param {*} [options] Override http request option.
2561
2686
  * @throws {RequiredError}
2562
2687
  */
2563
- quoteloanopen(height, asset, amount, targetAsset, destination, minOut, affiliateBps, affiliate, options) {
2688
+ quoteloanopen(height, fromAsset, amount, toAsset, destination, minOut, affiliateBps, affiliate, options) {
2564
2689
  return __awaiter(this, void 0, void 0, function* () {
2565
- const localVarAxiosArgs = yield localVarAxiosParamCreator.quoteloanopen(height, asset, amount, targetAsset, destination, minOut, affiliateBps, affiliate, options);
2690
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.quoteloanopen(height, fromAsset, amount, toAsset, destination, minOut, affiliateBps, affiliate, options);
2566
2691
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2567
2692
  });
2568
2693
  },
@@ -2629,23 +2754,23 @@ const QuoteApiFactory = function (configuration, basePath, axios) {
2629
2754
  /**
2630
2755
  * Provide a quote estimate for the provided loan close.
2631
2756
  * @param {number} [height] optional block height, defaults to current tip
2632
- * @param {string} [asset] the asset used to repay the loan
2757
+ * @param {string} [fromAsset] the asset used to repay the loan
2633
2758
  * @param {number} [amount] the asset amount in 1e8 decimals
2634
- * @param {string} [loanAsset] the collateral asset of the loan
2759
+ * @param {string} [toAsset] the collateral asset of the loan
2635
2760
  * @param {string} [loanOwner] the owner of the loan collateral
2636
2761
  * @param {string} [minOut] the minimum amount of the target asset to accept
2637
2762
  * @param {*} [options] Override http request option.
2638
2763
  * @throws {RequiredError}
2639
2764
  */
2640
- quoteloanclose(height, asset, amount, loanAsset, loanOwner, minOut, options) {
2641
- return localVarFp.quoteloanclose(height, asset, amount, loanAsset, loanOwner, minOut, options).then((request) => request(axios, basePath));
2765
+ quoteloanclose(height, fromAsset, amount, toAsset, loanOwner, minOut, options) {
2766
+ return localVarFp.quoteloanclose(height, fromAsset, amount, toAsset, loanOwner, minOut, options).then((request) => request(axios, basePath));
2642
2767
  },
2643
2768
  /**
2644
2769
  * Provide a quote estimate for the provided loan open.
2645
2770
  * @param {number} [height] optional block height, defaults to current tip
2646
- * @param {string} [asset] the collateral asset
2771
+ * @param {string} [fromAsset] the collateral asset
2647
2772
  * @param {number} [amount] the collateral asset amount in 1e8 decimals
2648
- * @param {string} [targetAsset] the target asset to receive (loan denominated in TOR regardless)
2773
+ * @param {string} [toAsset] the target asset to receive (loan denominated in TOR regardless)
2649
2774
  * @param {string} [destination] the destination address, required to generate memo
2650
2775
  * @param {string} [minOut] the minimum amount of the target asset to accept
2651
2776
  * @param {number} [affiliateBps] the affiliate fee in basis points
@@ -2653,8 +2778,8 @@ const QuoteApiFactory = function (configuration, basePath, axios) {
2653
2778
  * @param {*} [options] Override http request option.
2654
2779
  * @throws {RequiredError}
2655
2780
  */
2656
- quoteloanopen(height, asset, amount, targetAsset, destination, minOut, affiliateBps, affiliate, options) {
2657
- return localVarFp.quoteloanopen(height, asset, amount, targetAsset, destination, minOut, affiliateBps, affiliate, options).then((request) => request(axios, basePath));
2781
+ quoteloanopen(height, fromAsset, amount, toAsset, destination, minOut, affiliateBps, affiliate, options) {
2782
+ return localVarFp.quoteloanopen(height, fromAsset, amount, toAsset, destination, minOut, affiliateBps, affiliate, options).then((request) => request(axios, basePath));
2658
2783
  },
2659
2784
  /**
2660
2785
  * Provide a quote estimate for the provided saver deposit.
@@ -2710,24 +2835,24 @@ class QuoteApi extends BaseAPI {
2710
2835
  /**
2711
2836
  * Provide a quote estimate for the provided loan close.
2712
2837
  * @param {number} [height] optional block height, defaults to current tip
2713
- * @param {string} [asset] the asset used to repay the loan
2838
+ * @param {string} [fromAsset] the asset used to repay the loan
2714
2839
  * @param {number} [amount] the asset amount in 1e8 decimals
2715
- * @param {string} [loanAsset] the collateral asset of the loan
2840
+ * @param {string} [toAsset] the collateral asset of the loan
2716
2841
  * @param {string} [loanOwner] the owner of the loan collateral
2717
2842
  * @param {string} [minOut] the minimum amount of the target asset to accept
2718
2843
  * @param {*} [options] Override http request option.
2719
2844
  * @throws {RequiredError}
2720
2845
  * @memberof QuoteApi
2721
2846
  */
2722
- quoteloanclose(height, asset, amount, loanAsset, loanOwner, minOut, options) {
2723
- return QuoteApiFp(this.configuration).quoteloanclose(height, asset, amount, loanAsset, loanOwner, minOut, options).then((request) => request(this.axios, this.basePath));
2847
+ quoteloanclose(height, fromAsset, amount, toAsset, loanOwner, minOut, options) {
2848
+ return QuoteApiFp(this.configuration).quoteloanclose(height, fromAsset, amount, toAsset, loanOwner, minOut, options).then((request) => request(this.axios, this.basePath));
2724
2849
  }
2725
2850
  /**
2726
2851
  * Provide a quote estimate for the provided loan open.
2727
2852
  * @param {number} [height] optional block height, defaults to current tip
2728
- * @param {string} [asset] the collateral asset
2853
+ * @param {string} [fromAsset] the collateral asset
2729
2854
  * @param {number} [amount] the collateral asset amount in 1e8 decimals
2730
- * @param {string} [targetAsset] the target asset to receive (loan denominated in TOR regardless)
2855
+ * @param {string} [toAsset] the target asset to receive (loan denominated in TOR regardless)
2731
2856
  * @param {string} [destination] the destination address, required to generate memo
2732
2857
  * @param {string} [minOut] the minimum amount of the target asset to accept
2733
2858
  * @param {number} [affiliateBps] the affiliate fee in basis points
@@ -2736,8 +2861,8 @@ class QuoteApi extends BaseAPI {
2736
2861
  * @throws {RequiredError}
2737
2862
  * @memberof QuoteApi
2738
2863
  */
2739
- quoteloanopen(height, asset, amount, targetAsset, destination, minOut, affiliateBps, affiliate, options) {
2740
- return QuoteApiFp(this.configuration).quoteloanopen(height, asset, amount, targetAsset, destination, minOut, affiliateBps, affiliate, options).then((request) => request(this.axios, this.basePath));
2864
+ quoteloanopen(height, fromAsset, amount, toAsset, destination, minOut, affiliateBps, affiliate, options) {
2865
+ return QuoteApiFp(this.configuration).quoteloanopen(height, fromAsset, amount, toAsset, destination, minOut, affiliateBps, affiliate, options).then((request) => request(this.axios, this.basePath));
2741
2866
  }
2742
2867
  /**
2743
2868
  * Provide a quote estimate for the provided saver deposit.
@@ -3613,7 +3738,7 @@ const TransactionsApiAxiosParamCreator = function (configuration) {
3613
3738
  txStages: (hash, height, options = {}) => __awaiter(this, void 0, void 0, function* () {
3614
3739
  // verify required parameter 'hash' is not null or undefined
3615
3740
  assertParamExists('txStages', 'hash', hash);
3616
- const localVarPath = `/thorchain/alpha/tx/stages/{hash}`
3741
+ const localVarPath = `/thorchain/tx/stages/{hash}`
3617
3742
  .replace(`{${"hash"}}`, encodeURIComponent(String(hash)));
3618
3743
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3619
3744
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -3645,7 +3770,7 @@ const TransactionsApiAxiosParamCreator = function (configuration) {
3645
3770
  txStatus: (hash, height, options = {}) => __awaiter(this, void 0, void 0, function* () {
3646
3771
  // verify required parameter 'hash' is not null or undefined
3647
3772
  assertParamExists('txStatus', 'hash', hash);
3648
- const localVarPath = `/thorchain/alpha/tx/status/{hash}`
3773
+ const localVarPath = `/thorchain/tx/status/{hash}`
3649
3774
  .replace(`{${"hash"}}`, encodeURIComponent(String(hash)));
3650
3775
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3651
3776
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -4149,7 +4274,7 @@ class VaultsApi extends BaseAPI {
4149
4274
  * Thornode API
4150
4275
  * Thornode REST API.
4151
4276
  *
4152
- * The version of the OpenAPI document: 1.116.0
4277
+ * The version of the OpenAPI document: 1.120.1
4153
4278
  * Contact: devs@thorchain.org
4154
4279
  *
4155
4280
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).