code: func (sc *StateContext) GetTransientByTXID(txID string) ([]*rwset.TxPvtReadWriteSet, error) {
  	scanner, err := sc.Store.GetTxPvtRWSetByTxid(txID, nil)
  	if err != nil {
  		return nil, errors.WithStack(err)
  	}
  	defer scanner.Close()
  	var data []*rwset.TxPvtReadWriteSet
  	for {
  		res, err := scanner.NextWithConfig()
  		if err != nil {
  			return nil, errors.WithStack(err)
  		}
  		if res == nil {
  			break
  		}
  		if res.PvtSimulationResultsWithConfig == nil {
  			continue
  		}
  		data = append(data, res.PvtSimulationResultsWithConfig.PvtRwset)
  	}
  	return data, nil
  }
docs: // GetTransientByTXID returns the private data associated with this transaction ID.