Latest created pool on uniswap V3 on Arbirum chain with Token0 as WETH

Returns the latest event on Arbitrum, where log smart contract is 0x1F98…F984 and signature name is PoolCreated: transaction hash, block time, signature name, arguments name, arguments type, integer, string and 4 more fields.

By Akshat · saved 22 May 2024 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query {
  EVM(network: arbitrum) {
    Events(
      limit: {count:1}
      orderBy: {descending: Block_Time}
      where: {Log: {Signature: {Name: {is: "PoolCreated"}}, SmartContract: {is: "0x1F98431c8aD98523631AE4a59f267346ea31F984"}}, Arguments: {startsWith: {Value: {Address: {is: "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1"}}}}}
    ) {
      Transaction {
        Hash
      }
      Block {
        Time
      }
      Log {
        Signature {
          Name
        }
      }
      Arguments {
        Name
        Type
        Value {
          ... 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