EVM ATH

Returns 10 DEX trades by token and balance updates on BNB Chain, where currency smart contract is 0x75e0…4444, sorted by balance, highest first: currency symbol, smart contract, currency name, decimals, quantile of trade price in USD, count, sum of balance update amount and balance update address.

By LÂM QUANG VINH · saved 10 May 2025 · run 3 times · Bitquery API v2

What it returns

Filters

The query

query TradingView($token: String!, $network: evm_network) {
  EVM(dataset: realtime, network: $network) {
    DEXTradeByTokens(where: {Trade: {Currency: {SmartContract: {is: $token}}}}) {
      Trade {
        Currency {
          Symbol
          SmartContract
          Name
          Decimals
        }
      }
      max: quantile(of: Trade_PriceInUSD, level: 1)
      count
    }
    BalanceUpdates(
      where: {Currency: {SmartContract: {is: $token}}}
      orderBy: {descendingByField: "balance"}
      limit: {count: 10}
    ) {
      balance: sum(of: BalanceUpdate_Amount, selectWhere: { gt: "0" })
      BalanceUpdate {
        Address
      }
    }
  }
}

Variables

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

Similar queries