asas

Returns DEX trades on BNB Chain, where pair name is Pancake LPs and DEX protocol version is 2: protocol name, protocol version, protocol family, pair name, pair symbol, decimals and smart contract.

By Omkar_BQ · saved 17 December 2024 · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(network: bsc) {
    DEXTrades(
      limitBy: {by: Trade_Dex_Pair_SmartContract, count: 1}
      where: {Trade: {Dex: {Pair: {Name: {is: "Pancake LPs"}}, ProtocolVersion: {is: "2"}}}}
    ) {
      Trade {
        Dex {
          ProtocolName
          ProtocolVersion
          ProtocolFamily
          Pair {
            Name
            Symbol
            Decimals
          }
          SmartContract
        }
      }
    }
  }
}

Similar queries