Komodo DeFi Framework Method: task::enable_tendermint::status
API-v2task::enable_tendermint::status
After running the task::enable_tendermint::init method, you can query the status of activation to check its progress. The response will return the following:
- Result of the task (success or error)
- Progress status (what state the task is in)
- Required user action (what user should do before the task can continue)
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| forget_if_finished | boolean | ✗ | true | If false, will return final response for completed tasks. |
| task_id | integer | ✓ | - | The identifying number returned when initiating the initialisation process. |
Tendermint Activation Status
POST
task::enable_tendermint::status{
"userpass": "RPC_UserP@SSW0RD",
"mmrpc": "2.0",
"method": "task::enable_tendermint::status",
"params": {
"task_id": 0,
"forget_if_finished": false
}
}
| Parameter | Type | Description |
|---|---|---|
| current_block | integer | Block height of the coin being activated |
| ticker | string | Ticker of the platform protocol coin, as input in the request. |
| address | string | An address for the activated coin |
| balance | object | Only returned when get_balances is true. A standard BalanceInfos object. |
| tokens_balances | array of objects | Only returned when get_balances is true. A list of standard AddressInfo objects, one for each token. |
| tokens_tickers | array | Only returned when get_balances is false. A list of each token which was activated. |