Websocket for poolcreated on Uniswap

Streams events on Ethereum as they happen, where log smart contract is 0x1F98…F984 and signature name is PoolCreated: signature name, arguments name, integer, string, value address, big integer, hex and 4 more fields.

By gaurav · saved 13 May 2024 · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  EVM(network: eth) {
    Events(
      where: {Log: {SmartContract: {is: "0x1F98431c8aD98523631AE4a59f267346ea31F984"}, Signature: {Name: {is: "PoolCreated"}}}}
    ) {
      Log {
        Signature {
          Name
        }
      }
      Arguments {
        Name
        Value {
          __typename
          ... on EVM_ABI_Integer_Value_Arg {
            integer
          }
          ... on EVM_ABI_String_Value_Arg {
            string
          }
          ... on EVM_ABI_Address_Value_Arg {
            address
          }
          ... on EVM_ABI_BigInt_Value_Arg {
            bigInteger
          }
          ... on EVM_ABI_Bytes_Value_Arg {
            hex
          }
          ... on EVM_ABI_Boolean_Value_Arg {
            bool
          }
        }
      }
      Block {
        Time
        Number
      }
      Transaction {
        Hash
      }
    }
  }
}

Similar queries