Class MetaMaskWalletProvider

Hierarchy

Implements

Index

Properties

address$

address$: UniqueSubject<string> = new UniqueSubject<string>()

networkName$

networkName$: UniqueSubject<NetworkNames> = new UniqueSubject<NetworkNames>()

type

type: string

Accessors

address

  • get address(): string

networkName

Static ethereum

  • get ethereum(): typeof window["ethereum"]
  • Returns typeof window["ethereum"]

Methods

signMessage

  • signMessage(message: BytesLike): Promise<string>

Static connect

Static detect

  • detect(): boolean
  • Returns boolean