getNonce
Signature
function getNonce(address account) external returns (uint64);
Description
Gets the nonce of the given account.
Examples
uint256 nonce = vm.getNonce(address(100));
emit log_uint(nonce); // 0
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