diff --git a/src/main/java/com/julius/spring/boot/ethweb3/demo/PlayAroundDemo.java b/src/main/java/com/julius/spring/boot/ethweb3/demo/PlayAroundDemo.java index fc79b95..c83d4c1 100644 --- a/src/main/java/com/julius/spring/boot/ethweb3/demo/PlayAroundDemo.java +++ b/src/main/java/com/julius/spring/boot/ethweb3/demo/PlayAroundDemo.java @@ -45,6 +45,7 @@ public static void main(String[] args) throws Exception { // setup for general node query final Web3j web3jConnection = web3jClient(); LOGGER.info("connected node: {}", web3jConnection.web3ClientVersion().send().getWeb3ClientVersion()); + LOGGER.info("current block number: {}", web3jConnection.ethBlockNumber().send().getBlockNumber()); // setup for sending transactions final Credentials credentials = loadCredentials(KEY_FILE_PATH);