Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

connection: IJsonRpcConnection
events: EventEmitter
isMetaMask: boolean

Methods

  • close(): Promise<void>
  • Returns Promise<void>

  • disconnect(): Promise<void>
  • Returns Promise<void>

  • off(event: string, listener: any): void
  • Parameters

    • event: string
    • listener: any

    Returns void

  • on(event: string, listener: any): void
  • Parameters

    • event: string
    • listener: any

    Returns void

  • once(event: string, listener: any): void
  • Parameters

    • event: string
    • listener: any

    Returns void

  • removeAllListeners(): void
  • removeListener(event: string, listener: any): void
  • Parameters

    • event: string
    • listener: any

    Returns void

  • request<Result, Params>(request: RequestArguments<Params>, context?: any): Promise<Result>
  • Type Parameters

    • Result = any

    • Params = any

    Parameters

    Returns Promise<Result>

  • requestStrict<Result, Params>(request: JsonRpcRequest<Params>, context?: any): Promise<Result>
  • Type Parameters

    • Result = any

    • Params = any

    Parameters

    Returns Promise<Result>

Generated using TypeDoc