Pumpfun and Pumpswap latest Trades stream

Streams DEX trades on Solana as they happen, where DEX program address is 6EF8rr…wF6P or pAMMBa…fXEA: block time, method, protocol family, protocol name, program address, buy price, buy price in USD and 25 more fields.

By gaurav · saved 21 April 2025 · run 2 times · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  Solana(network: solana) {
    DEXTrades(
      where: {Trade: {Dex: {ProgramAddress: 
        {in: [
          "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P",
          "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA"]}}}}
    ) {
      Block {
        Time
      }
      Instruction {
        Program {
          Method
        }
      }
      Trade {
        Dex {
          ProtocolFamily
          ProtocolName
          ProgramAddress
        }
        Buy {
          Price
          PriceInUSD
          Amount
          AmountInUSD
          Account {
            Address
            Owner
          }
          Currency {
            Name
            Symbol
            MintAddress
            Decimals
            Fungible
            Uri
          }
        }
        Sell {
          Price
          PriceInUSD
          Amount
          AmountInUSD
          Account {
            Owner
            Address
          }
          Currency {
            Name
            Symbol
            MintAddress
            Decimals
            Fungible
            Uri
          }
        }
      }
      Transaction {
        Signature
        Signer
        FeePayer
      }
    }
  }
}

Similar queries