Mining

Acquiring CoinName (MARKET_DATA)

Weight(IP): 1

get/sapi/v1/mining/pub/coinList

Response

Coin information

codeinteger required
msgstring required

Example response

{
  "data": [
    {
      "coinName": "BTC",
      "coinId": 1,
      "algoId": 1,
      "algoName": "sha256"
    }
  ]
}

Changes

Changed in 2 of the 26 revisions of this API.2310

    • deleted the query request parameter recvWindow

      request-parameter-removed

    • deleted the query request parameter signature

      request-parameter-removed

    • deleted the query request parameter timestamp

      request-parameter-removed

  • a484ce871a72210See 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 data became required for the status 200

      response-property-became-required

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

      response-property-became-required

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

      response-property-became-required

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

      response-property-became-required

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

      response-property-became-required

    • the response property data/items/poolIndex 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