Latest Pair Created on Pancake Swap

Returns the latest 10 arguments on Ethereum and BNB Chain, where smart contract address is 0xbcfc…2812, smart contract event is PairCreated and date after 2023-07-17: block height, transaction hash and any of argument value.

By gaurav · saved 18 July 2023 · run 2 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    arguments(
      options: {desc: ["block.height"], limit: 10}
      smartContractAddress: {in: "0xbcfccbde45ce874adcb698cc183debcf17952812"}
      smartContractEvent: {is: "PairCreated"}
      date: {after: "2023-07-17"}
    ) {
      block {
        height
      }
      transaction {
        hash
      }
      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