Wash the potatoes thoroughly, peel them, grate them, and remove excess moisture.
In a bowl, mix together the potatoes, eggs, chopped onion, salt, and pepper well.
Divide the batter evenly into muffin molds.
Bake in a preheated oven at 180°C for 25 minutes.