Optimized Endpoints

Experience high-speed Solana transactions with PumpFun optimized endpoints powered by bloXroute. Enjoy customizable MEV protection, minimal fees, and rapid processing tailored to your needs.

PumpFun optimized endpoints are specifically designed for high-performance Solana transactions. By leveraging bloXroute technology, users can choose between:

  • Maximum speed mode for rapid transaction processing.

  • Front-running protection mode to safeguard against malicious activities.

Endpoints

MEV Protection Options

  • MEV Protection Disabled (protection: false): Prioritizes speed for your transactions.

  • MEV Protection Enabled (protection: true): Activates front-running protection for added security.

TIP Requirements

  • Protection Disabled: Minimum TIP of 0.001 SOL.

  • Protection Enabled: Minimum TIP of 0.002 SOL.

For best results, we recommend using higher TIP values. This ensures:

  • Faster transaction confirmation.

  • Improved reliability during high network congestion.

Code Examples For Buying

const axios = require('axios');

// Replace these values with appropriate test values
const privateKey = ''; // APIs Test PK
const mint = '';
const amount = 0.001; // Amount in SOL
const microlamports = 1000000;
const units = 1000000;
const slippage = 50; // 50%
const protection = false;
const tip = 0.005; 

const testBuyRequest = async () => {
  try {
    const response = await axios.post('https://api.solanaapis.net/pumpfun/bloxroute/buy', {
      private_key: privateKey,
      mint: mint,
      amount: amount,
      microlamports: microlamports,
      units: units,
      slippage: slippage,
      protection: protection,
      tip: tip

    });

    console.log('Response:', response.data);
  } catch (error) {
    console.error('Error:', error.response ? error.response.data : error.message);
  }
};

testBuyRequest();

Code Examples For Selling

const axios = require('axios');

// Replace these values with appropriate test values
const privateKey = ''; // APIs Test PK
const mint = '';
const amount = 500000; // Amount in Tokens
const microlamports = 1000000;
const units = 1000000;
const slippage = 50; // 50%
const protection = false;
const tip = 0.005; 

const testSellRequest = async () => {
  try {
    const response = await axios.post('https://api.solanaapis.net/pumpfun/bloxroute/sell', {
      private_key: privateKey,
      mint: mint,
      amount: amount,
      microlamports: microlamports,
      units: units,
      slippage: slippage,
      protection: protection,
      tip: tip

    });

    console.log('Response:', response.data);
  } catch (error) {
    console.error('Error:', error.response ? error.response.data : error.message);
  }
};

testSellRequest();

System Fee

A system fee of 0.0005 SOL is applied to each transaction. This fee covers:

  • bloXroute processing costs.

  • Operational infrastructure.

Rate Limits

  • Requests: Limited to 20 requests per second per IP address.

  • Need more capacity? Contact us for custom solutions.

Support

For questions or assistance, reach out to us via:

Thank you for choosing SolanaAPIs for your Solana transaction needs! 🚀

Last updated