monitor price and liquidty, efficient script

Streams the latest DEX pools on Solana as they happen, where base currency mint address is Hu5wUQ…pcnz or 49rFwa…6DdH: base currency mint address, base currency symbol, base currency name, base post amount, base post amount in USD, base price in USD, quote post amount and quote post amount in USD.

By bla bla · saved 4 February 2025 · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  Solana {
    DEXPools(
      orderBy: {descending: Block_Time}
      where: {Pool: {Market: {BaseCurrency: {MintAddress: {in: ["Hu5wUQyC8VHw3mVMrMkcNu7oPLBG1C66gBpSVQsPpcnz", "49rFwakheMSoRDtG8NcKk4N66ZREra8tHSYVQfLw6DdH"]}}}}}
    ) {
      Pool {
        Market {
          BaseCurrency {
            MintAddress
            Symbol
            Name
          }
        }
        Base {
          PostAmount(maximum: Block_Slot)
          PostAmountInUSD(maximum: Block_Slot)
          PriceInUSD
        }
        Quote {
          PostAmount(maximum: Block_Slot)
          PostAmountInUSD(maximum: Block_Slot)
        }
      }
    }
  }
}

Similar queries