code: func (rc *Client) QueryConfigFromOrderer(channelID string, options ...RequestOption) (fab.ChannelCfg, error) {
  
  	opts, err := rc.prepareRequestOpts(options...)
  	if err != nil {
  		return nil, err
  	}
  
  	orderer, err := rc.requestOrderer(&opts, channelID)
  	if err != nil {
  		return nil, errors.WithMessage(err, "failed to find orderer for request")
  	}
  
  	channelConfig, err := chconfig.New(channelID, chconfig.WithOrderer(orderer))
  	if err != nil {
  		return nil, errors.WithMessage(err, "QueryConfig failed")
  	}
  
  	reqCtx, cancel := rc.createRequestContext(opts, fab.OrdererResponse)
  	defer cancel()
  
  	return channelConfig.Query(reqCtx)
  
  }
docs: // QueryConfigFromOrderer config returns channel configuration from orderer. If orderer is not provided using options it will be defaulted to channel orderer (if configured) or random orderer from configuration.
  //  Parameters:
  //  channelID is mandatory channel ID
  //  options holds optional request options
  //
  //  Returns:
  //  channel configuration