pool

기본 정보

/pool/info_list API를 통해 WEMIX.Fi 토큰 페어풀의 24시간, 1주, 1개월, 1년동안 거래량 및 유동량 등의 정보를 확인할 수 있습니다.

Pool information

GET /pool/info_list

조회하고자 하는 풀의 컨트랙트 주소를 입력하면 관련 정보를 반환합니다.

Query Parameters

NameTypeDescription

pool*

string

정보를 조회할 풀 컨트랙트 주소

{
  "type": "success",
  "message": "success",
  "data": [
    {
      "1m": {
        "volume": 0,
        "volume_change": 0,
        "liquidity_change": 0
      },
      "1y": {
        "volume": 0,
        "volume_change": 0,
        "liquidity_change": 0
      },
      "7d": {
        "apr": 0,
        "volume": 0,
        "apr_change": 0,
        "volume_change": 0,
        "liquidity_change": 0
      },
      "24h": {
        "volume": 0,
        "swap_volume": 0,
        "volume_change": 0,
        "liquidity_change": 0,
        "swap_volume_change": 0
      },
      "liquidity": 0,
      "pool_address": "string",
      "updated_at": "string"
    }
  ]
}

Request

Parameter

NameTypeDescription

pool

string

정보를 조회할 풀 컨트랙트 주소

Response

Parameter

NameTypeDescription

type

string

성공/실패 여부

message

string

성공/실패 메시지

data

-

-

volume

number

24시간, 1주, 1개월, 1년동안 풀의 거래량

volume_change

number

24시간, 1주, 1개월, 1년동안 풀의 거래량의 변화량

liquidity_change

number

24시간, 1주, 1개월, 1년동안 풀의 유동량의 변화량

apr

number

7일동안 풀의 APR

apr_change

number

7일동안 풀의 APR 변화량

swap_volume

number

24시간동안 풀의 거래량

swap_volume_change

number

24시간동안 풀의 거래량의 변화량

pool_address

string

누적 풀의 거래량

updated_at

string

API response 업데이트 시각

Sample

Request

curl

curl -X 'GET' \
  'https://openapi.wemix.fi/pool/info_list?pool=0x00caEc2e118AbC4c510440A8D1ac8565Fec0180C' \
  -H 'accept: application/json'

* WEMIX-WEMIX$ 페어 풀의 컨트랙트 주소: 0x00caEc2e118AbC4c510440A8D1ac8565Fec0180C

Request URL

https://openapi.wemix.fi/pool/info_list?pool=0x00caEc2e118AbC4c510440A8D1ac8565Fec0180C

Response

{
  "type": "success",
  "message": "success",
  "data": [
    {
      "1m": {
        "volume": "9871305.354644855",
        "volume_change": -64.35007992099597,
        "liquidity_change": -2.7584840593886333
      },
      "1y": {
        "volume": "122096413.53979631",
        "volume_change": 0,
        "liquidity_change": 0
      },
      "7d": {
        "apr": 4.417818121241484,
        "volume": "2404963.48834846",
        "apr_change": 0.8656612591842938,
        "volume_change": -7.755844863816688,
        "liquidity_change": 1.1931925967916894
      },
      "24h": {
        "volume": "166162.67002641797",
        "swap_volume": 282.47653686140376,
        "volume_change": 34.823525286225646,
        "liquidity_change": 0.7764773174618732,
        "swap_volume_change": 34.823524244057396
      },
      "liquidity": 4317393.682044144,
      "pool_address": "0x00caEc2e118AbC4c510440A8D1ac8565Fec0180C",
      "updated_at": "2023-04-25T08:27:28.000Z"
    }
  ]
}