total chart

기본 정보

/wdollar/total_chart API를 통해 기준 시간에 대한 WEMIX$의 가격, 거래량, 그리고 발행량에 대한 정보를 얻을 수 있습니다.

WEMIX$ chart data

GET /wdollar/total_chart

기준 시간에 대한 WEMIX$의 가격, 거래량, 발행량을 반환합니다.

Query Parameters

NameTypeDescription

unit*

string

unit_count*

number

unit_multiplier*

number

{
  "type": "success",
  "message": "success",
  "data": {
    "history": [
      {
        "timestamp": 0,
        "price": "string",
        "dateTime": "string",
        "volume": 0,
        "total_supply": 0
      }
    ]
  }
}

Request

Parameter

NameTypeDescription

unit

string

데이터를 표출할 시간 단위(예. minute, hour, day)

unit_count

number

데이터를 표출할 개수(예. 10, 100)

unit_multiplier

number

데이터를 표출할 시간 단위

Response

Parameter

NameTypeDescription

type

string

성공/실패 여부

message

string

성공/실패 메시지

data

-

-

timestamp

number

차트 데이터의 기준 시간 타임스탬프

price

string

WEMIX$의 USDC 가격

dateTime

string

timestamp의 datetime

volume

number

unit동안의 WEMIX$ 거래량

total_supply

number

해당 timestamp에서의 WEMIX$ 총 발행량

Sample

Request

curl

curl -X 'GET' \
  'https://openapi.wemix.fi/wdollar/total_chart?unit=day&unit_count=10&unit_multiplier=1' \
  -H 'accept: application/json'

Request URL

https://openapi.wemix.fi/wdollar/total_chart?unit=day&unit_count=10&unit_multiplier=1

Response

{
  "type": "success",
  "message": "success",
  "data": {
    "history": [
      {
        "timestamp": 1681570800000,
        "price": "1.0007045239319565",
        "dateTime": "2023-4-16 0:0:0",
        "volume": 187989.61278979975,
        "total_supply": 10704773.464787
      },
      {
        "timestamp": 1681657200000,
        "price": "1.0048917859669764",
        "dateTime": "2023-4-17 0:0:0",
        "volume": 140733.71379380222,
        "total_supply": 10712090.448840002
      },
      {
        "timestamp": 1681743600000,
        "price": "1.0163860891651684",
        "dateTime": "2023-4-18 0:0:0",
        "volume": 850224.9023484151,
        "total_supply": 10828476.808933001
      },
      {
        "timestamp": 1681830000000,
        "price": "1.0071053854925698",
        "dateTime": "2023-4-19 0:0:0",
        "volume": 464300.6425148081,
        "total_supply": 10857338.100757
      },
      {
        "timestamp": 1681916400000,
        "price": "1.0066724938465763",
        "dateTime": "2023-4-20 0:0:0",
        "volume": 433035.3885438947,
        "total_supply": 10865175.561269
      },
      {
        "timestamp": 1682002800000,
        "price": "1.0048905125348933",
        "dateTime": "2023-4-21 0:0:0",
        "volume": 286119.7517561808,
        "total_supply": 10869445.300309
      },
      {
        "timestamp": 1682089200000,
        "price": "0.9954026220905958",
        "dateTime": "2023-4-22 0:0:0",
        "volume": 173064.43612801205,
        "total_supply": 10859497.731459001
      },
      {
        "timestamp": 1682175600000,
        "price": "0.9987713042123096",
        "dateTime": "2023-4-23 0:0:0",
        "volume": 109820.59267596339,
        "total_supply": 10859497.731459001
      },
      {
        "timestamp": 1682262000000,
        "price": "1.0018947987608926",
        "dateTime": "2023-4-24 0:0:0",
        "volume": 77140.97463917205,
        "total_supply": 10859497.731459001
      },
      {
        "timestamp": 1682348400000,
        "price": "1.0020104160873833",
        "dateTime": "2023-4-25 0:0:0",
        "volume": 92355.68386009966,
        "total_supply": 10859497.731459001
      }
    ]
  }
}