Events from BlockEvent #fabric-sdk-java


jeff.jo95z@...
 

Hi All,

Blockevent has this method:

 blockEvent.getTransactionEvents()

This returns an iterator.

How to get the events from this iterator? What is the syntax for that in FABRIC JAVA SDK ?


Mark Lewis
 

You get back an Iterable<TransactionEvent>:


You should be able to find plenty of online tutorials demonstrating how to use the Java standard class library.