Cut the pumpkin into small pieces and put in a pan with the sugar, salt and 500ml (17fl oz) water. Cook over low heat until soft and tender. Remove from the heat and drain, keeping some of the cooking liquid. Purée the pumpkin, using some of the cooking liquid, until the purée is thick and smooth.
Chill, then whisk in the cream, xanthan gum and walnut oil.