# GET /tx/:txid/raw

Returns the raw transaction as binary data.

This method will use `10` [Compute Units](../../../about/billing).

***

## **Parameters**

**`txid`**- transaction hash, required.&#x20;

Example: `92e61d56a3d79fd6b2fc53d4577f51faa61485e0165eae746a6f3ded5b994655`



## Returns

Returns the raw transaction as binary data.



{% tabs %}
{% tab title="mainnet" %}
```bash
curl https://mainnet.bitcoin.validationcloud.io/v1/<YOUR_API_KEY>/tx/92e61d56a3d79fd6b2fc53d4577f51faa61485e0165eae746a6f3ded5b994655/raw \
 -X GET
```
{% endtab %}

{% tab title="testnet" %}
```bash
curl https://testnet.bitcoin.validationcloud.io/v1/<YOUR_API_KEY>/tx/92e61d56a3d79fd6b2fc53d4577f51faa61485e0165eae746a6f3ded5b994655/raw \
 -X GET
```
{% endtab %}
{% endtabs %}



