ravi teja

Hello. Bitquiry. Io

Returns smart contract calls on Ethereum and BNB Chain, where smart contract address is 0x7c47…1af1, date since 2023-08-19 and date till 2023-08-26: minimum of block, maximum of time and count.

By Ravi Teja · saved 26 August 2023 · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $address: String!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    smartContractCalls(
      date: {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)
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "bsc",
  "address": "0x7c47ef5fb27d99f1913d31071ed0bcc6cb331af1",
  "from": "2023-08-19",
  "till": "2023-08-26T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries