Class KeyWalletProvider

Hierarchy

  • KeyWalletProvider

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Readonly address

address: string

Readonly type

type: "Key" = "Key"

Readonly wallet

wallet: Wallet

Methods

signMessage

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

signTypedData

  • signTypedData(typedData: TypedDataField[], message: any, accountAddress: string): Promise<string>
  • Parameters

    • typedData: TypedDataField[]
    • message: any
    • accountAddress: string

    Returns Promise<string>