You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: data-for-gpts/komodefi-api/legacy-api-content.txt
+5-5
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ export const description =
6
6
7
7
The `active_swaps` method returns all the swaps that are currently running on the Komodo DeFi Framework API node.
8
8
9
-
This method has been deprecated in favor of [active\_swaps v2](/komodo-defi-framework/api/v20/active_swaps/). The legacy version does not include v2 (Trading Protocol Upgrade) swap statuses in responses (it only returns uuids for these).
9
+
This method has been deprecated in favor of [active\_swaps v2](/komodo-defi-framework/api/v20/swaps_and_orders/active_swaps/). The legacy version does not include v2 (Trading Protocol Upgrade) swap statuses in responses (it only returns uuids for these).
10
10
11
11
## Arguments
12
12
@@ -1657,7 +1657,7 @@ If max\_connected is \< min\_connected, you will see the following error:
1657
1657
}
1658
1658
```
1659
1659
1660
-
For enabling Z coins, refer to the [ZHTLC activation tasks](/komodo-defi-framework/api/v20-dev/zhtlc_coins/activation/) in the v2.0 Dev API.
1660
+
For enabling Z coins, refer to the [ZHTLC activation tasks](/komodo-defi-framework/api/v20/coin_activation/task_managed/task_enable_z_coin/) in the v2.0 Dev API.
1661
1661
1662
1662
To see more examples for other platforms like Fantom, Avalanche & Harmony, you can search the [Komodo DeFi Framework API Coin Activation Commands List
1663
1663
](https://stats.kmd.io/atomicdex/activation_commands/) or build a single `batch` command to enable a set of selected coins via the
@@ -2059,7 +2059,7 @@ export const description = "The get_enabled_coins method returns data of coins t
2059
2059
2060
2060
The `get_enabled_coins` method returns data of coins that are currently enabled on the user's Komodo DeFi Framework API node.
2061
2061
2062
-
This function has been deprecated by [get\_enabled\_coins v2.0](/komodo-defi-framework/api/v20/get_enabled_coins/). The v2 method does not return addresses, as it was designed for HD wallets, which generate addresses on the fly.
2062
+
This function has been deprecated by [get\_enabled\_coins v2.0](/komodo-defi-framework/api/v20/utils/get_enabled_coins/). The v2 method does not return addresses, as it was designed for HD wallets, which generate addresses on the fly.
2063
2063
If you need to get the addresses for coins and have not set `enable_hd` in your [MM2.json file](/komodo-defi-framework/setup/configure-mm2-json/), use the v1 method.
2064
2064
2065
2065
## Arguments
@@ -2338,7 +2338,7 @@ The `get_trade_fee` method returns the approximate amount of the miner fee that
2338
2338
2339
2339
This amount should be multiplied by 2 and deducted from the volume on `buy/sell` calls when the user is about to trade the entire balance of the selected coin. This aspect is currently under development.
2340
2340
2341
-
This function is deprecated. Please consider using [trade\_preimage v2.0](/komodo-defi-framework/api/v20/trade_preimage/) instead.
2341
+
This function is deprecated. Please consider using [trade\_preimage v2.0](/komodo-defi-framework/api/v20/swaps_and_orders/trade_preimage/) instead.
2342
2342
2343
2343
To send QRC20 Maker/Taker payment, you may need to allow the [Etomic Swap](https://github.com/artemii235/etomic-swap/) smart contract to withdraw amounts from your account using the [approve](https://docs.openzeppelin.com/contracts/2.x/api/token/erc20#IERC20-approve-address-uint256-) call.
2344
2344
In the worst case, you should call the `approve` twice (reduce allowance to 0 and set it to a required value) before the [erc20Payment](https://github.com/artemii235/etomic-swap/blob/1.0/contracts/EtomicSwap.sol#L51) is called.
@@ -7292,7 +7292,7 @@ Use the resulting `volume` as an argument of the `buy` or `sell` requests.
7292
7292
7293
7293
Use the `trade_preimage` request with `max = true` and `swap_method = "setprice"` arguments to approximate the fee amounts **only**. Do not use the resulting `volume` as an argument of the `setprice`.
7294
7294
7295
-
This function is deprecated. Please consider using [trade\_preimage v2.0](/komodo-defi-framework/api/v20/trade_preimage/) instead.
7295
+
This function is deprecated. Please consider using [trade\_preimage v2.0](/komodo-defi-framework/api/v20/swaps_and_orders/trade_preimage/) instead.
0 commit comments