diff --git a/utils/shark_api.py b/utils/shark_api.py index 09cb9bb6..df37835e 100644 --- a/utils/shark_api.py +++ b/utils/shark_api.py @@ -121,4 +121,8 @@ def get_top_miners(self, limit=20): def get_all_miners(self, limit=100, offset=0): url = f'{self.data_manager.api}/sigscore/miners?limit={limit}&offset={offset}' - return self.data_manager.get_api_data(url) \ No newline at end of file + return self.data_manager.get_api_data(url) + + def get_miner_swap_payments(self, address): + url = f'{self.data_manager.api}/miningcore/swap_payments/{address}' + return self.data_manager.get_api_data(url)