Pools created on Uniswap v3 websocket

Streams the latest 10 events on Ethereum as they happen, where log smart contract is 0x1f98…f984 and signature name is PoolCreated: signature name, transaction hash, arguments name, integer, string, value address, big integer and 2 more fields.

By gaurav · saved 25 January 2024 · run 3 times · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  EVM(trigger_on: all, network: eth) {
    Events(
      orderBy: {descending: Block_Time}
      limit: {count: 10}
      where: {Log: {Signature: {Name: {is: "PoolCreated"}}, SmartContract: {is: "0x1f98431c8ad98523631ae4a59f267346ea31f984"}}}
    ) {
      Log {
        Signature {
          Name
        }
      }
      Transaction {
        Hash
      }
      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
          }
        }
      }
    }
  }
}

Similar queries