Most called smart contract methods

Returns 10 smart contract calls on Ethereum, where caller is 0xdafc…4642, date since 2023-04-19 and date till 2023-04-26, sorted by count, highest first: smart contract method name, signature hash, maximum of date, count and gas value.

By gaurav · saved 26 April 2023 · run 6 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $address: String!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    smartContractCalls(
      options: {desc: "count", limit: $limit, offset: $offset}
      date: {since: $from, till: $till}
      caller: {is: $address}
    ) {
      smartContractMethod {
        name
        signatureHash
      }
      max_date: maximum(of: date)
      count
      uniq_contracts: count(uniq: smart_contracts)
      gasValue(calculate: average)
      gas_value_usd: gasValue(in: USD, calculate: average)
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "ethereum",
  "address": "0xdafce4acc2703a24f29d1321adaadf5768f54642",
  "from": "2023-04-19",
  "till": "2023-04-26T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries