buy_sell_volume
Returns DEX trades on Solana, where buy currency mint address is 124gpW…pump, market market address is F698LL…q2V5 and sell currency mint address is 124gpW…pump: buy currency name, buy currency symbol, sum of trade buy amount and sum of trade sell amount in.
What it returns
- buy currency name
- buy currency symbol
- sum of trade buy amount
- sum of trade sell amount in
Filters
- buy currency mint address is 124gpW…pump
- market market address is F698LL…q2V5
- sell currency mint address is 124gpW…pump
- block time since 2024-07-01
- block time till 2024-07-01
The query
query MyQuery {
Solana(network: solana) {
buy:DEXTrades(
where: {Trade: {Buy: {Currency: {MintAddress: {is: "124gpW1VL9PfAFzdGDqtbLspBKXDp2G5MaXNdJMwpump"}}}, Market: {MarketAddress: {is: "F698LL1FoX6CbQKBxM2rNJPemt1cGpAdNFNAyjKCq2V5"}}}, Block: {Time: {since: "2024-07-01T09:34:29Z", till: "2024-07-01T10:34:29Z"}}, Transaction: {Result: {Success: true}}}
) {
Trade {
Buy {
Currency {
Name
Symbol
}
}
}
sum(of: Trade_Buy_Amount)
}
sell:DEXTrades(
where: {Trade: {Sell: {Currency: {MintAddress: {is: "124gpW1VL9PfAFzdGDqtbLspBKXDp2G5MaXNdJMwpump"}}}, Market: {MarketAddress: {is: "F698LL1FoX6CbQKBxM2rNJPemt1cGpAdNFNAyjKCq2V5"}}}, Block: {Time: {since: "2024-07-01T09:34:29Z", till: "2024-07-01T10:34:29Z"}}, Transaction: {Result: {Success: true}}}
) {
Trade {
Buy {
Currency {
Name
Symbol
}
}
}
sum(of: Trade_Sell_AmountIn)
}
}
}
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