Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ExtensionNotificationHandler

The notification handler for events in the extension wallet

Hierarchy

  • ExtensionNotificationHandler

Index

Properties

Optional onAccountChanged

onAccountChanged: function

Called when account changes

Type declaration

    • (args: object): void
    • Parameters

      • args: object
        • accountId: string
        • accountPublicKey: string

      Returns void

Optional onAccountRemoved

onAccountRemoved: function

Called when the account for the currently connected application was removed

Type declaration

    • (args: object): void
    • Parameters

      • args: object
        • accountId: string

      Returns void

Optional onNetworkChanged

onNetworkChanged: function

Called when network changes

Type declaration

    • (args: object): void
    • Parameters

      • args: object
        • networkHost: string
        • networkName: string

      Returns void

Optional onPermissionRemoved

onPermissionRemoved: function

Called when the permission for the currently connected application was removed

Type declaration

    • (args: object): void
    • Parameters

      • args: object
        • origin: string

      Returns void