In your Instant Pot or large cooking pot, add all the ingredients for the stock/yakhni.
Pressure cook in your Instant Pot for 25-30 minutes until the trotters are tender.
While the stock is being prepared, sauté the puréed onions until golden, then add spices and ginger garlic paste.
Next, strain the stock from the Instant Pot and discard whole spices.
Drop the trotters into the onion masala and stir well for 5-10 minutes on medium to low heat.
Add a cup or two of the strained stock to loosen up the masala before pouring all of the stock into the pan.
Let the Paya come to a boil, then cover and slow cook on low heat for an hour. The longer you go, the more luscious it will be but generally an hour is okay.
When serving, ladle the broth with a couple of trotters and garnish with fresh cilantro. Serve with hot naan.