top tokens by price change 5 min

Returns 100 DEX trades by token on BNB Chain, where side currency smart contract is 0xbb4C…095c, 0x55d3…7955 or 2 more and DEX protocol name is fourmeme_v1, sorted by change 1 hr, highest first: currency name, currency symbol, smart contract, price in USD and calculate.

By Akshat · saved 27 October 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(network: bsc dataset:combined) {
    DEXTradeByTokens(
      limit:{count:100}
      orderBy:{descendingByField:"change_1hr"}
      where: {Block: {Time: {since_relative: {hours_ago: 24}}}, TransactionStatus: {Success: true}, Trade: {Dex: {ProtocolName: {is: "fourmeme_v1"}}, Side: { Currency: {SmartContract: {in: ["0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c", "0x55d398326f99059fF775485246999027B3197955", "0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d", "0x17EAfd08994305D8AcE37EfB82F1523177eC70EE"]}}}}}
    ) {
      Trade {
        Currency {
          Name
          Symbol
          SmartContract
        }
        price_24hr: PriceInUSD(minimum: Block_Time)
        price_1hr: PriceInUSD(maximum: Block_Time if: {Block: {Time: {till_relative: {hours_ago: 1}}}} )
        price_5min: PriceInUSD(maximum: Block_Time if: {Block: {Time: {till_relative: {minutes_ago: 5}}}})
        current: PriceInUSD(maximum:Block_Time)
      }
      change_24hr: calculate(
        expression: "( $Trade_current - $Trade_price_24hr ) / $Trade_price_24hr * 100"
      )
      change_1hr: calculate(
        expression: "( $Trade_current - $Trade_price_1hr ) / $Trade_price_1hr * 100"
      )
      change_5min: calculate(
        expression: "( $Trade_current - $Trade_price_5min ) / $Trade_price_5min * 100"
      )
    }
  }
}

Similar queries