events method

List<ChainEvent> events()

Chain events buffered since the last call, decoded. Returns nothing while eventStream is live, because events then go to the stream.

Implementation

List<ChainEvent> events() => _chainEventsFromJsonArray(drainEvents());