Create New Account Task: User Action
API-v2task::create_new_account::user_action
If the task::create_new_account::status
returns UserActionRequired
, use the task::create_new_account::user_action
method to enter your Trezor PIN.
Parameter | Type | Required | Description |
---|---|---|---|
task_id | integer | ✓ | The identifying number returned when initiating the account creation 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::create_new_account::user_action
POST
task::create_new_account::user_action{
"userpass": "RPC_UserP@SSW0RD",
"mmrpc": "2.0",
"method": "task::create_new_account::user_action",
"params": {
"task_id": 3,
"user_action": {
"action_type": "TrezorPin",
"pin": "862743"
}
}
}