Most traded token in last 1 hour on solana and it's average trade amount and total volume
Historical data This query uses the realtime dataset (the default), which holds only a recent window - hours to days depending on the cube. For older data add a dataset to the top-level element: Solana(dataset: combined) archive full history combined archive + realtime in one result Archive and c
What it returns
- count
- average of amounts in USD quote
- sum of amounts in USD quote
- pool address
- market address
- program
- network
- token address
- token ID
- is native
- token symbol
- quote token address
- quote token ID
- quote token symbol
Filters
- market network is Solana
The query
# Historical data
# This query uses the realtime dataset (the default), which holds only a
# recent window - hours to days depending on the cube.
#
# For older data add a dataset to the top-level element:
#
# Solana(dataset: combined)
#
# archive full history
# combined archive + realtime in one result
#
# Archive and combined need the historical data add-on:
# https://bitquery.io/pricing
#
# Datasets: https://docs.bitquery.io/docs/graphql/dataset/archive/
# Retention: https://docs.bitquery.io/docs/graphql/data-coverage-retention/
#
{
Trading {
Trades(
orderBy: {descendingByField: "count"}
where: {Block: {Time: {since_relative: {hours_ago: 1}}}, Pair: {Market: {Network: {is: "Solana"}}}}
) {
count
average_trade_size: average(of: AmountsInUsd_Quote)
sum(of:AmountsInUsd_Quote)
Pair {
Pool {
Address
}
Market {
Address
Program
Network
}
Token {
Address
Id
IsNative
Symbol
TokenId
Network
}
QuoteToken {
Address
Id
IsNative
Symbol
TokenId
Network
}
}
}
}
}
Similar queries
- Elysium latest trades of one token (WHYPE) · Trading (all chains) · Trades
- Elysium DEX protocols by trade count · Trading (all chains) · Trades
- FOMO App: Trades per Day (Trading API) · Trading (all chains) · Trades
- save with commit · Trading (all chains) · Tokens