Solana-USDC-SOL-Trades-Both-Sides
Streams the latest DEX trades on Solana as they happen, where buy currency mint address is EPjFWd…Dt1v or So1111…1112 and sell currency mint address is EPjFWd…Dt1v or So1111…1112: buy amount, buy currency mint address, buy price in USD, sell amount, sell currency mint address and sell price in USD.
What it returns
- buy amount
- buy currency mint address
- buy price in USD
- sell amount
- sell currency mint address
- sell price in USD
Filters
- buy currency mint address is EPjFWd…Dt1v or So1111…1112
- sell currency mint address is EPjFWd…Dt1v or So1111…1112
The subscription
subscription MyQuery($tokens: [String!]) {
Solana {
DEXTrades(
orderBy: {descending: Block_Time}
where: {Transaction: {Result: {Success: true}}, Trade: {Buy: {Currency: {MintAddress: {in: $tokens}}}, Sell: {Currency: {MintAddress: {in: $tokens}}}}}
) {
Trade {
Buy {
Amount
Currency {
MintAddress
}
PriceInUSD
}
Sell {
Amount
Currency {
MintAddress
}
PriceInUSD
}
}
}
}
}
Variables
{"tokens": ["EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v", "So11111111111111111111111111111111111111112"]}
Similar queries
- SolanaDexTradesStreamAllSigners · Solana · DEXTrades
- SolanaDexTradesStreamOneSigner · Solana · DEXTrades
- subscription Solana · Solana · DEXTrades
- jupiter trades · Solana · DEXTrades
- solana subscription · Solana · DEXTrades