pumpswap trades

Streams DEX trades on Solana as they happen, where DEX program address is pAMMBa…fXEA: protocol name, sell currency symbol, sell currency mint address, sell currency name, sell amount, buy currency symbol, buy currency mint address and 6 more fields.

By endslouw · saved 18 June 2025 · Bitquery API v2

What it returns

Filters

The subscription

subscription($tokenMintAddress: String!) {
  Solana {
    DEXTrades(
      where: {
        Trade: {
          Dex: {
            ProgramAddress: {is: "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA"}
          }
          Or: [
            {Buy: {Currency: {MintAddress: {is: $tokenMintAddress}}}},
            {Sell: {Currency: {MintAddress: {is: $tokenMintAddress}}}}
          ]
        }
      }
    ) {
      Trade {
        Dex {
          ProtocolName
        }
        Sell {
          Currency {
            Symbol
            MintAddress  # Added to verify token address
            Name         # Added for better identification
          }
          Amount        # Added to see trade size
        }
        Buy {
          Currency {
            Symbol
            MintAddress  # Added to verify token address
            Name         # Added for better identification
          }
          Amount        # Added to see trade size
        }
      }
      Transaction {
        Signature
      }
      Block {
        Time            # Added timestamp for each trade
      }
      Instruction {
        ExternalSeqNumber
        InternalSeqNumber
      }
    }
  }
}

Variables

{
  "tokenMintAddress": "Et1nwX1U2PrS1A4iRvFcd6LGzYWh1C33iHvKWBCV"
}

Similar queries