top traders on a specific dex

Returns 100 DEX trades by token on BNB Chain, where DEX protocol family is Uniswap, sorted by volume USD, highest first: owner address, protocol family, protocol name, smart contract, currency symbol, currency name, side smart contract and 3 more fields.

By Akshat · saved 22 September 2024 · run 3 times · Bitquery API v2

What it returns

Filters

The query

query DexMarkets($network: evm_network, $market: String) {
  EVM(network: $network) {
    DEXTradeByTokens(
      orderBy: {descendingByField: "volumeUsd"}
      limit: {count: 100}
      where: {Trade: {Dex: {ProtocolFamily: {is: $market}}}}
    ) {
      Trade {
        Dex {
          OwnerAddress
          ProtocolFamily
          ProtocolName
        }
        Currency {
          SmartContract
          Symbol
          Name
        }
        Side {
          Currency {
            SmartContract
            Symbol
            Name
          }
        }
      }
      volumeUsd: sum(of: Trade_Side_AmountInUSD)
    }
  }
}

Variables

{
  "market": "Uniswap",
  "network": "bsc"
}

Similar queries