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.
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
ticker | string | ✓ | - | Token ticker (e.g., OSMO ). |
activation_params | object | ✗ | - | A TokenActivationParams object (see below). |
userpass | string | ✓ | - | RPC password (RPC_UserP@SSW0RD ). |
activation_params
supports the following optional fields:
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
required_confirmations | integer | ✗ | 3 | Confirmations 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
}
Parameter | Type | Description |
---|---|---|
task_id | integer | Unique identifier of the activation task. |
status | string | Initial task status (always InProgress on return). |
Parameter | Type | Description |
---|---|---|
error | string | Human-readable message describing the failure. |
error_type | string | Enumerated error identifier (e.g., CoinCreationError ). |
error_path | string | Internal code path that generated the error (debugging aid). |
error_trace | string | Call-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.
Parameter | Type | Required | Description |
---|---|---|---|
ticker | string | ✓ | Token ticker (e.g., IRIS ). |
userpass | string | ✓ | RPC password. |
Parameter | Type | Description |
---|---|---|
task_id | integer | Activation task identifier. |
status | string | Initial status. |
...