Monitor price and liquidity, try 1

Streams the latest DEX trades by token and DEX pools on Solana as they happen, where base currency mint address is Hu5wUQ…pcnz or 49rFwa…6DdH: block time, currency mint address, currency symbol, currency name, price in USD, base currency mint address, base currency symbol and 6 more fields.

By megi · saved 4 February 2025 · run 3 times · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  Solana {
    DEXTradeByTokens(
      orderBy: {descending: Block_Time}
      where: {any: [{Trade: {Currency: {MintAddress: {in: ["Hu5wUQyC8VHw3mVMrMkcNu7oPLBG1C66gBpSVQsPpcnz", "49rFwakheMSoRDtG8NcKk4N66ZREra8tHSYVQfLw6DdH"]}}}}]}
    ) {
      Block {
        Time
      }
      Trade {
        Currency {
          MintAddress
          Symbol
          Name
        }
        PriceInUSD
      }
    }
    DEXPools(
      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