Crack eggs into a bowl.
Add onions, green chilies, coriander, turmeric, red chili powder, garam masala, and salt.
Whisk well until everything is fully combined.
Heat oil or butter in a non-stick pan over medium heat.
Pour the egg mixture into the pan and spread evenly.
Cook until the bottom sets and turns golden.
Flip carefully and cook the other side until fully done.
Serve hot.