Skip to content

getNonce

function getNonce(address account) external returns (uint64);

Gets the nonce of the given account.

uint256 nonce = vm.getNonce(address(100));
emit log_uint(nonce); // 0