Get Event Logs by Address

Returns 50 events on Ethereum, where 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: {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