pool

Overview

The /pool/info_list API provides information on the trading volume and liquidity of the WEMIX.Fi token paired pool over various time periods (24 hours, 1 week, 1 month, 1 year).

Pool information

GET /pool/info_list

Returns the relevant information when a user enters the contract address of the pool a user requests to look up.

Query Parameters

{
  "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

Response

Parameter

Sample

Request

curl

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

* WEMIX-WEMIX$ pool contract address : 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"
    }
  ]
}