Trades of one Solana liquidity pool in a time window
Latest trades of one Solana liquidity pool (SOL/USDC on Raydium) from the Bitquery Trading cube over the last hour, with price, USD price, side and both tokens. One network and one cube per request avoids the response too large to compose error.
What it returns
- block time
- price
- price in USD
- side
- token address
- token symbol
- quote token address
- quote token symbol
Filters
- market address is 58oQCh…YQo2
- market network is Solana
The query
query {
Trading {
Trades(
limit: { count: 100 }
orderBy: { descending: Block_Time }
where: {
Pair: {
Market: {
Network: { is: "Solana" }
Address: { is: "58oQChx4yWmvKdwLLZzBi4ChoCc2fqCUWBkwMihLYQo2" }
}
}
Block: { Time: { since_relative: { hours_ago: 1 } } }
}
) {
Block {
Time
}
Price
PriceInUsd
Side
Pair {
Token {
Address
Symbol
}
QuoteToken {
Address
Symbol
}
}
}
}
}
Similar queries
- Elysium latest trades of one token (WHYPE) · Trading (all chains) · Trades
- Elysium DEX protocols by trade count · Trading (all chains) · Trades
- FOMO App: Trades per Day (Trading API) · Trading (all chains) · Trades
- save with commit · Trading (all chains) · Tokens