In a large bowl, beat eggs, flour, soda, salt and pepper together. Grate potatoes and mix with onions. Mix well.
Heat the oil in a large frying pan over medium heat. Put the dough in a pan with a spoon and cook until golden brown for about 3 minutes on each side.