Easily send SOL to multiple wallets in a single transaction, streamlining your Solana transactions and saving time.

Endpoint

POST: https://pumpapi.fun/api/batch_sender

Request Body

The request body should contain the following parameters:

ParameterTypeDescriptionRequired
sol_amountnumberThe amount of SOL to send to each walletYES
walletsarray<string>An array/list of wallet addresses to send SOL toYES
priorityFeenumberThe priority fee for the transactionNO
userPrivateKeystringThe user’s private key to sign the transactionYES

Examples Usage:

Replace the sol_amount, wallets, priorityFee, and userPrivateKey values with the actual values you want to pass.

Response

The response will contain the transaction ID:

{

  tx_hash: '5aowX9pPiRHXvc5TS6FpbExENnyo9n3N4J....'

}

API Parameters

The following parameters are:

  • sol_amount
  • wallets
  • priorityFee
  • userPrivateKey

Error Codes

  • 400 Bad Request: Invalid request parameters or missing required fields.
  • 401 Unauthorized: Authentication failed.
  • 404 Not Found: The requested resource (endpoint) is not found.
  • 429 Too Many Requests: Rate limit exceeded.
  • 500 Internal Server Error: Unexpected server-side error.

API Codes

  • 200 OK: The request was successful.