Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Provider

Implements

Index

Constructors

  • Returns Provider

Properties

_isProvider: boolean

Methods

  • Parameters

    Returns Provider

  • emit(eventName: EventType, ...args: any[]): boolean
  • Parameters

    Returns boolean

  • Parameters

    Returns Promise<BigNumber>

  • getBalance(addressOrName: string | Promise<string>, blockTag?: BlockTag | Promise<BlockTag>): Promise<BigNumber>
  • Parameters

    • addressOrName: string | Promise<string>
    • Optional blockTag: BlockTag | Promise<BlockTag>

    Returns Promise<BigNumber>

  • Parameters

    Returns Promise<Block>

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

  • getCode(addressOrName: string | Promise<string>, blockTag?: BlockTag | Promise<BlockTag>): Promise<string>
  • Parameters

    • addressOrName: string | Promise<string>
    • Optional blockTag: BlockTag | Promise<BlockTag>

    Returns Promise<string>

  • Returns Promise<FeeData>

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

  • Parameters

    Returns Promise<Log[]>

  • getNetwork(): Promise<Network>
  • Returns Promise<Network>

  • Parameters

    Returns Promise<string>

  • Parameters

    • transactionHash: string

    Returns Promise<TransactionResponse>

  • getTransactionCount(addressOrName: string | Promise<string>, blockTag?: BlockTag | Promise<BlockTag>): Promise<number>
  • Parameters

    • addressOrName: string | Promise<string>
    • Optional blockTag: BlockTag | Promise<BlockTag>

    Returns Promise<number>

  • Parameters

    • transactionHash: string

    Returns Promise<TransactionReceipt>

  • Parameters

    Returns number

  • Parameters

    Returns Listener[]

  • lookupAddress(address: string | Promise<string>): Promise<null | string>
  • Parameters

    • address: string | Promise<string>

    Returns Promise<null | string>

  • Parameters

    Returns Provider

  • Parameters

    Returns Provider

  • Parameters

    Returns Provider

  • Parameters

    Returns Provider

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

    • name: string | Promise<string>

    Returns Promise<null | string>

  • Parameters

    • signedTransaction: string | Promise<string>

    Returns Promise<TransactionResponse>

  • waitForTransaction(transactionHash: string, confirmations?: number, timeout?: number): Promise<TransactionReceipt>
  • Parameters

    • transactionHash: string
    • Optional confirmations: number
    • Optional timeout: number

    Returns Promise<TransactionReceipt>

  • isProvider(value: any): value is Provider
  • Parameters

    • value: any

    Returns value is Provider

Generated using TypeDoc