newInstructionsPrice
Streams DEX trades by token on Solana as they happen, where currency program address is Tokenk…Q5DA and DEX protocol family is Moonshot, Pumpfun or 2 more: currency mint address, currency symbol, currency name, program address, decimals, protocol family, protocol name and 11 more fields.
What it returns
- currency mint address
- currency symbol
- currency name
- program address
- decimals
- protocol family
- protocol name
- price in USD
- side amount in USD
- side type
- side amount
- side currency mint address
- side currency name
- side currency symbol
- side decimals
- trade price
- trade amount
- amount in USD
Filters
- currency program address is Tokenk…Q5DA
- DEX protocol family is Moonshot, Pumpfun or 2 more
The subscription
subscription newInstructionsPrice($protocols: [String!], $programAddress: String!) {
Solana {
DEXTradeByTokens(
where: {Transaction: {Result: {Success: true}}, Trade: {Currency: {ProgramAddress: {is: $programAddress}}, Dex: {ProtocolFamily: {in: $protocols}}}}
) {
Trade {
Currency {
MintAddress
Symbol
Name
ProgramAddress
Decimals
}
Dex {
ProtocolFamily
ProtocolName
ProgramAddress
}
PriceInUSD
Side {
AmountInUSD
Type
Amount
Currency {
MintAddress
Name
Symbol
Decimals
}
}
Price
Amount
AmountInUSD
}
}
}
}
Variables
{
"protocols": [
"Moonshot",
"Pumpfun",
"OrcaWhirpool",
"Raydium"
],
"programAddress": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
}
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