LatestTrades
Real time price stream for tokens on solana
Streams DEX trades by token on Solana as they happen: block time, slot, block height, currency name, currency symbol, currency mint address, decimals and 23 more fields.
What it returns
- block time
- slot
- block height
- currency name
- currency symbol
- currency mint address
- decimals
- trade price
- price in USD
- trade amount
- amount in USD
- account address
- token owner
- side type
- side currency name
- side currency symbol
- side currency mint address
- side decimals
- side amount
- side amount in USD
- protocol name
- protocol family
- program address
- market address
- trade index
- transaction signature
- signer
- fee payer
- transaction fee
- fee in USD
The subscription
subscription LatestTrades($symbols: [String!], $sideSymbols: [String!], $amountMin: String!) {
Solana {
DEXTradeByTokens(
where: {Transaction: {Result: {Success: true}}, Trade: {Currency: {MintAddress: {in: $symbols}}, Side: {AmountInUSD: {gt: $amountMin}, Currency: {MintAddress: {in: $sideSymbols}}}}}
) {
Block {
Time
Slot
Height
}
Trade {
Currency {
Name
Symbol
MintAddress
Decimals
}
Price
PriceInUSD
Amount
AmountInUSD
Account {
Address
Token {
Owner
}
}
Side {
Type
Currency {
Name
Symbol
MintAddress
Decimals
}
Amount
AmountInUSD
}
Dex {
ProtocolName
ProtocolFamily
ProgramAddress
}
Market {
MarketAddress
}
Index
}
Transaction {
Signature
Signer
FeePayer
Fee
FeeInUSD
}
}
}
}
Variables
{
"amountMin": "500"
"symbols": ["zYrqA2qMegiyPwNPqbfaFp3wB7NQqdKJMEM3j9d8Vmu"]
"sideSymbols":["", "So11111111111111111111111111111111111111112", "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v", "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB", "JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN", "EKpQGSJtjMFqKZ9KQanSqYXRcF8fBopzLHYxdM65zcjm"]
}
Similar queries
- token trades subscription · Solana · DEXTradeByTokens
- realtime trades solana · Solana · DEXTradeByTokens
- adsa · Solana · DEXTradeByTokens
- tkk raydium price · Solana · DEXTradeByTokens
- Live price of a token · Solana · DEXTradeByTokens