Skip to content

Commit

Permalink
Update shark_api.py
Browse files Browse the repository at this point in the history
  • Loading branch information
marctheshark3 authored Oct 8, 2024
1 parent 31beec1 commit 0e6fbfd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion utils/shark_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
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)

0 comments on commit 0e6fbfd

Please sign in to comment.