Latest created pool where Token A is WETH on Uniswap v3 Ethereum

Returns the latest 10 events on Ethereum, where log smart contract is 0x1F98…F984 and signature name is PoolCreated: block time, arguments name, arguments type, integer, string, value address, big integer and 3 more fields.

By Akshat · saved 19 May 2024 · Bitquery API v2

What it returns

Filters

The query

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

Similar queries