Solana Get Pools for Token
Returns DEX pools on Solana, sorted by pool base post amount in USD maximum, highest first: quote currency symbol, quote currency name, quote currency mint address, metadata address, market address, base currency symbol, base currency name and 7 more fields.
What it returns
- quote currency symbol
- quote currency name
- quote currency mint address
- metadata address
- market address
- base currency symbol
- base currency name
- base currency mint address
- decimals
- protocol family
- base post amount
- base post amount in USD
- quote post amount
- quote post amount in USD
The query
query ($tokenA: String!, $tokenB: String!) {
Solana {
DEXPools(
orderBy: { descendingByField: "Pool_Base_PostAmountInUSD_maximum" },
where: {
any: [
{
Pool: {
Market: {
BaseCurrency: { MintAddress: { is: $tokenA } },
QuoteCurrency: { MintAddress: { is: $tokenB } }
}
}
},
{
Pool: {
Market: {
BaseCurrency: { MintAddress: { is: $tokenB } },
QuoteCurrency: { MintAddress: { is: $tokenA } }
}
}
}
]
}
) {
Pool {
Market {
QuoteCurrency {
Symbol
Name
MintAddress
MetadataAddress
}
MarketAddress
BaseCurrency {
Symbol
Name
MintAddress
Decimals
}
}
Dex {
ProtocolFamily
}
Base {
PostAmount(maximum: Block_Slot)
PostAmountInUSD(maximum: Block_Slot)
}
Quote {
PostAmount(maximum: Block_Slot)
PostAmountInUSD(maximum: Block_Slot)
}
}
}
}
}
Variables
{
"tokenA": "FUAfBo2jgks6gB4Z4LfZkqSZgzNucisEHqnNebaRxM1P",
"tokenB": "So11111111111111111111111111111111111111112"
}
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