On this page

Initialize Tendermint Token Activation Task

API-v2task::enable_tendermint_token::init

After calling this method, the Komodo DeFi Framework daemon creates a task-managed activation flow for a Tendermint-based token. The request immediately returns a task_id. Use task::enable_tendermint_token::status to poll progress or task::enable_tendermint_token::cancel to abort.

ParameterTypeRequiredDefaultDescription
tickerstring-Token ticker (e.g., OSMO).
activation_paramsobject-A TokenActivationParams object (see below).
userpassstring-RPC password (RPC_UserP@SSW0RD).

activation_params supports the following optional fields:

ParameterTypeRequiredDefaultDescription
required_confirmationsinteger3Confirmations to wait for swap-related transactions. If omitted, falls back to the parent platform-coin setting.

Tendermint Token Activation (init)

POST
task::enable_tendermint_token::init
{
  "userpass": "RPC_UserP@SSW0RD",
  "mmrpc": "2.0",
  "method": "task::enable_tendermint_token::init",
  "params": {
    "ticker": "OSMO",
    "activation_params": {
      "required_confirmations": 5
    }
  },
  "id": 1
}

ParameterTypeDescription
task_idintegerUnique identifier of the activation task.
statusstringInitial task status (always InProgress on return).

ParameterTypeDescription
errorstringHuman-readable message describing the failure.
error_typestringEnumerated error identifier (e.g., CoinCreationError).
error_pathstringInternal code path that generated the error (debugging aid).
error_tracestringCall-stack trace snippet (debugging aid).

Typical error cases include CoinCreationError (invalid RPC/electrum endpoints) and HwError (hardware-wallet interaction failure). For HwError, inspect the error_data field to determine which user action is required.

ParameterTypeRequiredDescription
tickerstringToken ticker (e.g., IRIS).
userpassstringRPC password.

ParameterTypeDescription
task_idintegerActivation task identifier.
statusstringInitial status.

...