# resetNonce

Description: resetNonce cheatcode documentation

Note: This document was authored using MDX

  Source: https://github.com/NomicFoundation/hardhat-website/tree/main/src/content/docs/docs/reference/cheatcodes/Environment/reset-nonce.mdx

### Signature

```solidity
function resetNonce(address account) external;
```

### Description

Resets the nonce of an account to 0 for EOAs and 1 for contract accounts.
