RewardResponse class

Constructors

RewardResponse({required SolAddress pubkey, required BigInt lamports, required BigInt? postBalance, required String? rewardType, required int? commission})
const
RewardResponse.fromJson(Map<String, dynamic> json)
factory

Properties

commission int?
Vote account commission when the reward was credited, only present for voting and staking rewards
final
hashCode int
The hash code for this object.
no setterinherited
lamports BigInt
Reward value in lamports
final
postBalance BigInt?
Account balance after reward is applied
final
pubkey SolAddress
Public key of reward recipient
final
rewardType String?
Type of reward received
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