minute level data
Returns 25000 DEX trades by token on Solana, where account owner is AthkTa…NnF8, block time since 2026-01-28 and block time till 2026-07-28, sorted by block time: block time, currency name, currency symbol, currency mint address, account owner, count, sum of trade amount and 2 more fields.
What it returns
- block time
- currency name
- currency symbol
- currency mint address
- account owner
- count
- sum of trade amount
- sum of trade side amount in USD
- calculate
Filters
- account owner is AthkTa…NnF8
- block time since 2026-01-28
- block time till 2026-07-28
The query
{
Solana(dataset: archive) {
DEXTradeByTokens(
where: {
Trade: {
Account: {
Owner: { is: "AthkTa7HDrdDAEoUxqSdch3HMcEzqxH3VYYePgTKNnF8" }
}
}
Transaction: { Result: { Success: true } }
Block: {
Time: {
since: "2026-01-28T16:00:00Z"
till: "2026-07-28T17:00:00Z"
}
}
}
orderBy: { ascendingByField: "Block_Time" }
limit: { count: 25000 }
) {
Block {
Time(interval: { in: minutes, count: 1 })
}
Trade {
Currency {
Name
Symbol
MintAddress
}
Account {
Owner
}
}
buys: count(if: { Trade: { Side: { Type: { is: buy } } } })
sells: count(if: { Trade: { Side: { Type: { is: sell } } } })
buy_volume: sum(
of: Trade_Amount
if: { Trade: { Side: { Type: { is: buy } } } }
)
sell_volume: sum(
of: Trade_Amount
if: { Trade: { Side: { Type: { is: sell } } } }
)
buy_volume_usd: sum(
of: Trade_Side_AmountInUSD
if: { Trade: { Side: { Type: { is: buy } } } }
)
sell_volume_usd: sum(
of: Trade_Side_AmountInUSD
if: { Trade: { Side: { Type: { is: sell } } } }
)
volume_usd: sum(of: Trade_Side_AmountInUSD)
RealizedPnL: calculate(expression: "$sell_volume_usd - $buy_volume_usd")
avg_buy_price: calculate(expression: "$buy_volume_usd / $buy_volume")
trades: 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