Hierarchy

Constructors

Methods

  • Returns Promise<Network>

  • Returns Promise<Network>

  • Parameters

    • Optional addressOrIndex: string | number

    Returns JsonRpcSigner

  • Parameters

    • Optional addressOrIndex: string | number

    Returns UncheckedJsonRpcSigner

  • Returns Promise<string[]>

  • Parameters

    • method: string
    • params: any

    Returns [string, any[]]

  • Parameters

    • event: Event

    Returns void

  • Returns void

  • Parameters

    • event: Event

    Returns void

  • Returns Promise<Network>

  • Parameters

    • tx: Transaction
    • calldata: string
    • urls: string[]

    Returns Promise<null | string>

  • Parameters

    • maxAge: number

    Returns Promise<number>

  • Returns Promise<void>

  • Parameters

    • blockNumber: number

    Returns void

  • Returns Promise<Network>

  • Returns Promise<number>

  • Parameters

    • blockNumber: number

    Returns void

  • Parameters

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

    Returns Promise<TransactionReceipt>

  • Parameters

    • transactionHash: string
    • confirmations: number
    • timeout: number
    • replaceable: {
          data: string;
          from: string;
          nonce: number;
          to: string;
          value: BigNumber;
          startBlock: number;
      }
      • data: string
      • from: string
      • nonce: number
      • to: string
      • value: BigNumber
      • startBlock: number

    Returns Promise<TransactionReceipt>

  • Returns Promise<number>

  • Returns Promise<BigNumber>

  • Parameters

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

    Returns Promise<BigNumber>

  • Parameters

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

    Returns Promise<number>

  • Parameters

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

    Returns Promise<string>

  • Parameters

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

    Returns Promise<string>

  • Parameters

    • tx: Transaction
    • Optional hash: string
    • Optional startBlock: number

    Returns TransactionResponse

  • Parameters

    • signedTransaction: string | Promise<string>

    Returns Promise<TransactionResponse>

  • Parameters

    • transaction: Deferrable<TransactionRequest>

    Returns Promise<Transaction>

  • Parameters

    • filter: Filter | FilterByBlockHash | Promise<Filter | FilterByBlockHash>

    Returns Promise<Filter | FilterByBlockHash>

  • Parameters

    • transaction: TransactionRequest
    • blockTag: BlockTag
    • attempt: number

    Returns Promise<string>

  • Parameters

    • transaction: Deferrable<TransactionRequest>
    • Optional blockTag: BlockTag | Promise<BlockTag>

    Returns Promise<string>

  • Parameters

    • transaction: Deferrable<TransactionRequest>

    Returns Promise<BigNumber>

  • Parameters

    • addressOrName: string | Promise<string>

    Returns Promise<string>

  • Parameters

    • blockHashOrBlockTag: BlockTag | Promise<BlockTag>
    • Optional includeTransactions: boolean

    Returns Promise<Block | BlockWithTransactions>

  • Parameters

    • blockHashOrBlockTag: BlockTag | Promise<BlockTag>

    Returns Promise<Block>

  • Parameters

    • blockHashOrBlockTag: BlockTag | Promise<BlockTag>

    Returns Promise<BlockWithTransactions>

  • Parameters

    • transactionHash: string | Promise<string>

    Returns Promise<TransactionResponse>

  • Parameters

    • transactionHash: string | Promise<string>

    Returns Promise<TransactionReceipt>

  • Parameters

    • filter: Filter | FilterByBlockHash | Promise<Filter | FilterByBlockHash>

    Returns Promise<Log[]>

  • Returns Promise<number>

  • Parameters

    • blockTag: BlockTag | Promise<BlockTag>

    Returns Promise<BlockTag>

  • Parameters

    • name: string

    Returns Promise<null | Resolver>

  • Parameters

    • name: string
    • Optional operation: string

    Returns Promise<string>

  • Parameters

    • name: string | Promise<string>

    Returns Promise<null | string>

  • Parameters

    • address: string | Promise<string>

    Returns Promise<null | string>

  • Parameters

    • nameOrAddress: string

    Returns Promise<null | string>

  • Parameters

    • eventName: EventType
    • listener: Listener
    • once: boolean

    Returns JsonRpcProvider

  • Parameters

    • eventName: EventType
    • listener: Listener

    Returns JsonRpcProvider

  • Parameters

    • eventName: EventType
    • listener: Listener

    Returns JsonRpcProvider

  • Parameters

    • eventName: EventType
    • Rest ...args: any[]

    Returns boolean

  • Parameters

    • Optional eventName: EventType

    Returns number

  • Parameters

    • Optional eventName: EventType

    Returns Listener[]

  • Parameters

    • eventName: EventType
    • Optional listener: Listener

    Returns JsonRpcProvider

  • Parameters

    • Optional eventName: EventType

    Returns JsonRpcProvider

  • Returns Promise<FeeData>

  • Parameters

    • eventName: EventType
    • listener: Listener

    Returns Provider

  • Parameters

    • eventName: EventType
    • listener: Listener

    Returns Provider

  • Returns string

  • Parameters

    • transaction: TransactionRequest
    • Optional allowExtra: {
          [key: string]: boolean;
      }
      • [key: string]: boolean

    Returns {
        [key: string]: string | AccessList;
    }

    • [key: string]: string | AccessList
  • Returns Formatter

  • Parameters

    • network: Networkish

    Returns Network

  • Parameters

    • value: any

    Returns value is Provider

Properties

connection: ConnectionInfo
_pendingFilter: Promise<number>
_nextId: number
_eventLoopCache: Record<string, Promise<any>>
_networkPromise: Promise<Network>
_network: Network
_events: Event[]
formatter: Formatter
_emitted: {
    [eventName: string]: number | "pending";
}

Type declaration

  • [eventName: string]: number | "pending"
_pollingInterval: number
_poller: Timer
_bootstrapPoll: Timer
_lastBlockNumber: number
_maxFilterBlockRange: number
_fastBlockNumber: number
_fastBlockNumberPromise: Promise<number>
_fastQueryDate: number
_maxInternalBlockNumber: number
_internalBlockNumber: Promise<{
    blockNumber: number;
    reqTime: number;
    respTime: number;
}>
anyNetwork: boolean
disableCcipRead: boolean
_isProvider: boolean

Accessors

  • get _cache(): Record<string, Promise<any>>
  • Returns Record<string, Promise<any>>

  • get ready(): Promise<Network>
  • Returns Promise<Network>

  • get network(): Network
  • Returns Network

  • get blockNumber(): number
  • Returns number

  • get polling(): boolean
  • Returns boolean

  • set polling(value: boolean): void
  • Parameters

    • value: boolean

    Returns void

  • get pollingInterval(): number
  • Returns number

  • set pollingInterval(value: number): void
  • Parameters

    • value: number

    Returns void

Generated using TypeDoc