v3-subgraph
v3-subgraph copied to clipboard
Bug - On BSC subgraph ethPriceUSD is returning the price of BNB and not ETH
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:
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.