code: func (c *Client) QueryConfig(options ...RequestOption) (fab.ChannelCfg, error) {
  
  	targets, opts, err := c.prepareRequestParams(options...)
  	if err != nil {
  		return nil, errors.WithMessage(err, "QueryConfig failed to prepare request parameters")
  	}
  	reqCtx, cancel := c.createRequestContext(opts)
  	defer cancel()
  
  	channelConfig, err := chconfig.New(c.ctx.ChannelID(), chconfig.WithPeers(targets), chconfig.WithMinResponses(opts.MinTargets))
  	if err != nil {
  		return nil, errors.WithMessage(err, "QueryConfig failed")
  	}
  
  	return channelConfig.Query(reqCtx)
  }
docs: // QueryConfig queries for channel configuration.
  //  Parameters:
  //  options hold optional request options
  //
  //  Returns:
  //  channel configuration information