Wash and clean the spring onions and cut them into thin rings. Whisk eggs and season with salt and pepper. Melt butter. Brush dough with melted butter and cut into quarters. Put 3 squares diagonally on top of each other.
Pour the dough into the greased recesses of a muffin tray (6 recesses) and press down slightly. Heat the oil in a coated pan. Fry the ham for 2-3 minutes. Add eggs and half of the spring onions.
Allow the eggs to set slightly, pushing them together slightly with the spatula. Pour egg mixture into the moulds and bake in a preheated oven (electric range: 175 °C/ convection oven: 150 °C/ gas: level 2) for 15-20 minutes.
If the edges of the dough become too dark, slide a baking tray into the top shelf of the oven. Sprinkle the remaining spring onions on the tartlets and serve.