Method testing tool
Unlock path
Ask device to unlock a subtree of the keychain.
Result is used in getPublicKey
, getAddress
and signTransaction
methods to access requested keychain which is not available by default.
const result = await TrezorConnect.unlockPath(params);
⚠️
This feature is experimental! Do not use it in production!
Supported only by T2T1 with Firmware 2.5.3 or higher!
Params
Including CommonParams
UnlockPathParams
path
String | Array<Number>
Required
Derivation Path (BIP32).
Result
{
success: true,
payload: {
address_n: Array<number>,
mac: string,
}
}
Error
{
success: false,
payload: {
error: string // error message
}
}