From 37f1833b06dddca16942d31e8490d7f5de0dc796 Mon Sep 17 00:00:00 2001 From: Cong Zhang Date: Mon, 9 Sep 2024 15:02:16 +0800 Subject: [PATCH] add coin --- Client.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Client.php b/Client.php index a6c6af8..add6611 100644 --- a/Client.php +++ b/Client.php @@ -512,4 +512,12 @@ function getGasStationBalance(array $params = []) { return $this->request("GET", "/v1/custody/get_gas_station_balance/", $params); } + + function addCoin(string $coin) + { + $params = [ + "coin" => $coin, + ]; + return $this->request("POST", "/v1/custody/add_coin/", $params); + } } \ No newline at end of file