> ## Documentation Index
> Fetch the complete documentation index at: https://docs.validationcloud.io/llms.txt
> Use this file to discover all available pages before exploring further.

# GET /blocks/tip/hash

Returns the hash of the last block.

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

***

## **Parameters**

None.

## Returns

Returns the hash of the last block.

```json wrap theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
00000000000000000000fcd3d67af35d38edf91a223276d084b84bd1f8b84579
```

<CodeGroup>
  ```bash title="mainnet" theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
  curl https://mainnet.bitcoin.validationcloud.io/v1/<YOUR_API_KEY_HERE>/blocks/tip/hash \
   -X GET
  ```

  ```bash title="testnet" theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
  curl https://testnet.bitcoin.validationcloud.io/v1/<YOUR_API_KEY_HERE>/blocks/tip/hash \
   -X GET
  ```
</CodeGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.