anmol example
Returns DEX trades on Solana: block time, buy amount, buy account address, buy account, buy buy side, buy price, buy currency mint address and 8 more fields.
What it returns
- block time
- buy amount
- buy account address
- buy account
- buy buy side
- buy price
- buy currency mint address
- buy currency name
- protocol name
- program address
- market address
- sell account address
- sell amount
- sell price
- sell currency name
The query
query MyQuery {
Solana(network: solana, dataset: realtime) {
DEXTrades(
where: {any: [{Trade: {Buy: {Currency: {MintAddress: {is: "BoAQaykj3LtkM2Brevc7cQcRAzpqcsP47nJ2rkyopump"}}}}}, {Trade: {Sell: {Currency: {MintAddress: {is: "BoAQaykj3LtkM2Brevc7cQcRAzpqcsP47nJ2rkyopump"}}}}}]}
) {
Block {
Time
}
Trade {
Buy {
Amount
Account {
Address
}
Order {
Account
BuySide
}
Price
Currency {
MintAddress
Name
}
}
Dex {
ProtocolName
ProgramAddress
}
Market {
MarketAddress
}
Sell {
Account {
Address
}
Amount
Price
Currency {
Name
}
}
}
}
}
}
Similar queries
- PumpSwap boost buy-and-burn trades · Solana · DEXTrades
- PumpSwap trades count by instruction method · Solana · DEXTrades
- FOMO App: One Wallet's Trades (Solana) · Solana · DEXTrades
- FOMO App: Latest Trades (Solana) · Solana · DEXTrades
- Solana dextrades for a token · Solana · DEXTrades