# ensNamehash

Description: ensNamehash cheatcode documentation

Note: This document was authored using MDX

  Source: https://github.com/NomicFoundation/hardhat-website/tree/main/src/content/docs/docs/reference/cheatcodes/Utilities/ens-namehash.mdx

### Signature

```solidity
function ensNamehash(string calldata name) external pure returns (bytes32);
```

### Description

Returns ENS namehash for provided string.
