For Support

Returns 10 DEX trades by token on BNB Chain, where currency smart contract is token-address and pair smart contract is not 0x, sorted by count, highest first: smart contract and count.

By Roni · saved 27 March 2024 · run 18 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(network: bsc, dataset: combined) {
    DEXTradeByTokens(
      where: {Trade: {Currency: {SmartContract: {is: "token-address"}}, Dex: {Pair: {SmartContract: {not: "0x"}}}}}
      limitBy: {by: Trade_Dex_Pair_SmartContract, count: 1}
      orderBy: {descendingByField: "count"}
      limit: {count: 10}
    ) {
      Trade {
        Dex {
          Pair {
            SmartContract
          }
        }
        Currency {
          SmartContract
        }
      }
      count
    }
  }
}

Similar queries