跳到主要内容

登出账户 & 错误提示

登出账户

/// 该操作会清除本地 upAccount 数据
await uniPassWeb.logout();

接口错误提示

NumberNotificationDetails
1'Declined: user reject connect'用户拒绝连接
2'Declined: user reject sign message'用户拒绝签名消息
3'Declined: user reject send transaction'用户拒绝签名交易
4'Declined: expired'用户登出 UniPass 或连接超时