def METHOD_NAME(
    network: str, network_map: Dict[str, str]
) -> Optional[str]:
    r"""
    Returns the explorer root url for the given network name from the given network map.
    Args:
        network(str): The network to get the explorer url for.
        network_map(Dict[str, str]): The network map to get the explorer url from.
    Returns:
        The explorer url for the given network.
        Or None if the network is not in the network map.
    """
    explorer_url: Optional[str] = None
    if network in network_map:
        explorer_url = network_map[network]
    return explorer_url