code: func LastConfigFromOrderer(reqCtx reqContext.Context, channelName string, orderer fab.Orderer, opts ...Opt) (*common.Block, error) {
  	logger.Debugf("channelConfig - start for channel %s", channelName)
  
  	optionsValue := getOpts(opts...)
  
  	// Get the newest block
  	block, err := retrieveBlock(reqCtx, []fab.Orderer{orderer}, channelName, newNewestSeekPosition(), optionsValue)
  	if err != nil {
  		return nil, err
  	}
  	logger.Debugf("channelConfig - Retrieved newest block number: %d\n", block.Header.Number)
  
  	// Get the index of the last config block
  	lastConfig, err := GetLastConfigFromBlock(block)
  	if err != nil {
  		return nil, errors.Wrap(err, "GetLastConfigFromBlock failed")
  	}
  	logger.Debugf("channelConfig - Last config index: %d\n", lastConfig.Index)
  
  	// Get the last config block
  	block, err = retrieveBlock(reqCtx, []fab.Orderer{orderer}, channelName, newSpecificSeekPosition(lastConfig.Index), optionsValue)
  	if err != nil {
  		return nil, errors.WithMessage(err, "retrieve block failed")
  	}
  	logger.Debugf("channelConfig - Last config block number %d, Number of tx: %d", block.Header.Number, len(block.Data.Data))
  
  	if len(block.Data.Data) != 1 {
  		return nil, errors.New("apiconfig block must contain one transaction")
  	}
  
  	return block, nil
  }
docs: // LastConfigFromOrderer fetches the current configuration block for the specified channel
  // from the given orderer