calls v1 to v2

Returns smart contract calls on Ethereum, where smart contract address is 0x388C…9297, time since 2025-02-01 and time till 2025-02-20: minimum of block, maximum of time, count and count big int.

By Akshat · saved 27 February 2025 · run 3 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork, $address: String, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    smartContractCalls(
      time: {since: $from, till: $till}
      smartContractAddress: {is: $address}
    ) {
      created: minimum(of: block, get: time)
      created_block: minimum(of: block)
      created_tx: minimum(of: block, get: tx_hash)
      created_by: minimum(of: block, get: caller)
      max_time: maximum(of: time)
      external_calls: count(external: true)
      internal_calls: count(external: false)
      count
      callers: count(uniq: callers)
      days: count(uniq: dates)
      txs: count(uniq: txs)
      external_callers: countBigInt(uniq: callers, external: true)
      internal_callers: countBigInt(uniq: callers, external: false)
      senders: countBigInt(uniq: senders)
    }
  }
}

Variables

{
    "network": "ethereum",
    "address": "0x388C818CA8B9251b393131C08a736A67ccB19297",
    "from": "2025-02-01T00:00:00Z",
    "till": "2025-02-20T00:00:00Z"
  }

Similar queries