Average-Price-and-Total-Volume-Traded-for-24-hours-for-WSOL-on-Lifinity-DEX-on-Solana
Returns DEX trades on Solana, where buy currency mint address is EPjFWd…Dt1v, sell currency mint address is So1111…1112 and DEX protocol family is Lifinity: sum of trade sell amount and average of trade sell price.
What it returns
- sum of trade sell amount
- average of trade sell price
Filters
- buy currency mint address is EPjFWd…Dt1v
- sell currency mint address is So1111…1112
- DEX protocol family is Lifinity
- block time after 2024-06-11
- block time before 2024-06-12
The query
query TradeParameters {
Solana {
DEXTrades(
where: {Trade: {Dex: {ProtocolFamily: {is: "Lifinity"}}, Buy: {Currency: {MintAddress: {is: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"}}}, Sell: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}}}, Block: {Time: {after: "2024-06-11T00:00:00Z", before: "2024-06-12T00:00:00Z"}}}
) {
Volume: sum(of: Trade_Sell_Amount)
AveragePrice: average(of: Trade_Sell_Price)
}
}
}
Similar queries
- PumpSwap boost buy-and-burn trades · Solana · DEXTrades
- PumpSwap trades count by instruction method · Solana · DEXTrades
- FOMO App: One Wallet's Trades (Solana) · Solana · DEXTrades
- FOMO App: Latest Trades (Solana) · Solana · DEXTrades
- Solana dextrades for a token · Solana · DEXTrades