Circulating Supply of a Pool Token

{
  ethereum {
    transfers(date: {since: null, till: null}, amount: {gt: 0}) {
      minted: amount(
        calculate: sum
        sender: {is: "0x0000000000000000000000000000000000000000"}
      )
      burned: amount(
        calculate: sum
        receiver: {is: "0x0000000000000000000000000000000000000000"}
      )
      currency(currency: {is: "0x0ef1b8a0e726fc3948e15b23993015eb1627f210"}) {
        symbol
        name
        tokenId
      }
    }
  }
}

1 Like

There is a syntax error in the above GraphQL query. Is the following query viable for circulating supply?

{
  ethereum {
    transfers(
      date: {since: "2021-08-20"}
      currency: {is: "0x0ef1b8a0e726fc3948e15b23993015eb1627f210"}
    ) {
      minted: amount(
        calculate: sum
        receiver: {is: "0x0000000000000000000000000000000000000000"}
      )
      burned: amount(
        calculate: sum
        sender: {is: "0x0000000000000000000000000000000000000000"}
      )
      currency {
        address
        name
        symbol
      }
    }
  }
}