In a pressure cooker, put a little oil, let it heat up and put the chicken legs, salt and pepper, make the sauté by placing the chopped onions and tomatoes.
While it is on the fire, add the remaining ingredients. Add water to cover and put on pressure. Leave cooking for 35 min.