Method testing tool
Wipe device
🚫
Management command - this method is restricted to Trezor.io and can't be used in 3rd party applications.
Reset device to factory defaults and remove all private data.
const result = await TrezorConnect.wipeDevice(params);Params
Including CommonParams
No other parameters.
Common parameter useEmptyPassphrase - is set to true, 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
}
}