minted currency decimal2

minted currency decimal

Returns transfers on Ethereum, where currency smart contract is 0xdd50…2e8a, transfer sender is 0x0000…0000 and transfer receiver is 0x0000…0000: sum of transfer amount, currency name, currency symbol, decimals, block number and transaction hash.

By alex · saved 23 December 2025 · run 9 times · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $address: String!) {
  EVM(network: $network, dataset: archive) {
    minted: Transfers(
      where: {Transfer: {Currency: {SmartContract: 
        {is: $address}, Decimals: {eq: 0} }, 
        
        Sender: {is: "0x0000000000000000000000000000000000000000"}}}
    ) {
      Amount: sum(of: Transfer_Amount)
      Transfer{
        Currency{
          Name
          Symbol
          Decimals
        }
      }
      Block{
        Number
      }
      Transaction{
        Hash
      }
    }
    burned: Transfers(
      where: {Transfer: {Currency: 
        {SmartContract: {is: $address}, Decimals: {eq: 0}},
        
        Receiver: {is: 
          "0x0000000000000000000000000000000000000000"}}}
    ) {
      Amount: sum(of: Transfer_Amount)
      Transfer{
        Currency{
          Name
          Symbol
          Decimals
        }
      }
            Block{
        Number
      }
      Transaction{
        Hash
      }
    }
  }
}

Variables

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

Similar queries