Solana dextrades for a token
测试用例1
Returns the latest 25000 DEX trades on Solana: program address, protocol name, protocol family, buy amount, buy amount in USD, buy currency symbol, buy currency name and 18 more fields.
What it returns
- program address
- protocol name
- protocol family
- buy amount
- buy amount in USD
- buy currency symbol
- buy currency name
- buy currency mint address
- buy price
- buy price in USD
- buy account address
- buy token owner
- sell amount
- sell amount in USD
- sell currency symbol
- sell currency name
- sell currency mint address
- sell price
- sell price in USD
- sell account address
- sell token owner
- block time
- block height
- transaction signature
- fee payer
The query
query LatestTrades {
Solana {
DEXTrades(
where: {
any: [
{Trade: {Buy: {Currency: {MintAddress: {is: "5zCETicUCJqJ5Z3wbfFPZqtSpHPYqnggs1wX7ZRpump"}}}}}
{Trade: {Sell: {Currency: {MintAddress: {is: "5zCETicUCJqJ5Z3wbfFPZqtSpHPYqnggs1wX7ZRpump"}}}}}
]
Transaction: {Result: {Success: true}}
}
limit: {count: 25000}
orderBy: {descending: Block_Time}
) {
Trade {
Dex {
ProgramAddress
ProtocolName
ProtocolFamily
}
Buy {
Amount
AmountInUSD
Currency {
Symbol
Name
MintAddress
}
Price
PriceInUSD
Account {
Address
Token {
Owner
}
}
}
Sell {
Amount
AmountInUSD
Currency {
Symbol
Name
MintAddress
}
Price
PriceInUSD
Account {
Address
Token {
Owner
}
}
}
}
Block {
Time
Height
}
Transaction {
Signature
FeePayer
}
}
}
}
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
- sol_meteora_dlmm_ · Solana · DEXTrades