From ad3a46bf2f5f84e70b08eb18474f12bc16605b55 Mon Sep 17 00:00:00 2001 From: Cong Zhang Date: Mon, 9 Sep 2024 15:06:11 +0800 Subject: [PATCH] add coin --- cobo_custody/client/client.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cobo_custody/client/client.py b/cobo_custody/client/client.py index 360e725..ab5408b 100644 --- a/cobo_custody/client/client.py +++ b/cobo_custody/client/client.py @@ -279,4 +279,7 @@ def get_staking_history(self) -> ApiResponse: return self.request("GET", "/v1/custody/staking_history/", {}) def get_gas_station_balance(self) -> ApiResponse: - return self.request("GET", "/v1/custody/get_gas_station_balance/", {}) \ No newline at end of file + return self.request("GET", "/v1/custody/get_gas_station_balance/", {}) + + def add_coin(self, coin: str) -> ApiResponse: + return self.request("POST", "/v1/custody/add_coin/", {"coin": coin}) \ No newline at end of file