Top Gas burner for Smart Contract

Returns one call on Ethereum, where call to is 0xf61f…d6dc, currency smart contract is 0xf61f…d6dc and block date since 2025-04-17, sorted by average, highest first: chain ID, block date, count, average of fee burnt, average of fee burnt in USD, from, currency name and 2 more fields.

By Nadia · saved 24 April 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $limit: Int, $address: String, $from: String, $till: String) {
  EVM(dataset: realtime, network: $network) {
    Calls(
      where: {Call: {To: {is: $address}}, Block: {Date: {since: $from, till: $till}}}
      limit: {count: $limit}
      orderBy: {descendingByField: "average"}
    ) {
      ChainId
      Block {
        Date(maximum: Block_Date)
      }
      count
      average(of: Fee_Burnt)
      average_usd: average(of: Fee_BurntInUSD)
      Call {
        From
      }
    }
    Transfers(
      limit: {count: 1}
      where: {Transfer: {Currency: {SmartContract: {is: $address}}}}
    ) {
      Transfer {
        Currency {
          Name
          SmartContract
          Symbol
        }
      }
    }
  }
}

Variables

{
  "limit": 10,
  "network": "eth",
  "address": "0xf61f24c2d93bf2de187546b14425bf631f28d6dc",
  "from": "2025-04-17",
  "till": "2025-04-24",
  "dateFormat": "%Y-%m-%d",
  "date_middle": "2025-04-20"
}

Similar queries