snapshot Documentation for eth_defi.anvil.snapshot function. snapshot(web3)[source] Call evm_snapshot on Anvil Parameters web3 (web3.main.Web3) – Return type int