Count of transaction for a smartcontract methods

Count of transactions for each smart contract method in a smart contract

Returns smart contract calls on Ethereum, where smart contract address is 0x3b3a…6790, date since 2023-05-31 and date till 2023-06-07: smart contract method name, signature hash and count.

By Divyasshree N · saved 7 June 2023 · run 4 times · 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}
    ) {
       smartContractMethod {
        name
        signatureHash
      }
      count(uniq: txs)
      
    }
  }
}

Variables

{
  "network": "ethereum",
  "address": "0x3b3ae790df4f312e745d270119c6052904fb6790",
  "from": "2023-05-31",
  "till": "2023-06-07T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries