Solana-USDC-SOL-Trades-Both-Sides-edited
Streams the latest DEX trades on Solana as they happen, where buy currency mint address is AujTJJ…ZLmG, sell currency mint address is So1111…1112 and DEX program address is 675kPX…1Mp8: transaction signature, buy amount, buy currency mint address, buy price in USD, buy amount in USD, sell amount, sell currency mint address and 6 more fields.
What it returns
- transaction signature
- 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
- signer
- block time
- slot
Filters
- buy currency mint address is AujTJJ…ZLmG
- sell currency mint address is So1111…1112
- DEX program address is 675kPX…1Mp8
- buy currency mint address is So1111…1112
- sell currency mint address is AujTJJ…ZLmG
The subscription
subscription {
Solana {
BUY: DEXTrades(
orderBy: {descending: Block_Time}
where: {Transaction: {Result: {Success: true}}, Trade: {Buy: {Currency: {MintAddress: {is: "AujTJJ7aMS8LDo3bFzoyXDwT3jBALUbu4VZhzZdTZLmG"}}}, Sell: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}}, Dex: {ProgramAddress: {is: "675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8"}}}}
) {
Transaction {
Signature
}
Trade {
Buy {
Amount
Currency {
MintAddress
}
PriceInUSD
AmountInUSD
}
Sell {
Amount
Currency {
MintAddress
}
PriceInUSD
AmountInUSD
}
Market {
MarketAddress
}
}
Transaction {
Signature
Signer
}
Block {
Time
Slot
}
}
SELL: DEXTrades(
orderBy: {descending: Block_Time}
where: {Transaction: {Result: {Success: true}}, Trade: {Buy: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}}, Sell: {Currency: {MintAddress: {is: "AujTJJ7aMS8LDo3bFzoyXDwT3jBALUbu4VZhzZdTZLmG"}}}, Dex: {ProgramAddress: {is: "675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8"}}}}
) {
Transaction {
Signature
}
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