wrapped btc volume

Returns tokens, where token ID is bid:base:0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf, bid:bsc:0x7130d2a12b9bcbfae4f2634d864a1ee1ce3ead9c or 13 more, since relative round is hours and time duration is 3600: token address, token ID, token name, network, network bid, token symbol, close and 3 more fields.

By gaurav · saved 20 May 2026 · Bitquery API v2

What it returns

Filters

The query

query CategoryTokenStats($tokens: [String!]!) {
  Trading {
    Tokens(
      where: {Token: {Id: {in: $tokens}}, Interval: {Time: {Duration: {eq: 3600}, Start: {since_relative: {hours_ago: 24, round: {in: hours}}}}}}
    ) {
      Token {
        Address
        Id
        Name
        Network
        NetworkBid
        Symbol
      }
      Price {
        Ohlc {
          current_price: Close(
            if: {Interval: {Time: {Start: {is_relative: {round: {in: hours}}}}}}
          )
          prev_price: Close(
            if: {Interval: {Time: {Start: {is_relative: {hours_ago: 1, round: {in: hours}}}}}}
          )
        }
        Average {
          hour_ago_mean: Mean(
            if: {Interval: {Time: {Start: {is_relative: {hours_ago: 1, round: {in: hours}}}}}}
          )
          hour_24_ago_mean: Mean(
            if: {Interval: {Time: {Start: {is_relative: {hours_ago: 24, round: {in: hours}}}}}}
          )
        }
      }
      usd: sum(of: Volume_Usd)
      current_price: calculate(
        expression: "if($Price_Ohlc_current_price=0, $Price_Ohlc_prev_price, $Price_Ohlc_current_price)"
      )
      diff_1h: calculate(
        expression: "round(10000 * ($current_price - $Price_Average_hour_ago_mean) / $Price_Average_hour_ago_mean) / 100"
      )
      diff_24h: calculate(
        expression: "round(10000 * ($current_price - $Price_Average_hour_24_ago_mean) / $Price_Average_hour_24_ago_mean) / 100"
      )
    }
  }
}

Variables

{
  "tokens": [
    "bid:base:0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf",
    "bid:bsc:0x7130d2a12b9bcbfae4f2634d864a1ee1ce3ead9c",
    "bid:eth:0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
    "bid:arbitrum:0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f",
    "bid:solana:3NZ9JMVBmGAqocybic2c7LQCJScmgsAZ6vQqTDzcqmJh",
    "bid:eth:0x18084fba666a33d37592fa2633fd49a74dd93a88",
    "bid:eth:0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf",
    "bid:eth:0x7a56e1c57c7475ccf742a1832b028f0456652f97",
    "bid:bsc:0x4aae823a6a0b376de6a78e74ecc5b079d38cbcf7",
    "bid:eth:0x9be89d2a4cd102d8fecc6bf9da793be995c22541",
    "bid:arbitrum:0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf",
    "bid:solana:zBTCug3er3tLyffELcvDNrKkCymbPWysGcWihESYfLg",
    "bid:arbitrum:0x3647c54c4c2c65bc7a2d63c0da2809b399dbbdc0",
    "bid:base:0x3b86ad95859b6ab773f55f8d94b4b9d443ee931f",
    "bid:base:0x0555e30da8f98308edb960aa94c0db47230d2b9c"
  ]
}

Similar queries