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 | jq

Examples

$ 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

FieldNotes
Current Block HashAlways "".
Current Block TimeAlways zero.
Hash MethodThe hashing algorithm: equihash on Antminer Equihash ASIC miners, sha256 otherwise.
LPAlways true.
Network DifficultyAlways zero.

On this page