getLeaderScheduleRaw method

Future<JsonRpcSuccessResponse<LeaderSchedule?>> getLeaderScheduleRaw({
  1. u64? slot,
  2. GetLeaderScheduleConfig? config,
})

Returns the leader schedule for an epoch.

The leader schedule with be fetched for the epoch that corresponds to the provided slot. If omitted, the leader schedule for the current epoch is fetched.

Implementation

Future<JsonRpcSuccessResponse<LeaderSchedule?>> getLeaderScheduleRaw({
  final u64? slot,
  final GetLeaderScheduleConfig? config,
}) =>
    send(GetLeaderSchedule(slot: slot, config: config));