Komodo DeFi Framework Method: task::enable_tendermint::init
API-v2task::enable_tendermint::init
Use this method for task managed activation of Tendermint coins & tokens. Refer to the task managed activation overview for activation of other coin types.
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
get_balances | boolean | ✗ | true | If false, coin and token balances will not be returned in the response, and the response will be returned more quickly. |
mm2 | integer | ✗ | - | Required if not set in coins file. Informs the Komodo DeFi Framework API whether or not the coin is expected to function. Accepted values are 0 or 1. |
nodes | array of objects | ✓ | - | A list of CoinNode objects. |
priv_key_policy | string | ✗ | ContextPrivKey | Value can be PrivKeyActivationPolicyEnum. |
required_confirmations | integer | ✗ | 3 | When the platform coin is involved, the number of confirmations for the Komodo DeFi Framework API to wait during the transaction steps of an atomic swap. |
requires_notarization | boolean | ✗ | false | If true, coins protected by Komodo Platform's dPoW security will wait for a notarization before progressing to the next atomic swap transactions step. |
ticker | string | ✓ | - | Ticker of the platform protocol coin. |
tokens_params | array of objects | ✗ | - | A list of standard TokensRequest objects. |
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. |
Parameter | Type | Description |
---|---|---|
task_id | integer | An 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": "IRIS",
"tokens_params": [
{
"ticker": "ATOM-IBC_IRIS"
}
],
"nodes": [
{
"url": "https://iris-rpc.alpha.komodo.earth/",
"api_url": "https://iris-api.alpha.komodo.earth/",
"grpc_url": "https://iris-grpc.alpha.komodo.earth/",
"ws_url": "wss://iris-rpc.alpha.komodo.earth/websocket"
},
{
"url": "https://rpc.irishub-1.irisnet.org",
"komodo_proxy": false
}
]
}
}