On this page

latest contributor to this doc

Last Edit:

@smk762↗

Komodo DeFi Framework Method: task::withdraw::user_action

API-v2task::withdraw::user_action

If the task::withdraw::status returns UserActionRequired, use the task::withdraw::user_action method to enter your Trezor PIN.

ParameterTypeRequiredDescription
task_idinteger✓The identifying number returned when initiating the withdrawal 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

ParameterTypeRequiredDescription
resultstring✓The outcome of the request.

task::withdraw::user_action

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