Token trades on Solana
Returns DEX trades by token on Solana, where currency mint address is EKpQGS…zcjm: currency symbol, currency name, currency mint address, fungible, side currency symbol, side currency name, side currency mint address and 4 more fields.
What it returns
- currency symbol
- currency name
- currency mint address
- fungible
- side currency symbol
- side currency name
- side currency mint address
- price in USD
- sum of trade amount
- sum of trade amount in USD
- count
Filters
- currency mint address is EKpQGS…zcjm
The query
query($token: String, $time_10min_ago: DateTime, $time_1h_ago: DateTime) {
Solana(aggregates: only) {
DEXTradeByTokens(
where: {
Trade: {
Currency: {
MintAddress: {
is: $token
}
}
}
Transaction: {Result: {Success: true}}
}
) {
Trade {
Currency {
Symbol
Name
MintAddress
Fungible
}
Side {
Currency {
Symbol
Name
MintAddress
}
}
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)
usd: sum(of: Trade_AmountInUSD)
count
}
}
}
Variables
{
"token": "EKpQGSJtjMFqKZ9KQanSqYXRcF8fBopzLHYxdM65zcjm",
"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