Endpoint
POST:https://pmpapi.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 thesol_amount,wallets,priorityFee, anduserPrivateKeyvalues 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
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.
200 OK: The request was successful.
