Smart Contracts

limit 10 descendingbyfield sum

Returns the latest 10 calls on Ethereum, where block date since 2023-07-24 and block date till 2023-07-24: block date, chain ID and count.

By Nadia · saved 25 July 2023 · run 13 times · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $limit: Int!, $offset: Int!, $from: String, $till: String) {
  EVM(dataset: combined, network: $network) {
    Calls(
      limit: {count: $limit, offset: $offset}
      orderBy: {descending: Block_Date}
      where: {Block: {Date: {since: $from, till: $till}}}
    ) {
      Block {
        Date
      }
      ChainId
      count
      contracts: count(distinct: Call_To)
      callers: count(distinct: Call_From)
      methods: count(distinct: Call_Signature_Signature)
    }
  }
}

Variables

{
  "network": "eth",
  "limit": 10,
  "offset": 0,
  "from": "2023-07-24",
  "till": "2023-07-24"
}

Similar queries