getNextForgerUrls function
Fetches the URLs of the next forgers from the /state API @returns {Array} An array of URLs of the next forgers
Implementation
Future<Set<String>> getNextForgerUrls() async {
StateResponse coordinatorState = await getState();
return coordinatorState.network!.nextForgers!
.map((nextForger) =>
nextForger.coordinator!.URL!.replaceFirst("https://", ""))
.toSet();
}