def METHOD_NAME(chain):
    def oracle():
        if chain == "kint":
            return Oracle(KSM_URL, "KSM")
        elif chain == "intr":
            return Oracle(INTR_URL, "DOT")
        elif chain == "testnet_kint":
            return Oracle(TESTNET_KINT, "KSM")
        elif chain == "testnet_intr":
            return Oracle(TESTNET_INTR, "DOT")
        else:
            abort(404)
    return jsonify(oracle().isHealthy())