Smart Contract Methods

Returns 10 calls on Ethereum, where call to is 0xdac1…1ec7, block date since 2023-08-01 and block date till 2023-08-02, sorted by count, highest first: chain ID, block date, signature name, signature signature, signature hash, count and average of fee sender fee.

By Nadia · saved 4 August 2023 · run 1 time · 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}
      orderBy: {descendingByField: "count"}
    ) {
      ChainId
      Block {
        Date(maximum: Block_Date)
      }
      Call {
        Signature {
          Name
          Signature
          SignatureHash
        }
      }
      internal_count: count(distinct: Call_InternalCalls)
      count
      senders: count(distinct: Call_From)
      txs: count(distinct: Transaction_From)
      average(of: Fee_SenderFee)
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "eth",
  "address": "0xdac17f958d2ee523a2206206994597c13d831ec7",
  "from": "2023-08-01",
  "till": "2023-08-02"
}

Similar queries