latest price for more than 1 token on solana
Streams DEX trades on Solana as they happen, where buy currency mint address is 6ogzHh…hitx or HLnTNC…QFZb and sell currency mint address is So1111…1112: average of trade buy price, buy currency name, buy currency symbol and buy currency mint address.
What it returns
- average of trade buy price
- buy currency name
- buy currency symbol
- buy currency mint address
Filters
- buy currency mint address is 6ogzHh…hitx or HLnTNC…QFZb
- sell currency mint address is So1111…1112
The subscription
subscription {
Solana {
DEXTrades(
where: {Transaction: {Result: {Success: true}}, Trade: {Buy: {Currency: {MintAddress: {in: ["6ogzHhzdrQr9Pgv6hZ2MNze7UrzBMAFyBBWUYp1Fhitx", "HLnTNCG5RD7jYVduFc1pMCHiuApoWGn9LveqEFanQFZb"]}}}, Sell: {Currency: {MintAddress: {in: ["So11111111111111111111111111111111111111112"]}}}}}
) {
average(of: Trade_Buy_Price)
Trade {
Buy {
Currency {
Name
Symbol
MintAddress
}
}
}
}
}
}
Similar queries
- SolanaDexTradesStreamAllSigners · Solana · DEXTrades
- SolanaDexTradesStreamOneSigner · Solana · DEXTrades
- subscription Solana · Solana · DEXTrades
- jupiter trades · Solana · DEXTrades
- solana subscription · Solana · DEXTrades