volume x hours ago for a currency

Returns currencies: currency ID, currency name, currency symbol and sum of volume USD.

By Divyasshree · saved 20 February 2026 · run 1 time · Bitquery API v2

What it returns

The query

{
  Trading {
    Currencies(
      where: {Currency: {Id: {includesCaseInsensitive: "67ezHLk8PUkjJCXjmmgPbx85VowA52ghfRXa9A8Tpump"}}, Block: {Time: {since_relative: {hours_ago: 24}}}}
    ) {
      Currency {
        Id
        Name
        Symbol
      }
      v2h: sum(of: Volume_Usd, if: {Block: {Time: {since_relative: {hours_ago: 2}}}})
      v12h: sum(
        of: Volume_Usd
        if: {Block: {Time: {since_relative: {hours_ago: 12}}}}
      )
      v24: sum(of: Volume_Usd)
    }
  }
}

Similar queries