SolanaRPCGetBlockProduction class
Returns recent block production information from the current or previous epoch. https://solana.com/docs/rpc/http/getblockproduction
- Inheritance
-
- Object
- LoockupLedgerRequest
- SolanaRPCRequest<
BlockProduction> - SolanaRPCGetBlockProduction
Constructors
- SolanaRPCGetBlockProduction({String? identity, RPCBlockRangeConfig? range, Commitment? commitment})
-
const
Properties
- commitment → Commitment?
-
The desired commitment level for the request.
finalinherited
- encoding → SolanaRPCEncoding?
-
The encoding format of the data.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- identity → String?
-
Only return results for this validator identity (base-58 encoded)
final
- method → String
-
getBlockProduction
no setteroverride
- minContextSlot → MinContextSlot?
-
The minimum context slot for the request.
finalinherited
- range → RPCBlockRangeConfig?
-
Slot range to return block production for.
If parameter not provided, defaults to current epoch.
final
- 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) → BlockProduction -
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