bloXroute Documentation
WebsiteBlogTwitterDiscord
  • Welcome to bloXroute
  • Introduction
    • Why Use bloXroute?
    • Products
    • Create An Account
    • Technical Support
  • SOLANA
    • Trader API
      • Introduction
        • Regions
        • Authorization
        • Rate Limits
        • Tip and Tipping Addresses
      • Quick Start
        • Transaction Submission
        • Front-Running Protection & Transaction Bundle
        • Go SDK
        • Python SDK
        • Typescript SDK
        • Rust SDK
      • API Endpoints
        • Core Endpoints
          • submit
          • submit-paladin
          • submit-batch
          • balance
          • rate-limit
          • transaction
          • priority-fee
          • GetPriorityFeeStream
          • GetBundleTipStream
          • submit-snipe
        • Pump.fun
          • quotes
          • swap
          • swap-sol
          • GetPumpFunNewTokensStream
          • GetPumpFunSwapsStream
          • GetPumpFunAMMSwapsStream
        • Raydium
          • quotes
          • pools
          • pool-reserves
          • swap
          • cpmm-swap
          • clmm-swap
          • route-swap
          • GetPoolReservesStream
          • GetSwapsStream
          • GetNewRaydiumPoolsStream
          • GetNewRaydiumPoolsByTransactionStream
        • Jupiter
          • quotes
          • swap
          • swap-instructions
          • route-swap
        • Openbook
          • markets
          • orderbooks/{market}
          • depth/{market}
          • tickers/{market}
          • open-orders/{market}
          • unsettled/{market}
          • place
          • replace
          • cancel
          • settle
          • GetOrderbooksStream
          • GetTickersStream
      • Best Performance for Landing Transactions
      • Support
        • API Health
        • Contact us
        • Suggestions
        • Wiki
          • Terms & Concepts
          • Resources
    • Optimized Feed Relay (OFR)
      • Transaction Streamer
      • Gateway and OFR Requirements
      • Gateway and OFR Setup
      • Gateway Startup Arguments
      • OFR performance
      • Logging
      • Submitting Transaction
      • Upgrading Gateway
      • Troubleshooting
  • BSC & ETH
    • EVM Blockchain Distribution Network (BDN)
      • How to Connect
      • The bloXroute Gateway
        • Local Gateway
          • Installation and Startup
            • Authentication & Certificates
            • Requirements
            • Supported Clients
            • GitHub repository option
            • Docker container option
            • Startup Script
            • Startup Arguments
          • General Connectivity Troubleshooting
          • Logging
          • Upgrading your Gateway
        • Add Your Gateway as a Trusted Peer to Your Execution Layer Client
        • Connecting Your Gateway with the Consensus Layer
      • IPs & Relays
        • Relays IPs
        • Private Relays
        • Cloud-API IPs
          • ⏩Reducing Latencies using the BDN
    • APIs
      • Authorization
      • Check Transaction Quota
      • Submit a Transaction
        • Raw Transaction Construction
        • Tx-Validation
        • Batch Transaction
      • Private Transactions
        • ETH Private Transactions
        • BSC Private Transactions
      • Transaction Bundles
        • Bundle Simulation
        • Bundle Validation
        • Bundle Submission
          • BSC Bundle Submission
            • List of BSC Validators
          • ETH Bundle Submission
          • Bundle Submission with Gateway
        • Bundle Tracking
          • BSC Bundle-Trace
          • ETH Bundle-Trace
          • ETH Bundle Inclusion Status
        • Bundle Refunds
          • Priority Fee Refund
          • Bundle Refund
          • Latest Bundle Refunds
      • Backrun Arbitrage
        • BackRunMe: Bundle Submission
          • BSC submit arbOnly
          • ETH submit arbOnly
            • blxr_info
            • ETH arbOnly Simulation
      • Token Launch Sniping
      • Other Utilities
        • List of bloXroute Builders
        • List of External Builders
        • Tx-Trace
        • Ping
    • Streams
      • Requirements
      • Subscription limits
      • Working With Streams
        • Creating a Subscription
          • Websocket
          • gRPC
        • Handling the Notification
          • Websocket
          • gRPC
        • Cancelling a Subscription
          • Websocket
          • gRPC
        • Local Node Validation
      • newTxs and pendingTxs
        • Filters
        • Raw TX Reconstruction
      • BackRunMe: arbOnlyMEV
        • ETH arbOnlyMEV
        • BSC arbOnlyMEV
      • transactionStatus
      • txReceipts
      • newBlocks
      • bdnBlocks
      • ethOnBlock
      • MEVBlockValue
      • MEVNextProposerInfo
    • Block Builders and Validators
      • Validator Gateway
      • MEV Relay (For Validators)
      • Block Submission
      • Proposer MEV-Protect
      • Compliance Lists
      • Preconfirmations
    • Protect RPCs
      • ETH Protect RPC
      • ETH Gas Protect RPC
      • BSC Protect RPC
      • SOL Protect RPC
  • Base Network
    • Submit Transactions
    • Streams
      • GetBdnBlockStream
  • TON NETWORK
    • TON Trader API
      • Quick Start
      • Fee Schedule
      • Connection
      • Submit Signed Transaction
  • Resources
    • BDN Explorer
    • Block Explorer
    • Guides
      • Algorithmic Trading
      • Setting Up a Local Gateway
      • Gateway as Web3 Bridge
    • Architecture
      • BDN Architecture
        • Network Components
        • Performance Techniques
          • Block Compression
          • Cut-through Routing
          • Optimized Topology
      • bloXroute Protocol
        • Versioning
        • Message Structure
        • Message Types
    • Contact Us
