unlock_account Documentation for eth_defi.provider.anvil.unlock_account function. unlock_account(web3, address)[source] Make Anvil mainnet fork to accept transactions to any Ethereum account. This is even when we do not have a private key for the account. Parameters web3 (web3.main.Web3) – Web3 instance address (str) – Account to unlock