query pumpfun token klines between time
Returns 10 DEX trades by token on Solana, where currency mint address is Ci7KUV…5Jo8, DEX program address is 6EF8rr…wF6P and block time since 2024-08-20, sorted by block time: block time, sum of trade amount, sum of trade side amount, trade price and count.
What it returns
- block time
- sum of trade amount
- sum of trade side amount
- trade price
- count
Filters
- currency mint address is Ci7KUV…5Jo8
- DEX program address is 6EF8rr…wF6P
- block time since 2024-08-20
- block time till 2024-08-20
- trade price asymmetry is below 0.1
The query
query querySolanaTokenKlines($dataset: dataset_arg_enum, $limit: Int, $programAddress: String, $mintAddress: String, $interval: OLAP_DateTimeIntervalUnits, $intervalCount: Int) {
Solana(dataset: $dataset) {
DEXTradeByTokens(
orderBy: {ascending: Block_Time}
where: {
Trade: {
Currency: {
MintAddress: {is: $mintAddress}
},
Dex: {
ProgramAddress: {is: $programAddress}
},
PriceAsymmetry: {lt: 0.1}
},
Block: {
Time: {
since: "2024-08-20T21:43:00Z",
till: "2024-08-20T21:46:00Z"
}
}
}
limit: {count: $limit}
) {
Block {
Timefield: Time(interval: {in: $interval, count: $intervalCount})
}
volume: sum(of: Trade_Amount)
quoteAssetVolume: 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)
}
count
}
}
}
Variables
{
"dataset": "archive",
"limit": 10,
"programAddress": "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P",
"mintAddress": "Ci7KUVXMKasNiLu5bTKi3J7tJhiFVxf4M4D2Gu75Jo8",
"interval": "minutes",
"intervalCount": 1
}
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