Wrong liquidity query with market address and token
all pairs of sol token
Returns the latest DEX pool on Solana, where base currency mint address is 6p6xgH…GiPN and market market address is GnjWvv…oZ1V: block time, base currency symbol, base currency name, base currency mint address, quote currency symbol, quote currency name, quote currency mint address and 6 more fields.
What it returns
- block time
- base currency symbol
- base currency name
- base currency mint address
- quote currency symbol
- quote currency name
- quote currency mint address
- market address
- protocol family
- base post amount
- base post amount in USD
- quote post amount
- quote post amount in USD
Filters
- base currency mint address is 6p6xgH…GiPN
- market market address is GnjWvv…oZ1V
The query
query ($token: String) {
Solana {
DEXPools(
orderBy: {descending: Block_Time}
limit: {count: 1}
where: {Pool: {Market: {BaseCurrency: {MintAddress: {is: $token}}, MarketAddress: {is: "GnjWvvFY1ZhWj5wJSZBxcpP6PqYmdXFaGgdgFKKYoZ1V"}}}, Transaction: {Result: {Success: true}}}
) {
Block {
Time
}
Pool {
Market {
BaseCurrency {
Symbol
Name
MintAddress
}
QuoteCurrency {
Symbol
Name
MintAddress
}
MarketAddress
}
Dex {
ProtocolFamily
}
Base {
PostAmount
PostAmountInUSD
}
Quote {
PostAmount
PostAmountInUSD
}
}
}
}
}
Variables
{
"token": "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN"
}
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