Set to Saute with half of the coconut oil in the pot. When the display says hot, sear the chicken to brown on all sides. Do in batches if the pot is too crowded. Remove chicken from pot and add remaining coconut oil to the pot.
Combine the diced onion, garlic, and ginger in the Instant pot and cook for 3 minutes until browned. Deglaze with the chicken broth, scraping up any of the browned bits.
Place the chicken legs and sea salt in the Instant Pot with the cooked onions and ginger.
Cover the lid. Set the Instant pot to Manual/Pressure Cooking mode. Cook for 18 minutes on high pressure. Then let the pressure release naturally for 10 minutes, followed by manual pressure release.