# Submit Transactions

{% hint style="info" %}
This Cloud API endpoint for sending transactions on XLayer Mainnet is available to all users, including those on the Introductory plan.
{% endhint %}

### REQUEST

**Method:** `blxr_tx`

#### Parameters

<table><thead><tr><th width="240.96529134114581">Parameter</th><th width="195.888916015625">Description</th><th width="314.9652506510417">Instructions &#x26; Notes</th></tr></thead><tbody><tr><td><code>transaction</code></td><td>Raw transactions bytes without <strong><code>0x</code></strong> prefix. </td><td><em>[<strong>Required</strong>]</em> Learn more about constructing the transaction <a href="../bsc-and-eth/apis/sending-transactions/raw-transaction-construction">here</a>.</td></tr><tr><td><code>blockchain_network</code></td><td><p>Blockchain network name. </p><p></p></td><td><em>[<strong>Required</strong>]</em> Set to <code>X-Layer-Mainnet</code>.</td></tr><tr><td><code>backrunme_reward_address</code></td><td>Wallet address <code>String</code> to receive BackRunMe rewards to</td><td><em>[<strong>Optional</strong>]</em> Transactions are automatically enrolled in Backrunning services, from which rewards are shared with the specified <code>backrunme_reward_address</code>.</td></tr></tbody></table>

{% hint style="info" %}
Backrunme kickbacks will happen on a weekly cadence and will be issued to users who have completed KYC. For more information, please contact Support through [Discord](https://discord.gg/qwgbck96) or Email  <support@bloxroute.com>.&#x20;

Note: There is no delay in processing the transactions because of Backrunme.
{% endhint %}

#### **Cloud-API**

* **WebSocket endpoint**: `wss://api.blxrbdn.com/ws`
* **HTTPS POST endpoint**: `https://api.blxrbdn.com`

You may also send to IP-specific endpoints (e.g., `wss://<IP>/ws`). See [Cloud-API IPs](https://docs.bloxroute.com/bsc-and-eth/evm-blockchain-distribution-network-bdn/ips-and-relays/cloud-api-ips) for more.

{% hint style="info" %}
Sending transactions via WebSocket instead of HTTPS can lead to a latency improvement of up to 10ms.
{% endhint %}

**Examples**

{% tabs %}
{% tab title="wscat WS" %}

```bash
wscat -c wss://api.blxrbdn.com/ws --header "Authorization: <YOUR-AUTHORIZATION-HEADER>"
> {"jsonrpc": "2.0", "id": 1, "method": "blxr_tx", "params":
   {"transaction": "f86b0184...e0b58219", "blockchain_network": "X-Layer-Mainnet"}}
< ...
```

{% endtab %}

{% tab title="HTTPS POST" %}

```bash
curl -X POST https://api.blxrbdn.com \
  -H "Authorization: <YOUR-AUTHORIZATION-HEADER>" \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "blxr_tx",
    "params": {
      "transaction": "f86b0184...e0b58219",
      "blockchain_network": "X-Layer-Mainnet"
    }
  }'
```

{% endtab %}
{% endtabs %}

### RESPONSE

#### Result Fields

| Result Field  | Description      |
| ------------- | ---------------- |
| **`tx_hash`** | Transaction hash |

#### Examples

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

```bash
{
    "jsonrpc": "2.0", 
    "id": "1", 
    "result": {
        "tx_hash": "ffd59870844e5...bfa54a69"
    }
}    
```

{% endtab %}
{% endtabs %}

### Rate Limits&#x20;

<table><thead><tr><th width="287">Plan</th><th width="226.79512532552081">Max Transactions</th><th>Time Window</th></tr></thead><tbody><tr><td>Ultra </td><td>10 tx</td><td>1 second</td></tr><tr><td>Enterprise-Elite</td><td>5 tx</td><td>1 second</td></tr><tr><td>Enterprise</td><td>3 tx</td><td>1 second</td></tr><tr><td>Professional</td><td>1 tx</td><td>5 seconds</td></tr><tr><td>Introductory</td><td>1 tx</td><td>5 seconds</td></tr></tbody></table>
