WagmiConnector
class WagmiConnector< Provider = any, Options = any, Signer = any,> extends EventEmitter<WagmiConnectorEvents<Provider>> {}
function constructor(__namedParameters: { chains?: Array<Chain>; options: Options;
Inherited from
EventEmitter.addListener
function addListener( event: T, fn: ( ...args: ArgumentMap<WagmiConnectorEvents<Provider>>[Extract< T, keyof WagmiConnectorEvents<Provider> >] ) => void, context?: any,): this;
Inherited from
EventEmitter.emit
Calls each of the listeners registered for a given event.
function emit( event: T, ...args: ArgumentMap<WagmiConnectorEvents<Provider>>[Extract< T, keyof WagmiConnectorEvents<Provider> >]): boolean;
Inherited from
EventEmitter.listeners
Return the listeners registered for a given event.
function listeners( event: T,): Array< ( ...args: ArgumentMap<WagmiConnectorEvents<Provider>>[Extract< T, keyof WagmiConnectorEvents<Provider> >] ) => void>;
Inherited from
EventEmitter.off
function off( event: T, fn?: ( ...args: ArgumentMap<WagmiConnectorEvents<Provider>>[Extract< T, keyof WagmiConnectorEvents<Provider> >] ) => void, context?: any, once?: boolean,): this;
Inherited from
EventEmitter.on
Add a listener for a given event.
function on( event: T, fn: ( ...args: ArgumentMap<WagmiConnectorEvents<Provider>>[Extract< T, keyof WagmiConnectorEvents<Provider> >] ) => void, context?: any,): this;
Inherited from
EventEmitter.once
Add a one-time listener for a given event.
function once( event: T, fn: ( ...args: ArgumentMap<WagmiConnectorEvents<Provider>>[Extract< T, keyof WagmiConnectorEvents<Provider> >] ) => void, context?: any,): this;
Inherited from
EventEmitter.removeListener
Remove the listeners of a given event.
function removeListener( event: T, fn?: ( ...args: ArgumentMap<WagmiConnectorEvents<Provider>>[Extract< T, keyof WagmiConnectorEvents<Provider> >] ) => void, context?: any, once?: boolean,): this;