Skip to content

0310mining_difficulty

Jornpen edited this page Jul 5, 2018 · 5 revisions

Acquire Mining Difficulty

  • Request description: Acquire mining difficulty

  • Request type: GET

  • Signature required: Yes

  • Request Header:
    authorization:"xxxx" (32-digit capital letters, see generating methos in <API invocation instruction>)

  • Request Url:https://api.coinex.com/v1/order/mining/difficulty

  • Return value description:

    name type description
    difficulty String Mining difficulty (CET/Hour)
    prediction String EST. hourly mining yield to distribute
    update_time Interger The time for an update on parameter "prediction"
  • Example:

# Request
GET https://api.coinex.com/v1/order/mining/difficulty
# Response
{
  "code": 0,
  "data": {
    "difficulty": "50000",
    "prediction": "0",
    "update_time": 1530629026
  },
  "message": "Ok"
}

HTTP API Introduction

Common API

Market API

Account API

Trading API

Margin API

Contract API

WebSocket API Introduction

Clone this wiki locally