On this page

latest contributor to this doc

Last Edit:

@smk762

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)

ParameterTypeRequiredDefaultDescription
forget_if_finishedbooleantrueIf false, will return final response for completed tasks.
task_idinteger-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
  }
}

ParameterTypeDescription
current_blockintegerBlock height of the coin being activated
tickerstringTicker of the platform protocol coin, as input in the request.
addressstringAn address for the activated coin
balanceobjectOnly returned when get_balances is true. A standard BalanceInfos object.
tokens_balancesarray of objectsOnly returned when get_balances is true. A list of standard AddressInfo objects, one for each token.
tokens_tickersarrayOnly returned when get_balances is false. A list of each token which was activated.