Skip to content

Official subgraph is giving out wrong information compared to Uniswap V4 UI #73

@alb2001

Description

@alb2001

Hi

I see this issue has been reported several times with no fix anywhere. Either the thegraph's deployed version is wrong, or the UI is giving out wrong data, which I don't think so.

Look at this pool
https://app.uniswap.org/explore/pools/ethereum/0x784c5d9a0971bc6397ba8ab77f55be3ee8498932a836c2551c4e3b504dcdc688

Image Image

versus thegrapph's uniswap v4 subgraph:

{
  "data": {
    "_meta": {
      "block": {
        "number": 24648748,
        "timestamp": 1773407339
      }
    },
    "pool": {
      "feeTier": "5",
      "liquidity": "380035053994989537746",
      "sqrtPrice": "79235334379060484803220563933250650",
      "tick": "276325",
      "totalValueLockedToken0": "134400.813858",
      "totalValueLockedToken1": "-1174.282563619055290613",
      "totalValueLockedUSD": "133226.7438615317437557146301341741"
    }
  }
}

For several times I tried either info is way off, or even negative, like on this case.
The following issues have reported this problem already: #41, #58

There's a mention of a newer subgraph version published on TheGraph, but can't find it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions