Heat a pan, add whole spices to toast. Cook till golden. Take it in a blender and puree till smooth. Set aside.
Take coconut, gram dal, fennel and grind to a smooth paste.
Now heat oil in a pan, add in whole spices, onions and cook till golden.
Add in ginger garlic paste and saute till raw smell leaves.
Add in tomatoes and curry leaves and mix well.
Add in chicken and cook till 5 to 6 mins.
Add in roasted coconut masala and water. Mix well.
Add this in pressure cooker and cook for 2 whistle.
Take it off the heat and open the cooker.
Add in potatoes and cook till it is done.
Add in coconut masala and simmer for 10 to 15 mins.
Take the curry off the heat and add in tomato and curry leaves.
Serve.