Request Format
Batch requests allow you to submit multiple transactions in a single HTTP call. Send an array of JSON-RPC request objects, each following the standard SolanasendTransaction format:
Parameters
Each request object in the batch array contains:| Parameter | Type | Description |
|---|---|---|
jsonrpc | string | Must be “2.0” |
id | number/string | Unique identifier for the request (UUID is a unique ID generated by the user for request identification) |
method | string | Must be “sendTransaction” |
params | array | Array containing the transaction and encoding options |
params[0] | string | The transaction encoded in base64 format |
params[1].encoding | string | Must be ‘base64’ |
Response
The response is an array of JSON-RPC response objects, one for each request in the batch. Responses are returned in the same order as the requests:Important Notes
- Each transaction in the batch requires a system transfer instruction to one of the Stellium tip addresses with a minimum tip of 0.001 SOL.
- Rate limits apply to the total number of transactions sent by your API key, regardless of whether transactions are sent individually or in batches.
- For optimal transaction landing, alternate between different tip addresses for consecutive transactions in the batch.
- Each request in the batch must have a unique
idvalue to match responses correctly. - Responses are returned in the same order as the requests in the batch array.
- Individual requests in a batch can succeed or fail independently - check each response object for success or error status.