Slice the onions and saute them in butter until golden. Empty the tins into the frying pan and stir well. Put the pan into 375 F and bake until brown. Break the eggs on top of the hash and return to oven until done.