Copy of Latest Pair Created on Uniswap.

My first saved query. Copy of Latest Pair Created on Uniswap.

Returns the latest 50 arguments on Ethereum, where smart contract address is 0x5c69…aa6f and smart contract event is PairCreated: block height, timestamp time, index and any of argument value.

By Aniket Patil · saved 14 March 2024 · run 6 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: ethereum) {
    arguments(
      options: {desc: ["block.height", "index"], limit: 50}
      smartContractAddress: {in: "0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f"}
      smartContractEvent: {is: "PairCreated"}
    ) {
      block {
        height
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
      }
      index
      pair: any(of: argument_value, argument: {is: "pair"})
      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