SolanaRPCGetInflationReward class
Returns the inflation / staking reward for a list of addresses for an epoch https://solana.com/docs/rpc/http/getinflationreward
- Inheritance
-
- Object
- LoockupLedgerRequest
- SolanaRPCRequest<
List< InflationReward?> > - SolanaRPCGetInflationReward
Constructors
-
SolanaRPCGetInflationReward({List<
String> ? addresses, int? epoch, Commitment? commitment, MinContextSlot? minContextSlot}) -
const
Properties
-
addresses
→ List<
String> ? -
An array of addresses to query, as base-58 encoded strings
final
- commitment → Commitment?
-
The desired commitment level for the request.
finalinherited
- encoding → SolanaRPCEncoding?
-
The encoding format of the data.
finalinherited
- epoch → int?
-
An epoch for which the reward occurs. If omitted, the previous epoch will be used
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- method → String
-
getInflationReward
no setteroverride
- minContextSlot → MinContextSlot?
-
The minimum context slot for the request.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- validate → String?
-
A validation property (not used in this implementation).
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onResonse(
dynamic result) → List< InflationReward?> -
Converts a dynamic response to the generic type
T
.override -
toJson(
) → List -
Converts the request to JSON format.
override
-
toRequest(
int requestId) → SolanaRequestDetails -
Converts the request parameters to a SolanaRequestDetails object.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited