btc volume, tokens vs currency cube
Returns currencies and tokens, where currency ID is bid:bitcoin, block time since 2026-09-01 and block time till 2026-09-01: USD, sum of volume USD and count.
What it returns
- USD
- sum of volume USD
- count
Filters
- currency ID is bid:bitcoin
- block time since 2026-09-01
- block time till 2026-09-01
- time duration is 3600
The query
{
Trading {
c: Currencies(
where: {Currency: {Id: {is: "bid:bitcoin"}}, Interval: {Time: {Duration: {eq: 3600}}}, Block: {Time: {since: "2026-09-01T12:00:00Z", till: "2026-09-01T13:00:00Z"}}}
) {
Volume {
Usd
}
}
t: Tokens(
where: {Currency: {Id: {is: "bid:bitcoin"}}, Interval: {Time: {Duration: {eq: 3600}}}, Block: {Time: {since: "2026-09-01T12:00:00Z", till: "2026-09-01T13:00:00Z"}}}
) {
sum(of: Volume_Usd)
count
}
}
}
Similar queries
- Currency Liquidity Across Chains · Trading (all chains) · Currencies
- Latest Bitcoin Price (Trading API) · Trading (all chains) · Currencies
- Arbitrum mcap · Trading (all chains) · Currencies
- OHLC of a currency on multiple blockchains · Trading (all chains) · Currencies
- tv-currency · Trading (all chains) · Currencies