Trade count over time (by block timestamp)

Returns the latest 100 trades, where token ID is bid:solana:FVo4K9FtXg9A4M6cAovqm4qgM7ALUpgei2da4D6R9FXb and market network is Solana: block time, count, average of amounts in USD quote, sum of amounts in USD quote, token address, token ID, is native and 2 more fields.

By Akshat · saved 7 April 2026 · run 2 times · Bitquery API v2

What it returns

Filters

The query

{
  Trading {
    Trades(
      limit: {count: 100}
      orderBy: {descendingByField: "Block_Timefield"}
      where: {Block: {Time: {since_relative: {hours_ago: 1}}}, Pair: {Token:{Id:{is:"bid:solana:FVo4K9FtXg9A4M6cAovqm4qgM7ALUpgei2da4D6R9FXb"}} Market: {Network: {is: "Solana"}}}}
    ) {
      Block{
        Timefield: Time(interval:{in:minutes count:1})
      }
      count
      average_trade_size: average(of: AmountsInUsd_Quote)
      total_volume: sum(of: AmountsInUsd_Quote)
      buy_volume: sum(of: AmountsInUsd_Quote, if: {Side: {is: "Buy"}})
      sell_volume: sum(of: AmountsInUsd_Quote, if: {Side: {is: "Sell"}})
      buys: count(if: {Side: {is: "Buy"}})
      sells: count(if: {Side: {is: "Sell"}})
      Pair {
        Token {
          Address
          Id
          IsNative
          Symbol
          TokenId
          Network
        }
      }
    }
  }
}

Similar queries