API Docs
cgminer commands
coin

coin

Description

Always zeros. This command exists only for compatibility purposes with existing tools.

Command

$ echo '{"command": "coin"}' | nc $MINER_IP 4028 | jq

Example

$ 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": "cgminer 1.0.0",
      "Msg": "CGMiner coin",
      "STATUS": "S",
      "When": 1672770090
    }
  ],
  "id": 1
}

Field details

Not applicable; this command is a no-op and exists only for compatibility with existign tools.