Avalanche top callers of smart contracts

Returns 10 smart contract calls on Ethereum and Avalanche, where smart contract address is 0xb431…fb30, date since 2023-12-01 and date till 2023-12-19, sorted by count, highest first: caller address, annotation, maximum of date, count and gas value.

By Aparna Sridhar · saved 19 December 2023 · run 2 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    smartContractCalls(
      options: {desc: "count", limit: $limit, offset: $offset}
      date: {since: $from, till: $till}
      smartContractAddress: {is: "0xb4315e873dbcf96ffd0acd8ea43f689d8c20fb30"}
    ) {
      address: caller {
        address
        annotation
      }
      max_date: maximum(of: date)
      count
      gasValue(calculate: average)
      gas_value_usd: gasValue(in: USD, calculate: average)
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "avalanche",
  "from": "2023-12-01",
  "till": "2023-12-19T23:59:59"
  }

Similar queries