Events Distribution

Returns 10 events on Ethereum, where log smart contract is 0xdac1…1ec7, block date since 2023-08-07 and block date till 2023-08-07: chain ID, count, signature name, signature signature, signature hash and block date.

By Nadia · saved 8 August 2023 · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $limit: Int, $address: String, $from: String, $till: String) {
  EVM(dataset: combined, network: $network) {
    Events(
      where: {Log: {SmartContract: {is: $address}}, Block: {Date: {since: $from, till: $till}}}
      limit: {count: $limit}
    ) {
      ChainId
      count
      Log {
        Signature {
          Name
          Signature
          SignatureHash
        }
      }
      Block {
        Date(maximum: Block_Date)
      }
    }
  }
}

Variables

{
  "limit": 10,
  "network": "eth",
  "address": "0xdac17f958d2ee523a2206206994597c13d831ec7",
  "from": "2023-08-07",
  "till": "2023-08-07"
}

Similar queries