*Paid Advertisement. Not financial advice. RugDoc is not responsible for the projects showcased here. DYOR and ape safu.

How to Emergency Withdraw (Ethereum)

how to emergency withdraw on the ethereum network

Knowing how to emergency withdraw your crypto assets can help you to prevent a lot of potential losses. Whether a farm website goes down or it’s UI stops working, you should still be able to get your hands on your crypto. This guide will focus on how to emergency withdraw your crypto assets on the Ethereum network.

Step 1. Get the MasterChef contract address #

The first thing you need to do is to find the MasterChef contract address of the farm holds your crypto assets. By following the steps in this article, you should be able to get the MasterChef contract address.

Step 2. Find your pool ID (PID) #

Now that you have found the MasterChef contract address, we need to check what the PID is of the pool that contains your crypto assets. This article should help you with finding your pool ID.

Step 3a. Use Rugdoc’s emergency withdraw tool #

If you don’t want to spend all your time going through the steps below, you can also try to use our emergency withdraw tool. Just connect to the right network and fill in the MasterChef contract. You should then be able to see all pools and withdraw your tokens from them.

Step 3b. Open for the MasterChef contract #

In this guide, we’ll use Sushiswap’s MasterChef contract as an example.

Open https://etherscan.io/ and fill in the MasterChef contract address in the top right corner. Once you have opened the MasterChef contract, scroll down and click on ‘Contract’. Then, click on ‘Write Contract’.

Write contract etherscan

Step 4. Connect your Wallet to Etherscan #

Scroll down and click on the ‘Connect to web3’ button, which should be right below the ‘Write Contract’ button.

Connect Metamask to etherscan

Choose your Metamask account and click ‘Connect’.

Metamask prompt wallet conenct to etherscan

Step 5. Call the emergencyWithdraw function #

Within the ‘Write Contract’ section you should find a section called ‘emergencyWithdraw’.

emergencywithdraw section etherscan

In this section you need to fill both your PID and your wallet address. Once you have filled in both lines, click on the ‘Write’ button.

Write contract for emergency withdraw

Metamask should now ask you to sign and confirm the transaction. Click ‘Confirm’. After signing the transaction you should get a confirmation that the emergency withdraw transaction has been successfully executed.

Confirm emergency withdraw

That’s all there is to it! Now that you know how to emergency withdraw your crypto assets, you are ready for whenever there’s a sticky situation in which you need to withdraw your assets.

Updated on September 6, 2021
How do you feel about this article?

Leave a Reply

*Paid Advertisement. Not financial advice. RugDoc is not responsible for the projects showcased here. DYOR and ape safu.