Track Trades Of A Token On A DEX
Streams DEX trades on Solana as they happen, where buy currency mint address is So1111…1112 and DEX program address is whirLb…tyCc: block height, block time, buy amount, buy amount in USD, buy currency name, buy currency symbol, protocol name and 4 more fields.
What it returns
- block height
- block time
- buy amount
- buy amount in USD
- buy currency name
- buy currency symbol
- protocol name
- sell amount
- sell amount in USD
- sell currency name
- sell currency symbol
Filters
- buy currency mint address is So1111…1112
- DEX program address is whirLb…tyCc
The subscription
subscription {
Solana {
DEXTrades(
where: {Trade: {Buy: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}}, Dex: {ProgramAddress: {is: "whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc"}}}}
) {
Block {
Height
Time
}
Trade {
Buy {
Amount
AmountInUSD
Currency {
Name
Symbol
}
}
Dex {
ProtocolName
}
Sell {
Amount
AmountInUSD
Currency {
Name
Symbol
}
}
}
}
}
}
Similar queries
- SolanaDexTradesStreamAllSigners · Solana · DEXTrades
- SolanaDexTradesStreamOneSigner · Solana · DEXTrades
- subscription Solana · Solana · DEXTrades
- jupiter trades · Solana · DEXTrades
- solana subscription · Solana · DEXTrades