particula test mint burn

Returns transfers on Ethereum, where currency smart contract is 0x8c21…4b86, transfer sender is 0x0000…0000 and transfer receiver is 0x0000…0000: sum of transfer amount.

By Divyasshree · saved 29 May 2025 · run 2 times · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $address: String!) {
  EVM(network: $network, dataset: combined, aggregates: yes) {
    minted: Transfers(
      where: {Transfer: {Currency: {SmartContract: {is: $address}}, Sender: {is: "0x0000000000000000000000000000000000000000"}}}
    ) {
      mint_amount: sum(of: Transfer_Amount)
    }
    burned: Transfers(
      where: {Transfer: {Currency: {SmartContract: {is: $address}}, Receiver: {is: "0x0000000000000000000000000000000000000000"}}}
    ) {
      burn_amount: sum(of: Transfer_Amount)
    }
  }
}

Variables

{
  "address": "0x8c213ee79581Ff4984583C6a801e5263418C4b86",
  "network": "eth"
}

Similar queries