# GET /scripthash/:hash/txs

Get transaction history for the specified scripthash, sorted with newest first.

This method will use `10` [Compute Units](https://docs.validationcloud.io/v1/about/billing).

***

## **Parameters**

**`scripthash`** - required.&#x20;

## Returns

Get transaction history for the specified scripthash, sorted with newest first.

Returns up to 50 mempool transactions plus the first 25 confirmed transactions. You can request more confirmed transactions using `:last_seen_txid`

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

```bash
curl https://mainnet.bitcoin.validationcloud.io/v1/<YOUR_API_KEY>/scripthash/<scripthash>/txs \
 -X GET
```

{% endtab %}

{% tab title="testnet" %}

```bash
curl https://testnet.bitcoin.validationcloud.io/v1/<YOUR_API_KEY>/scripthash/<scripthash>/txs \
 -X GET
```

{% endtab %}
{% endtabs %}
