v3-subgraph icon indicating copy to clipboard operation
v3-subgraph copied to clipboard

Bug - On BSC subgraph ethPriceUSD is returning the price of BNB and not ETH

Open kazazor opened this issue 1 year ago • 0 comments

This is a bug when running the query:

{
    ethPriceUSD: bundles(first: 1) {
      ethPriceUSD
    }
  }

You get the result:

{
  "data": {
    "ethPriceUSD": [
      {
        "ethPriceUSD": "318.8462933395146456248972108231449"
      }
    ]
  }
}

Which is the current price of BNB and not ETH: Screenshot 2023-04-12 at 15 33 38

At first I thought maybe it was supposed to be nativeTokenPriceUSD and not eth, but on Polygon it does return eth parice and not matic's. So it's a bug on BSC.

kazazor avatar Apr 12 '23 12:04 kazazor