通过token查询流动池

Returns 100 DEX pools on Solana, where base currency mint address is ED5nyy…PJBY and block time after 2025-05-26, sorted by pool quote post amount in USD maximum, highest first: quote currency symbol, quote currency name, quote currency mint address, market address, protocol family, protocol name, base post amount and 3 more fields.

By liren · saved 26 May 2025 · run 3 times · Bitquery API v2

What it returns

Filters

The query

query ($token: String, $time_ago: DateTime) {
              Solana {
                DEXPools(
                  orderBy: {descendingByField: "Pool_Quote_PostAmountInUSD_maximum"}
                  where: {Transaction: {Result: {Success: true}},Pool: {Market: {BaseCurrency: {MintAddress: {is: $token}}}}, Block: {Time: {after: $time_ago}}}
                  limit: {count: 100}
                ) {
                  Pool {
                    Market {
                      QuoteCurrency {
                        Symbol
                        Name
                        MintAddress
                      }
                      MarketAddress
                    }
                    Dex {
                      ProtocolFamily
                      ProtocolName
                    }
                    Base {
                      PostAmount(maximum: Block_Slot)
                      PostAmountInUSD(maximum: Block_Slot)
                    }
                    Quote {
                      PostAmount(maximum: Block_Slot)
                      PostAmountInUSD(maximum: Block_Slot)
                    }
                  }
                }
              }
            }

Variables

{
  "token": "ED5nyyWEzpPPiWimP8vYm7sD7TD3LAt3Q3gRTWHzPJBY",
  "time_ago": "2025-05-26T01:52:54Z"
}

Similar queries