def METHOD_NAME():
    logger.debug(request)
    logger.debug(request)
    node_id = g.config.id
    if node_id is None:
        return construct_err_response(msg='No node installed')
    METHOD_NAME = list(filter(
        lambda s: s.get('name'),
        g.skale.schains.get_schains_for_node(node_id)
    ))
    return construct_ok_response(METHOD_NAME)