Event counts

Returns 10 smart contract events on Ethereum and BNB Chain, where smart contract address is 0x6754…0b79, sorted by count, highest first: smart contract event name, smart contract event signature, signature hash, count and maximum of date.

By gaurav · saved 12 May 2021 · run 21 times · 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) {
    smartContractEvents(
      options: {desc: "count", limit: $limit, offset: $offset}
      date: {since: $from, till: $till}
      smartContractAddress: {is: $address}
    ) {
      smartContractEvent {
        name
        signature
        signatureHash
      }
      count
      max_date: maximum(of: date)
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "bsc",
  "address": "0x675434c68f2672c983e36cf10ed13a4014720b79",
  "from": null,
  "till": null,
  "dateFormat": "%Y-%m"
}

Similar queries