Mining

Request for Detail Miner List (USER_DATA)

Weight(IP): 5

get/sapi/v1/mining/worker/detail

Query parameters

algostring required

Algorithm(sha256)

userNamestring required

Mining Account

workerNamestring required

Miner’s name

recvWindowinteger
Example:5000

The value cannot be greater than 60000

timestampinteger required

UTC timestamp in ms

signaturestring required

Signature

Response

List of workers' hashrates'

codeinteger required
msgstring required

Example response

{
  "data": [
    {
      "workerName": "bhdc1.16A10404B",
      "type": "H_hashrate",
      "hashrateDatas": [
        {
          "time": 1587902400000,
          "hashrate": "0"
        }
      ]
    }
  ]
}

Changes

Changed in 1 of the 26 revisions of this API.213

  • a484ce871a72213See the full diff
    • for the query request parameter recvWindow, the type/format was changed from integer/ to integer/int64

      request-parameter-type-changed

    • for the query request parameter timestamp, the type/format was changed from integer/ to integer/int64

      request-parameter-type-changed

    • the response property code became required for the status 200

      response-property-became-required

    • the response property code became required for the status 400

      response-property-became-required

    • the response property code became required for the status 401

      response-property-became-required

    • the response property data became required for the status 200

      response-property-became-required

    • the response property data/items/hashrateDatas became required for the status 200

      response-property-became-required

    • the response property data/items/hashrateDatas/items/hashrate became required for the status 200

      response-property-became-required

    • the response property data/items/hashrateDatas/items/reject became required for the status 200

      response-property-became-required

    • the response property data/items/hashrateDatas/items/time became required for the status 200

      response-property-became-required

    • the response property data/items/type became required for the status 200

      response-property-became-required

    • the response property data/items/workerName became required for the status 200

      response-property-became-required

    • the response property msg became required for the status 200

      response-property-became-required

    • the response property msg became required for the status 400

      response-property-became-required

    • the response property msg became required for the status 401

      response-property-became-required