Total supply of Wat token

Total supply

Returns transfers on Ethereum, where currency is 0x636b…5563 and amount is above 0: amount, currency symbol, currency name and expression.

By Divyasshree · saved 25 June 2024 · run 1 time · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $address: String!) {
  ethereum(network: $network) {
    transfers(
      date: {since: null, till: null}
      amount: {gt: 0}
      currency: {is: $address}
    ) {
      minted: amount(
        calculate: sum
        sender: {is: "0x0000000000000000000000000000000000000000"}
      )
      burned: amount(
        calculate: sum
        receiver: {is: "0x0000000000000000000000000000000000000000"}
      )
      currency(currency: {is: $address}) {
        symbol
        name
      }
    expression(get: "minted - burned")    }
  }
}

Variables

{
 
  "network": "ethereum",
  "address": "0x636bd98fc13908e475f56d8a38a6e03616ec5563"
}

Similar queries