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.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| ticker | string | ✓ | - | Ticker of the Tendermint-based coin you want to enable. |
| nodes | array of objects | ✓ | - | A list of standard CoinNode objects. |
| tokens_params | array of objects | ✗ | - | A list of standard TokenActivationParams objects representing IBC assets to activate alongside the platform coin. |
| get_balances | boolean | ✗ | true | If false, balances will not be returned in the response, resulting in a faster reply. |
| tx_history | boolean | ✗ | false | If 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. |
| path_to_address | object | ✗ | - | A standard AddressPath object (account/change/index) used to derive a non-standard address. |
| activation_params | object | ✗ | - | A standard ActivationParams object used when activating via Keplr, Ledger, or WalletConnect. |
| Parameter | Type | Description |
|---|---|---|
| task_id | integer | An identifying number which is used to query task status. |
ATOM Activation (native key)
POST
task::enable_tendermint::init{
"userpass": "RPC_UserP@SSW0RD",
"mmrpc": "2.0",
"method": "task::enable_tendermint::init",
"params": {
"ticker": "ATOM",
"nodes": [
{
"url": "https://cosmos-rpc.alpha.komodo.earth/"
},
{
"url": "https://cosmoshub.rpc.stakin-nodes.com/"
}
],
"tx_history": true
}
}
OSMO Activation (WalletConnect)
POST
task::enable_tendermint::init{
"userpass": "RPC_UserP@SSW0RD",
"mmrpc": "2.0",
"method": "task::enable_tendermint::init",
"params": {
"ticker": "OSMO",
"nodes": [
{
"url": "https://osmosis-rpc.alpha.komodo.earth/"
},
{
"url": "https://osmosis.rpc.stakin-nodes.com"
}
],
"activation_params": {
"type": "WalletConnect",
"params": {
"session_topic": "YOUR_WC_SESSION_TOPIC"
}
}
}
}