code: public ChainCodeResponse query(QueryRequest queryRequest) throws ChainCodeException, NoAvailableTCertException, CryptoException, IOException {
          logger.debug("Member.query");
  
          if (getChain().getPeers().isEmpty()) {
          	throw new NoValidPeerException(String.format("chain %s has no peers", getChain().getName()));
          }
  
          TransactionContext tcxt = this.newTransactionContext(null);
          return tcxt.query(queryRequest);
      }
docs: Issue a query request on behalf of this member.
  @param queryRequest {@link QueryRequest}
  @throws ChainCodeException if the query transaction fails