get ohlcv by pair address
Returns the latest 1000 DEX trades by token on Solana, where currency mint address is 2zMMhc…uauv, market market address is C6ELog…FYYh and block time till 2025-07-20: block time, sum of trade amount, trade price and count.
What it returns
- block time
- sum of trade amount
- trade price
- count
Filters
- currency mint address is 2zMMhc…uauv
- market market address is C6ELog…FYYh
- block time till 2025-07-20
- trade price asymmetry is below 0.1
The query
{
Solana(dataset: combined) {
DEXTradeByTokens(
limit: {count: 1000}
orderBy: {descendingByField: "Block_Timefield"}
where: {Trade: {Currency: {MintAddress: {is: "2zMMhcVQEXDtdE6vsFS7S7D5oUodfJHE8vd1gnBouauv"}}, Market: {MarketAddress: {is: "C6ELogyx2aAd4FfMS9YcVQ284sPvD454hNaFGj7WFYYh"}}, PriceAsymmetry: {lt: 0.1}}, Block: {Time: {till: "2025-07-20T08:00:00Z"}}}
) {
Block {
Timefield: Time(interval: {in: minutes, count: 1})
}
volume: sum(of: Trade_Amount)
Trade {
high: Price(maximum: Trade_Price)
low: Price(minimum: Trade_Price)
open: Price(minimum: Block_Slot)
close: Price(maximum: Block_Slot)
}
count
}
}
}
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