LAST LAST

Streams DEX trades by token on Solana as they happen, where DEX program address is pAMMBa…fXEA, currency mint address is not So1111…1112 and side type is buy: block time, transaction signature, signer, market address, protocol name, protocol family, price in USD and 9 more fields.

By Nick · saved 3 July 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  Solana {
    DEXTradeByTokens(
      where: {Transaction: {Result: {Success: true}}, Trade: {Side: {AmountInUSD: {ge: "1000"}, Type: {is: buy}, Order: {}}, Dex: {ProgramAddress: {is: "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA"}}, Currency: {MintAddress: {not: "So11111111111111111111111111111111111111112"}}}}
    ) {
      Block {
        Time
      }
      Transaction {
        Signature
        Signer
      }
      Trade {
        Market {
          MarketAddress
        }
        Dex {
          ProtocolName
          ProtocolFamily
        }
        PriceInUSD
        Currency {
          Name
          MintAddress
        }
        Side {
          Type
          Currency {
            Symbol
            Name
            MintAddress
          }
          AmountInUSD
          Amount
        }
        Amount
      }
    }
  }
}

Similar queries