Skip to content

Commit

Permalink
coin info add amount
Browse files Browse the repository at this point in the history
  • Loading branch information
haofengjiang committed Dec 20, 2023
1 parent cf6dc0e commit decd2da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cobo_custody/client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ def request(
def get_account_info(self) -> ApiResponse:
return self.request("GET", "/v1/custody/org_info/", {})

def get_coin_info(self, coin: str) -> ApiResponse:
return self.request("GET", "/v1/custody/coin_info/", {"coin": coin})
def get_coin_info(self, coin: str, amount: int = None) -> ApiResponse:
return self.request("GET", "/v1/custody/coin_info/", {"coin": coin, "amount": amount})

def get_supported_coins(self) -> ApiResponse:
return self.request("GET", "/v1/custody/get_supported_coins/", {})
Expand Down

0 comments on commit decd2da

Please sign in to comment.