# GET /blocks/tip/hash

Returns the hash of the last block.

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

***

## **Parameters**

None.



## Returns

Returns the hash of the last block.

{% code overflow="wrap" %}
```json
00000000000000000000fcd3d67af35d38edf91a223276d084b84bd1f8b84579
```
{% endcode %}



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

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



