@signumjs/wallets
Version:
Wallets communication package for DApps in the Signum Network
17 lines (16 loc) • 415 B
TypeScript
export interface ExtensionNotificationHandler {
onNetworkChanged?: (args: {
networkName: string;
networkHost: string;
}) => void;
onAccountChanged?: (args: {
accountId: string;
accountPublicKey: string;
}) => void;
onPermissionRemoved?: (args: {
origin: string;
}) => void;
onAccountRemoved?: (args: {
accountId: string;
}) => void;
}