Mining

Hashrate Resale Request (USER_DATA)

Weight(IP): 5

post/sapi/v1/mining/hash-transfer/config

Query parameters

userNamestring required

Mining Account

algostring required

Algorithm(sha256)

startDatestring

Search date, millisecond timestamp, while empty query all

endDatestring

Search date, millisecond timestamp, while empty query all

toPoolUserstring required

Mining Account

hashRatestring required

Resale hashrate h/s must be transferred (BTC is greater than 500000000000 ETH is greater than 500000)

recvWindowinteger
Example:5000

The value cannot be greater than 60000

timestampinteger required

UTC timestamp in ms

signaturestring required

Signature

Response

Mining Account Id

codeinteger required
msgstring required
datainteger required

Mining Account

Example response

{
  "data": 171
}

Changes

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

  • a484ce871a7227See 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 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