marketcap and liquidity
Returns the latest DEX pool on Solana, where quote currency mint address is So1111…1112 and block time since time: base post amount in USD, post balance in USD, currency name, currency mint address and currency symbol.
What it returns
- base post amount in USD
- post balance in USD
- currency name
- currency mint address
- currency symbol
Filters
- quote currency mint address is So1111…1112
- block time since time
The query
query MyQuery($time: DateTime, $token: String) {
Solana {
liquidity: DEXPools(
where: {Pool: {Market: {BaseCurrency: {MintAddress: {is: $token}}, QuoteCurrency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}}}}
limit: {count: 1}
orderBy: {descending: Block_Time}
) {
Pool {
Base {
PostAmountInUSD
}
}
}
marketcap: TokenSupplyUpdates(
where: {TokenSupplyUpdate: {Currency: {MintAddress: {is: $token}}}, Block: {Time: {since: "time"}}}
limitBy: {by: TokenSupplyUpdate_Currency_MintAddress, count: 1}
orderBy: {descending: Block_Time}
) {
TokenSupplyUpdate {
PostBalanceInUSD
Currency {
Name
MintAddress
Symbol
}
}
}
}
}
Variables
{
"time_1h_ago": "2025-02-25T11:24:41Z",
"token":"98mb39tPFKQJ4Bif8iVg9mYb9wsfPZgpgN1sxoVTpump",
}
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