Pair DEX list
Returns DEX trades by token on Solana, where currency mint address is EKpQGS…zcjm, side currency mint address is JUPyiw…DvCN and side amount is above 0, sorted by amount, highest first: protocol family, protocol name, price in USD, sum of trade amount, unique of trade side currency mint address and count.
What it returns
- protocol family
- protocol name
- price in USD
- sum of trade amount
- unique of trade side currency mint address
- count
Filters
- currency mint address is EKpQGS…zcjm
- side currency mint address is JUPyiw…DvCN
- side amount is above 0
The query
query($token: String, $base: String, $time_10min_ago: DateTime, $time_1h_ago: DateTime) {
Solana(aggregates: only) {
DEXTradeByTokens(
orderBy: {
descendingByField: "amount"
}
where: {
Trade: {
Currency: {
MintAddress: {
is: $token
}
}
Side: {
Amount: {gt: "0"},
Currency: {
MintAddress: {
is: $base
}
}
}
}
Transaction: {Result: {Success: true}}
}
) {
Trade {
Dex {
ProtocolFamily
ProtocolName
}
price_last: PriceInUSD(maximum: Block_Slot)
price_10min_ago: PriceInUSD(maximum: Block_Slot if: {Block: {Time: {before: $time_10min_ago}}})
price_1h_ago: PriceInUSD(maximum: Block_Slot if: {Block: {Time: {before: $time_1h_ago}}})
}
amount: sum(of: Trade_Amount)
pairs: uniq(of: Trade_Side_Currency_MintAddress)
trades: count
}
}
}
Variables
{
"token": "EKpQGSJtjMFqKZ9KQanSqYXRcF8fBopzLHYxdM65zcjm",
"base": "JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN",
"time_10min_ago": "2024-08-14T12:00:00Z",
"time_1h_ago": "2024-08-14T11:00:00Z"
}
Similar queries
- ANSEM daily traders, June 16 to 26, 2026 · Solana · DEXTradeByTokens
- ANSEM swaps per hour, June 27, 2026 · Solana · DEXTradeByTokens
- FOMO App: Top Tokens Bought, Last Hour (Solana) · Solana · DEXTradeByTokens
- FOMO App: Most Active Wallets, Last Hour (Solana) · Solana · DEXTradeByTokens
- Buys, Sells, BuyVolume, SellVolume, Makers, TotalTradedVolume, PriceinUSD for solana token pair · Solana · DEXTradeByTokens