def get_balance(self, uri="https://testwallet.icon.foundation/api/"): """ get the balance :param uri type(str) :return wallet information. type(dict) """ balance = get_balance(self.address, uri) return balance
def get_wallet_info(self, uri="https://testwallet.icon.foundation/api/"): """ get the keystore file information and the balance :param uri type(str) :return wallet information. type(dict) """ balance = get_balance(self.address, uri) self.wallet_info['balance'] = balance return self.wallet_info