Solana Pools Top

Returns 100 DEX pools on Solana, sorted by pool quote post amount in USD maximum, highest first: protocol family, market address, base currency symbol, base currency name, base currency mint address, quote currency symbol, quote currency name and 4 more fields.

By Aleksey · saved 2 September 2024 · run 2 times · Bitquery API v2

What it returns

The query

query LiquidityPools($time_10min_ago: DateTime, $time_1h_ago: DateTime, $time_3h_ago: DateTime) {
  Solana {
    DEXPools(
      limit: {count: 100}
      orderBy: {descendingByField: "Pool_Quote_PostAmountInUSD_maximum"}) {
      
      Pool {
        
        Dex {
          ProtocolFamily
        }
        
        Market {
        	MarketAddress
          BaseCurrency {
            Symbol
            Name
            MintAddress
          }
          QuoteCurrency {
            Symbol
            Name
            MintAddress
          }
        }
        
        Base {
          PostAmount(maximum: Block_Slot)
        }
        
        Quote {
          PostAmount(maximum: Block_Slot)
          PostAmountInUSD(maximum: Block_Slot)
          
          
          amount_10min_ago: PostAmountInUSD(
          	maximum: Block_Slot
          	if: {Block: {Time: {before: $time_10min_ago}}}
        	)
          
          amount_1h_ago: PostAmountInUSD(
          	maximum: Block_Slot
          	if: {Block: {Time: {before: $time_1h_ago}}}
        	)
          
          amount_3h_ago: PostAmountInUSD(
          	maximum: Block_Slot
          	if: {Block: {Time: {before: $time_3h_ago}}}
        	)
          
        }
        
      }
      
      
      
    }
  }
}

Variables

{
  "time_10min_ago": "2024-09-02T12:11:23Z",
  "time_1h_ago": "2024-09-02T11:21:23Z",
  "time_3h_ago": "2024-09-02T09:21:23Z"
}

Similar queries