qqqq
Returns 20 DEX trades by token on Solana, where DEX protocol family is not pump and block time after 2025-06-16, sorted by USD, highest first: block time, currency symbol, currency name, currency mint address, side currency symbol, side currency name, side currency mint address and 3 more fields.
What it returns
- block time
- currency symbol
- currency name
- currency mint address
- side currency symbol
- side currency name
- side currency mint address
- price in USD
- sum of trade side amount in USD
- count
Filters
- DEX protocol family is not pump
- block time after 2025-06-16
The query
query ($time_ago: DateTime, $time_1h_ago: DateTime, $wsol: String!, $usdc: String!, $usdt: String!) {
Solana {
DEXTradeByTokens(
where: {Transaction: {Result: {Success: true}}, Block: {Time: {after: $time_ago}}, Trade: {Dex: {ProtocolFamily: {not: "pump"}}}, any: [{Trade: {Currency: {MintAddress: {notIn: [$usdc, $usdt]}}, Side: {Currency: {MintAddress: {is: $wsol}}}}}, {Trade: {Currency: {MintAddress: {not: $usdc}}, Side: {Currency: {MintAddress: {is: $usdt}}}}}, {Trade: {Side: {Currency: {MintAddress: {is: $usdc}}}}}, {Trade: {Currency: {MintAddress: {notIn: [$wsol, $usdc, $usdt]}}, Side: {Currency: {MintAddress: {notIn: [$wsol, $usdc, $usdt]}}}}}]}
orderBy: {descendingByField: "usd"}
limit: {count: 20}
) {
Block {
Time(maximum: Block_Time, selectWhere: {after: $time_1h_ago})
}
Trade {
Currency {
Symbol
Name
MintAddress
}
Side {
Currency {
Symbol
Name
MintAddress
}
}
price_last: PriceInUSD(maximum: Block_Slot)
price_1h_ago: PriceInUSD(
minimum: Block_Slot
if: {Block: {Time: {after: $time_1h_ago}}}
)
}
usd: sum(of: Trade_Side_AmountInUSD)
count(selectWhere: {ge: "100"})
}
}
}
Variables
{
"time_1h_ago": "2025-06-17T06:48:28Z",
"time_ago": "2025-06-16T07:48:28Z",
"min_count": "1",
"usdc": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"usdt": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
"wsol": "So11111111111111111111111111111111111111112"
}
Similar queries
- ANSEM daily traders, June 16 to 26, 2026 · Solana · DEXTradeByTokens
- Solana SOL/USDC 1-Minute OHLC with DEXTradeByTokens · 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