top pairs with network name
Returns 100 pairs, where token network is Solana, since relative round is hours and time duration is 3600, sorted by USD, highest first: token address, token name, token ID, token symbol, quote token address, quote token name, quote token ID and 8 more fields.
What it returns
- token address
- token name
- token ID
- token symbol
- quote token address
- quote token name
- quote token ID
- quote token symbol
- market ID
- market name
- market address
- protocol family
- protocol
- program
- sum of volume USD
Filters
- token network is Solana
- since relative round is hours
- time duration is 3600
The query
query topPairsByNetwork($networkName: String!) {
Trading {
Pairs(
orderBy: {descendingByField: "usd"}
limit: {count: 100}
where: {Block: {Time: {after_relative: {hours_ago: 24}}}, Token: {Network: {is: $networkName}}, Interval: {Time: {Duration: {eq: 3600}, Start: {since_relative: {hours_ago: 24, round: {in: hours}}}}}}
) {
Token {
Address
Name
Id
Symbol
}
QuoteToken {
Address
Name
Id
Symbol
}
Market {
Id
Name
Address
ProtocolFamily
Protocol
Program
}
usd: sum(of: Volume_Usd)
}
}
}
Variables
{
"networkName": "Solana"
}
Similar queries
- Elysium pair OHLC candles (WHYPE/USDC, 5 min) · Trading (all chains) · Pairs
- Elysium top trading pairs by USD volume, 24h · Trading (all chains) · Pairs
- arc mainnet minara pool price · Trading (all chains) · Pairs
- Arc Mainnet Trading: Latest price of a token (v2) · Trading (all chains) · Pairs
- save with commit · Trading (all chains) · Tokens