Token swaps
Returns 1000 DEX trades on Solana: block time, transaction signature, buy amount, buy amount in USD, buy price in USD, buy currency mint address, sell amount and 3 more fields.
What it returns
- block time
- transaction signature
- buy amount
- buy amount in USD
- buy price in USD
- buy currency mint address
- sell amount
- sell amount in USD
- sell price in USD
- sell currency mint address
The query
{
Solana(dataset: realtime) {
DEXTrades(
where: {
any: [
{
Trade: {
Buy: {
Currency: {
MintAddress: {
is: "ACqTXUGTbgUDq6REYZQtB9E7BprHrnuJooC1tQKFmmoq"
}
}
}
}
}
{
Trade: {
Sell: {
Currency: {
MintAddress: {
is: "ACqTXUGTbgUDq6REYZQtB9E7BprHrnuJooC1tQKFmmoq"
}
}
}
}
}
]
}
orderBy: [
{ ascending: Block_Slot }
{ ascending: Transaction_Index }
{ ascending: Instruction_Index }
{ ascending: Trade_Index }
]
limit: { count: 1000 }
) {
Block {
Time
}
Transaction {
Signature
}
Trade {
Buy {
Amount
AmountInUSD
PriceInUSD
Currency {
MintAddress
}
}
Sell {
Amount
AmountInUSD
PriceInUSD
Currency {
MintAddress
}
}
}
}
}
}
Similar queries
- Solana DEX Trades: Buy and Sell Accounts with DEX Name · Solana · DEXTrades
- Solana DEXTrades Archive Coverage, Last 7 Days · 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