Crack the eggs into a bowl and beat them well.
Finely chop green onions and onion and set aside.
Heat cooking oil in a pan over medium heat.
Add the chopped onion and green onions and stir-fry to bring out the aroma.
Pour in the beaten eggs and stir while frying.
Season with soy sauce and salt to taste.
When the eggs are lightly cooked and fluffy, transfer to a plate.