Events from BlockEvent #fabric-sdk-java


Hi All,

Blockevent has this method:


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.