code: func GetChainHead(chainid string) (string, error) {
  	ch, err := getChainHead(chainid)
  	if err != nil {
  		return "", err
  	}
  	return ch.ChainHead, nil
  }
docs: // GetChainHead only returns the chainhead part of the response, so you are losing information
  // returned by the api. GetChainHeadAndStatus returns the full repsonse.
  // TODO: Depreciate this call, or make it return an error when the chainhead == ""
  //			When (chainhead == "" && err == nil ) the ChainInProcessList == true, and we could
  //			return an error indicating there is no chainhead found, but it will be created in the
  //			next block.