On this page

Enable Tendermint Task: Init

API-v2task::enable_tendermint::init

Use this method for task managed activation of Tendermint coins. Refer to the task managed activation overview for activation of other coin types.

ParameterTypeRequiredDefaultDescription
tickerstring-Ticker of the Tendermint-based coin you want to enable.
modeobject-A standard ActivationMode object.
tendermint_node_urlsarray of strings-A list of Tendermint node URLs, used for validation of transactions. It's recommended to add as many servers as possible. The URLs list can be found at https://tendermintnodes.com/.
tokens_requestsarray of objects-A list of standard TokensRequest objects.
address_formatobject-Overwrites the address format from coins file, if set. A standard AddressFormat object.
allow_unsafe_confbooleanfalseIf true, allows tendermint_node_urls to be empty. Warning: it is highly unsafe to do so as it may lead to invalid transactions generation and tokens burning.
get_balancesbooleantrueIf false, coin and token balances will not be returned in the response, and the response will be returned more quickly.
required_confirmationsinteger3Confirmations to wait for steps in swap.
requires_notarizationbooleantrueHas no effect on Tendermint.
tx_historybooleantrueIf true the Komodo DeFi Framework API will preload transaction history as a background process. Must be set to true to use the my_tx_history method.
utxo_merge_paramsobject-A standard UtxoMergeParams object. Used to reduce a wallet's UTXO count in cases where it is causing significantly slower RPC responses.

ParameterTypeDescription
task_idintegerAn identifying number which is used to query task status.

Tendermint Activation (Trezor mode)

POST
task::enable_tendermint::init
{
  "userpass": "RPC_UserP@SSW0RD",
  "mmrpc": "2.0",
  "method": "task::enable_tendermint::init",
  "params": {
    "ticker": "TENDERMINT",
    "activation_params": {
      "tendermint_node_urls": [
        "https://mainnet.infura.io/v3/YOUR_INFURA_PROJECT_ID"
      ],
      "mode": {
        "rpc": "Infura",
        "rpc_data": {
          "servers": [
            {
              "url": "https://mainnet.infura.io/v3/YOUR_INFURA_PROJECT_ID",
              "protocol": "HTTPS"
            }
          ]
        }
      },
      "tokens_requests": [
        {
          "ticker": "USDT"
        },
        {
          "ticker": "DAI",
          "required_confirmations": 3
        }
      ],
      "tx_history": true,
      "required_confirmations": 5,
      "requires_notarization": false,
      "address_format": {
        "format": "hex",
        "network": "tendermint"
      },
      "utxo_merge_params": {
        "merge_at": 50,
        "check_every": 10,
        "max_merge_at_once": 25
      }
    }
  }
}