Enable UTXO Task: User Action
API-v2task::enable_utxo::user_action
If the task::enable_utxo::status
returns UserActionRequired
, we need to use the task::enable_utxo::user_action
method to enter our PIN
Parameter | Type | Required | Description |
---|---|---|---|
task_id | integer | ✓ | The identifying number returned when initiating the initialisation process. |
user_action | object | ✓ | Object containing the params below |
user_action.action_type | string | ✓ | Will be TrezorPin for this method |
user_action.pin | string (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. |
Parameter | Type | Description |
---|---|---|
result | string | The outcome of the request. |
task::enable_utxo::user_action
POST
task::enable_utxo::user_action{
"userpass": "RPC_UserP@SSW0RD",
"mmrpc": "2.0",
"method": "task::enable_utxo::user_action",
"params": {
"task_id": 1,
"user_action": {
"action_type": "TrezorPin",
"pin": "862743"
}
}
}