Skip to content

Wrong subgraph data on official endpoint graph node for UNI-V4-ETHEREUM #41

@eldimious

Description

@eldimious

Hello the official endpoint for querying data on UNI-V4-ETHEREUM on graph, https://gateway.thegraph.com/api/<YOUR_API_KEY_HERE>/subgraphs/id/DiYPVdygkfjDWhbxGSqAQxwBKmfKnkWQojqeM2rkLb3G returns wrong totalValueLockedToken0 + totalValueLockedToken1 for some pools. Have you re-deployed it, when you have fixed issues with liquidity?

Eg

{
    pools( where: {
      id: "0x8aa4e11cbdf30eedc92100f4c8a31ff748e201d44712cc8c90d189edaa8e4e47"}) {
        totalValueLockedToken0
    		totalValueLockedToken1
    		sqrtPrice
    }
}

returns

{
  "data": {
    "pools": [
      {
        "sqrtPrice": "79214041319466463356889778263",
        "totalValueLockedToken0": "29230956.395867",
        "totalValueLockedToken1": "-10131549.838759"
      }
    ]
  }
}

while on official app https://app.uniswap.org/explore/pools/ethereum/0x8aa4e11cbdf30eedc92100f4c8a31ff748e201d44712cc8c90d189edaa8e4e47

Image

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