Get Event Logs by Topics

Returns 50 events on Ethereum, where signature signature hash is 0xe2c4…447b or 0x3cbb…1d33 and block number is 16811791 or 16811791: topics hash, transaction hash, gas price, gas, transaction index, signature name, log index and 4 more fields.

By lukas · saved 30 May 2023 · run 9 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: combined, network: eth) {
    Events(
      where: {Log: {Signature: {SignatureHash: {in: ["0xe2c49856b032c255ae7e325d18109bc4e22a2804e2e49a017ec0f59f19cd447b", "0x3cbb63f144840e5b1b0a38a7c19211d2e89de4d7c5faf8b2d3c1776c302d1d33"]}}}, Block: {Number: {in: ["16811791", "16811791"]}}}
      limit: {count: 50}
    ) {
      Topics {
        Hash
      }
      Transaction {
        Hash
        GasPrice
        Gas
        Index
      }
      Log {
        Signature {
          Name
        }
        Index
        SmartContract
      }
      LogHeader {
        Data
      }
      Block {
        Number
        Time
      }
    }
  }
}

Similar queries