File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,6 +25,25 @@ def get_wallet_balance(self, **kwargs):
2525 auth = True ,
2626 )
2727
28+ def get_coin_withdrawal (self , ** kwargs ):
29+ """Query the available amount to transfer of a specific coin in the Unified wallet.
30+
31+ Required args:
32+ coinName (string): Coin name, uppercase only
33+
34+ Returns:
35+ Request results as dictionary.
36+
37+ Additional information:
38+ https://bybit-exchange.github.io/docs/v5/account/unified-trans-amnt
39+ """
40+ return self ._submit_request (
41+ method = "GET" ,
42+ path = f"{ self .endpoint } { Account .GET_COIN_WITHDRAWAL } " ,
43+ query = kwargs ,
44+ auth = True ,
45+ )
46+
2847 def upgrade_to_unified_trading_account (self , ** kwargs ):
2948 """Upgrade Unified Account
3049
Original file line number Diff line number Diff line change 33
44class Account (str , Enum ):
55 GET_WALLET_BALANCE = "/v5/account/wallet-balance"
6+ GET_COIN_WITHDRAWAL = "/v5/account/withdrawal"
67 UPGRADE_TO_UNIFIED_ACCOUNT = "/v5/account/upgrade-to-uta"
78 GET_BORROW_HISTORY = "/v5/account/borrow-history"
89 REPAY_LIABILITY = "/v5/account/quick-repayment"
You can’t perform that action at this time.
0 commit comments