From 69dfbfcb11ca0e2a2b44cc24380859207ae6dd9f Mon Sep 17 00:00:00 2001 From: Roman Date: Tue, 15 Apr 2025 15:46:51 +0800 Subject: [PATCH] fix: add new API endpoints --- src/api_clients/rest.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/api_clients/rest.py b/src/api_clients/rest.py index c231def..63e6347 100644 --- a/src/api_clients/rest.py +++ b/src/api_clients/rest.py @@ -70,6 +70,14 @@ class REST(BaseClient): response = self.rest_call("get", "da/blacklisted-peers") return response.json() + def da_balancer_stats(self): + response = self.rest_call("get", "da/balancer-stats") + return response.json() + + def da_monitor_stats(self): + response = self.rest_call("get", "da/monitor-stats") + return response.json() + def network_info(self): response = self.rest_call("get", "network/info") return response.json()