Dice the chicken breast and onion into small pieces.
Beat the eggs in a bowl.
Heat oil in a pan and stir-fry the chicken breast.
When the chicken is cooked, add the onion and stir-fry together.
Add the rice and stir-fry everything together.
Pour the beaten eggs around the pan and scramble while frying.
Taste and finish with salt and pepper.