Skip to content
Mining Pool Hub edited this page Jul 15, 2020 · 16 revisions

Token: Requires a valid API Key (api_key in the URL); Admin: Y, requires admin, B, with or without admin, N, no admin required Token: Requires a valid API Key (api_key in the URL); Admin: Y, requires admin, B, with or without admin, N, no admin required

| API Action | Arguments | Desctipion | Token | Admin | | API Action | Arguments | Desctipion | Token | | ------------- |:-------------:| :-----|:-------------:|:-------------:| | ------------- |:-------------:| :-----|:-------------:| | getminingandprofitsstatistics | none | Get mining profits statistics | N | N | | getminingandprofitsstatistics | none | Get mining profits statistics | N | | getautoswitchingandprofitsstatistics | none | Get current auto switching info | N | N | | getautoswitchingandprofitsstatistics | none | Get current auto switching info | N | | getuserallbalances | none | Get all currency's balances | N | N | | getuserallbalances | none | Get all currency's balances | Y | | getblockcount | none | Get current block height in blockchain | Y | N | | getblockcount | none | Get current block height in blockchain | Y | | getblocksfound | none | Get last N blocks found as configured in admin panel | Y | N | | getblocksfound | none | Get last N blocks found as configured in admin panel | Y | | getblockstats | none | Get pool block stats | Y | N | | getblockstats | none | Get pool block stats | Y | | getcurrentworkers | none | Get amount of current active workers | Y | N | | getcurrentworkers | none | Get amount of current active workers | Y | | getdashboarddata | id | Fetch all dashboard related information | Y | N | | getdashboarddata | id | Fetch all dashboard related information | Y | | getdifficulty | none | Get current difficulty in blockchain | Y | N | | getdifficulty | none | Get current difficulty in blockchain | Y | | getestimatedtime | none | Get estimated time to next block based on pool hashrate (seconds) | Y | N | | getestimatedtime | none | Get estimated time to next block based on pool hashrate (seconds) | Y | | gethourlyhashrates | none | Currently broken | Y | N | | gethourlyhashrates | none | Currently broken | Y | | getnavbardata | none | Get the data displayed on the navbar | Y | N | | getnavbardata | none | Get the data displayed on the navbar | Y | | getpoolhashrate | none | Get current pool hashrate | Y | N | | getpoolhashrate | none | Get current pool hashrate | Y | | getpoolinfo | none | Get the information on pool settings | Y | N | | getpoolinfo | none | Get the information on pool settings | Y | | getpoolsharerate | none | Get current pool share rate (shares/s) | Y | N | | getpoolsharerate | none | Get current pool share rate (shares/s) | Y | | getpoolstatus | none | Fetch overall pool status, only user token is required | Y | N | | getpoolstatus | none | Fetch overall pool status, only user token is required | Y | | gettimesincelastblock | none | Get time since last block found (seconds) | Y | N | | gettimesincelastblock | none | Get time since last block found (seconds) | Y | | gettopcontributors | none | Fetch top contributors data | Y | N | | gettopcontributors | none | Fetch top contributors data | Y | | getuserbalance | id | Fetch a users balance | Y | Y | | getuserbalance | id | Fetch a users balance | Y | | getuserhashrate | id | Fetch a users hash rate | Y | B | | getuserhashrate | id | Fetch a users hash rate | Y | | getusersharerate | id | Fetch a users share rate | Y | B | | getusersharerate | id | Fetch a users share rate | Y | | getuserstatus | id | Fetch a users overall status | Y | B | | getuserstatus | id | Fetch a users overall status | Y | | getusertransactions | id | Get a users transactions | Y | B | | getusertransactions | id | Get a users transactions | Y | | getuserworkers | id | Fetch a users worker status | Y | B | | getuserworkers | id | Fetch a users worker status | Y | | public | none | Fetch public pool statistics, no authentication required | N | N | | public | none | Fetch public pool statistics, no authentication required | N |