mirror-link-query
Returns the latest DEX pool on Solana, where base currency mint address is DezXAZ…B263, currency mint address is DezXAZ…B263 and DEX protocol family is Raydium, Pumpswap or 1 more: base post amount, quote post amount, protocol family, base currency name, base currency symbol, base currency mint address, quote currency name and 6 more fields.
What it returns
- base post amount
- quote post amount
- protocol family
- base currency name
- base currency symbol
- base currency mint address
- quote currency name
- quote currency symbol
- quote currency mint address
- post balance in USD
- post balance
- market address
- price in USD
Filters
- base currency mint address is DezXAZ…B263
- currency mint address is DezXAZ…B263
- DEX protocol family is Raydium, Pumpswap or 1 more
The query
query MyQuery($token: String!) {
Solana {
DEXPools(
where: {Pool: {Market: {BaseCurrency: {MintAddress: {is: $token}}}, Dex: {ProtocolFamily: {in: ["Raydium", "Pumpswap", "OrcaWhirpool"]}}}}
limitBy: {by: Pool_Market_MarketAddress, count: 1}
orderBy: {descending: Block_Time}
) {
Pool {
Base {
BaseLiquidity: PostAmount
}
Quote {
QuoteLiquidity: PostAmount
}
Dex {
ProtocolFamily
}
Market {
BaseCurrency {
Name
Symbol
MintAddress
}
QuoteCurrency {
Name
Symbol
MintAddress
}
}
}
}
TokenSupplyUpdates(
where: {TokenSupplyUpdate: {Currency: {MintAddress: {is: $token}}}}
orderBy: {descending: Block_Time}
limit: {count: 1}
) {
TokenSupplyUpdate {
Marketcap: PostBalanceInUSD
TotalSupply: PostBalance
}
}
DEXTradeByTokens(
limitBy: {by:Trade_Market_MarketAddress count:1}
orderBy: {descending: Block_Time}
where: {Trade:{Currency:{MintAddress:{is:$token}}}}
){
Trade{
Market{
MarketAddress
}
PriceInUSD
}
}
}
}
Variables
{
"token": "DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263"
}
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