From 7c335e324cd096eae76b77cef8810d664c9bb894 Mon Sep 17 00:00:00 2001 From: Maohua Zhu Date: Thu, 6 Mar 2025 16:22:33 +0800 Subject: [PATCH] babylon claim rewards --- cobo_custody/client/mpc_client.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cobo_custody/client/mpc_client.py b/cobo_custody/client/mpc_client.py index 2f64f8f..3c042e7 100644 --- a/cobo_custody/client/mpc_client.py +++ b/cobo_custody/client/mpc_client.py @@ -428,3 +428,9 @@ def get_staking_registration(self, registration_id: str) -> ApiResponse: "registration_id": registration_id } return self.request("GET", "/v1/custody/mpc/babylon/stakings/get_registration/", params) + + def claim_babylon_rewards(self, babylon_address: str): + params = { + "babylon_address": babylon_address + } + return self.request("POST", "/v1/custody/mpc/babylon/claim_rewards/", params)