Base implementation of a WalletAccount to be used or extended by a Wallet.

WalletAccount properties must be read-only. This class enforces this by making all properties truly private and read-only, using getters for access, returning copies instead of references, and calling Object.freeze on the instance.

Hierarchy

  • ReadonlyWalletAccount

Implements

  • WalletAccount

Properties

#address: string
#publicKey: Uint8Array
#chains: IdentifierArray
#features: IdentifierArray
#label: undefined | string
#icon: undefined | `data:image/svg+xml;base64,${string}` | `data:image/webp;base64,${string}` | `data:image/png;base64,${string}` | `data:image/gif;base64,${string}`

Accessors

  • get icon(): undefined | `data:image/svg+xml;base64,${string}` | `data:image/webp;base64,${string}` | `data:image/png;base64,${string}` | `data:image/gif;base64,${string}`
  • Implementation of WalletAccount::icon

    Returns undefined | `data:image/svg+xml;base64,${string}` | `data:image/webp;base64,${string}` | `data:image/png;base64,${string}` | `data:image/gif;base64,${string}`

Constructors

Generated using TypeDoc