Skip to content

Commit 9a561b2

Browse files
committed
add links between legacy and v2 method variants
1 parent ee9b352 commit 9a561b2

File tree

1 file changed

+11
-6
lines changed
  • src/pages/komodo-defi-framework/api/v20/get_enabled_coins

1 file changed

+11
-6
lines changed

src/pages/komodo-defi-framework/api/v20/get_enabled_coins/index.mdx

+11-6
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ export const description = "The get_enabled_coins method returns data of coins t
33

44
# get\_enabled\_coins
55

6-
**get\_enabled\_coins**
7-
86
The `get_enabled_coins` method returns data of coins that are currently enabled on the user's Komodo DeFi Framework API node.
97

108
## Parameters
@@ -15,10 +13,17 @@ The `get_enabled_coins` method returns data of coins that are currently enabled
1513

1614
#### Response
1715

18-
| Structure | Type | Description |
19-
| -------------- | ---------------- | ------------------------------------------------ |
20-
| coins | array of objects | A list of key value pairs for activated tickers |
21-
| ticker | string | the ticker of an activated coin |
16+
| Structure | Type | Description |
17+
| ------------- | ---------------- | ----------------------------------------------- |
18+
| coins | array of objects | A list of key value pairs for activated tickers |
19+
| coins.ticker | string | the ticker of an activated coin |
20+
21+
22+
<Note>
23+
The [get\_enabled\_coins v2.0] method does not return addresses, as it was designed for HD wallets, which generate addresses on the fly.
24+
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](/komodo-defi-framework/api/legacy/get_enabled_coins/#get-enabled-coins).
25+
</Note>
26+
2227

2328
#### 📌 Examples
2429

0 commit comments

Comments
 (0)