Skip to content

Commit

Permalink
added blockNumber to PlayAroundDemo for demo purpose
Browse files Browse the repository at this point in the history
  • Loading branch information
Julius278 committed Aug 3, 2024
1 parent 0230b6d commit f31eb5a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f31eb5a

Please sign in to comment.