Hierarchy

Constructors

Properties

_detectNetwork: Promise<Network>
_requests: {
    [name: string]: InflightRequest;
}

Type declaration

  • [name: string]: InflightRequest
_subIds: {
    [tag: string]: Promise<string>;
}

Type declaration

  • [tag: string]: Promise<string>
_subs: {
    [name: string]: Subscription;
}

Type declaration

  • [name: string]: Subscription
_websocket: any
_wsReady: boolean

Accessors

  • 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

  • get websocket(): WebSocketLike
  • Returns WebSocketLike

Methods

  • Parameters

    • event: Event

    Returns void

  • Parameters

    • event: Event

    Returns void

  • Parameters

    • tag: string
    • param: any[]
    • processFunc: ((result: any) => void)
        • (result: any): void
        • Parameters

          • result: any

          Returns void

    Returns Promise<void>

  • Returns Promise<void>

  • Returns Promise<void>

  • Parameters

    • blockNumber: number

    Returns void

  • Parameters

    • method: string
    • Optional params: any[]

    Returns Promise<any>

  • Returns string

Generated using TypeDoc