Wash the trotters VERY well and drain.
In the Instant Pot or a regular pressure cooker, heat 1/3 cup oil (save the rest for tempering at the end). Add all the whole spices (bay leaf, cinnamon stick, cardamom, whole black pepper, cloves & dry red chilies). Toast for 1 minute.
Add the onions and sauté until they start to turn golden.
Add ginger paste, garlic paste, followed by all the powder spices (salt, turmeric, coriander, cumin, red chili powder & garam masala). Add a splash of water to prevent burning and sauté the masala for about 5 minutes, until the oil starts to separate and float to the top. Add more water and scrape with a spatula if you notice the masala is starting to stick to the bottom of the pot.
Now add all the trotters and combine well to ensure that the masala gets on every piece.
Add 5-6 cups water (make sure you don't go over the Instant Pot fill line) and pressure cook for 30 minutes.
If you're using tamarind paste that comes in a block with seeds, soak it in a half cup of water. Then loosen the seeds and discard them.
When done pressure cooking, do either a quick release or natural release on the Instant Pot. Add the tamarind paste.
Now adjust the following:-water level: the paya curry should be very brothy, so ensure there is plenty of liquid. Add water if necessary and put the Instant Pot on sauté mode so it can come to a boil again.-salt: add if necessary.-tamarind: add more tamarind paste if you want a more tangy flavor. In a separate frying pan, heat the remaining oil and sauté the chopped garlic until golden. Add the garlic + oil to the paya.
Serve with rice flour roti, naan, or white rice. Enjoy!