code: public Collection<ProposalResponse> queryByChaincode(QueryByChaincodeRequest queryByChaincodeRequest, Collection<Peer> peers) throws InvalidArgumentException, ProposalException {
          return sendProposal(queryByChaincodeRequest, peers);
      }
docs: Send Query proposal
  
  @param queryByChaincodeRequest
  @param peers
  @return responses from peers.
  @throws InvalidArgumentException
  @throws ProposalException