four meme OHLC eg

Returns the latest 10 DEX trades by token on BNB Chain, where currency smart contract is 0x2C3a…4444, DEX protocol name is fourmeme_v1 and trade price asymmetry is below 0.1: block time, price in USD and sum of trade side amount in USD.

By Divyasshree · saved 14 October 2025 · run 3 times · Bitquery API v2

What it returns

Filters

The query

query tradingView($network: evm_network, $token: String) {
  EVM(network: $network, dataset: combined, aggregates: yes) {
    DEXTradeByTokens(
      limit: {count: 10}
      orderBy: {descendingByField: "Block_timefield"}
      where: {Trade: {Currency: {SmartContract: {is: $token}}, PriceAsymmetry: {lt: 0.1}, Dex: {ProtocolName: {is: "fourmeme_v1"}}}}
    ) {
      Block {
        timefield: Time(interval: {count: 5, in: minutes})
      }
      Trade {
        open: PriceInUSD(minimum: Block_Number)
        close: PriceInUSD(maximum: Block_Number)
        max: PriceInUSD(maximum: Trade_PriceInUSD)
        min: PriceInUSD(minimum: Trade_PriceInUSD)
      }
      volumeUSD: sum(of: Trade_Side_AmountInUSD, selectWhere: {gt: "0"})
    }
  }
}

Variables

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

Similar queries