OHLCV
Returns the latest DEX trades by token on Solana, where currency mint address is fCRm2z…pump, side currency mint address is So1111…1112 and block time since 2025-01-01: block time, protocol name, price in USD, sum of trade amount and count.
What it returns
- block time
- protocol name
- price in USD
- sum of trade amount
- count
Filters
- currency mint address is fCRm2z…pump
- side currency mint address is So1111…1112
- block time since 2025-01-01
- block time till 2025-01-01
The query
query MyQuery {
Solana(dataset: archive, aggregates: yes) {
DEXTradeByTokens(
where: {Trade: {Currency: {MintAddress: {is: "fCRm2z7npfXHMSc2LBL5garDDCAzmazYq5o6k9Tpump"}}, Side: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}}}, Block: {Time: {since: "2025-01-01T15:06:00Z", till: "2025-01-01T15:21:00Z"}}}
orderBy: {descendingByField: "Block_Time"}
) {
Block {
Time(interval: {in: minutes, count: 1})
}
Trade {
Dex {
ProtocolName
}
open: PriceInUSD(minimum: Block_Time)
close: PriceInUSD(maximum: Block_Time)
high: PriceInUSD(maximum: Trade_Price)
low: PriceInUSD(minimum: Trade_Price)
}
volume: sum(of: Trade_Amount)
trade_count: count
}
}
}
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