Withdraw Funds

This guide focuses on working directly with contracts on Taiko or Morph via network-specific block explorers, not via the Minterest UI.

Withdraw Funds From the Market

circle-info

To fully withdraw funds from all markets, all outstanding loans must be repaid.

For these next steps, we'll be interacting with Taiko's & Morph's explorer using $USDC's market address:

  • Taiko: 0xF89B01fa87a3E51BDA2dA67154Ea35A3F84eC373

  • Morph: 0x793ce6AC5112DA5Db9C046848af99C749e14b1A4


Get Your Balance for a Specific Market

circle-check
  1. Locate the contract address for the market associated with your desired token in the smart contracts list provided in this guide.

  2. Visit Taikoarrow-up-right's or Morpharrow-up-right's blockchain explorer and input the market contract address chosen on the page's search field:

  3. Go to the Contract section, open the Read as Proxy or Read proxy tab, then scroll down and choose the balanceOf function:

  4. Paste your wallet's public address into the owner (address) input field and click Query or Read:

circle-info

The result is an integer scaled by the underlying token decimals.


Redeem Tokens From the Market Contract

  1. Go back to the Contract section, open the Write as Proxy or Write proxy tab, then click Connect to Web3 or Connect wallet:

  2. Locate and choose the redeem function, then enter the balance you got form using the balanceOf function in the redeemTokens (uint256) input field.

  3. Click Write, then approve the transaction in the browser pop-up displayed by your wallet.

circle-info

You'll get an error if you're not holding enough of your inputted asset amount.

Last updated