Call Count (15 days after scam)

Returns 10 smart contract calls on Ethereum, where smart contract address is 0x50d1…a4c9, date since 2022-11-17 and date till 2022-12-02, sorted by count, highest first: smart contract method name, smart contract method signature, signature hash, count, gas value and maximum of date.

By Pranjal · saved 22 May 2024 · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $address: String!, $limit: Int, $offset: Int, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    smartContractCalls(
      options: {desc: "count", limit: $limit, offset: $offset}
      date: {since: $from, till: $till}
      smartContractAddress: {is: $address}
    ) {
      smartContractMethod {
        name
        signature
        signatureHash
      }
      count
      internal_count: count(external: false)
      external_count: count(external: true)
      senders: count(uniq: senders)
      txs: count(uniq: txs)
      gasValue(calculate: average)
      gas_value_usd: gasValue(in: USD, calculate: average)
      max_date: maximum(of: date)
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "ethereum",
  "address": "0x50d1c9771902476076ecfc8b2a83ad6b9355a4c9",
  "from": "2022-11-17",
  "till": "2022-12-02T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries