Latest Pair Created on Pancake Swap

Returns 10 arguments on Ethereum and BNB Chain, where smart contract address is 0xbcfc…2812 and smart contract event is PairCreated, sorted by block height transaction hash, highest first: block height, transaction hash and any of argument value.

By gaurav · saved 25 July 2023 · run 14 times · Bitquery API v1

What it returns

Filters

The query

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