GetBlockProductionConfig class

Get Block Production Config

Inheritance

Constructors

GetBlockProductionConfig.new({Commitment? commitment, SlotRange? range, Pubkey? identity})
JSON RPC configurations for getBlockProduction methods.
const

Properties

commitment Commitment?
The type of block to query for the request. If commitment is not provided, the node will default to Commitment.finalized.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
identity Pubkey?
If set, return results for this validator identity only.
final
range SlotRange?
The slot range to return block production for. If omitted, it defaults to the current epoch.
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>
Serialises this class into a JSON object.
override
toString() String
A string representation of this object.
inherited

Operators

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