Smart contract calls daily

Returns smart contract calls on Ethereum, where smart contract address is 0xdafc…4642, date since 2023-04-19 and date till 2023-04-26, sorted by date date: date date and count big int.

By gaurav · saved 26 April 2023 · run 1 time · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $address: String!, $dateFormat: String!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    smartContractCalls(
      options: {asc: "date.date"}
      date: {since: $from, till: $till}
      smartContractAddress: {is: $address}
    ) {
      date {
        date(format: $dateFormat)
      }
      external_calls: countBigInt(external: true)
      internal_calls: countBigInt(external: false)
      external_callers: countBigInt(uniq: callers, external: true)
      internal_callers: countBigInt(uniq: callers, external: false)
      senders: countBigInt(uniq: senders)
      txs: countBigInt(uniq: txs)
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "ethereum",
  "address": "0xdafce4acc2703a24f29d1321adaadf5768f54642",
  "nativeCurrency": "ETH",
  "from": "2023-04-19",
  "till": "2023-04-26T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries