diff --git a/main.py b/main.py index eb358f0..538598d 100644 --- a/main.py +++ b/main.py @@ -300,7 +300,10 @@ app = Flask(__name__) @app.route("/") def ping(): - return jsonify({"status": "OK"}) + return jsonify({"status": "OK", + "height": getNodeHeight(), + "indexed": getNewestBlock() + }) def run_server(): app.run(host='0.0.0.0', port=3000)