</BUG>
byte[] raw = HexUtil.hexStringToByteArray(hexEncoded);
Transaction tx = new Transaction(RegTestParams.get(), raw);
return tx;
}
<BUG>public Map<String, Object> getRawTransactionMap(Sha256Hash txid) throws JsonRPCException, IOException {
List<Object> params = createParamList(txid, 1);
Map<String, Object> json = send("getrawtransaction", params);
return json;</BUG>
}

result = getRawTransaction(txid);  // Not-verbose is bitcoinj Transaction
}
return result;
}
public Transaction getRawTransaction(Sha256Hash txid) throws JsonRPCException, IOException {
String hexEncoded = send("getrawtransaction", txid);
byte[] raw = HexUtil.hexStringToByteArray(hexEncoded);
Transaction tx = new Transaction(RegTestParams.get(), raw);
return tx;
}
public Map<String, Object> getRawTransactionMap(Sha256Hash txid) throws JsonRPCException, IOException {
return send("getrawtransaction", txid, 1);
}
