top traders of a four meme token

Returns 100 DEX trades by token on BNB Chain, where currency smart contract is 0x37e3…4444 and DEX protocol name is fourmeme_v1, sorted by volume USD, highest first: buyer, owner address, protocol family, protocol name, sum of trade amount and sum of trade side amount in USD.

By gaurav · saved 27 June 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query topTraders($network: evm_network, $token: String) {
  EVM(network: $network, dataset: combined) {
    DEXTradeByTokens(
      orderBy: {descendingByField: "volumeUsd"}
      limit: {count: 100}
      where: {Trade: {Currency: {SmartContract: {is: $token}}, Dex: {ProtocolName: {is: "fourmeme_v1"}}}}
    ) {
      Trade {
        Buyer
        Dex {
          OwnerAddress
          ProtocolFamily
          ProtocolName
        }
      }
      bought: sum(of: Trade_Amount, if: {Trade: {Side: {Type: {is: buy}}}})
      sold: sum(of: Trade_Amount, if: {Trade: {Side: {Type: {is: sell}}}})
      volume: sum(of: Trade_Amount)
      volumeUsd: sum(of: Trade_Side_AmountInUSD)
    }
  }
}

Variables

{
  "network": "bsc",
  "token": "0x37e3a59843b056e063780402ef25e12dca394444"
}

Similar queries