Special APIs for Degens
Batch SOL Sender
Send sol to multiple wallets at once
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:
Parameter | Type | Description | Required |
---|---|---|---|
sol_amount | number | The amount of SOL to send to each wallet | YES |
wallets | array<string> | An array/list of wallet addresses to send SOL to | YES |
priorityFee | number | The priority fee for the transaction | NO |
userPrivateKey | string | The user’s private key to sign the transaction | YES |
Examples Usage:
Replace the
sol_amount
,wallets
,priorityFee
, anduserPrivateKey
values with the actual values you want to pass.
Response
The response will contain the transaction ID:
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.