Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 264 Bytes

get-nonce.md

File metadata and controls

18 lines (12 loc) · 264 Bytes

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