stream pool and pair creation on ethereum

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

By Divyasshree · saved 2 July 2025 · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  EVM(network: eth) {
    Events(
      where: {Log: {SmartContract: {in: ["0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f", "0x1f98431c8ad98523631ae4a59f267346ea31f984"]}, Signature: {Name: {in: ["PoolCreated","PairCreated"]}}}}
    ) {
      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