Total supply of Fetch.ai token

Total supply

Returns transfers on Ethereum, where currency is 0xaea4…ad85 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": "0xaea46a60368a7bd060eec7df8cba43b7ef41ad85"
}

Similar queries