mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-03-20 06:08:39 +01:00
616 B
616 B
Wipe device
Reset device to factory defaults and remove all private data.
const result = await TrezorConnect.wipeDevice(params);
Params
**Optional common params**
Common parameter useEmptyPassphrase - is set to true
Common parameter allowSeedlessDevice - is set to true
Example
TrezorConnect.wipeDevice();
Result
{
success: true,
payload: {
message: 'Device wiped'
}
}
Error
{
success: false,
payload: {
error: string // error message
}
}