All pools uniswap

Returns one argument on Ethereum, where smart contract address is 0x5c69…aa6f, smart contract event is PairCreated and time since 2023-04-06, sorted by block height index: block height, timestamp time, index, any of argument value, transaction hash and tx from address.

By angelika · saved 26 April 2024 · run 5 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: ethereum) {
    arguments(
      options: {asc: ["block.height", "index"], limit: 1}
      smartContractAddress: {in: "0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f"}
      smartContractEvent: {is: "PairCreated"}
      time: {since: "2023-04-06T00:00:00", till: "2023-05-15T23:59:59"}
    ) {
      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)
      transaction {
        hash
        txFrom {
          address
        }
      }
    }
  }
}

Similar queries