EventsBlocksResponse class

EventsBlocksResponse contains an ordered collection of BlockEvents and the max retrievable sequence.

Constructors

EventsBlocksResponse(int max_sequence, List<BlockEvent> events)
EventsBlocksResponse.fromMap(Map<String, dynamic> map)
factory

Properties

events List<BlockEvent>
events is an array of BlockEvents indicating the order to add and remove blocks to maintain a canonical view of blockchain state. Lightweight clients can use this event stream to update state without implementing their own block syncing logic.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
max_sequence int
max_sequence is the maximum available sequence number to fetch.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited