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

What is totalSupply?

Open veridelisi opened this issue 3 years ago • 3 comments

What is totalSupply? Ekran Görüntüsü - 2021-07-11 20-53-42

veridelisi avatar Jul 11 '21 17:07 veridelisi

Has this been addressed? Here's what I am getting when using the following query on the graph v3 for Wrapped Ether as an example

https://thegraph.com/hosted-service/subgraph/uniswap/uniswap-v3

{ tokens(first: 5, where: {id: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}) {

id symbol name derivedETH volume totalSupply totalValueLocked

} }

Result:

{ "data": { "tokens": [ { "id": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", "symbol": "WETH", "name": "Wrapped Ether", "derivedETH": "1", "volume": "307038495.641791384205509943", "totalSupply": "19848", "totalValueLocked": "587659.762848920819743042" } ] } }

mcorponi avatar Feb 08 '23 04:02 mcorponi

i am getting the same issue as above, except all of the totalSupply values are 14336 regardless of token. this has to be incorrect?

WSB98 avatar Mar 10 '23 22:03 WSB98

I believe that is the total amount of tokens in the V3 protocol

mcorponi avatar Mar 10 '23 23:03 mcorponi