Smart Contract Events - 1 Month Ago

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

By lukas · saved 17 September 2024 · run 6 times · 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
          Signature
        }
      }
    }
    Transfers(
      limit: {count: 1}
      where: {Transfer: {Currency: {SmartContract: {is: $address}}}}
    ) {
      Transfer {
        Currency {
          Name
          SmartContract
          Symbol
        }
      }
    }
  }
}

Variables

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

Similar queries