count 0

Returns 100 DEX trades by token on Polygon, where DEX protocol name is polymarket and block time since 2026-01-15, sorted by volume USD, highest first: seller, currency name, smart contract, currency symbol, side currency name, side smart contract, side currency symbol and 2 more fields.

By Nadia · saved 16 January 2026 · run 2 times · Bitquery API v2

What it returns

Filters

The query

query TopTradersForMarket($network: evm_network!, $market: String!, $time_ago: DateTime!) {
  EVM(network: $network) {
    DEXTradeByTokens(
      orderBy: {descendingByField: "volumeUsd"}
      limit: {count: 100}
      where: {TransactionStatus: {Success: true}, Trade: {Dex: {ProtocolName: {is: $market}}}, Block: {Time: {since: $time_ago}}}
    ) {
      Trade {
        Seller
        Currency {
          Name
          SmartContract
          Symbol
        }
        Side {
          Currency {
            Name
            SmartContract
            Symbol
          }
        }
      }
      volumeUsd: sum(of: Trade_Side_AmountInUSD)
      buyVolumeUsd: sum(
        of: Trade_Side_AmountInUSD
        if: {Trade: {Side: {Type: {is: buy}}}}
      )
      sellVolumeUsd: sum(
        of: Trade_Side_AmountInUSD
        if: {Trade: {Side: {Type: {is: sell}}}}
      )
      trades: count
      buyTrades: count(if: {Trade: {Side: {Type: {is: buy}}}})
      sellTrades: count(if: {Trade: {Side: {Type: {is: sell}}}})
    }
  }
}

Variables

{
  "network": "matic",
  "market": "polymarket",
  "usdc": "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359",
  "usdcpos": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
  "usdt": "0xc2132d05d31c914a87c6611c10748aeb04b58e8f",
  "weth": "0x7ceb23fd6bc0add59e62ac25578270cff1b9f619",
  "wmatic": "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270",
  "time_ago": "2026-01-15T09:08:09Z"
}

Similar queries