-
Notifications
You must be signed in to change notification settings - Fork 1k
API Reference
Sebastian Grewe edited this page May 28, 2013
·
21 revisions
mmcfe-ng support some API methods to fetch information in JSON format. This list should reflect the current state of the API. All methods used are called via:
http://<serverURL>/index.php?page=api&action=<method>&api_key=<user_api_key>[&<argument>=<value>]
This table lists all methods and their arguments available.
API Action | Arguments | Desctipion |
---|---|---|
getblockcount |
none | Get current block height in blockchain |
getblocksfound |
limit |
Get last limit blocks found |
getcurrentworkers |
none | Get amount of current active workers |
getdifficulty |
none | Get current difficulty in blockchain |
getestimatedtime |
none | Get estimated time to next block based on pool hashrate (seconds) |
getpoolhashrate |
none | Get current pool hashrate |
getpoolsharerate |
none | Get current pool share rate (shares/s) |
gettimesincelastblock |
none | Get time since last block found (seconds) |
-
- installation of Redis requires TCL 8.5 or newer TCL Download Page