track SPL token swap transactions to calculate the token price and get information about wallets
Streams DEX trades on Solana as they happen, where buy currency mint address is EPjFWd…Dt1v and sell currency mint address is 111111…1111: transaction signature, program address, protocol name, buy amount, buy account address, buy decimals, buy fungible and 13 more fields.
What it returns
- transaction signature
- program address
- protocol name
- buy amount
- buy account address
- buy decimals
- buy fungible
- buy currency symbol
- buy currency mint address
- buy native
- buy currency name
- buy price
- sell account address
- sell decimals
- sell fungible
- sell currency symbol
- sell currency mint address
- sell native
- sell currency name
- sell price
Filters
- buy currency mint address is EPjFWd…Dt1v
- sell currency mint address is 111111…1111
The subscription
subscription {
Solana {
DEXTrades(
where: {Trade: {Buy: {Currency: {MintAddress: {is: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"}}}, Sell: {Currency: {MintAddress: {is: "11111111111111111111111111111111"}}}}}
) {
Transaction {
Signature
}
Trade {
Dex {
ProgramAddress
ProtocolName
}
Buy {
Amount
Account {
Address
}
Currency {
Decimals
Fungible
Symbol
MintAddress
Native
Name
}
Price
}
Sell {
Account {
Address
}
Currency {
Decimals
Fungible
Symbol
MintAddress
Native
Name
}
Price
}
}
}
}
}
Similar queries
- SolanaDexTradesStreamAllSigners · Solana · DEXTrades
- SolanaDexTradesStreamOneSigner · Solana · DEXTrades
- subscription Solana · Solana · DEXTrades
- jupiter trades · Solana · DEXTrades
- solana subscription · Solana · DEXTrades