Smart Contract Events -realtime

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

By Nadia · saved 28 April 2025 · run 5 times · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $limit: Int, $address: String) {
  EVM(dataset: realtime, network: $network) {
    Events(
      where: {Log: {SmartContract: {is: $address}}}
      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"
}

Similar queries