EventsBlocksRequest class

EventsBlocksRequest is utilized to fetch a sequence of BlockEvents indicating which blocks were added and removed from storage to reach the current state.

Annotations
  • @immutable

Constructors

EventsBlocksRequest(NetworkIdentifier networkIdentifier, int? offset, int? limit)
const
EventsBlocksRequest.fromJson(Map<String, dynamic> map)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
limit int?
The maximum number of events to fetch in one call. The implementation may return <= limit events.
final
networkIdentifier NetworkIdentifier
final
offset int?
The offset into the event stream to sync events from. If this field is not populated, we return the limit events backwards from tip. If this is set to 0, we start from the beginning.
final
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