Skip to content

EIP1193EventEmitter

EIP1193EventEmitter: EIP1193Events & object

A very minimal EventEmitter interface

Type declaration

emit()

Emit an event.

Parameters

eventName: keyof EIP1193EventMap

The event name.

• …args: any[]

Arguments to pass to the event listeners.

Returns

boolean

True if the event was emitted, false otherwise.

Source

packages/base-client/src/EIP1193EventEmitterTypes.ts:53