static public function getPrefixFromId($networkId)
    {
        foreach (self::$networkInfos as $name => $spec) {
            if ($networkId === $spec['id'])
                return $spec['hex'];
        }

        throw new NISInvalidNetworkId("Network Id '" . $networkId . "' is invalid.");
    }