In a pot over medium heat, add oil and whole spices and let sizzle for 30 seconds.
Next, add onions and fry for 25-30 minutes until brown on low to medium heat.
After 30 mins, add green chilis, slit lengthwise and stir for 30 seconds,
Add chicken along with ginger garlic paste and coriander powder and stir well until chicken pieces are coated in spices and onion, and is no longer pink.
Next, add 1 cup of the chicken stock. Let it come to a boil, then cover the pot for 10 minutes to allow chicken to cook halfway through.
After 10 mins, add rice along with the remaining stock (2 cups), green peas and plenty of salt. (More salt than normal because the rice will absorb the liquid.)
After liquid comes to a boil, cover the pot and allow to simmer for 15-20 mins or until rice has absorbed most of the liquid.
Next, drape the pot with a kitchen cloth and cover with the lid for 10-15 minutes on very low heat. This will seal the aroma and flavor and also finish cooking the rice.
Serve hot with raita or chutney and some pickled onions.