@Test public void extractValueFromEthTransaction() { String s = TransactionFactory.extractValueFromEthTransaction(input); assertThat(s, is(Long.toString((long) (1 * Math.pow(10, 18))))); }
static String extractValueFromEthTransaction(String input) { String valueHex = input.substring(input.length() - ((256 >> 2))); BigInteger value = decodeInt(Hex.decode(valueHex), 0); return value.toString(); }
TransactionFactory { static String extractValueFromEthTransaction(String input) { String valueHex = input.substring(input.length() - ((256 >> 2))); BigInteger value = decodeInt(Hex.decode(valueHex), 0); return value.toString(); } }
TransactionFactory { static String extractValueFromEthTransaction(String input) { String valueHex = input.substring(input.length() - ((256 >> 2))); BigInteger value = decodeInt(Hex.decode(valueHex), 0); return value.toString(); } private  TransactionFactory(); }
TransactionFactory { static String extractValueFromEthTransaction(String input) { String valueHex = input.substring(input.length() - ((256 >> 2))); BigInteger value = decodeInt(Hex.decode(valueHex), 0); return value.toString(); } private  TransactionFactory(); static Transaction fromEthGetTransactionReceipt(
      EthGetTransactionReceipt ethGetTransactionReceipt); static Transaction fromEthTransaction(EthTransaction ethTransaction, Status status); static BigInteger decodeInt(byte[] encoded, int offset); }
TransactionFactory { static String extractValueFromEthTransaction(String input) { String valueHex = input.substring(input.length() - ((256 >> 2))); BigInteger value = decodeInt(Hex.decode(valueHex), 0); return value.toString(); } private  TransactionFactory(); static Transaction fromEthGetTransactionReceipt(
      EthGetTransactionReceipt ethGetTransactionReceipt); static Transaction fromEthTransaction(EthTransaction ethTransaction, Status status); static BigInteger decodeInt(byte[] encoded, int offset);  }