getBlock method
Returns identity and transaction information about a confirmed block at slot in the ledger.
Implementation
Future<Block?> getBlock(
final u64 slot, {
final GetBlockConfig? config,
}) async => (await getBlockRaw(slot, config: config)).result;