calls

Returns 10 smart contract calls on Ethereum, where smart contract address is 0x6b75…9a80, date since 2024-07-18 and date till 2024-07-25, sorted by count, highest first: smart contract method name, smart contract method signature, signature hash, count, gas value and maximum of date.

By Edgar Nwajei · saved 25 July 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}
      smartContractAddress: {is: $address}
    ) {
      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

{
  "limit": 10,
  "offset": 0,
  "network": "ethereum",
  "address": "0x6b75d8af000000e20b7a7ddf000ba900b4009a80",
  "from": "2024-07-18",
  "till": "2024-07-25T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries