Latest Pair Created on Pancake Swap

Returns the latest 10 arguments on Ethereum and BNB Chain, where smart contract address is 0xbcfc…2812 and smart contract event is PairCreated: block height, index and any of argument value.

By gaurav · saved 15 April 2021 · run 170 times · Bitquery API v1

What it returns

Filters

The query

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