GetBlock constructor

GetBlock(
  1. u64 slot, {
  2. GetBlockConfig? config,
})

Creates a method handler for getBlock.

Implementation

GetBlock(
  final u64 slot, {
  final GetBlockConfig? config,
}) : super(
        'getBlock',
        values: [slot],
        config: config ?? GetBlockConfig(),
      );