# Submit Batch Transaction

This endpoint is used to submit multiple signed transactions in a single batch. The batch order defines an execution order as well. In case of failure of a single transaction a whole batch is skipped.

{% hint style="info" %}
Transactions submitted to this endpoint must include a bloXroute tip instruction in order to be processed. Here use a tip address provided by `Get Tip Wallet` method.
{% endhint %}

## Request

#### Method:&#x20;

`POST ./api/v2/submit-batch`

#### Parameters:

<table><thead><tr><th width="261.4453125">Parameter</th><th width="154.2">type</th><th width="413">Description</th></tr></thead><tbody><tr><td><code>transactions</code></td><td>array of <code>transaction</code></td><td>Set the <code>content</code> parameter (<code>txbase64Payload</code>) to the base64-encoded list of raw signed transaction bytes. See example below.</td></tr><tr><td><code>tipping_wallet</code></td><td>string</td><td>Specify the type of a tip transaction wallet. Potential values are HighloadV2R2, HighloadV3, V5R1Final, V4R2. Use <code>Get Tip Wallet</code> method to get a relevant tip  destination address.</td></tr><tr><td><code>expiration_time_sec</code></td><td>int</td><td>Number of seconds given to batch to land (180 sec. by default) until it expires.</td></tr></tbody></table>

### Example:

{% tabs %}
{% tab title="HTTP" %}

```bash
curl -X 'POST' \
  'https://ny.ton.dex.blxrbdn.com/api/v2/submit-batch' \
  -H "Authorization: $AUTH_HEADER" \
  -H "Content-Type: application/json" \
  -d '{
 "transactions": [{"content": "Aj+Br...ABC"}, {"content": "Aj+Br...ABC"}, ...], "tipping_wallet":"V5R1Final"
}'
```

{% endtab %}
{% endtabs %}

#### Response

<table><thead><tr><th width="214">Parameter</th><th width="110">Type</th><th width="422">Description</th></tr></thead><tbody><tr><td><code>msg_body_hashes</code></td><td>string</td><td>The hashes of the body of the external messages passed by the user in the submit batch request.</td></tr></tbody></table>

{% tabs %}
{% tab title="JSON" %}

```json
{
  "msg_body_hashes":["0x12ade...1954beffccf", "0x12ade...1954beffccf", ...]
}
```

{% endtab %}
{% endtabs %}
