Solana dextrades schema
Returns the latest DEX trade on Solana: program address, protocol name, protocol family, buy amount, buy amount in USD, buy account address, buy account owner and 22 more fields.
What it returns
- program address
- protocol name
- protocol family
- buy amount
- buy amount in USD
- buy account address
- buy account owner
- buy currency symbol
- buy currency name
- buy currency mint address
- buy price
- buy price in USD
- sell amount
- sell amount in USD
- sell account address
- sell account owner
- sell currency symbol
- sell currency name
- sell currency mint address
- sell price
- sell price in USD
- slot
- block time
- block height
- transaction signature
- fee payer
- signer
- fee in USD
- transaction fee
The query
{
Solana {
DEXTrades(
where: {Transaction: {Result: {Success: true}}}
limit: {count: 1}
orderBy: {descending: Block_Time}
) {
Trade {
Dex {
ProgramAddress
ProtocolName
ProtocolFamily
}
Buy {
Amount
AmountInUSD
Account {
Address
Owner
}
Currency {
Symbol
Name
MintAddress
}
Price
PriceInUSD
}
Sell {
Amount
AmountInUSD
Account {
Address
Owner
}
Currency {
Symbol
Name
MintAddress
}
Price
PriceInUSD
}
}
Block {
Slot
Time
Height
}
Transaction {
Signature
FeePayer
Signer
FeeInUSD
Fee
}
}
}
}
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