Wipe device
Reset device to factory defaults and remove all private data.
const result = await TrezorConnect.wipeDevice(params);
Params
Common parameter useEmptyPassphrase
- is set to true
Common parameter allowSeedlessDevice
- is set to true
Example
TrezorConnect.wipeDevice();
Result
Success type
{
success: true,
payload: {
message: 'Device wiped'
}
}
Error
{
success: false,
payload: {
error: string // error message
}
}