Pumpfun DEX Trades

Solana transaction

Streams DEX trades on Solana as they happen, where DEX protocol name is pump: method, protocol family, protocol name, buy amount, buy account address, buy currency name, buy currency symbol and 13 more fields.

By endslouw · saved 18 June 2025 · Bitquery API v2

What it returns

Filters

The subscription

subscription GetTokenTrades($tokenMintAddress: String!) {
  Solana {
    DEXTrades(
      where: {
        Trade: {
          Dex: {
            ProtocolName: {
              is: "pump"
            }
          }
          # Filter for specific token in either Buy or Sell side
          Or: [
            {Buy: {Currency: {MintAddress: {is: $tokenMintAddress}}}},
            {Sell: {Currency: {MintAddress: {is: $tokenMintAddress}}}}
          ]
        } 
        Transaction: {Result: {Success: true}}
      }
    ) {
      Instruction {
        Program {
          Method
        }
      }
      Trade {
        Dex {
          ProtocolFamily
          ProtocolName
        }
        Buy {
          Amount
          Account {
            Address
          }
          Currency {
            Name
            Symbol
            MintAddress
            Decimals
            Fungible
            Uri
          }
        }
        Sell {
          Amount
          Account {
            Address
          }
          Currency {
            Name
            Symbol
            MintAddress
            Decimals
            Fungible
            Uri
          }
        }
      }
      Transaction {
        Signature
      }
    }
  }
}

Variables

{
  "tokenMintAddress": "4xdGzLGEVtf2A7fqv7JVEScy3z5wriYzJXN3fsWPpump"
}

Similar queries