On this page

latest contributor to this doc

Last Edit:

@smk762

Komodo DeFi Framework Method: task::enable_qtum::user_action

API-v2task::enable_qtum::user_action

If the task::enable_qtum::status returns UserActionRequired, use this method to enter your PIN.

ParameterTypeRequiredDescription
task_idintegerThe identifying number returned when initiating the initialisation process.
user_actionobjectObject containing the params below
user_action.action_typestringWill be TrezorPin for this method
user_action.pinstring (number)When the Trezor device is displaying a grid of numbers for PIN entry, this param will contain your Trezor pin, as mapped through your keyboard numpad. See the image below for more information.
Trezor Pin

ParameterTypeDescription
resultstringThe outcome of the request.

task::enable_qtum::user_action

POST
task::enable_qtum::user_action
{
  "userpass": "RPC_UserP@SSW0RD",
  "mmrpc": "2.0",
  "method": "task::enable_qtum::user_action",
  "params": {
    "task_id": 0,
    "user_action": {
      "action_type": "TrezorPin",
      "pin": "862743"
    }
  }
}