Find Pool2

Returns 500 DEX trades on BNB Chain, where block time since 2026-03-01, sorted by trade DEX protocol name, highest first: protocol family, protocol name, protocol version, count, transaction hash, smart contract, buy currency symbol and 3 more fields.

By paul@fallonp.net · saved 6 March 2026 · Bitquery API v2

What it returns

Filters

The query

query DexTradesByTokenSince($token: String!, $since: DateTime!) {
  EVM(network: bsc, dataset: combined) {

    PoolsByProtocol: DEXTrades(
      where: {
        Block: { Time: { since: $since } }
        any: [
          { Trade: { Buy:  { Currency: { SmartContract: { is: $token } } } } }
          { Trade: { Sell: { Currency: { SmartContract: { is: $token } } } } }
        ]
      }
      orderBy: { ascending: Trade_Dex_ProtocolName }
      limit: { count: 200 }
    ) {
      Trade {
        Dex {
          ProtocolFamily
          ProtocolName
          ProtocolVersion
        }
      }
      pools: count(distinct: Trade_Dex_SmartContract)
    }

    Trades: DEXTrades(
      where: {
        Block: { Time: { since: $since } }
        any: [
          { Trade: { Buy:  { Currency: { SmartContract: { is: $token } } } } }
          { Trade: { Sell: { Currency: { SmartContract: { is: $token } } } } }
        ]
      }
      limit: { count: 500 }
      limitBy: { by: Trade_Dex_SmartContract, count: 1 }
      orderBy: { descending: Trade_Dex_ProtocolName }
    ) {
      Transaction { Hash }
      Trade {
        Dex {
          SmartContract
          ProtocolFamily
          ProtocolName
          ProtocolVersion
        }
        Buy  { Currency { Symbol SmartContract } }
        Sell { Currency { Symbol SmartContract } }
      }
    }
  }
}

Variables

{
  "token": "0xeb2b7d5691878627eff20492ca7c9a71228d931d",
  "since": "2026-03-01T00:00:00Z"
}

Similar queries