Cook onions in the oil for about 6 minutes on medium-high flame. Pour in the peppercorns and salt.
Mix the xanthan gum and water. Pour in the sauce and take off the fire.