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
    }
}