InflationReward class

An inflation reward

Annotations
  • @JsonSerializable()

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 reward occurred.
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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