Latest pairs

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

By Aleksey · saved 3 July 2021 · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    arguments(
      smartContractAddress: {in: [
        "0xBCfCcbde45cE874adCB698cC183deBcF17952812",
        "0xcA143Ce32Fe78f1f7019d7d551a6402fC5350c73"
      ]}
      smartContractEvent: {is: "PairCreated"}
      argument: {is: "pair"}
      options: {desc: "block.height", limit: 9}
      date: {after: "2021-07-01"}
    ) {
      block {
        height
        timestamp {time}
      }
      
      argument {
        name
      }
      reference {
        address
      }
    }
  }
}

Similar queries