Daily Smart Contract Calls

Returns the latest calls on Arbitrum, where call to is 0xc1b6…47cc, block date since 2022-08-21 and block date till 2023-09-19: chain ID, block date and count.

By Nadia · saved 20 September 2023 · run 20 times · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $from: String, $till: String, $address: String!) {
  EVM(dataset: combined, network: $network) {
    Calls(
      where: {Call: {To: {is: $address}}, Block: {Date: {since: $from, till: $till}}}
      orderBy: {descending: Block_Date}
    ) {
      ChainId
      Block {
        Date
      }
      internal_count: count(if: {Call: {Depth: {gt: 0}}})
      external_count: count(if: {Call: {Depth: {eq: 0}}})
    }
  }
}

Variables

{
  "offset": 0,
  "network": "arbitrum",
  "address": "0xc1b634853cb333d3ad8663715b08f41a3aec47cc",
  "from": "2022-08-21",
  "till": "2023-09-19",
  "dateFormat": "%Y-%m-%d"
}

Similar queries