Method testing tool
Load device
🚫
Management command - this method is restricted to Trezor.io and can't be used in 3rd party applications.
🚫
Management command - this method is not going to work on Trezor with production firmware, it requires a debug firmware. More details: https://docs.trezor.io/trezor-firmware/tests/device-tests.html#extended-testing-and-debugging
Load seed and related internal settings. The devices has to be wiped before initiating this command.
const result = await TrezorConnect.loadDevice(params);
Params
Including CommonParams
LoadDevice
Example
TrezorConnect.loadDevice({
mnemonics: ['all all all all all all all all all all all all'],
});
Result
Success type
{
success: true,
payload: {
message: 'Device loaded'
},
device: {
path: '1',
state: {
deriveCardano: false
},
instance: 0
}
}
Error
{
success: false,
payload: {
error: string // error message
code: string // error code
}
device: undefined
}