Latest Token Pair Created before a block

Latest Pair Created on Ethereum

Returns 10 arguments on Ethereum, where smart contract event is PairCreated and height is below 18049072, sorted by count, highest first: block height, timestamp time, address address, annotation, index, any of argument value and count.

By Divyasshree N · saved 2 September 2023 · run 4 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: ethereum) {
    arguments(
      options: {desc: "count", limit: 10}
      smartContractEvent: {is: "PairCreated"}
      height: {lt: 18049072}
    ) {
      block {
        height
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
      }
      smartContract {
        address {
          address
          annotation
        }
      }
      index
      pair: any(of: argument_value, argument: {is: "pair"})
      token_0: any(of: argument_value, argument: {is: "token0"})
      token0_Name: any(of: argument_value, argument: {is: "token0"}, as: token_name)
      token_1: any(of: argument_value, argument: {is: "token1"})
      token1_Name: any(of: argument_value, argument: {is: "token1"}, as: token_name)
      count
    }
  }
}

Similar queries