code: public static BitcoinTransaction convertToBitcoinTransaction(HiveBitcoinTransaction transaction) {
  		List<BitcoinTransactionOutput> newTransactionsOutputList = new ArrayList<>();
  		for (int j = 0; j < transaction.getListOfOutputs().size(); j++) {
  			HiveBitcoinTransactionOutput currentOutput = transaction.getListOfOutputs().get(j);
  			newTransactionsOutputList.add(new BitcoinTransactionOutput(currentOutput.getValue().bigDecimalValue().toBigIntegerExact(),
  					currentOutput.getTxOutScriptLength(), currentOutput.getTxOutScript()));
  		}
  		BitcoinTransaction result = new BitcoinTransaction(transaction.getMarker(),transaction.getFlag(),transaction.getVersion(), transaction.getInCounter(), transaction.getListOfInputs(),  transaction.getOutCounter(), newTransactionsOutputList, transaction.getBitcoinScriptWitness(), transaction.getLockTime());
  		return result;
  	}
docs: *
  Convert HiveBitcoinTransaction to BitcoinTransaction (e.g. to get HashValue)
  
  @param transaction HiveBitcoinTransaction
  @return transaction in BitcoinTransaction format