EIP1193EventMap: {
    accountsChanged(accounts: `0x${string}`[]): void;
    chainChanged(chainId: string): void;
    connect(connectInfo: ProviderConnectInfo): void;
    disconnect(error: Error & { code: number; details: string }): void;
    message(message: ProviderMessage): void;
}

Type declaration

  • accountsChanged:function
    • Parameters

      • accounts: `0x${string}`[]

      Returns void

  • chainChanged:function
    • Parameters

      • chainId: string

      Returns void

  • connect:function
  • disconnect:function
    • Parameters

      • error: Error & { code: number; details: string }

      Returns void

  • message:function