Solana Query
Streams DEX trades on Solana as they happen, where sell currency mint address is EPjFWd…Dt1v or So1111…1112, buy currency mint address is not EPjFWd…Dt1v or So1111…1112 and DEX program address is whirLb…tyCc, CAMMCz…rWqK or 2 more: program address, market address, buy currency name, buy currency symbol, buy currency mint address, buy amount, sell amount and 5 more fields.
What it returns
- program address
- market address
- buy currency name
- buy currency symbol
- buy currency mint address
- buy amount
- sell amount
- sell currency name
- sell currency symbol
- sell currency mint address
- transaction signature
- signer
Filters
- sell currency mint address is EPjFWd…Dt1v or So1111…1112
- buy currency mint address is not EPjFWd…Dt1v or So1111…1112
- DEX program address is whirLb…tyCc, CAMMCz…rWqK or 2 more
The subscription
subscription MyQuery {
Solana {
DEXTrades(
where: {
Trade: {
Sell: {
Currency: {
MintAddress: {
in: ["EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v", "So11111111111111111111111111111111111111112"]
}
}
},
Buy: {
Currency: {
MintAddress: {
notIn: ["EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v", "So11111111111111111111111111111111111111112"]
}
}
},
Dex: {
ProgramAddress: {
in: ["whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc", "CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK", "675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8", "FLUXubRmkEi2q6K3Y9kBPg9248ggaZVsoSFhtJHSrm1X"]
}
}
},
Transaction: {
Result: {
Success: true
}
}
}
) {
Trade {
Dex {
ProgramAddress
}
Market {
MarketAddress
}
Buy {
Currency {
Name
Symbol
MintAddress
}
Amount
}
Sell {
Amount
Currency {
Name
Symbol
MintAddress
}
}
}
Transaction {
Signature
Signer
}
}
}
}
Similar queries
- SolanaDexTradesStreamAllSigners · Solana · DEXTrades
- SolanaDexTradesStreamOneSigner · Solana · DEXTrades
- subscription Solana · Solana · DEXTrades
- jupiter trades · Solana · DEXTrades
- solana subscription · Solana · DEXTrades