FirmwareAPI DocumentationCGminer commands
coin
Reports the hashing algorithm
coin
Description
Reports the hashing algorithm of the miner in Hash Method: equihash on Antminer Equihash ASIC miners (Zcash) and sha256 on every other model. The other fields have fixed values (see below); they exist only for compatibility with existing tools.
Command
$ echo '{"command": "coin"}' | nc $MINER_IP 4028 | jqExamples
$ echo '{"command": "coin"}' | nc $MINER_IP 4028 | jq
{
"COIN": [
{
"Current Block Hash": "",
"Current Block Time": 0.0,
"Hash Method": "sha256",
"LP": true,
"Network Difficulty": 0.0
}
],
"STATUS": [
{
"Code": 78,
"Description": "LUXminer 2026.9.28.204000-ecdf06e",
"Msg": "LUXminer coin",
"STATUS": "S",
"When": 1790628000
}
],
"id": 1
}Field details
| Field | Notes |
|---|---|
Current Block Hash | Always "". |
Current Block Time | Always zero. |
Hash Method | The hashing algorithm: equihash on Antminer Equihash ASIC miners, sha256 otherwise. |
LP | Always true. |
Network Difficulty | Always zero. |