Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Methods

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

    • event: string
    • listener: any

    Returns void

  • on(event: "connect", listener: ((info: ProviderInfo) => void)): void
  • on(event: "disconnect", listener: ((error: ProviderRpcError) => void)): void
  • on(event: "message", listener: ((message: ProviderMessage) => void)): void
  • on(event: "chainChanged", listener: ((chainId: string) => void)): void
  • on(event: "accountsChanged", listener: ((accounts: ProviderAccounts) => void)): void
  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • event: "chainChanged"
    • listener: ((chainId: string) => void)
        • (chainId: string): void
        • Parameters

          • chainId: string

          Returns void

    Returns void

  • Parameters

    Returns void

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

    • event: string
    • listener: any

    Returns void

  • removeListener(event: string, listener: any): void
  • request(args: RequestArguments): Promise<unknown>
  • Parameters

    • args: RequestArguments

    Returns Promise<unknown>

Generated using TypeDoc