token prices
Returns the latest DEX trades on Solana, where buy currency mint address is HRw8mq…NuEP or Hk82ay…mKuL, buy currency mint address is So1111…1112 and sell currency mint address is Es9vMF…wNYB: buy currency mint address and buy price in USD.
What it returns
- buy currency mint address
- buy price in USD
Filters
- buy currency mint address is HRw8mq…NuEP or Hk82ay…mKuL
- buy currency mint address is So1111…1112
- sell currency mint address is Es9vMF…wNYB
The query
query CurrentPrices {
Solana {
token0: DEXTrades(
limitBy: {count: 1, by: Trade_Buy_Currency_MintAddress}
orderBy: {descending: Block_Time}
where: {Trade: {Buy: {Currency: {MintAddress: {in: ["HRw8mqK8N3ASKFKJGMJpy4FodwR3GKvCFKPDQNqUNuEP", "Hk82ay38uGpYgqjdXXCiATavVQwAMaBNyxsUWbapmKuL"]}}}}, Transaction: {Result: {Success: true}}}
) {
Trade {
Buy {
Currency {
MintAddress
}
PriceInUSD
}
}
}
sol: DEXTrades(
limitBy: {count: 1, by: Trade_Buy_Currency_MintAddress}
orderBy: {descending: Block_Time}
where: {Trade: {Buy: {Currency: {MintAddress: {in: ["So11111111111111111111111111111111111111112"]}}}, Sell: {Currency: {MintAddress: {is: "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB"}}}}, Transaction: {Result: {Success: true}}}
) {
Trade {
Buy {
Currency {
MintAddress
}
PriceInUSD
}
}
}
}
}
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