latest price
Returns the latest DEX pools on Solana, where market market address is 8ujpQX…72US and base currency mint address is 9tqjeR…bonk: base price, base price in USD, base currency mint address and quote currency mint address.
What it returns
- base price
- base price in USD
- base currency mint address
- quote currency mint address
Filters
- market market address is 8ujpQX…72US
- base currency mint address is 9tqjeR…bonk
The query
query MultiTokenMinimal($tokens: [String!]!) {
Solana {
DEXPoolsBase: DEXPools(
where: {Pool: {Market: {MarketAddress: {is: "8ujpQXxnnWvRohU2oCe3eaSzoL7paU2uj3fEn4Zp72US"}, BaseCurrency: {MintAddress: {in: $tokens}}}}}
orderBy: {descending: Block_Time}
limitBy: {by: Pool_Market_BaseCurrency_MintAddress, count: 1}
) {
Pool {
Base {
Price
PriceInUSD
}
Market {
BaseCurrency {
MintAddress
}
QuoteCurrency {
MintAddress
}
}
}
}
}
}
Variables
{
"tokens": [
"9tqjeRS1swj36Ee5C1iGiwAxjQJNGAVCzaTLwFY8bonk"
]
}
Similar queries
- Solana Pool Latest Price · Solana · DexPools
- Solana Pool Price History Last Hour · Solana · DexPools
- price · Solana · DEXTradeByTokens
- websocket Solana dexpool api · Solana · DexPools
- query solana pools · Solana · DexPools