Interface WalletProvider

Hierarchy

  • WalletProvider

Implemented by

Index

Properties

Readonly address

address: string

Optional Readonly address$

address$: UniqueSubject<string>

Optional Readonly networkName

networkName: NetworkNames

Optional Readonly networkName$

networkName$: UniqueSubject<NetworkNames>

Optional Readonly type

type: string

Optional Readonly wallet

wallet: Wallet

Methods

signMessage

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

    • message: BytesLike

    Returns Promise<string>

signTypedData

  • signTypedData(typedData: MessagePayload, message: any, factoryAddress?: string, initCode?: string): Promise<string>
  • Parameters

    • typedData: MessagePayload
    • message: any
    • Optional factoryAddress: string
    • Optional initCode: string

    Returns Promise<string>