Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

Index

Constructors

  • new JsonRpcSigner(constructorGuard: any, provider: JsonRpcProvider, addressOrIndex?: string | number): JsonRpcSigner
  • Parameters

    • constructorGuard: any
    • provider: JsonRpcProvider
    • Optional addressOrIndex: string | number

    Returns JsonRpcSigner

Properties

_address: string
_index: number
_isSigner: boolean
provider: JsonRpcProvider

Methods

  • _checkProvider(operation?: string): void
  • Parameters

    • Optional operation: string

    Returns void

  • _legacySignMessage(message: string | Bytes): Promise<string>
  • Parameters

    Returns Promise<string>

  • Parameters

    Returns Promise<string>

  • Parameters

    Returns JsonRpcSigner

  • Returns JsonRpcSigner

  • Parameters

    Returns Promise<BigNumber>

  • getAddress(): Promise<string>
  • Returns Promise<string>

  • getBalance(blockTag?: BlockTag): Promise<BigNumber>
  • Parameters

    Returns Promise<BigNumber>

  • getChainId(): Promise<number>
  • Returns Promise<number>

  • Returns Promise<FeeData>

  • getGasPrice(): Promise<BigNumber>
  • Returns Promise<BigNumber>

  • getTransactionCount(blockTag?: BlockTag): Promise<number>
  • Parameters

    Returns Promise<number>

  • resolveName(name: string): Promise<string>
  • Parameters

    • name: string

    Returns Promise<string>

  • Parameters

    Returns Promise<string>

  • signMessage(message: string | Bytes): Promise<string>
  • Parameters

    Returns Promise<string>

  • Parameters

    Returns Promise<string>

  • unlock(password: string): Promise<boolean>
  • Parameters

    • password: string

    Returns Promise<boolean>

  • isSigner(value: any): value is Signer
  • Parameters

    • value: any

    Returns value is Signer

Generated using TypeDoc