Latest Pair Created on Uniswap v3

Returns the latest 50 arguments on Ethereum, where smart contract address is 0x1F98…F984 and smart contract event is PoolCreated: block height, timestamp time and any of argument value.

By gaurav · saved 28 June 2023 · run 7 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: ethereum) {
    arguments(
      options: {desc: ["block.height"], limit: 50}
      smartContractAddress: {is: "0x1F98431c8aD98523631AE4a59f267346ea31F984"}
      smartContractEvent: {is: "PoolCreated"}
    ) {
      block {
        height
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
      }
      fee: any(of: argument_value, argument: {is: "fee"})
      tickSpacing: any(of: argument_value, argument: {is: "tickSpacing"})
      pair: any(of: argument_value, argument: {is: "pool"})
      token0: any(of: argument_value, argument: {is: "token0"})
      token0Name: any(of: argument_value, argument: {is: "token0"}, as: token_name)
      token1: any(of: argument_value, argument: {is: "token1"})
      token1Name: any(of: argument_value, argument: {is: "token1"}, as: token_name)
    }
  }
}

Similar queries