Connector
class Connector< TConnectParams extends Record<string, any> = {},> extends EventEmitter {}
function connect(): Promise<string>;
function switchChain(chainId: number): Promise<void>;
function updateChains(chains: Array<Chain>): void;
Inherited from
EventEmitter.once
Add a one-time listener for a given event.
function once<T extends string | symbol>( event: T, fn: (...args: Array<any>) => void, context?: any,): this;
Inherited from
EventEmitter.removeListener
Remove the listeners of a given event.
function removeListener<T extends string | symbol>( event: T, fn?: (...args: Array<any>) => void, context?: any, once?: boolean,): this;