Skip to main content
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.

Request

Endpoint:

POST /submit-batch

JSON-RPC Parameters:

transactions
array
required
Array of fully signed transactions, Base64 encoded strings. Maximum 5 transactions per batch.
options
array
required
Reserved field for future use. Currently must be an empty array []

JSON-RPC Response Result

code
number
required
Response status code. 1 indicates success
message
string
required
Response message. Returns "success" on successful submission
signatures
array
required
Array of transaction signatures corresponding to the submitted transactions, in the same order
Request(cURL)
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>"
      ]
    }
  }'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "code": 1,
    "message": "success",
    "signatures": [
      "<tx_001_signature>",
      "<tx_002_signature>",
      "<tx_003_signature>",
      "<tx_004_signature>",
      "<tx_005_signature>"
    ]
  }
}