Raydium pool trading stats
Returns 5000 DEX trades by token on Solana, where side currency mint address is So1111…1112, currency mint address is bioJ9J…SvUJ and block time since 2025-05-06, sorted by block time: count, sum of trade side amount, sum of trade side amount in USD, block time, side currency mint address, side currency name, side currency symbol and 5 more fields.
What it returns
- count
- sum of trade side amount
- sum of trade side amount in USD
- block time
- side currency mint address
- side currency name
- side currency symbol
- currency symbol
- currency mint address
- currency name
- protocol name
- protocol family
Filters
- side currency mint address is So1111…1112
- currency mint address is bioJ9J…SvUJ
- block time since 2025-05-06
- side amount is above 0
The query
query archivetrades($token: String, $base: String, $after: DateTime!) {
Solana(network: solana, dataset: archive) {
DEXTradeByTokens(
orderBy: {ascending: Block_Time}
limit: {count: 5000}
where: {Transaction: {Result: {Success: true}}, Trade: {Side: {Amount: {gt: "0"}, Currency: {MintAddress: {is: $base}}}, Currency: {MintAddress: {is: $token}}}, Block: {Time: {since: $after}}}
) {
trades: count
volume: sum(of: Trade_Side_Amount)
usd_volume: sum(of: Trade_Side_AmountInUSD)
buy_volume: sum(
of: Trade_Side_Amount
if: {Trade: {Side: {Type: {is: buy}}}}
)
sell_volume: sum(
of: Trade_Side_Amount
if: {Trade: {Side: {Type: {is: sell}}}}
)
Block {
Time
}
Trade {
Side {
Currency {
MintAddress
Name
Symbol
}
}
Currency {
Symbol
MintAddress
Name
}
Dex {
ProtocolName
ProtocolFamily
}
}
}
}
}
Variables
{
"after": "2025-05-06T00:00:00Z",
"base": "So11111111111111111111111111111111111111112",
"token": "bioJ9JTqW62MLz7UKHU69gtKhPpGi1BQhccj2kmSvUJ"
}
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