Crack the eggs into a bowl and beat them.
Finely chop the onion and green onion.
Add cooking oil to a pan and sauté the onion and green onion.
Pour in the beaten eggs and stir-fry while stirring with chopsticks.
Place the rice in a bowl and top it with the egg stir-fry.
Season with soy sauce, pepper, and other seasonings.