Applying condition on results of another
Returns the latest 100 DEX trades by token on Solana, where currency mint address is not 111111…1111, DEX protocol name is pump and block time before 2025-05-02: currency name, currency symbol, currency mint address, trade price and price in USD.
What it returns
- currency name
- currency symbol
- currency mint address
- trade price
- price in USD
Filters
- currency mint address is not 111111…1111
- DEX protocol name is pump
- block time before 2025-05-02
The query
{
Solana {
DEXTradeByTokens(
where: {Trade: {Dex: {ProtocolName: {is: "pump"}}, Currency: {MintAddress: {not: "11111111111111111111111111111111"}}}, Block: {Time: {before: "2025-05-02T06:55:11Z"}}, Transaction: {Result: {Success: true}}}
limitBy: {by: Trade_Currency_MintAddress, count: 1}
limit: {count: 100}
orderBy: {descending: Block_Time}
) {
Trade {
Currency {
Name
Symbol
MintAddress
}
}
joinDEXTradeByTokens(
join: inner
Trade_Currency_MintAddress: Trade_Currency_MintAddress
where: {Trade: {Price: {ge: 0.1, le: 0.2}}}
) {
Trade {
Currency {
Name
MintAddress
}
Price
PriceInUSD
}
}
}
}
}
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