Celo top smart contract calls

Returns 10 smart contract calls on Ethereum and celo_mainnet, where caller is 0xc16b…3049, date since 2024-01-15 and date till 2024-01-24, sorted by count, highest first: address address, annotation, contract type, maximum of date, count and gas value.

By Aparna Sridhar · saved 24 January 2024 · 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}
    ) {
      smartContract {
        address {
          address
          annotation
        }
        contractType
      }
      max_date: maximum(of: date)
      count
      uniq_methods: count(uniq: smart_contract_methods)
      gasValue(calculate: average)
      gas_value_usd: gasValue(in: USD, calculate: average)
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "celo_mainnet",
  "address": "0xc16b81af351ba9e64c1a069e3ab18c244a1e3049",
  "from": "2024-01-15",
  "till": "2024-01-24T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries