Daily Smart Contract Calls

Returns the latest call on Ethereum, where call to is 0xf61f…d6dc and currency smart contract is 0xf61f…d6dc: chain ID, block date, count, unique of transaction hash, unique of call from, unique of call to, sum of call value and 3 more fields.

By Nadia · saved 28 April 2025 · run 4 times · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $address: String!) {
  EVM(dataset: realtime, network: $network) {
    Calls(where: {Call: {To: {is: $address}}}, orderBy: {descending: Block_Date}) {
      ChainId
      Block {
        Date
      }
      internal_count: count(if: {Call: {Depth: {gt: 0}}})
      external_count: count(if: {Call: {Depth: {eq: 0}}})
      tx_count: uniq(of: Transaction_Hash)
      uniq_senders: uniq(of: Call_From)
      uniq_receiver: uniq(of: Call_To)
      call_value: sum(of: Call_Value)
    }
    Transfers(
      limit: {count: 1}
      where: {Transfer: {Currency: {SmartContract: {is: $address}}}}
    ) {
      Transfer {
        Currency {
          Name
          SmartContract
          Symbol
        }
      }
    }
  }
}

Variables

{
  "network": "eth",
  "address": "0xf61f24c2d93bf2de187546b14425bf631f28d6dc"
}

Similar queries