Total supply of a token on ethereum mainnet

Returns transfers on Ethereum, where currency smart contract is 0x58 2d872A1B094FC48F5DE31D3B73F2D9bE47def1: sum of transfer amount.

By Akshat · saved 29 June 2024 · run 41 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(network: eth, dataset: combined) {
    Transfers(
      where: {Transfer: {Currency: {SmartContract: {is: "0x58 2d872A1B094FC48F5DE31D3B73F2D9bE47def1"}}, Success: true}}
    ) {
      minted: sum(
        of: Transfer_Amount
        if: {Transfer: {Sender: {is: "0x0000000000000000000000000000000000000000"}}}
      )
      burned: sum(
        of: Transfer_Amount
        if: {Transfer: {Receiver: {is: "0x0000000000000000000000000000000000000000"}}}
      )
    }
  }
}

Similar queries