FirmwareAPI DocumentationCGminer commands
addpool
Adds a new pool to a group
addpool
Description
Adds a new pool to a group. By default, the pool is added in the current group, at the bottom of the list.
You can change this behavior with the optional group_id parameter.
Note: If autosave is disabled, the changes will be lost after a reboot.
Command
$ echo '{"command": "addpool", "parameter": "stratum+tcp://btc.global.luxor.tech:700,account.worker,"}' | nc $MINER_IP 4028 | jqExamples
$ echo '{"command": "addpool", "parameter": "stratum+tcp://btc.global.luxor.tech:700,account.worker,"}' | nc $MINER_IP 4028 | jq
{
"STATUS": [
{
"Code": 55,
"Description": "LUXminer 2024.2.19.131822-ef17c0c4",
"Msg": "Added pool 2: 'btc.global.luxor.tech:700'",
"STATUS": "S",
"When": 1672770090
}
],
"id": 1
}Parameters
| Parameter | Notes |
|---|---|
url | URL of the stratum server. |
user | User for the stratum connection. |
password | Password for the stratum connection. Since this parameter is required, you still need to provide the comma (,) separator even if you don't have a password. |
group_id | Optional. The ID of the group, as shown in the groups command. |