latest-PancakeSwap-pair-pools

Returns the latest 2 arguments on Ethereum and BNB Chain, where smart contract address is 0xBCfC…2812, smart contract event is PairCreated and argument is pair: block height, argument name and reference address.

By Sayon · saved 16 August 2021 · run 1 time · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    arguments(
      smartContractAddress: {is: "0xBCfCcbde45cE874adCB698cC183deBcF17952812"}
      smartContractEvent: {is: "PairCreated"}
      argument: {is: "pair"}
      options: {desc: "block.height", limit: 2}
    ) {
      block {
        height
      }
      argument {
        name
      }
      reference {
        address
      }
    }
  }
}

Similar queries