According to the EIPs standard (https://eips.ethereum.org/EIPS/eip-1193), Eip1193Provider should include the on and removeListener events. When using TypeScript, this will cause a type error.
Code Snippet
export interface Eip1193Provider {
/**
* See [[link-eip-1193]] for details on this method.
*/
request(request: { method: string, params?: Array<any> | Record<string, any> }): Promise<any>;
};
Ethers Version
6.13.2
Search Terms
Eip1193Provider
Describe the Problem
According to the EIPs standard (https://eips.ethereum.org/EIPS/eip-1193), Eip1193Provider should include the on and removeListener events. When using TypeScript, this will cause a type error.
Code Snippet
Contract ABI
No response
Errors
No response
Environment
Other (please specify)
Environment (Other)
Vue3