pepe-top-holders

Returns 20 trades, where token address is 0x6982…1933, sorted by holdings, highest first: trader address, sum of amounts in USD base, calculate and count.

By Kshitij Mahajan · saved 11 May 2026 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Trading {
    Trades(
      where: {
        Block: {Time: {since_relative: {hours_ago: 24}}},
        Pair: {Token: {Address: {is: "0x6982508145454ce325ddbe47a25d4ec3d2311933"}}}, 
      }
      limit: {count: 20}
      orderBy: {descendingByField: "holdings"}
    ) {
      Trader {
        Address
      }
      buy_volume: sum(of: AmountsInUsd_Base if: {Side: {is: "Buy"}})
      sell_volume: sum(of: AmountsInUsd_Base if: {Side: {is: "Sell"}})
      holdings: calculate(expression: "$buy_volume - $sell_volume")
      trades: count
    }
  }
}

Similar queries