Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wombat missing 24h volume #2145

Open
thanh-wombat opened this issue Nov 28, 2024 · 1 comment
Open

Wombat missing 24h volume #2145

thanh-wombat opened this issue Nov 28, 2024 · 1 comment

Comments

@thanh-wombat
Copy link
Contributor

thanh-wombat commented Nov 28, 2024

Hi. api.llama.fi is returning 0 for Wombat's 24h volume. Do you have any idea why?

Sample request:

curl 'https://api.llama.fi/summary/dexs/wombat-exchange?excludeTotalDataChart=true&excludeTotalDataChartBreakdown=true&dataType=dailyVolume' \
    --compressed \
    -H 'Accept: application/json, text/plain, */*' \
    | jq \
;

Sample response:

{
  ...
  "slug": "wombat-exchange",
  "protocolType": "protocol",
  "total24h": 0,
  "total48hto24h": 981966,
  "total7d": 4717623,
  "totalAllTime": 3859914249,
  ...
}

I checked our subgraphs, and dailyTradeVolume is always non-zero. Sample CURL:

curl 'https://subgraph-proxy.wombat.exchange/scroll/data' \
    --compressed \
    -X POST \
    -H 'Accept: application/graphql-response+json, application/json, multipart/mixed' \
    --data-raw '{"query":"query MyQuery {\n  protocolDayDatas(first: 10, orderBy: dayID, orderDirection: desc) {\n    dailyTradeVolumeUSD\n  }\n}","operationName":"MyQuery","extensions":{}}' \
    | jq \
;
{
  "data": {
    "protocolDayDatas": [
      {
        "dailyTradeVolumeUSD": "3998.683716"
      },
      {
        "dailyTradeVolumeUSD": "32386.11827425323290090808041152"
      },
      {
        "dailyTradeVolumeUSD": "63409.30130654553916330823883032"
      },
      {
        "dailyTradeVolumeUSD": "36967.56830357402320822515636184"
      },
      {
        "dailyTradeVolumeUSD": "25.980245"
      },
      {
        "dailyTradeVolumeUSD": "19094.54706352344876374168"
      },
      {
        "dailyTradeVolumeUSD": "13247.26284280921638720585036872"
      },
      {
        "dailyTradeVolumeUSD": "2720.71963244766693067915276158"
      },
      {
        "dailyTradeVolumeUSD": "354.0372781568404028244145"
      },
      {
        "dailyTradeVolumeUSD": "1174.96077376576205537388"
      }
    ]
  }
}

Thanks!

@dtmkeng
Copy link
Contributor

dtmkeng commented Nov 28, 2024

will refill data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants