def METHOD_NAME():
    logger.debug(request)
    schain_name = request.args.get('schain_name')
    sync_agent_ranges = get_sync_agent_ranges(g.skale)
    cfm = ConfigFileManager(schain_name)
    if not cfm.skaled_config_exists:
        return construct_err_response(
            msg=f'No schain with name {schain_name}'
        )
    conf = cfm.skaled_config
    base_port = get_base_port_from_config(conf)
    node_ips = get_node_ips_from_config(conf)
    own_ip = get_own_ip_from_config(conf)
    rc = get_default_rule_controller(
        schain_name,
        base_port,
        own_ip,
        node_ips,
        sync_agent_ranges
    )
    endpoints = [e._asdict() for e in rc.actual_rules()]
    return construct_ok_response({'endpoints': endpoints})