mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-03-25 00:27:12 +01:00
614 B
614 B
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
}
}