query_ohlc_quantile__
Returns 10 DEX trades by token on Solana, where currency mint address is So1111…1112, side currency mint address is EPjFWd…Dt1v and trade amount is above 0, sorted by block time: block time, quantile of trade price, median of trade price, quantile of trade side amount, median of trade side amount, sum of trade side amount, trade price and 4 more fields.
What it returns
- block time
- quantile of trade price
- median of trade price
- quantile of trade side amount
- median of trade side amount
- sum of trade side amount
- trade price
- currency name
- currency symbol
- side currency name
- side currency symbol
Filters
- currency mint address is So1111…1112
- side currency mint address is EPjFWd…Dt1v
- trade amount is above 0
The query
query TradesSolToken($ca: String!, $currencies: [String!], $dataset: dataset_arg_enum, $interval: Int) {
Solana(dataset: $dataset) {
DEXTradeByTokens(
limit: {count: 10}
orderBy: {ascendingByField: "Block_Time"}
where: {Trade: {Amount: {gt: "0"}, Currency: {MintAddress: {is: $ca}}, Side: {Currency: {MintAddress: {in: $currencies}}}}, Transaction: {Result: {Success: true}}}
) {
Block {
Time(interval: {count: $interval, in: minutes})
}
px_pct_25th: quantile(of: Trade_Price, level: 0.25)
px_pct_75th: quantile(of: Trade_Price, level: 0.75)
px_median: median(of: Trade_Price)
qty_pct_25th: quantile(of: Trade_Side_Amount, level: 0.25)
qty_pct_75th: quantile(of: Trade_Side_Amount, level: 0.75)
qty_median: median(of: Trade_Side_Amount)
volume: sum(of: Trade_Side_Amount)
Trade {
high: Price(maximum: Trade_Price)
low: Price(minimum: Trade_Price)
open: Price(minimum: Block_Slot)
close: Price(maximum: Block_Slot)
Currency {
Name
Symbol
}
Side {
Currency {
Name
Symbol
}
}
}
}
}
}
Variables
{
"interval": 30,
"dataset": "combined",
"ca": "So11111111111111111111111111111111111111112",
"currencies": [
"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
]
}
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