ATH of BSC token

Returns DEX trades by token on BNB Chain, where currency smart contract is 0x2a2b…4444, side currency smart contract is 0x55d3…7955 or 0x and block time since 2025-10-10: block time, price in USD and quantile of trade price in USD.

By gaurav · saved 24 October 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query tradingView($network: evm_network, $dataset: dataset_arg_enum, $token: String) {
  EVM(network: $network, dataset: $dataset) {
    DEXTradeByTokens(
      where: {Block: {Time: {since: "2025-10-10T00:00:00Z"}},
        TransactionStatus: {Success: true}, 
        Trade: {Currency: {SmartContract: {is: $token}},
          Side: {AmountInUSD: {gt: "5"},
            Currency: {SmartContract: {in: ["0x55d398326f99059ff775485246999027b3197955", "0x"]}}}, Success: true}}
    ) {
    	Block{
        Time
      }
      Trade {
        PriceInUSD(maximum: Trade_PriceInUSD)
      }
      max: quantile(of: Trade_PriceInUSD, level: 0.98)
    }
  }
}

Variables

{
  "network": "bsc",
  "token": "0x2a2b8ee98998d758cd0e3c3b0e9632ff633e4444",
  "dataset": "combined",
  "local": "EVM",
  "interval": 60
}

Similar queries