query pool and pair creation on ethereum

Returns the latest 10 events on Ethereum, where log smart contract is 0x5C69…aA6f, 0x1f98…f984 or 1 more and signature name is PoolCreated, PairCreated or 1 more: smart contract, transaction hash, arguments type, bool, hex, big integer, value address and 4 more fields.

By Akshat · saved 3 November 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The query

{
  EVM(network: eth, dataset: realtime) {
    Events(
      where: {Log: {SmartContract: {in: ["0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f", "0x1f98431c8ad98523631ae4a59f267346ea31f984", "0x000000000004444c5dc75cB358380D2e3dE08A90"]}, Signature: {Name: {in: ["PoolCreated", "PairCreated", "Initialize"]}}}}
      limit: {count: 10}
      orderBy: {descending: Block_Time}
    ) {
      Log {
        SmartContract
      }
      Transaction {
        Hash
      }
      Arguments {
        Type
        Value {
          ... on EVM_ABI_Boolean_Value_Arg {
            bool
          }
          ... on EVM_ABI_Bytes_Value_Arg {
            hex
          }
          ... on EVM_ABI_BigInt_Value_Arg {
            bigInteger
          }
          ... on EVM_ABI_Address_Value_Arg {
            address
          }
          ... on EVM_ABI_String_Value_Arg {
            string
          }
          ... on EVM_ABI_Integer_Value_Arg {
            integer
          }
        }
        Name
      }
      Block {
        Time
      }
    }
  }
}

Similar queries