Get Event Logs by Address filtered by Topics

Returns 50 events on Ethereum, where signature signature hash is 0xe2c4…447b or 0x3cbb…1d33, log smart contract is 0x6d78…ed88 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 5 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"]}}, 
        SmartContract: {is: "0x6d7812d41a08bc2a910b562d8b56411964a4ed88"}}, 
        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