eth_getLogs-with-filters

Returns events, where block hash is 0xa0e1…ecd9: block hash, block number, transaction hash, transaction index, log header address, data, log header index and 2 more fields.

By Kshitij Mahajan · saved 16 August 2024 · Bitquery API v2

What it returns

Filters

The query

{
  EVM {
    Events(
      where: {
        Block: {
          Hash: {
            is: "0xa0e1c15b905f4ed6f4e466b2693791ffc6be6ccd3a2a95d403585799ab5fecd9"
          }
        }
      }
    ) {
      Block {
        Hash
        Number
      }
      Transaction {
        Hash
        Index
      }
      LogHeader {
        Address
        Data
        Index
        Removed
      }
      Topics {
        Hash
      }
    }
  }
}

Similar queries