Solana-USDC-SOL-Trades-Both-Sides-edited
Streams the latest DEX trades on Solana as they happen, where DEX program address is 675kPX…1Mp8, buy currency mint address is AujTJJ…ZLmG or So1111…1112 and sell currency mint address is AujTJJ…ZLmG or So1111…1112: buy amount, buy currency mint address, buy price in USD, buy amount in USD, sell amount, sell currency mint address, sell price in USD and 6 more fields.
What it returns
- buy amount
- buy currency mint address
- buy price in USD
- buy amount in USD
- sell amount
- sell currency mint address
- sell price in USD
- sell amount in USD
- market address
- transaction signature
- signer
- block time
- slot
Filters
- DEX program address is 675kPX…1Mp8
- buy currency mint address is AujTJJ…ZLmG or So1111…1112
- sell currency mint address is AujTJJ…ZLmG or So1111…1112
The subscription
subscription MyQuery($tokens: [String!]) {
Solana {
DEXTrades(
orderBy: {descending: Block_Time}
where: {Transaction: {Result: {Success: true}}, Trade: {Dex: {ProgramAddress: {is: "675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8"}}, Buy: {Currency: {MintAddress: {in: $tokens}}}, Sell: {Currency: {MintAddress: {in: $tokens}}}}}
) {
Trade {
Buy {
Amount
Currency {
MintAddress
}
PriceInUSD
AmountInUSD
}
Sell {
Amount
Currency {
MintAddress
}
PriceInUSD
AmountInUSD
}
Market {
MarketAddress
}
}
Transaction {
Signature
Signer
}
Block {
Time
Slot
}
}
}
}
Variables
{"tokens": ["AujTJJ7aMS8LDo3bFzoyXDwT3jBALUbu4VZhzZdTZLmG", "So11111111111111111111111111111111111111112"]}
Similar queries
- SolanaDexTradesStreamAllSigners · Solana · DEXTrades
- SolanaDexTradesStreamOneSigner · Solana · DEXTrades
- subscription Solana · Solana · DEXTrades
- jupiter trades · Solana · DEXTrades
- solana subscription · Solana · DEXTrades