docs/docs/build/rpc-api/daemon-rpc-api/start_mining.md
zano build machine 1d938ca43d Auto generated doc
2024-06-29 01:43:31 +03:00

622 B

Initiates PoW mining process on a node using the specified miner address and the number of CPU threads.

URL: http:://127.0.0.1:11211/start_mining

Request:

{
  "miner_address": "ZxCSpsGGeJsS8fwvQ4HktDU3qBeauoJTR6j73jAWWZxFXdF7XTbGm4YfS2kXJmAP4Rf5BVsSQ9iZ45XANXEYsrLN2L2W77dH7",
  "threads_count": 2
}

Request description:

  "miner_address": The address where the mining rewards will be deposited.
  "threads_count": The number of CPU threads to use for mining.

Response:

{
  "status": "OK"
}

Response description:

  "status": Status of the call.