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

derivedETH calculation

Open kaseyriver11 opened this issue 4 years ago • 0 comments

The derivedETH for WBTC shows up as ~60. But WBTC to WETH is ~14.

Is there a definition of derivedETH somewhere? I thought it was the ratio of one token to WETH.

Query:

    query = """ query {
    tokens(first: 200, orderBy: volumeUSD, orderDirection: desc){
        id
        symbol
        name
        derivedETH
    }
    }
    """

Table:

                                   derivedETH                                          id                       name symbol
0                                           1  0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2              Wrapped Ether   WETH
1     0.0009321788898410236831507455122969672  0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48                   USD Coin   USDC
2     0.0009328062767106017689983160780445542  0xdac17f958d2ee523a2206206994597c13d831ec7                 Tether USD   USDT
3     0.0009320886134887074697753445864987579  0x6b175474e89094c44da98b954eedeac495271d0f             Dai Stablecoin    DAI
4         59.80635393663447363461328427003822  0x2260fac5e5542a773aa44fbcfedf7c193bc2c599                Wrapped BTC   WBTC

kaseyriver11 avatar Nov 10 '21 21:11 kaseyriver11