Events Distribution - 1 Month Ago

Returns one event on BNB Chain, where log smart contract is 0x55d3…7955, currency smart contract is 0x55d3…7955 and block date since 2024-08-17, sorted by count, highest first: chain ID, count, signature name, currency name, smart contract and currency symbol.

By lukas · saved 17 September 2024 · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $limit: Int, $address: String, $since: String!, $till: String!) {
  EVM(dataset: archive, network: $network) {
    Events(
      where: {Log: {SmartContract: {is: $address}}, Block: {Date: {since: $since, till: $till}}}
      limit: {count: $limit}
      orderBy: {descendingByField: "count"}
    ) {
      ChainId
      count
      Log {
        Signature {
          Name
        }
      }
    }
    Transfers(
      limit: {count: 1}
      where: {Transfer: {Currency: {SmartContract: {is: $address}}}}
    ) {
      Transfer {
        Currency {
          Name
          SmartContract
          Symbol
        }
      }
    }
  }
}

Variables

{
  "limit": 10,
  "network": "bsc",
  "address": "0x55d398326f99059ff775485246999027b3197955",
  "since": "2024-08-17",
  "till": "2024-09-17"
}

Similar queries