EpochInfo class

Information about an epoch

Annotations
  • @JsonSerializable()

Constructors

EpochInfo({required int absoluteSlot, required int blockHeight, required int epoch, required int slotIndex, required int slotsInEpoch, required int? transactionCount})
const
EpochInfo.fromJson(Map<String, dynamic> json)
factory

Properties

absoluteSlot int
The current slot
final
blockHeight int
The current block height
final
epoch int
The current epoch
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
slotIndex int
The current slot relative to the start of the current epoch
final
slotsInEpoch int
The number of slots in this epoch
final
transactionCount int?
Total number of transactions processed without error since genesis
final

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