eth_getLogs-with-filters

Returns events, where log header address is 0x7d4a…5e6e, 0xe30d…20a0 or 1 more: 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 · run 3 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM {
    Events(
      where: {
        LogHeader: {
          Address: {
            in: [
              "0x7d4a7be025652995364e0e232063abd9e8d65e6e",
              "0xe30dde2db47014525b32f3b8423efb94f9c120a0",
              "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"
            ]
          }
        }
      }
    ) {
      Block {
        Hash
        Number
      }
      Transaction {
        Hash
        Index
      }
      LogHeader {
        Address
        Data
        Index
        Removed
      }
      Topics {
        Hash
      }
    }
  }
}

Similar queries