void registerEventHandler({ required String chainId, required String event, dynamic Function(String, dynamic)? handler, });