Trades from x to y timestamps, correct order v3
Retrieve trades ranging between two predefined timestamps
Returns 10000 DEX trades by token on Solana, where currency mint address is 8APgYm…pump, block time after 2025-01-26 and block time before 2025-01-26: slot, block time, transaction signature, signer, transaction fee, transaction index, side type and 3 more fields.
What it returns
- slot
- block time
- transaction signature
- signer
- transaction fee
- transaction index
- side type
- side amount in USD
- price in USD
- trade amount
Filters
- currency mint address is 8APgYm…pump
- block time after 2025-01-26
- block time before 2025-01-26
The query
query LatestTrades {
Solana(dataset: realtime) {
DEXTradeByTokens(
where: {Trade: {Currency: {MintAddress: {is: "8APgYmmVEZpm3HSnqd68sGHboTLFEbSFFCEdpBeNpump"}}}, Block: {Time: {after: "2025-01-26T08:32:13Z", before: "2025-01-26T08:38:13Z"}}, Transaction: {Result: {Success: true}}}
orderBy: [{ascending: Block_Slot}, {ascending: Transaction_Index}, {ascending: Instruction_Index}]
limit: {count: 10000, offset: 0}
) {
Block {
Slot
Time
}
Transaction {
Signature
Signer
Fee
Index
}
Trade {
Side {
Type
AmountInUSD
}
PriceInUSD
Amount
}
}
}
}
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