> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blockrush.io/llms.txt
> Use this file to discover all available pages before exploring further.

# submitBatch

> Non-atomic batch submission of multiple signed transactions. Each transaction is processed independently, and failure of one does not affect others.

<Note>
  **Non-atomicity:** Each transaction in the batch is confirmed and executed independently. If one transaction fails, it does not affect the processing of other transactions in the batch.
</Note>

<Note>
  Append `?anti_mev=1` to the endpoint to enable sandwich-attack protection. See [Anti-MEV](/en/solana/overview/anti_mev) for details.
</Note>

## Request

### Endpoint:

<Badge color="green">POST</Badge> `/submit-batch`

### JSON-RPC Parameters:

<ParamField path="transactions" type="array" required>
  Array of fully signed transactions, Base64 encoded strings. **Maximum 5 transactions per batch.**
</ParamField>

<ParamField path="options" type="array" required>
  Reserved field for future use. Currently must be an empty array `[]`
</ParamField>

## Response Result

<Note>
  **Response body format hint:** Response body format hint: This request is not a standard JSON-RPC response, and its response does not include standard JSON-RPC response wrapping.
</Note>

<ResponseField name="code" type="number" required>
  Response status code. `1` indicates success
</ResponseField>

<ResponseField name="message" type="string" required>
  Response message. Returns `"success"` on successful submission
</ResponseField>

<ResponseField name="signatures" type="array" required>
  Array of transaction signatures corresponding to the submitted transactions, in the same order
</ResponseField>

<RequestExample dropdown>
  ```shell Request(cURL) theme={null}
  curl -X POST 'https://ny.rpc.blockrush.io/submit-batch' \
    -H 'Content-Type: application/json' \
    -H 'x-api-key: <YOUR_API_KEY>' \
    -d '{
      "jsonrpc": "2.0",
      "id": 1,
      "params": {
        "options": [],
        "transactions": [
          "<base64_encoded_tx_001>",
          "<base64_encoded_tx_002>",
          "<base64_encoded_tx_003>",
          "<base64_encoded_tx_004>",
          "<base64_encoded_tx_005>"
        ]
      }
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json Response (200) theme={null}
  {
    "code": 1,
    "message": "success"
    "signatures": [
      "<tx_001_signature>",
      "<tx_002_signature>",
      "<tx_003_signature>",
      "<tx_004_signature>",
      "<tx_005_signature>"
    ]
  }
  ```
</ResponseExample>
