getBlockProduction abstract method
Future<BlockProductionResult>
getBlockProduction({
- Commitment? commitment = Commitment.finalized,
- Range? range,
- String? identity,
Returns recent block production information from the current or previous epoch.
commitment For commitment parameter description see this document
Commitment.processed is not supported as commitment.
range Slot range to return block production for. If parameter not provided, defaults
to current epoch.
identity Only return results for this validator identity (base-58 encoded)
Implementation
Future<BlockProductionResult> getBlockProduction({
Commitment? commitment = Commitment.finalized,
Range? range,
String? identity,
});