diff --git a/pyTONPublicAPI/api.py b/pyTONPublicAPI/api.py index 96a152d..4ecccb2 100644 --- a/pyTONPublicAPI/api.py +++ b/pyTONPublicAPI/api.py @@ -454,7 +454,7 @@ def jetton_get_balances(self, address = None): :return: """ method = "jetton/getBalances" - return self.__request(method, address = address) + return self.__request(method, address = address).get("balances") def jetton_get_history(self, address = None, jetton_master = None, limit = 100): """ @@ -466,7 +466,7 @@ def jetton_get_history(self, address = None, jetton_master = None, limit = 100): :return: """ method = "jetton/getHistory" - return self.__request(method, address = address, jetton_master = jetton_master, limit = limit) + return self.__request(method, address = address, jetton_master = jetton_master, limit = limit).get("events") def jetton_get_info(self, address = None): """ diff --git a/pyTONPublicAPI/version.py b/pyTONPublicAPI/version.py index 2f75478..631c357 100644 --- a/pyTONPublicAPI/version.py +++ b/pyTONPublicAPI/version.py @@ -1,3 +1,3 @@ # Versions should comply with PEP440. # This line is parsed in setup.py: -__version__ = '0.1' +__version__ = '0.1.1'