Pancake pairs for a particular token

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

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

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    arguments(
      smartContractAddress: {is: "0xBCfCcbde45cE874adCB698cC183deBcF17952812"}
      smartContractEvent: {is: "PairCreated"}
      options: {limit: 10}
    ) {
      pair: any(of: argument_value, argument: {is: "pair"})
      token0: any(of: argument_value, argument: {is: "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"})
      block{
        height
      }
    }
  }
}

Similar queries