volume price x hours ago for a token
Returns tokens, where token ID is bid:solana:9WHhgXJBGgxghkh5wAUWJFHVbnsRbonRYTnH2EChpump and time duration is 1: currency ID, currency name, currency symbol and sum of volume USD.
What it returns
- currency ID
- currency name
- currency symbol
- sum of volume USD
Filters
- token ID is bid:solana:9WHhgXJBGgxghkh5wAUWJFHVbnsRbonRYTnH2EChpump
- time duration is 1
The query
{
Trading {
Tokens(
where: {Interval: {Time: {Duration: {eq: 1}}},
Block: {Time: {since_relative: {hours_ago: 24}}},
Token: {Id: {is: "bid:solana:9WHhgXJBGgxghkh5wAUWJFHVbnsRbonRYTnH2EChpump"}},
}
) {
Currency {
Id
Name
Symbol
}
v1h: sum(of: Volume_Usd, if: {Block: {Time: {since_relative: {hours_ago: 1}}}})
v2h: sum(of: Volume_Usd, if: {Block: {Time: {since_relative: {hours_ago: 2}}}})
v6h: sum(of: Volume_Usd, if: {Block: {Time: {since_relative: {hours_ago: 6}}}})
v12h: sum(
of: Volume_Usd
if: {Block: {Time: {since_relative: {hours_ago: 12}}}}
)
v24: sum(of: Volume_Usd)
}
}
}
Similar queries
- Solana Tokens: 24h Volume and Price with 1h, 4h and 24h Changes · Trading (all chains) · Tokens
- Elysium latest token price in USD · Trading (all chains) · Tokens
- save with commit · Trading (all chains) · Tokens
- arc mainnet minara ohlcv candles · Trading (all chains) · Tokens
- Arc Mainnet Trading: OHLCV candles for a token (v2) · Trading (all chains) · Tokens