USDT mint and burn in ETH

Returns smart contract calls on Ethereum, where smart contract address is 0xA0b8…eB48, smart contract method is mint and smart contract method is burn: smart contract method name, smart contract method signature, signature hash, count, gas value and maximum of date.

By Nitin Jakhar · saved 11 October 2023 · run 5 times · Bitquery API v1

What it returns

Filters

The query

query ($from: ISO8601DateTime, $till: ISO8601DateTime) {
  mintCalls: ethereum(network: ethereum) {
    mintSmartContractCalls: smartContractCalls(
      date: {since: $from, till: $till}
      smartContractAddress: {is: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"}
      smartContractMethod: {is: "mint"}
    ) {
      smartContractMethod {
        name
        signature
        signatureHash
      }
      count
      internal_count: count(external: false)
      external_count: count(external: true)
      senders: count(uniq: senders)
      txs: count(uniq: txs)
      gasValue(calculate: average)
      gas_value_usd: gasValue(in: USD, calculate: average)
      max_date: maximum(of: date)
    }
  }
  burnCalls: ethereum(network: ethereum) {
    burnSmartContractCalls: smartContractCalls(
      date: {since: $from, till: $till}
      smartContractAddress: {is: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"}
      smartContractMethod: {is: "burn"}
    ) {
      smartContractMethod {
        name
        signature
        signatureHash
      }
      count
      internal_count: count(external: false)
      external_count: count(external: true)
      senders: count(uniq: senders)
      txs: count(uniq: txs)
      gasValue(calculate: average)
      gas_value_usd: gasValue(in: USD, calculate: average)
      max_date: maximum(of: date)
    }
  }
}

Variables

{
  "offset": 0,
  "from": "2015-10-03",
  "till": "2023-10-10T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries