Interface representing a method to add event listeners to the provider.

  • Adds an event listener to the provider.

    Parameters

    • eventName: string

      The name of the event.

    • listener: ((...args: unknown[]) => unknown)

      The listener function.

        • (...args): unknown
        • Parameters

          • Rest...args: unknown[]

          Returns unknown

    Returns Eip1193A.Provider

    The provider instance.