24h historical price and historical volume on Solana

Returns tokens, where token ID is bid:solana:BTr5SwWSKPBrdUzboi2SVr1QvSjmh1caCYUkxsxLpump and time duration is 1: currency ID, currency name, currency symbol, mean and sum of volume USD.

By Robert · saved 11 March 2026 · run 1 time · Bitquery API v2

What it returns

Filters

The query

{
  Trading {
    Tokens(
      where: {Interval: {Time: {Duration: {eq: 1}}}, Block: {Time: {since_relative: {hours_ago: 24}}}, Token: {Id: {in: ["bid:solana:BTr5SwWSKPBrdUzboi2SVr1QvSjmh1caCYUkxsxLpump"]}}}
    ) {
      Currency {
        Id
        Name
        Symbol
      }
      Price {
        Average {
          currentPrice: Mean(maximum: Block_Time)
        }
      }
      v24h: sum(of: Volume_Usd)
    }
  }
}

Similar queries