On this page

latest contributor to this doc

Last Edit:

@smk762↗

Enable QTUM Task: 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_idinteger✓The identifying number returned when initiating the initialisation process.
user_actionobject✓Object containing the params below
user_action.action_typestring✓Will 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"
    }
  }
}