Beruflich Dokumente
Kultur Dokumente
Starting with version 2.0 and above, the miner comes with built-in HTTP JSON API
server and web control panel.
When the miner is started, the server is automatically started, accessible with
your browser at http://127.0.0.1:4067
(or http://localhost:4067 if you wish). You can specify any external IP address
using --api-bind-http=addr:port
If you want to disable it use --api-bind-http=0
There are also few API methods returning json-formatted data available.
1. Shares history: http://localhost:4067/history
2. Current pool info: http://localhost:4067/poolinfo
3. GPU hardware info: http://localhost:4067/hwinfo
4. Summary (optionally includes gpu info and pool info):
http://localhost:4067/summary?poolinfo=1 (summary with current pool info)
http://localhost:4067/summary?gpuinfo=1 ( summary with gpu info)
http://localhost:4067/summary (short summary, no pool or gpu info)
5. Remote quit (or restart, if you start the miner in the loop):
http://localhost:4067/quit
More detailed information about these methods (everything below are GET methods
only)
Output example:
Where:
Output example:
Output example:
Where
Output example:
WHERE
If you don't want to have gpu info or pool info included, don't set poolinfo and/or
gpuinfo to 1 when calling
QUIT (http://localhost:4067/quit)
Allows to remotely quit/restart the miner if command line --api-remote option was
specified.