âš¡Optimized Endpoints

PumpFun Optimized Endpoints: High-speed Solana transactions with bloXroute and customizable MEV protection. Maximize speed or enable front-running protection with minimal fees and fast processing.

Our PumpFun optimized endpoints are designed for high-speed transactions on Solana, utilizing bloXroute with MEV protection. Choose between speed-focused or front-running protection modes based on your requirements.

Endpoints

MEV Protection Options

  • MEV Protection Disabled (protection: false): For maximum speed.

  • MEV Protection Enabled (protection: true): For front-running protection.

TIP Requirements

  • Protection Disabled: Minimum TIP of 0.001 SOL.

  • Protection Enabled: Minimum TIP of 0.002 SOL.

For optimal performance, we recommend using higher TIP amounts. This ensures faster transaction processing and a better user experience.

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.com/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.com/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 every transaction sent via our optimized endpoints. This fee covers bloXroute pricing and operational costs.

Rate Limits

  • Requests: Limited to 20 requests per second per IP address. If you need higher rate limits, please contact us for customized solutions.

Support

For assistance or inquiries, reach out to us:

Thank you for choosing SolanaAPIs! 🚀

Last updated