I tried both signer.sendTransaction({ to, value }); and provider.send("eth_sendTransaction", [{ from, to, value }]);, and neither worked for me.

Would be great if your answer could also include an account impersonation example, as that's exactly why I need to send ETH. Impersonated accounts would most likely have 0 ETH, and so would need to have some ETH sent over before being used to initiate any TX.


I found out my question was answered here: Sending an ethereum transaction with ethers.js and metamask

The real issue was that the account I was sending ETH to on the mainnet fork was a contract address with a fallback function that didn't allow it to accept ETH.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.