On this page

latest contributor to this doc

Last Edit:

@gcharang

Get Enabled Coins

API-v2get_enabled_coins

The get_enabled_coins method returns data of coins that are currently enabled on the user's Komodo DeFi Framework API node.

Parameter* = requiredTypeDescription
*None*
*N/A*
Optional. *This method has no parameters.*

Parameter* = requiredTypeDescription
coins*
array of objects
A list of key value pairs for activated tickers
coins.ticker*
string
The ticker of an activated coin

The [get_enabled_coins v2.0] method does not return addresses, as it was designed for HD wallets, which generate addresses on the fly. If you need to get the addresses for coins and have not set enable_hd in your MM2.json file, use the v1 method.

Get Enabled Coins

POST
get_enabled_coins
{
  "userpass": "RPC_UserP@SSW0RD",
  "mmrpc": "2.0",
  "method": "get_enabled_coins",
  "params": {},
  "id": 0
}

{
    "mmrpc": "2.0",
    "result": {
        "coins": [
            { "ticker": "ETH" },
            { "ticker": "PGX-PLG20" },
            { "ticker": "ATOM-IBC_IRIS" },
            { "ticker": "NFT_ETH" },
            { "ticker": "KMD" },
            { "ticker": "IRIS" },
            { "ticker": "AAVE-PLG20" },
            { "ticker": "MINDS-ERC20" },
            { "ticker": "NFT_MATIC" },
            { "ticker": "MATIC" }
        ]
    },
    "id": 0
}