mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-03-23 15:47:18 +01:00
458 B
458 B
Change pin
This method initiates pin change sequence.
const result = await TrezorConnect.changePin(params);
Params
remove— optionalboolean
Result
{
success: true,
payload: {
message: "PIN enabled" | "PIN removed"
}
}
Error
{
success: false,
payload: {
error: string // error message
}
}