Daily Smart Contract Calls ( ext / int )

Returns 10 calls on Arbitrum, where call to is 0xc1b6…47cc, block date since 2023-01-01 and block date till 2023-09-13: chain ID, block date and count.

By Aleksey · saved 13 September 2023 · Bitquery API v2

What it returns

Filters

The query

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

Variables

{"limit":10,"offset":0,"network":"arbitrum","address":"0xc1b634853cb333d3ad8663715b08f41a3aec47cc","from":"2023-01-01","till":"2023-09-13","dateFormat":"%Y-%m"}

Similar queries