@@ -1129,7 +1129,7 @@ def get_bulk_estimate_withdrawal_fees(self, fee_requests: List[args.FeeRequest])
11291129 return [Fee .from_dict (fee_data ) for fee_data in result ]
11301130
11311131
1132- def get_fee_hash () -> str :
1132+ def get_withdrawal_fees_hash () -> str :
11331133 """Gets the hash of withdrawal fees
11341134
11351135 Requires the "Payment information" API key Access Right
@@ -1138,7 +1138,7 @@ def get_fee_hash() -> str:
11381138
11391139 :return: the fees hash
11401140 """
1141- return self ._get (endpoint = 'wallet/crypto/fee/withdraw/hash' )['result ' ]
1141+ return self ._get (endpoint = 'wallet/crypto/fee/withdraw/hash' )['hash ' ]
11421142
11431143
11441144 # def get_estimate_deposit_fee(self, currency: str, amount: str, network_code: Optional[str] = None) -> str:
@@ -1456,6 +1456,48 @@ def transfer_funds(
14561456 amount ).currency (currency ).type (type ).build ()
14571457 return self ._post (endpoint = 'sub-account/transfer' , params = params )['result' ]
14581458
1459+ def transfer_to_super_account (String amount , String currency ) -> str :
1460+ """Creates and commits a transfer from a subaccount to its super account
1461+
1462+ Call is being sent by a subaccount
1463+
1464+ Created but not committed transfer will reserve pending amount on the sender
1465+ wallet affecting their ability to withdraw or transfer crypto to another
1466+ account. Incomplete withdrawals affect subaccount transfers the same way
1467+
1468+ Requires the "Withdraw cryptocurrencies" API key Access Right
1469+
1470+ https://api.exchange.cryptomkt.com/#transfer-to-super-account
1471+
1472+ :param amount: the amount of currency to transfer
1473+ :param currency: the currency to transfer
1474+ :return: The transaction id of the tranfer
1475+ """
1476+ pass
1477+
1478+
1479+ def transfer_to_another_subaccount (String subAccountId , String amount , String currency )
1480+
1481+ """Creates and commits a transfer between the user (subaccount) and another
1482+ subaccount.
1483+
1484+ Call is being sent by a subaccount
1485+
1486+ Created but not committed transfer will reserve pending amount on the sender
1487+ wallet affecting their ability to withdraw or transfer crypto to another
1488+ account. Incomplete withdrawals affect subaccount transfers the same way
1489+
1490+ Requires the "Withdraw cryptocurrencies" API key Access Right
1491+
1492+ https://api.exchange.cryptomkt.com/#transfer-to-super-account
1493+
1494+ :param amount: the amount of currency to transfer
1495+ :param currency: the currency to transfer
1496+ :return: The transaction id of the tranfer
1497+ """
1498+
1499+
1500+
14591501 def get_ACL_settings (self , sub_account_ids : List [str ]) -> List [ACLSettings ]:
14601502 """Get a list of withdrawal settings for all sub-accounts or for the specified sub-accounts
14611503
0 commit comments