Smart Contract Events - 1 Month Ago

Returns one event on Ethereum, where log smart contract is 0x5459…0564, currency smart contract is 0x5459…0564 and block date since 2019-08-17, sorted by count, highest first: chain ID, count, signature name, signature signature, signature hash, currency name, smart contract and currency symbol.

By Nadia · saved 20 February 2025 · 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
          SignatureHash
        }
      }
    }
    Transfers(
      limit: {count: 1}
      where: {Transfer: {Currency: {SmartContract: {is: $address}}}}
    ) {
      Transfer {
        Currency {
          Name
          SmartContract
          Symbol
        }
      }
    }
  }
}

Variables

{
  "limit": 10,
  "network": "eth",
  "address": "0x545973f28950f50fc6c7f52aab4ad214a27c0564",
  "since": "2019-08-17",
  "till": "2025-02-19"
}

Similar queries