5. The Reference for RPCM REST API
REPLY:
{
"resultOfLastCommand": 'OK',
"state": {
"1": {
"hashRate": {
"alarm": true,
"lastAlarmTime": '2019-09-19 22:44:21',
"restartRequested": false,
"restartRequestedTime": null,
"lastCheckTime": '2019-09-21 14:38:34',
"lastAlarmHashRate": 'ghsAv=11846.88, ghs5s=13143.71',
"lastRestartHashRate": null,
"instantValues": {
"hashRateValues": {
"ghsAv": 12020.02,
"ghs5s": 13799.6
},
"minHashRateValue": 12020.02
}
},
"consumption": {
"alarm": false,
"lastAlarmTime": null,
"restartRequested": false,
"restartRequestedTime": null,
"lastCheckTime": null,
"lastAlarmMilliamps": null,
"lastRestartMilliamps": null,
"instantValues": {
"instantOutputsMilliamps": [],
"sumInstantOutputsMilliamps": null
}
},
"ping": {
"alarm": false,
"lastAlarmTime": null,
"restartRequested": false,
"restartRequestedTime": null,
"lastCheckTime": null,
"instantValues": {
"alarmPacketPercentage": null,
"restartPacketPercentage": null
}
},
"tcpPortAvailability": {
"alarm": false,
"lastAlarmTime": null,
"restartRequested": false,
"restartRequestedTime": null,
"lastCheckTime": null,
"instantValues": {
"tcpPortAvailable": null
}
},
"lastRestartTime": null,
"secondsUntilRestart": null,
"minerState": {
"STATS": [
189