InflationReward class

The inflation reward for an epoch

Constructors

InflationReward({required int epoch, required int effectiveSlot, required int amount, required int postBalance, required int? commission})
const
InflationReward.fromJson(Map<String, dynamic> json)
factory

Properties

amount int
reward amount in lamports
final
commission int?
vote account commission when the reward was credited
final
effectiveSlot int
the slot in which the rewards are effective
final
epoch int
epoch for which the reward occurs
final
hashCode int
The hash code for this object.
no setterinherited
postBalance int
post balance of the account in lamports
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
toString() String
A string representation of this object.
inherited

Operators

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