Powered by GitBook
On this page
  1. SOLANA
  2. Trader API
  3. API Endpoints
  4. Pump.fun

GetPumpFunSwapsStream

This channel provides information on any Pump.fun swaps events.

PreviousGetPumpFunNewTokensStreamNextGetPumpFunAMMSwapsStream

Last updated 7 days ago

Subscribe

Be aware that this endpoint is using a beta URL.

Method

GetPumpFunSwapsStream

Parameters:

Parameter
Type
Description

tokens

repeated string

A list of tokens to track swap events. Please provide token addresses instead of token symbols.

Subscribe sample:

wscat -H "Authorization:$AUTH_HEADER" -c wss://pump-ny.solana.dex.blxrbdn.com/ws --wait 1000 --execute '{"jsonrpc": "2.0", "id": 1, "method": "subscribe", "params": [  "GetPumpFunSwapsStream", {"tokens":["2nGeHVJKXV8tZ7ZFwGCH5uGYQVxWejQMDkHUAECFpump"]} ]}'

Event Result Details:

Field
Type
Description

slot

int64

The slot number

txnHash

string

Transaction information of the found transaction

mintAddress

string

Meta information of the found transaction

userAddress

string

Swap transaction owner's address.

userTokenAccountAddress

string

Swap transaction owner's token address.

bondingCurveAddress

string

Bonding Cureve program address.

tokenVaultAddress

string

Token valut program address.

solAmount

unit64

SOL amount in this swap transaction. In lamport.

tokenAmount

unit64

Token amount in this swap transaction. Unit is based on token decimal.

isBuy

boolean

Identify if the transaction is a token purchase transaction.

virtualSolReserves

unit64

Amount of virtual SOL reserve.

virtualTokenReserves

unit64

Amount of virtual Token reserve.

creator

string

The token creator address.

timestamp

google.protobuf.Timestamp

Time stamp of the event.

Sample event:

{
  "jsonrpc":"2.0",
  "method":"subscribe",
  "params":{
    "subscription":"a8d3b82e-6e2c-4631-8b53-0ff4a2292530",
    "result":{
      "slot":"339822983",
      "txnHash":"2gBJ7iiEGPYzjiJXoVqd7UvLzQWgnb94t99bWu4B1WD6qdUAZNUXEAdWthViKWA6BkTaFWmqivc43FQqqDL7oRdE","mintAddress":"2nGeHVJKXV8tZ7ZFwGCH5uGYQVxWejQMDkHUAECFpump",
      "userAddress":"3WJqDiQdyeZBpwFGMVd6AG3UXodwGjtvZMRLG7urnPEc",
      "userTokenAccountAddress":"EDnqaZMhAezighoSeYHDqozJLR2GbGwR2sPVUnRzmhRL",
      "bondingCurveAddress":"2AWNkXawcUes2Vdhk2zsECsda1535dbi3Lu8BbwG3knJ",
      "tokenVaultAddress":"DUqSefi8ktNab2UXsLqhUbVhZ5EYtVUQym1obfhCKk6E",
      "solAmount":"49004807",
      "tokenAmount":"438913413686",
      "isBuy":false,
      "virtualSolReserves":"59925670539",
      "virtualTokenReserves":"537165453949301",
      "timestamp":"2025-05-13T21:21:15.134205329Z",
      "creator":"AmNMqM5VbPwtG14gLBdtrqZpQrhSzavLkQPufS8CQ7LB"
    }
  }
}

wss://pump-ny.solana.dex.blxrbdn.com/ws
wss://pump-uk.solana.dex.blxrbdn.com/ws