0 in price (traders: uniq(of: Trade_Account_Owner))
Returns 100 DEX trades by token on Solana, where block time after 2026-03-03, 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 7 more fields.
What it returns
- block time
- currency symbol
- currency name
- currency mint address
- side currency symbol
- side currency name
- side currency mint address
- trade price
- unique of trade DEX program address
- sum of trade side amount
- sum of trade side amount in USD
- unique of trade account owner
- count
- calculate
Filters
- block time after 2026-03-03
The query
query ($time_10min_ago: DateTime!, $time_1h_ago: DateTime!, $time_3h_ago: DateTime!, $time_ago: DateTime!, $wsol: String!, $usdc: String!, $usdt: String!) {
Solana {
DEXTradeByTokens(
where: {Block: {Time: {after: $time_ago}}, 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: 100}
) {
Block {
Time(maximum: Block_Time, selectWhere: {after: $time_1h_ago})
}
Trade {
Currency {
Symbol
Name
MintAddress
}
Side {
Currency {
Symbol
Name
MintAddress
}
}
price_last: Price(maximum: Block_Slot)
price_10min_ago: Price(
minimum: Block_Slot
if: {Block: {Time: {after: $time_10min_ago}}}
)
price_1h_ago: Price(
minimum: Block_Slot
if: {Block: {Time: {after: $time_1h_ago}}}
)
price_3h_ago: Price(
minimum: Block_Slot
if: {Block: {Time: {after: $time_3h_ago}}}
)
}
dexes: uniq(of: Trade_Dex_ProgramAddress)
amount: sum(of: Trade_Side_Amount)
usd: sum(of: Trade_Side_AmountInUSD)
traders: uniq(of: Trade_Account_Owner)
count(selectWhere: {ge: "100"})
price_change_10min: calculate(
expression: "(($Trade_price_last - $Trade_price_10min_ago) / $Trade_price_10min_ago) * 100"
)
price_change_1h: calculate(
expression: "(($Trade_price_last - $Trade_price_1h_ago) / $Trade_price_1h_ago) * 100"
)
price_change_3h: calculate(
expression: "(($Trade_price_last - $Trade_price_3h_ago) / $Trade_price_3h_ago) * 100"
)
}
}
}
Variables
{
"usdc": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"usdt": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
"wsol": "So11111111111111111111111111111111111111112",
"min_count": "1",
"time_1h_ago": "2026-03-04T10:11:57Z",
"time_3h_ago": "2026-03-04T08:11:57Z",
"time_10min_ago": "2026-03-04T11:01:57Z",
"time_ago": "2026-03-03T11:11:57Z"
}
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