Skip to main content

InjectedWallet

Hierarchy

  • Wallet<InjectedWalletOptions, connected>
    • InjectedWallet

Index

Constructors

constructor

  • new InjectedWallet(name: string, options?: InjectedWalletOptions): InjectedWallet
  • Parameters

    • name: string
    • optionaloptions: InjectedWalletOptions

    Returns InjectedWallet

Properties

readonlyaccounts$

accounts$: Observable<PolkadotSignerAccount[]> = ...

connected$

connected$: Observable<boolean> = ...

publicreadonlyname

name: string

Accessors

id

  • get id(): string
  • Returns string

Methods

connect

  • connect(): Promise<void>
  • Returns Promise<void>

disconnect

  • disconnect(): void
  • Returns void

getAccounts

  • getAccounts(): { id: string }[]
  • Returns { id: string }[]

initialize

  • initialize(): Promise<void>
  • Returns Promise<void>